feat: add Deacon role context template
Creates deacon.md.tmpl for the health-check orchestrator role: - Architecture position (between daemon and Mayor/Witnesses) - Wake cycle instructions (heartbeat, mail check, health scan) - Session patterns for all agent types - Lifecycle request handling (cycle, restart, shutdown) - Responsibilities and escalation protocols Updates templates package to include deacon in role list. Closes: gt-5af.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ type Templates struct {
|
||||
|
||||
// RoleData contains information for rendering role contexts.
|
||||
type RoleData struct {
|
||||
Role string // mayor, witness, refinery, polecat, crew
|
||||
Role string // mayor, witness, refinery, polecat, crew, deacon
|
||||
RigName string // e.g., "gastown"
|
||||
TownRoot string // e.g., "/Users/steve/ai"
|
||||
WorkDir string // current working directory
|
||||
@@ -119,7 +119,7 @@ func (t *Templates) RenderMessage(name string, data interface{}) (string, error)
|
||||
|
||||
// RoleNames returns the list of available role templates.
|
||||
func (t *Templates) RoleNames() []string {
|
||||
return []string{"mayor", "witness", "refinery", "polecat", "crew"}
|
||||
return []string{"mayor", "witness", "refinery", "polecat", "crew", "deacon"}
|
||||
}
|
||||
|
||||
// MessageNames returns the list of available message templates.
|
||||
|
||||
Reference in New Issue
Block a user