chore: remove stale prompts/, mayor/, and scripts/ directories

- Delete prompts/roles/*.md (duplicates of internal/templates/roles/*.md.tmpl)
- Delete mayor/rig/docs/ (stale draft, canonical version in docs/)
- Delete scripts/ (replaced by Makefile and internal/daemon/)
- Update doctor check to validate internal/templates/roles/*.md.tmpl
- Update docs/prompts.md to reflect actual template location

🤖 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-24 16:46:32 -08:00
parent 7c7b8b551d
commit b77e0fe09a
12 changed files with 28 additions and 1732 deletions

View File

@@ -142,28 +142,22 @@ Each role has a `_get_<role>_context_static()` function providing fallback promp
### 1. Prompt Storage
Templates are embedded in the Go binary via `//go:embed`:
```
gastown/
├── prompts/
│ ├── roles/
│ ├── mayor.md
│ ├── witness.md
│ ├── refinery.md
│ ├── polecat.md
│ ├── crew.md
│ │ └── unknown.md
├── mail/
│ │ ├── swarm_started.md
│ │ ├── work_complete.md
│ │ └── ...
│ ├── spawn/
│ │ ├── new_polecat.md
│ │ ├── reuse_polecat.md
│ │ └── transient_worker.md
│ └── lifecycle/
│ ├── handoff.md
│ ├── escalation.md
│ └── nudge.md
internal/templates/
├── roles/
│ ├── mayor.md.tmpl
│ ├── witness.md.tmpl
│ ├── refinery.md.tmpl
│ ├── polecat.md.tmpl
│ ├── crew.md.tmpl
└── deacon.md.tmpl
└── messages/
├── spawn.md.tmpl
├── nudge.md.tmpl
├── escalation.md.tmpl
└── handoff.md.tmpl
```
### 2. Template Engine