-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Bug
Sessions launched via agentctl launch --matrix are tracked in ~/.agentctl/opencode-sessions/ (wrapper scripts, .json metadata, .exit files) but are never registered in state.json.
This means:
agentctl listnever shows themagentctl status <id>returns 'Session not found'- No lifecycle fuse is created
- No webhook fires on completion
- The supervisor pipeline never triggers
Evidence
# Sessions exist on disk:
ls ~/.agentctl/opencode-sessions/682870d7*.{json,exit,sh} # all present
# But not in state:
agentctl status 682870d7 # Session not found
jq '.sessions[] | select(.id | startswith("682870"))' ~/.agentctl/state.json # empty
Impact
This breaks the entire completion callback pipeline. Matrix-launched sessions run to completion but no downstream automation fires (webhooks, OrgLoop supervisor routes, etc.).
Expected
Matrix-launched sessions should be registered in daemon state just like single agentctl launch sessions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels