docs(decisions): architecture decision for worktree heuristic (#531)#532
Merged
bradygaster merged 2 commits intodevfrom Mar 23, 2026
Merged
docs(decisions): architecture decision for worktree heuristic (#531)#532bradygaster merged 2 commits intodevfrom
bradygaster merged 2 commits intodevfrom
Conversation
- Add orchestration log: 2026-03-22T22-45-flight-triage-525.md - Add session log: 2026-03-22T22-45-triage-session.md - Merge decision inbox (6 files) into decisions.md: - flight-triage-525.md (validated #525, P2 rating, sub-issue decomposition, top-5 v1 priorities) - eecom-economy-mode.md (economy mode design decision) - eecom-node-sqlite.md (Node 22.5.0+ hard-fail decision) - eecom-rate-limit-ux.md (rate limit detection and recovery) - procedures-economy-mode-governance.md (squad.agent.md governance proposal) - procedures-personal-squad-governance.md (consult mode governance proposal) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
chrislomonico
pushed a commit
to clomonico/squad
that referenced
this pull request
Mar 26, 2026
Session: 2026-02-27T23-18-55Z-repo-assessment Requested by: Scribe Changes: - Logged orchestration for Kobayashi (branch cleanup, 57 refs pruned) - Logged orchestration for Keaton (full repo assessment, replatform readiness) - Logged session: full repo assessment with concrete timeline - Merged 5 decisions from inbox to decisions.md (deduplicated) - Cleared decisions/inbox/ directory **Merged decisions:** - Fenster: Ghost command aliasing strategy - Fenster: Per-command --help/-h intercept-before-dispatch pattern - Keaton: Replatform readiness assessment (APPROVE launch, contingent on bradygaster#532) - Kovash: REPL cancellation and configurable timeout - Saul: Shell observability metrics design **Deduplication:** No exact duplicates found. All decisions preserved. **Cross-agent impact:** - Keaton's replatform decision affects all agents: v1 public alpha approved for Feb 28-Mar 1 launch - Timeline: Close bradygaster#532 (dogfood), merge bradygaster#552 (Ralph triage), ship v0.8.5.1 public alpha - Wave E queued: bradygaster#553 (personal consult), bradygaster#547 (remote control), bradygaster#542 (board automation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #531 (parent: #525)
Summary
Architecture decision document for worktree vs checkout heuristic. This decision unblocks #528 (worktree variant in ralph-commands.ts) and #529 (coordinator pre-spawn worktree creation).
Key Decisions
1. Opt-in configuration (not heuristic-based)
worktrees: false(backward compatible)worktrees: trueinsquad.config.tsor.squad/config.jsonSQUAD_WORKTREES=1env varRationale: Heuristics are brittle. Configuration is explicit and user-controlled.
2. Worktree path convention
{repo-parent}/{repo-name}-{issue}C:\src\squad→ Issue chore: remove internal team-docs from main #42 worktreeC:\src\squad-42worktreePathin config3. Dependency management
node_modulesnpm installif junction/symlink failsgit worktree add4. Platform support
createWorktree,removeWorktreeImplications for Sibling Issues
#528 (ralph-commands.ts):
createWorktree?andremoveWorktree?toRalphCommandsinterface#529 (coordinator pre-spawn):
WORKTREE_PATHto agents#530 (post-merge cleanup):
removeWorktreeafter PR mergeMigration Path
✅ Zero breaking changes — existing workflows use
git checkout -b✅ Teams opt-in when ready
✅ New teams can enable during init
Files Changed
.squad/decisions/inbox/flight-worktree-heuristic.md— Full architecture decision documentNext Steps
After this PR merges:
.squad/decisions.mdWorking as Flight (Lead / Architect)