Commit 2ec1cb6
feat(formula): add swarm + task monorepo formulas with in_progress convoy safety
Split mol-polecat-work-monorepo into two explicit formulas:
- mol-polecat-work-monorepo-task: For standalone tasks creating PRs against
main. Includes CI validation and AI review handling steps.
- mol-polecat-work-monorepo-swarm: For feature branch work via merge queue.
No PR/CI/AI-review steps. Polecats rebase on feature branch, run gates
locally, submit via gt done --pre-verified --target.
Both formulas (plus the base mol-polecat-work) add
`bd update {{issue}} --status=in_progress` as the FIRST action in
load-context. This is the critical convoy safety fix — without it, the
convoy dispatch loop sees working beads as open/unassigned and
force-steals them from polecats (root cause of 70% of polecat deaths).
The original mol-polecat-work-monorepo is preserved for backward
compatibility (rig configs may reference it) and also gets the
in_progress fix.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 85816bc commit 2ec1cb6
4 files changed
Lines changed: 1022 additions & 0 deletions
0 commit comments