Skip to content

bug(unic-archon-dlc): /setup assumes a non-Gitflow trunk is called main #653

Closed as not planned

Description

@orioltf

Problem

/unic-archon-dlc:setup assumes the trunk of a non-Gitflow repository is called main.

apps/claude-code/unic-archon-dlc/commands/setup.md derives the base a branching model implies as develop for gitflow and main for anything else, and warns when worktree.baseBranch disagrees with it. In a repository whose trunk is master, or any other name, /setup prints a false warning and suggests baseBranch: main. If the operator follows it, every run fails, because archon workflow run --base refuses a branch that is missing on the remote. The failure is visible, so the cost is a wasted run and a confused operator, not a wrong merge.

Criterion 8 of #505 fixes the rule as written, so PR #650 keeps it. It was found by the round 2 silent-failure review of that PR.

Acceptance criteria

  1. For a non-Gitflow repository, /setup takes the trunk name from the remote's default branch, not from a hard-coded main, before it compares it with worktree.baseBranch.
  2. When /setup cannot read the remote's default branch, it says so and does not suggest a baseBranch value.
  3. A repository whose trunk is master and whose worktree.baseBranch is master gets no warning.

Activity

  1. orioltf commented on Oct 21, 2026

    @orioltf
    MemberAuthor

    This was generated by AI during triage.

    Triage notes. Found by the round 2 silent-failure review of PR #650, at head bd943acd. I did not run /setup. I read the rule in commands/setup.md at that head: any value of project.branching other than gitflow implies main. Blocked by #505, because PR #650 adds the warning this ticket corrects.

  2. orioltf commented on Oct 30, 2026

    @orioltf
    MemberAuthor

    Closed as superseded by #678's resolution, approved by the maintainer on 2026-10-30: run 4 is dropped and unic-archon-dlc is frozen. Reason for this ticket: local to one command of the frozen plugin (rule A).

    — unic-sdlc-orchestrator-9

  3. added
    rejectedWill not be actioned
    and removed
    needs-triageMaintainer needs to evaluate
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions