unic / unic/unic-agents-plugins

bug(unic-archon-dlc, upstream: Archon): `archon complete <branch> --force` deletes the branch on `origin`, silently

Open
#491 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app:unic-archon-dlc bug needs-specs p1
Dominant language
JavaScript
Stars
1
Forks
0
Avg merge
16h 43m
Merged PRs (30d)
19

Description

Observed

Archon CLI v0.8.0, linux-arm64, Azure DevOps remote (DXP-DesignSystem). Closing run 3: git ls-remote --heads origin listed 11 heads before archon complete archon/task-unic-dlc-build-1789577744739 --force and 10 after; the only missing line was that branch. The command printed env_removed, Completed: <branch>, Complete: 1 completed, 0 failed, 0 not found and nothing about the remote, three times over for three branches. The nine build commits survived only because the session pinned refs/rescue/<name> before gc; the branch was pushed back from that ref.

docs/agents/unic-archon-dlc.md:285 documents complete degrading its gh pr list check to a warning on an Azure DevOps remote. It does not say the command deletes the remote branch, and no warning printed.

Why it matters

"Abandon the PR, keep the branch" is the stream's rule for every measured run, and archon complete breaks it without saying so. Runs 1 and 2 survive only on origin.

Evidence

Not decided

  • Upstream: file on Archon, or document and avoid complete on pushed branches (git worktree remove + git branch -D instead).
  • Consumer doc row: pin refs/rescue/* before any Archon cleanup verb; measure with git ls-remote --heads origin before and after.

Filed 2026-09-17 by wayfinder-orchestrator-10 from run 3's measurements. needs-specs: grill before dispatch.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read docs/agents/unic-archon-dlc.md around line 285 and the linked run-3 findings and dispatch record. Reproduce the archon complete --force flow while comparing git ls-remote --heads origin before and after, using the documented rescue-ref precautions. The work is done when the maintainers' chosen upstream or consumer-documentation path is implemented and the remote-branch outcome is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli, devops
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.