Skip to content

Tracking: Upstream contribution candidates from claude-teams-bot project #1

@habassa5

Description

@habassa5

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.md policy garrytan#23.

High-priority candidates (genuine gap-filling)

  • 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.

Don't contribute back (project-specific)

  • ChatGPT Pro tier defaults (subscription-specific)
  • Anything Pulse/Salim-personal
  • Reject-Sonnet-by-default policy (project-specific quality-bar choice)

Next steps

  1. After claude-teams-bot v1 ships and is fully tested, revisit this list
  2. For each candidate: decide CONTRIBUTE / DEFER / REJECT
  3. For CONTRIBUTE candidates: split into individual issues (file at garrytan/gstack), open PRs from this fork
  4. Quality bar: each PR should be polished enough to reflect well on Salim's GitHub profile (better fewer good PRs than many half-baked)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions