Skip to content

squad upgrade / squad init does not stamp version in .github/agents/squad.agent.md #321

Closed

Description

@uvirk

Description

After upgrading from v0.5.4 to v0.8.25 via npm install -g @bradygaster/squad-cli@latest and running squad init, the governance file at .github/agents/squad.agent.md still contains the old version stamp:

<!-- version: 0.5.4 -->

The coordinator then identifies itself as Squad v0.5.4 even though the CLI is v0.8.25.

Steps to Reproduce

  1. Have a repo with an existing .github/agents/squad.agent.md at v0.5.4
  2. npm install -g @bradygaster/squad-cli@0.8.25
  3. squad init (reinitialize after migration)
  4. Check .github/agents/squad.agent.md — still says v0.5.4
  5. squad upgrade — also does not update the version stamp

Expected Behavior

squad init or squad upgrade should update the version comment in .github/agents/squad.agent.md (and the inline version reference in the Coordinator Identity section) to match the installed CLI version.

Actual Behavior

Only .squad/ files are regenerated. The governance file in .github/agents/ is untouched, leaving the coordinator running on stale version identity.

Environment

  • squad-cli: 0.8.25
  • Node.js: v25.6.1
  • OS: Windows 11

Activity

  1. bradygaster commented on Mar 10, 2026

    @bradygaster
    Collaborator

    Triage: CLI version stamp not updated in .github/agents/squad.agent.md during upgrade/init. Causes coordinator to report stale version. P1 — blocks accurate version tracking. @gnc to investigate init/upgrade flow.

  2. github-actions commented on Mar 10, 2026

    @github-actions
    Contributor

    📋 Assigned to GNC (Node.js Runtime)

    Issue: #321 — squad upgrade / squad init does not stamp version in .github/agents/squad.agent.md

    GNC will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    GNC, work on issue #321

  3. github-actions commented on Mar 13, 2026

    @github-actions
    Contributor

    ⚠️ No squad member found matching label squad:fortier. Check .squad/team.md (or .ai-team/team.md) for valid member names.

  4. github-actions commented on Mar 13, 2026

    @github-actions
    Contributor

    📋 Assigned to GNC (Node.js Runtime)

    Issue: #321 — squad upgrade / squad init does not stamp version in .github/agents/squad.agent.md

    GNC will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    GNC, work on issue #321

  5. bradygaster commented on Mar 15, 2026

    @bradygaster
    Collaborator

    Fixed and merged to dev in the irritating bugs sprint.

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