Files
gastown/internal/templates/messages/escalation.md.tmpl
Steve Yegge f04cc6fe15 feat: add template system for role contexts and messages
Implements gt-u1j.20: Prompt templates using go:embed.

- Add internal/templates package with embedded .md.tmpl files
- Role templates: mayor, witness, refinery, polecat, crew
- Message templates: spawn, nudge, escalation, handoff
- Update gt prime to use templates with fallback to hardcoded output
- Add crew role detection for <rig>/crew/<name>/ paths
- Include Gas Town architecture overview in all role contexts

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 16:59:40 -08:00

30 lines
582 B
Cheetah

# Escalation: {{ .Polecat }} stuck on {{ .Issue }}
## Summary
Polecat **{{ .Polecat }}** appears stuck and has not responded to {{ .NudgeCount }} nudges.
## Details
- **Issue**: {{ .Issue }}
- **Reason**: {{ .Reason }}
- **Last known status**: {{ .LastStatus }}
- **Nudges sent**: {{ .NudgeCount }}
## Possible Actions
{{ range .Suggestions }}
- {{ . }}
{{ end }}
## Witness Assessment
The polecat may need:
- Manual intervention to unblock
- Session restart to recover from bad state
- Issue reassignment to a different worker
Please advise on how to proceed.
—Witness