| name | supervisor-commit |
| description | Atomic commit per completed layer/slice |
Supervisor: Commit
Command: pasture:supervisor:commit — Atomic commit per completed layer/slice
-> Full workflow in PROCESS.md <- Phase 12
[sup-commit-gates-first]
- Given: all files ready
- When: committing
- Then: run quality gates (type checking + tests) first — must pass before staging or committing
- Should not: commit without quality gates passing
[sup-commit-message-format]
- Given: commit message
- When: formatting
- Then: reference Beads task IDs in the trailer (Task: aura-xxx, aura-yyy)
- Should not: use vague messages without task references
When to Use
All workers for a layer have completed successfully — quality gates pass, Beads tasks updated, IMPL_PLAN ready for progress note.
Steps
- Run quality gates (type checking + tests) — must pass
- Stage changed files
- Create commit with format below
- Close Beads tasks
- Update IMPL_PLAN progress
Commit Format
feat|fix|docs|refactor(scope): Description
Files: file1.go, file2.go
Task: aura-xxx, aura-yyy
Ratified-Plan: <ratified-plan-id>
Co-Authored-By: Claude <noreply@anthropic.com>
Close Beads Tasks
bd close aura-xxx aura-yyy --reason="Committed in <commit-hash>"
Update IMPL_PLAN
bd update <impl-plan-id> --notes="SLICE-N complete: aura-xxx, aura-yyy"
Follow-up Commits
For follow-up slices, add Followup-Epic: to the commit message trailer:
feat|fix(scope): Description (follow-up)
Files: file1.go, file2.go
Task: aura-xxx (FOLLOWUP_SLICE-1)
Followup-Epic: aura-yyy
Ratified-Plan: aura-zzz (FOLLOWUP_PROPOSAL-1)
Co-Authored-By: Claude <noreply@anthropic.com>
Commands
git add <files>
git agent-commit -m "..."