You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking candidates for upstream contribution to garrytan/gstack. Do not file upstream yet — batch-evaluate when claude-teams-bot v1 ships, per the project's monthly contribute-back cadence.
Background
These patterns emerged from extensive multi-hour multi-agent work on the claude-teams-bot project (May 2026). Each addresses a real gap or pattern that gstack's existing skills don't cover. Logged here to preserve before claude-teams-bot session compaction.
Per-agent git worktrees for Agent Teams. New skill /team-spawn-isolated OR doc improvement to existing agent-teams skill. Codifies the pattern: each teammate gets git worktree add ../<repo>-<agent-name>. Auto-creates worktrees on team spawn. Solves the concurrent-write race conditions we observed (file clobbering, branch flipping mid-session). Empirical evidence: this pattern was the difference between wedged teammates and productive teammates in claude-teams-bot.
SESSION_STATE.md pattern for multi-agent durability. Extension to existing /context-save to support team state, queued actions, calibration tracking, lessons learned. Current /context-save is single-agent-focused; team-lead sessions have different state needs.
Wall-clock calibration tracker. New skill /calibrate maintaining a per-project tracker comparing time/cost estimates vs actuals. Tightens estimates over iterations. Empirical: we observed 3-5x over-estimation by default and benefited from explicit tracking.
Named failure modes catalog for Agent Teams. Doc addition to agent-teams skill troubleshooting. Includes: stale-imperative-crossing-in-flight, message-queue-drain-noise, sonnet-quality-drift, sensitive-data-in-fixtures-via-user-CLAUDE-bleed, dirty-shared-worktree-phantom-typecheck-errors, idle-spam-from-turn-boundaries. Each with symptoms, root cause, fix.
Medium-priority candidates
Per-phase parallelization heuristic table. Doc addition to /plan-eng-review or new /parallelize skill. The "if N independent units exist with minimal cross-deps, spawn N agents" rule with examples (multi-skill integration, multi-tab UI, multi-profile agents).
QA-domain hyper-parallelization skill (/qa-parallel). New skill spawning N parallel qa-agents split by test domain (unit/integration/e2e/contract/coverage/codex/security-review). Per the insight that QA work is wall-clock-bound and benefits disproportionately from parallelization.
Code-time vs runtime data-isolation distinction. Doc addition wherever projects discuss test fixtures, MOCK_MODE, or sensitive data. Subtle but important: codebase artifacts must never bake in business confidential, but runtime can engage with anything users discuss. Many projects conflate.
Why Garry probably hasn't done these himself
Multi-agent + multi-worktree is a relatively new combination; specific bottlenecks emerge in extended multi-hour multi-agent sessions which may not be his typical pattern.
Single-developer iteration speed > multi-agent orchestration at his typical scale; he may not need these yet.
He ships fast and likely prioritizes new features over operational hygiene polish.
Status
Tracking candidates for upstream contribution to garrytan/gstack. Do not file upstream yet — batch-evaluate when claude-teams-bot v1 ships, per the project's monthly contribute-back cadence.
Background
These patterns emerged from extensive multi-hour multi-agent work on the claude-teams-bot project (May 2026). Each addresses a real gap or pattern that gstack's existing skills don't cover. Logged here to preserve before claude-teams-bot session compaction.
Source:
~/.gstack/projects/claude-teams-bot/SESSION_STATE.mdpolicy garrytan#23.High-priority candidates (genuine gap-filling)
Per-agent git worktrees for Agent Teams. New skill
/team-spawn-isolatedOR doc improvement to existing agent-teams skill. Codifies the pattern: each teammate getsgit worktree add ../<repo>-<agent-name>. Auto-creates worktrees on team spawn. Solves the concurrent-write race conditions we observed (file clobbering, branch flipping mid-session). Empirical evidence: this pattern was the difference between wedged teammates and productive teammates in claude-teams-bot.SESSION_STATE.md pattern for multi-agent durability. Extension to existing
/context-saveto support team state, queued actions, calibration tracking, lessons learned. Current/context-saveis single-agent-focused; team-lead sessions have different state needs.Wall-clock calibration tracker. New skill
/calibratemaintaining a per-project tracker comparing time/cost estimates vs actuals. Tightens estimates over iterations. Empirical: we observed 3-5x over-estimation by default and benefited from explicit tracking.Named failure modes catalog for Agent Teams. Doc addition to agent-teams skill troubleshooting. Includes: stale-imperative-crossing-in-flight, message-queue-drain-noise, sonnet-quality-drift, sensitive-data-in-fixtures-via-user-CLAUDE-bleed, dirty-shared-worktree-phantom-typecheck-errors, idle-spam-from-turn-boundaries. Each with symptoms, root cause, fix.
Medium-priority candidates
Per-phase parallelization heuristic table. Doc addition to
/plan-eng-reviewor new/parallelizeskill. The "if N independent units exist with minimal cross-deps, spawn N agents" rule with examples (multi-skill integration, multi-tab UI, multi-profile agents).QA-domain hyper-parallelization skill (
/qa-parallel). New skill spawning N parallel qa-agents split by test domain (unit/integration/e2e/contract/coverage/codex/security-review). Per the insight that QA work is wall-clock-bound and benefits disproportionately from parallelization.Code-time vs runtime data-isolation distinction. Doc addition wherever projects discuss test fixtures, MOCK_MODE, or sensitive data. Subtle but important: codebase artifacts must never bake in business confidential, but runtime can engage with anything users discuss. Many projects conflate.
Why Garry probably hasn't done these himself
Don't contribute back (project-specific)
Next steps