One agent session

One agent session A sequence diagram generated by Archify. start container, task token run item, handoff story, design scope to run and branch scoped access start as user agent heartbeat every 60 s MCP tool calls results push agent/KEY exit, final reply transcript, SESSION# step succeed judge from repo, table Start Agent work Record Workflow · work-item state · Sequence participant Workflow work-item state Session runner · session.mjs, root · Sequence participant Session runner session.mjs, root Access scope · per session · Sequence participant Access scope per session Agent CLI · user agent · Sequence participant · Claude Agent CLI user agent Agent gateway · policy · Sequence participant Agent gateway policy Repository · agent/* only · Sequence participant Repository agent/* only Run state · run, transcripts · Sequence participant Run state run, transcripts Legend request return security async trace default message

Sandbox

  • • One container per session
  • • Image with the repo and its dependencies
  • • No inbound access

Least privilege

  • • CLI cannot read runner credentials
  • • Pushes only to the run's branch
  • • The agent never ends its own step

Trust the record

  • • Token sent once the record exists
  • • Outcome read from repo and table
  • • Redactor runs before anything is stored