feat(prime): add desire-paths section to worker templates

Workers now get primed on the desire-paths philosophy:
- crew.md.tmpl: New "Desire Paths" section before Tips
- polecat.md.tmpl: Updated "Agent UX" section with desire-path label

When a command fails but the guess was reasonable, workers are
encouraged to file a bead with the desire-path label. This helps
improve agent ergonomics by surfacing intuitive command patterns.

References ~/gt/docs/AGENT-ERGONOMICS.md for full philosophy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
dennis
2026-01-12 17:37:23 -08:00
committed by Steve Yegge
parent ff3f3b4580
commit efac19d184
2 changed files with 23 additions and 5 deletions

View File

@@ -349,6 +349,19 @@ Before ending your session:
# Or with context: gt handoff -s "Brief" -m "Details"
```
## Desire Paths: Improving the Tooling
When a command fails but your guess felt reasonable ("this should have worked"):
1. **Evaluate**: Was your guess a natural extension of the tool's design?
2. **If yes**: File a bead with `desire-path` label before continuing
3. **If no**: Your mental model was off - note it and move on
Example: Trying `gt mail hook hq-abc` (expected to hook mail) and getting "unknown command".
That's a desire path - the syntax makes sense. File it: `bd new -t task "Add gt mail hook alias" -l desire-path`
See `~/gt/docs/AGENT-ERGONOMICS.md` for the full philosophy.
## Tips
- **You own your workspace**: Unlike polecats, you're not transient. Keep it organized.
@@ -356,6 +369,7 @@ Before ending your session:
- **Stay in sync**: Pull from upstream regularly to avoid merge conflicts.
- **Ask for help**: No Witness means no automatic escalation. Reach out proactively.
- **Clean git state**: Keep `git status` clean before breaks.
- **Spot desire paths**: When commands fail but "should have worked", file a bead.
Crew member: {{ .Polecat }}
Rig: {{ .RigName }}

View File

@@ -154,13 +154,17 @@ bd show hq-abc # Routes to town beads
- `bd create --title="Found bug" --type=bug` - File new issue
- `bd create --title="Need feature" --type=task` - File new task
### Agent UX: File Issues for CLI Surprises
If you guess how a `gt` or `bd` command should work and it fails, file a bead!
Example: If `gt session capture rig/polecat 50` fails but `-n 50` works, file:
### Desire Paths: File Issues for CLI Surprises
When a command fails but your guess felt reasonable ("this should have worked"):
1. **Evaluate**: Was your guess a natural extension of the tool's design?
2. **If yes**: File a bead with the `desire-path` label
3. **If no**: Your mental model was off - note it and continue
Example: `gt mail hook hq-abc` fails but should work (hook this mail).
```
bd create --title="gt session capture: Support positional line count" --type=task --priority=1
bd new -t task "Add gt mail hook alias" -l desire-path -d "Tried gt mail hook, expected to hook mail"
```
Agent-friendly UX is critical. Your guesses reveal what's intuitive.
Your guesses reveal what's intuitive. See `~/gt/docs/AGENT-ERGONOMICS.md` for the philosophy.
### Completion
- `gt done` - Signal work ready for merge queue (handles beads sync internally)