feat(deacon): Add patrol runner context and prime support
Updates Deacon CLAUDE.md template with patrol execution instructions: - Patrol molecule workflow (mol-deacon-patrol) - Startup protocol: check for attached molecule, resume or bond - Patrol execution loop: execute steps, close, loop or exit - Nondeterministic idempotence for handoff Enhances gt prime for Deacon: - Adds patrol status section showing attached/naked state - Shows molecule progress when patrol is in progress - Includes Deacon-specific startup directive Also adds standalone prompts/roles/deacon.md for reference. Closes: gt-rana.4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -99,11 +99,14 @@ func TestRenderRole_Deacon(t *testing.T) {
|
||||
if !strings.Contains(output, "/test/town") {
|
||||
t.Error("output missing town root")
|
||||
}
|
||||
if !strings.Contains(output, "Health Orchestrator") {
|
||||
if !strings.Contains(output, "Patrol Executor") {
|
||||
t.Error("output missing role description")
|
||||
}
|
||||
if !strings.Contains(output, "Wake Cycle") {
|
||||
t.Error("output missing wake cycle section")
|
||||
if !strings.Contains(output, "Patrol Execution Protocol") {
|
||||
t.Error("output missing patrol execution section")
|
||||
}
|
||||
if !strings.Contains(output, "mol-deacon-patrol") {
|
||||
t.Error("output missing patrol molecule reference")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user