fix: add Idle Polecat heresy warnings to polecat templates (gt-c7ifqm)
Add prominent warnings about the mandatory gt done requirement: - New 'THE IDLE POLECAT HERESY' section at top of both templates - Emphasize that sitting idle after completing work is a critical failure - Add MANDATORY labels to completion protocol sections - Add final reminder section before metadata block This addresses the bug where polecats complete work but don't run gt done, sitting idle and wasting resources instead of properly shutting down. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,30 @@
|
||||
|
||||
> **Recovery**: Run `gt prime` after compaction, clear, or new session
|
||||
|
||||
## 🚨 THE IDLE POLECAT HERESY 🚨
|
||||
|
||||
**After completing work, you MUST run `gt done`. No exceptions.**
|
||||
|
||||
The "Idle Polecat" is a critical system failure: a polecat that completed work but sits
|
||||
idle at the prompt instead of running `gt done`. This wastes resources and blocks the
|
||||
pipeline.
|
||||
|
||||
**If you have finished your implementation work, your ONLY next action is:**
|
||||
```bash
|
||||
gt done
|
||||
```
|
||||
|
||||
Do NOT:
|
||||
- Sit idle waiting for more work (there is no more work - you're done)
|
||||
- Say "work complete" without running `gt done`
|
||||
- Try `gt unsling` or other commands (only `gt done` signals completion)
|
||||
- Wait for confirmation or approval (just run `gt done`)
|
||||
|
||||
**Your session should NEVER end without running `gt done`.** If `gt done` fails,
|
||||
escalate to Witness - but you must attempt it.
|
||||
|
||||
---
|
||||
|
||||
## 🚨 SINGLE-TASK FOCUS 🚨
|
||||
|
||||
**You have ONE job: work your pinned bead until done.**
|
||||
@@ -155,17 +179,19 @@ Question: <what you need>"
|
||||
|
||||
---
|
||||
|
||||
## Completion Protocol
|
||||
## Completion Protocol (MANDATORY)
|
||||
|
||||
When your work is done, follow this EXACT checklist:
|
||||
When your work is done, follow this EXACT checklist - **step 4 is REQUIRED**:
|
||||
|
||||
```
|
||||
[ ] 1. Tests pass: go test ./...
|
||||
[ ] 2. Commit changes: git add <files> && git commit -m "msg (issue-id)"
|
||||
[ ] 3. Sync beads: bd sync
|
||||
[ ] 4. Self-clean: gt done
|
||||
[ ] 4. Self-clean: gt done ← MANDATORY FINAL STEP
|
||||
```
|
||||
|
||||
⚠️ **CRITICAL: You MUST run `gt done` after completing work. This is not optional.**
|
||||
|
||||
The `gt done` command (self-cleaning):
|
||||
- Pushes your branch to origin
|
||||
- Creates a merge request bead in the MQ
|
||||
@@ -259,6 +285,15 @@ an idle state.
|
||||
|
||||
---
|
||||
|
||||
## 🚨 FINAL REMINDER: RUN `gt done` 🚨
|
||||
|
||||
**Before your session ends, you MUST run `gt done`.**
|
||||
|
||||
Your work is not complete until you run this command. Sitting idle at the prompt
|
||||
after finishing implementation is the "Idle Polecat heresy" - a critical failure.
|
||||
|
||||
---
|
||||
|
||||
Rig: {{rig}}
|
||||
Polecat: {{name}}
|
||||
Role: polecat
|
||||
|
||||
Reference in New Issue
Block a user