You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Graceful shutdown (disconnect on SIGTERM/cancel) so in-flight frames flush
Persist task_id ↔ Claude session UUID (from first ResultMessage) for resume on another worker
Keep agent cwd stable so SDK-derived project_key paths stay predictable
Plan compaction when part count threatens resume latency
Optional S3 Express One Zone when fleet is single-AZ
Complements shipped Persistent session storage (/mnt/workspace FUSE caches) and end-of-task trace upload to traces/...jsonl.gz.
Use case
In-VM caches do not survive worker migration or long pauses. Portable transcripts enable resume, debugging, and compliance without relying solely on end-of-task trace upload.
Proposed solution
S3 prefix per task_id + SDK project_key; SessionRole scoped writes.
Flush on frame boundary; disconnect on shutdown.
Alarms on mirror failures; structured logging.
Compaction when part count threatens resume latency.
Optional S3 Express One Zone when fleet is single-AZ.
Map first ResultMessage session UUID to task_id in DynamoDB for cross-worker resume.
Other information
Shipped: persistent session storage on /mnt/workspace; execution tracing to traces/...jsonl.gz.
Context: ROADMAP.md → S3-backed SDK session store (portable transcripts)
Component
Agent (Python runtime)
Describe the feature
Plumb the Claude Agent SDK
SessionStoreto S3 (dedicated bucket or prefix) with:disconnecton SIGTERM/cancel) so in-flight frames flushtask_id↔ Claude session UUID (from firstResultMessage) for resume on another workercwdstable so SDK-derivedproject_keypaths stay predictableComplements shipped Persistent session storage (
/mnt/workspaceFUSE caches) and end-of-task trace upload totraces/...jsonl.gz.Use case
In-VM caches do not survive worker migration or long pauses. Portable transcripts enable resume, debugging, and compliance without relying solely on end-of-task trace upload.
Proposed solution
task_id+ SDKproject_key; SessionRole scoped writes.disconnecton shutdown.ResultMessagesession UUID totask_idin DynamoDB for cross-worker resume.Other information
Shipped: persistent session storage on
/mnt/workspace; execution tracing totraces/...jsonl.gz.Design context:
docs/design/COMPUTE.md,docs/design/OBSERVABILITY.md.This might be a breaking change