Skip to content

fix: preserve version stamp during squad upgrade (#195)#212

Merged
bradygaster merged 1 commit intodevfrom
squad/195-fix-version-stamp-overwrite
Mar 7, 2026
Merged

fix: preserve version stamp during squad upgrade (#195)#212
bradygaster merged 1 commit intodevfrom
squad/195-fix-version-stamp-overwrite

Conversation

@bradygaster
Copy link
Copy Markdown
Owner

Closes #195

Working as Fenster (Core Dev)

Problem

\squad upgrade\ reports success but the version stamp in \squad.agent.md\ never persists. The \TEMPLATE_MANIFEST\ loop includes \squad.agent.md\ with \overwriteOnUpgrade: true, which copies the raw template back over the file after \stampVersion()\ has already written the correct version. This means:

  • Coordinator greets with \Squad v0.0.0-source\ instead of the real version
  • \isAlreadyCurrent\ check never passes, re-copying all 30+ files on every run
  • Running \squad upgrade\ twice always shows the same \

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster force-pushed the squad/195-fix-version-stamp-overwrite branch from ff29abb to 7957efd Compare March 7, 2026 01:12
@bradygaster bradygaster merged commit 0fedcce into dev Mar 7, 2026
1 check passed
@bradygaster bradygaster deleted the squad/195-fix-version-stamp-overwrite branch March 7, 2026 01:12
bradygaster added a commit that referenced this pull request Mar 7, 2026
Session: 2026-03-07T01-13-00Z-phase2-complete
Requested by: Brady

Changes:
- Merged 3 inbox decisions (Kobayashi PR merges, Keaton community PRs, Fenster template fix)
- Logged orchestration results for all 3 agents (Kobayashi, Keaton, Hockney)
- Logged Phase 2 session completion
- Appended Phase 2 results to agent history files (cross-agent updates)
- Deduplicated: No duplicate decisions found; all 3 inbox items were new.

Merges completed:
- PR #232: Scribe runtime state fix (86598f4)
- PR #212: Version stamp preservation (0fedcce)
- PR #230: CLI wire-up squad link + squad init --mode remote (6d0bd56)
- PR #217: TUI /init no-args flow fix (20970f9)
- PR #219: Fork contribution workflow docs (157b8c0)

Test results: 130/134 test files passing. 12 pre-existing failures in consult, REPL, status, acceptance modes. Core CLI solid.
jongio pushed a commit to jongio/squad that referenced this pull request Mar 9, 2026
- squad init --global: creates personal squad at resolveGlobalSquadPath()
- squad upgrade --global: upgrades personal squad at global path
- squad status: shows active squad (repo/personal/none) with resolution details
- Updated help text with new command and flag documentation

Closes bradygaster#212, closes bradygaster#213

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/squad that referenced this pull request Mar 9, 2026
…radygaster#213

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jongio pushed a commit to jongio/squad that referenced this pull request Mar 9, 2026
…bal-flag-status

feat: add --global flag to init/upgrade and squad status command (bradygaster#212, bradygaster#213)
jongio pushed a commit to jongio/squad that referenced this pull request Mar 9, 2026
Session: 2026-02-21T2205-m2m3-continuation
Agents: Kobayashi (bradygaster#208), Fenster (bradygaster#212, bradygaster#213)

Changes:
- Merged inbox decisions: changesets setup (independent versioning), --global flag + squad status pattern
- Deleted inbox files after merge (decision consolidation)
- Updated Kobayashi history.md with team context and PR bradygaster#276 merge status
- New decisions in decisions.md: independent versioning rationale, --global/status composition pattern
- Deduplication: no exact duplicates found

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant