-
Notifications
You must be signed in to change notification settings - Fork 26
[Gastown] Mayor control-plane auth remains expired, blocking escalation triage in cloud rig #1997
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinggt:mayorMayor agent, chat interface, delegation toolsMayor agent, chat interface, delegation tools
Description
What happened?
Mayor session repeatedly receives 401 Token expired from Gastown control-plane tools while trying to triage and clean up active escalations in rig bd5ebd05-2907-4628-912b-cfe45d15c44b (cloud). The failure persists across many consecutive attempts over an extended period instead of self-refreshing.
Impact:
- Cannot inspect live bead state with
gt_list_beads - Cannot verify whether re-escalations are stale duplicates or real active incidents
- Cannot safely close duplicate escalations or reroute work
- Active incident management is effectively blocked at the mayor layer
Recent pattern:
- Multiple calls to
gt_list_beadsfor open escalations,in_progress, andin_reviewall fail withGastownApiError: Gastown API error (401): Token expired - This continued through repeated retries up to 2026-04-04T06:50:55Z
- Prior to expiry, the cloud rig had a real multi-bead Git/GitHub credential incident plus several review rework escalations, so the inability to inspect live state materially impacts operations
Expected behavior:
- Mayor control-plane auth should refresh automatically or recover quickly enough that bead-state inspection tools resume functioning
Actual behavior:
- Auth remains expired across repeated retries for hours, leaving the mayor unable to manage incidents
Suggested investigation:
- mayor chat/control-plane token refresh path
- session renewal behavior for long-running mayor conversations
- whether tool auth is tied to stale session state that is not being renewed after repeated bead queries
Area
Mayor / Chat
Context
- Town ID: 8a6f9375-b806-4ee0-ad6e-1697ea2dbfff
- Agent: Mayor (9640a1a6-ea13-487c-b48d-5af94870f71a)
- Rig ID: bd5ebd05-2907-4628-912b-cfe45d15c44b
Recent Errors
GastownApiError: Gastown API error (401): Token expired
Filed automatically by the Mayor via gt_report_bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggt:mayorMayor agent, chat interface, delegation toolsMayor agent, chat interface, delegation tools