unic / unic/unic-agents-plugins
bug(unic-archon-dlc, upstream: Archon): `archon complete <branch> --force` deletes the branch on `origin`, silently
Nobody has claimed this yet.
- 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
- Findings register, § "G. What run 3 taught about the instrument", row G1: https://github.com/unic/unic-agents-plugins/blob/bcf688a/docs/research/2026-08-31-dlc-run-2-findings.md
- Run record and harvested artefacts:
~/Desktop/run3-parked/on the maintainer's machine (run record § the close; threeoriginsnapshots quoted in it) - Dispatch record: #457 from comment 5698289748 down
Not decided
- Upstream: file on Archon, or document and avoid
completeon pushed branches (git worktree remove+git branch -Dinstead). - Consumer doc row: pin
refs/rescue/*before any Archon cleanup verb; measure withgit ls-remote --heads originbefore and after.
Filed 2026-09-17 by wayfinder-orchestrator-10 from run 3's measurements. needs-specs: grill before dispatch.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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