fix(startup): add actionable instructions to assigned beacon

Polecats were burning 48k+ tokens on exploratory work when spawned because
the startup beacon was informational-only. By the time the propulsion nudge
arrived 2 seconds later, the agent had already started exploring.

The handoff topic already had explicit instructions; this adds the same
pattern for assigned work: "Work is on your hook. Run gt hook now."

Fixes #319

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
max
2026-01-10 12:30:14 -08:00
committed by Steve Yegge
parent e3d99c3aed
commit 064f7b1a40
2 changed files with 8 additions and 0 deletions

View File

@@ -75,5 +75,11 @@ func FormatStartupNudge(cfg StartupNudgeConfig) string {
"4. If nothing hooked → wait for instructions"
}
// For assigned, work is already on the hook - just tell them to run it
// This prevents the "helpful assistant" exploration pattern (see PRIMING.md)
if cfg.Topic == "assigned" {
beacon += "\n\nWork is on your hook. Run `gt hook` now and begin immediately."
}
return beacon
}

View File

@@ -25,6 +25,8 @@ func TestFormatStartupNudge(t *testing.T) {
"gastown/crew/gus",
"<- deacon",
"assigned:gt-abc12",
"Work is on your hook", // assigned includes actionable instructions
"gt hook",
},
},
{