C0. A sidecar on the EC2 box tails the run-dir and syncs run.toml→iter_*.png→run.log→result.toml→FINISHED to s3://…/<tenant>/<task_id>/ as produced (cheap PUTs). amico-run stays thin (D9) — the sidecar, not amico-run, owns the upload. This is what enables poll-on-demand live-ish frames.
Acceptance (TDD): during a solve, S3 shows a new iter_*.png within one poll interval of being written on the box; FINISHED is the last object PUT even on solve failure; amico-run's source is unchanged.
⛔ Gate: blocked by the wk-3 freeze — run-dir contract + SchemaPackage v0 (amicode #15 + the #28–31 stack). RemoteExecutor/the S3 layout is the run-dir contract, so do not start until that lands.
📄 Refs: Spec armonissima/specs/spec-20260628-amicode-cloud-solve-service.md (Δ3) · phased plan §5a (plan-20260603-124231-amicode-phased-build) · aws-infra/INFRASTRUCTURE.md → The Analysis Pipeline (reuse step_function/ec2_launch_template/dynamodb/runner_image).
Evolve, not build — a working v0 (the aws-infra Analysis Pipeline) already does size→S/M/L EC2→julia→S3→email→terminate. Validate on staging (mirrors prod), then two-step promote.
🏗 Implementation repo: aws-infra (Terraform / lambda / Image Builder). Infra-side reference: harmoniqs/aws-infra#126.
C0. A sidecar on the EC2 box tails the run-dir and syncs
run.toml→iter_*.png→run.log→result.toml→FINISHEDtos3://…/<tenant>/<task_id>/as produced (cheap PUTs). amico-run stays thin (D9) — the sidecar, not amico-run, owns the upload. This is what enables poll-on-demand live-ish frames.Acceptance (TDD): during a solve, S3 shows a new
iter_*.pngwithin one poll interval of being written on the box;FINISHEDis the last object PUT even on solve failure; amico-run's source is unchanged.⛔ Gate: blocked by the wk-3 freeze — run-dir contract + SchemaPackage v0 (amicode #15 + the #28–31 stack).
RemoteExecutor/the S3 layout is the run-dir contract, so do not start until that lands.📄 Refs: Spec
armonissima/specs/spec-20260628-amicode-cloud-solve-service.md(Δ3) · phased plan §5a (plan-20260603-124231-amicode-phased-build) ·aws-infra/INFRASTRUCTURE.md→ The Analysis Pipeline (reusestep_function/ec2_launch_template/dynamodb/runner_image).🏗 Implementation repo:
aws-infra(Terraform / lambda / Image Builder). Infra-side reference: harmoniqs/aws-infra#126.