fix(mayor): match handoff priming for gt may at startup (hq-osbot)

When starting Mayor via 'gt may at', the session now:
1. Works from townRoot (~/gt) instead of mayorDir (~/gt/mayor)
2. Includes startup beacon with explicit instructions in initial prompt
3. Removes redundant post-start nudges (beacon has instructions)

This matches the 'gt handoff' behavior where the agent immediately
knows to check hook and mail on startup.

Fixes: hq-h3449 (P0 escalation - horrendous starting UX)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
mayor
2026-01-13 03:22:56 -08:00
committed by beads/crew/emma
parent 791b388a93
commit 278b2f2d4d
3 changed files with 21 additions and 21 deletions

View File

@@ -65,9 +65,9 @@ func FormatStartupNudge(cfg StartupNudgeConfig) string {
beacon := fmt.Sprintf("[GAS TOWN] %s <- %s • %s • %s",
cfg.Recipient, cfg.Sender, timestamp, topic)
// For handoff, add explicit instructions so the agent knows what to do
// For handoff and cold-start, add explicit instructions so the agent knows what to do
// even if hooks haven't loaded CLAUDE.md yet
if cfg.Topic == "handoff" {
if cfg.Topic == "handoff" || cfg.Topic == "cold-start" {
beacon += "\n\nCheck your hook and mail, then act on the hook if present:\n" +
"1. `gt hook` - shows hooked work (if any)\n" +
"2. `gt mail inbox` - check for messages\n" +