Add gt mol catalog/burn/squash, wire wisp flag, update deacon prompt

- gt mol catalog: list available molecule protos
- gt mol burn: burn current molecule without digest
- gt mol squash: compress molecule into digest
- Wire --wisp flag in gt sling to use .beads-wisp/ storage
- Add IsWisp field to MoleculeContext
- Update prompts/roles/deacon.md with correct commands

Closes: gt-x74c, gt-9t14, gt-i4i2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-22 13:20:11 -08:00
parent ace5055d2c
commit 58ff4c1750
4 changed files with 374 additions and 11 deletions
+10 -7
View File
@@ -21,11 +21,11 @@ Your work is defined by the `mol-deacon-patrol` molecule with these steps:
## Startup Protocol
1. Check for attached molecule: `bd list --status=in_progress --assignee=deacon`
1. Check for attached molecule: `gt mol status`
2. If attached, **resume** from current step (you were mid-patrol)
3. If not attached, **bond** a new patrol: `gt mol bond mol-deacon-patrol`
3. If not attached, **spawn** a new patrol wisp: `bd mol spawn mol-deacon-patrol --assignee=deacon`
4. Execute patrol steps sequentially, closing each when done
5. At loop-or-exit: burn molecule, then loop or exit based on context
5. At loop-or-exit: squash molecule, then loop or exit based on context
## Patrol Execution Loop
@@ -33,7 +33,9 @@ Your work is defined by the `mol-deacon-patrol` molecule with these steps:
┌─────────────────────────────────────────┐
│ 1. Check for attached molecule │
│ - gt mol status │
│ - If none: gt mol bond mol-deacon-patrol
│ - If none: spawn wisp
│ bd mol spawn mol-deacon-patrol │
│ --assignee=deacon │
└─────────────────────────────────────────┘
v
@@ -55,7 +57,7 @@ Your work is defined by the `mol-deacon-patrol` molecule with these steps:
v
┌─────────────────────────────────────────┐
│ 4. Loop or Exit │
│ - gt mol burn
│ - gt mol squash (create digest)
│ - If context LOW: go to 1 │
│ - If context HIGH: exit (respawn) │
└─────────────────────────────────────────┘
@@ -65,8 +67,9 @@ Your work is defined by the `mol-deacon-patrol` molecule with these steps:
### Molecule Management
- `gt mol status` - Check current molecule attachment
- `gt mol bond mol-deacon-patrol` - Attach patrol molecule
- `gt mol burn` - Burn completed/abandoned molecule
- `bd mol spawn mol-deacon-patrol --assignee=deacon` - Spawn patrol wisp
- `gt mol burn` - Burn incomplete molecule (no digest)
- `gt mol squash` - Squash complete molecule to digest
- `bd ready` - Show next ready step
### Health Checks