Δ8+Δ9: RemoteExecutor (submit→poll→RunHandle local mirror) + inspector remote-run coverage - #155
Merged
Merged
Conversation
…~/.amico/cloud.json), token never logged
…ble contract for client TDD)
…atus-poll terminal mapping (resolution d, FINISHED authoritative)
…cal onLine parity), frames mirrored best-effort (resolution a)
… + warming-budget + lost-endpoint inferred terminals (resolutions c,d)
…ys live until the polled terminal (resolution b)
… exit 64, --spec+remote rejected (named seam)
…state) + S12 executor-branch structural greps
…ompletion through the UNCHANGED inspector pipeline (poll backstop reuse)
…topPlan honest; outage reads stalled then bounded inferred terminal
…elta4 deployed; validates the shape-only fake assumptions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #32 (Δ8), closes #33 (Δ9).
What
packages/amico-run/src/remote_executor.ts): Δ2 submit (Bearer credential fromAMICO_CLOUD_URL/TOKENenv pair or~/.amico/cloud.json), then a poll pump against the Δ4 shapes that MIRRORS the cloud run into a contract-conforming local run dir (run.toml+remote.jsonsidecar + synthesizedAMICODE_ITERrun.loglines +iter_*.pngframes +FINISHED).abort()= async request (POST /solves/{id}/abort), run live until the polled terminal; (c) executor-owned warming budget (15 min default) + poll heartbeat so the inspector's 10-min stall knob measures cloud silence; (d) terminal via status poll — FINISHED authoritative; instance-gone / lost-endpoint → inferred terminal (failed/255 +AMICODE_REMOTE_LOSTbreadcrumb).--executor remote(config faults exit 64;--spec+remote rejected as a named seam).Hermetic-first
Everything runs against
FakeCloud(node:http, Δ2/Δ4 shapes — Δ4 is not deployed; the fake is the executable contract). One live smoke is gatedAMICO_CLOUD_SMOKE=1and self-skips until aws-infra#166/#167 merge + Δ4 staging deploy.Out of scope (spec'd)
#59 tenant/quota hardening; Δ10 estimator/routing (#34/#63); result.toml/fidelity mirroring (named Δ4 seam); remote Stop-button escalation (abort() is the lane).
🤖 Generated with Claude Code