Problem
gc handoff sends the handoff mail and prints requesting restart... with exit code 144, but the controller never actually kills and restarts the session. The agent sits idle waiting to be restarted, but nothing happens. The user has to manually re-engage.
Expected behavior
After gc handoff:
- Mail is sent (works)
- Restart is requested (works — exit code 144)
- Controller detects the restart request and kills the session
- Controller starts a fresh session
- New session picks up the handoff mail and resumes work
Step 3-5 are not happening.
Observed behavior
After gc handoff, the session remains alive. The controller does not act on the restart request. The user must manually continue the conversation.
Context
- Running as mayor agent in a Gas City workspace
gc runtime request-restart may have the same issue (used by witness/deacon patrol formulas for context refresh)
- If this affects all agents, patrol loops that rely on restart-on-context-full won't work either
Reproduction
- Start a mayor session
- Run
gc handoff "test" "test handoff"
- Observe: mail is sent, exit code 144, but session is not killed
Problem
gc handoffsends the handoff mail and printsrequesting restart...with exit code 144, but the controller never actually kills and restarts the session. The agent sits idle waiting to be restarted, but nothing happens. The user has to manually re-engage.Expected behavior
After
gc handoff:Step 3-5 are not happening.
Observed behavior
After
gc handoff, the session remains alive. The controller does not act on the restart request. The user must manually continue the conversation.Context
gc runtime request-restartmay have the same issue (used by witness/deacon patrol formulas for context refresh)Reproduction
gc handoff "test" "test handoff"