diff --git a/doc/plans/2026-10-10-boat-validation.md b/doc/plans/2026-10-10-boat-validation.md index ece58d88b6f..32811f0ebd1 100644 --- a/doc/plans/2026-10-10-boat-validation.md +++ b/doc/plans/2026-10-10-boat-validation.md @@ -66,7 +66,15 @@ Deployment 14 **5cf388845902c88d0406116ed9b2c44f335d8bb2** verified serving at 0 - **Native Claude saved-session resume still failed.** `d529d365` rejected missing controller pack provenance before provider work. The reviewed fix persists the attachment template on cold rotation and recovers existing epochs from matching controller-owned commands; it does not bypass package, identity, or settlement checks. 28 cache and 5 transport tests plus both TypeScript checks passed; live validation awaits the next deployment. - **Live sibling child cancellation remains unverified.** The legacy agent again returned early; exact child 72165 was absent at 02:21:48 before normal Stop around 02:21:50. Native runner/Codex/Vite identities survived the control cancellation, a narrower pass. -Deployment 15 (compatibility/reconnect fixes) is still building; reviewed saved-session fix is queued on staging branch `2e8859ab762e5b2ce97f2ea774e385fd333f9cee` for the subsequent deployment. +Deployment 15 (compatibility/reconnect fixes), `5575b36a8d826d0092466257a7b468af8e5330d5`, verified at 02:33:12.795. Deployment 16 is building reviewed saved-session fix `2e8859ab762e5b2ce97f2ea774e385fd333f9cee`. + +Native Codex computer use subsequently passed after navigation correction: the initial screenshot revealed an appended URL path; the corrected live desktop and [persisted screenshot artifact](assets/2026-10-10-boat/staging-15-corrected-artifact-visible.png) show `example.com` without an extra path. Actual desktop tools drove the browser after AT-SPI binding failed. Artifact registration rejected stale metadata until the agent supplied the final file hash/size. The corrected artifact remained accessible after deployment 15. Embedded human-input automation still targeted the outer container, so this is not a new embedded human-control pass. + +A later legacy Claude test had a confirmed sleeping child before Stop. That child disappeared, but the native sibling also retired before the after-sample. Native retirement began 123 seconds after its last checkpoint settlement, consistent with the ordinary 120-second warm timeout; deployment also overlapped. Neither Stop nor deployment is established as its cause. Isolation remains inconclusive pending a test with an actively running sibling. + +On deployment 15, ordinary Codex continuation `5913803a` and legacy Claude `633e2852` failed with `setup_failed`: “Computer is connecting or settling a previous stop”. Boat independently remained `archiving` with stop `804de979` pending and snapshot `in_progress` at 02:41 UTC. The normal stop had begun at 02:34:21.063; neither test reached guest execution. These are admission failures during provider archival, not saved-session or sibling-cancellation results. No forced stop or lifecycle reset was used. + +Local 36 restart continuation `6f31e383` succeeded 02:40:41.830–02:43:37.252. The normal same-task follow-up retained normalized session `994ca5b6`, provider thread `01a1286b`, and logical runner identity on a new physical owner/boot. The [independent read](assets/2026-10-10-boat/evidence/local-36-restart-retained.json) and [completed task](assets/2026-10-10-boat/local-36-restart-retained.png) showed exactly one marker line with unchanged SHA-256 `12772b6873ec4e7ffa80c9d0f798f0bb0492aae88b6cb3669c55a812f9bb312c`. This is a successful orderly controller restart plus archived saved-session continuation, not active crash recovery. ## Checks and their limits @@ -75,6 +83,7 @@ Deployment 15 (compatibility/reconnect fixes) is still building; reviewed saved- | Earlier runtime CI, observed 2026-10-10 21:32:06 | Combined `2ef177271a`: 52 successful checks, fresh 5/5 review, zero unresolved threads. | | Earlier core CI, same observation | Core `754a4e792e`: 52 successful checks, two policy skips, fresh 5/5 review, zero unresolved threads. | | Diagnostic-only recovery reasons | d50268c932: 54 focused cases and server TypeScript passed. On 2026-10-11, combined d502 had 52 successful checks, fresh 5/5 review and zero unresolved threads at 00:58:18; core ee2 had 52 successes, 2 skips and fresh review at 00:52:12. These exact-head CI passes do not establish staging acceptance or a full local suite pass. | +| Latest exact-head CI, 2026-10-11 02:42:44 | UI `ea1272d4d8`: 52 successes; core `44b1b52362`: 52 successes, 2 skips. Both exact-head reviews 5/5 with no unresolved threads. [Receipt](assets/2026-10-10-boat/evidence/ci-ea1272-44b1.json). | | Latest fixes | Cleanup scope: 8 focused and 2 quarantine-fence tests passed. Retained ACPX package recovery: 26 cache/package and 7 manifest/bootstrap tests passed. Cancellation diagnostics: 7 focused tests passed. Server TypeScript and independent package-authority review passed. Latest-head CI is pending. | | Scoped-disconnect checks | Proof 246c28c03a: 16 route + 44 module cases passed (60 total), and server TypeScript passed; production integrated into combined 2ef1772/core 754a4e. Runtime CI is recorded above; later documentation commits require separate checks. | | Legacy correction | 57 execute cases and 6 config cases passed; both adapter TypeScript checks passed. Actual local 32 runs subsequently verified skill invocation and completion. | @@ -101,9 +110,9 @@ Automated semantics already have meaningful coverage: the [latest 60-case route/ Still unverified or incomplete after the deployment 14 follow-up: - Exercise a legitimate saved-session continuation on diagnostic source; UI Retry `5957cc86` requested a fresh session and cannot diagnose the old recovery gate. Fresh and warm turns now passed; ordinary post-idle continuation is still needed for the new session. The old failure remains unresolved. The prior cancelled Codex turn and quarantined repairs remain historical failures; deployment 14 resumed the saved Codex session and passed warm HMR. Latest native Claude retry still failed before provider work and its correction awaits live deployment. -- Embedded desktop input on latest source remains unverified; direct browser desktop input passed earlier. Deployment 14 HMR passed after actual React fixture repair. Current computer-use navigation and artifact inspection are still being qualified. +- Embedded desktop input on latest source remains unverified; direct browser desktop input passed earlier. Deployment 14 HMR passed after actual React fixture repair. Native Codex computer-use navigation and persisted artifact inspection subsequently passed after correction, as recorded above. - Explicit cancellation of one agent while a sibling continues on the same Boat. -- Live feature-off cleanup, staging company denial, and successful controller restart continuation without duplicate execution. Local product detach/reconnect with retained-file verification passed; slow settling UX is recorded above. The local boundary pass and automated fences remain narrower evidence. +- Live feature-off cleanup, staging company denial, and active controller-crash recovery. The orderly local restart continuation subsequently passed without duplicating the marker, as recorded above. Local product detach/reconnect with retained-file verification passed; slow settling UX is recorded above. The local boundary pass and automated fences remain narrower evidence. - Checks on subsequent commits and paid-resource state after any further qualification. Diagnostic-head CI is green on the exact sources above; deployment 12 and earlier corrected legacy passes do not imply complete acceptance. Known v1 limits: cold startup can be expensive; immutable pack reuse avoids repeat large uploads but verification/staging still costs time. Managed snapshots and never-retried private cache uploads can retain disk pending operator cleanup. Arbitrary shell writers can race editor writes; no universal filesystem CAS guarantee is claimed. Dev servers survive warm turns when detached from the provider shell’s process group and still terminate with their owning runner at timeout. diff --git a/doc/plans/assets/2026-10-10-boat/evidence/ci-ea1272-44b1.json b/doc/plans/assets/2026-10-10-boat/evidence/ci-ea1272-44b1.json new file mode 100644 index 00000000000..9416554010d --- /dev/null +++ b/doc/plans/assets/2026-10-10-boat/evidence/ci-ea1272-44b1.json @@ -0,0 +1,124 @@ +{ + "observedAt": "2026-10-11T02:42:44.737941+00:00", + "pullRequests": [ + { + "number": 15813, + "head": "44b1b523622714837945bb42c3e0ad95f898d17d", + "expectedHeadMatches": true, + "counts": { + "SKIPPED": 2, + "SUCCESS": 52 + }, + "checks": [ + { + "name": "ci / Typecheck + Release Registry", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38104800769/job/114367938717" + }, + { + "name": "ci / Build", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38104800769/job/114367938665" + }, + { + "name": "ci / verify", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38104800769/job/114369560624" + }, + { + "name": "ci / e2e", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38104800769/job/114368941710" + }, + { + "name": "Greptile Review", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://app.greptile.com/paperclip-org-3/github/paperclipai/paperclip/-/pull/15813" + } + ], + "exactHeadChecksVerified": true, + "greptileChecks": [ + { + "head": "44b1b523622714837945bb42c3e0ad95f898d17d", + "status": "completed", + "conclusion": "success", + "url": "https://github.com/paperclipai/paperclip/runs/114367923666" + } + ], + "unresolvedThreads": [], + "latestGreptileSummary": { + "updatedAt": "2026-10-11T02:31:38Z", + "url": "https://github.com/paperclipai/paperclip/pull/15813#issuecomment-6099291617", + "reviewedCommits": [ + "44b1b523622714837945bb42c3e0ad95f898d17d" + ], + "confidence": "5/5", + "matchesCurrentHead": true + } + }, + { + "number": 15804, + "head": "ea1272d4d8ae462d062c85c7f655bc6d3fad5fce", + "expectedHeadMatches": true, + "counts": { + "SUCCESS": 52 + }, + "checks": [ + { + "name": "ci / Typecheck + Release Registry", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38105172676/job/114369181348" + }, + { + "name": "ci / Build", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38105172676/job/114369181377" + }, + { + "name": "ci / verify", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38105172676/job/114371084632" + }, + { + "name": "ci / e2e", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://github.com/paperclipai/paperclip/actions/runs/38105172676/job/114370159041" + }, + { + "name": "Greptile Review", + "status": "COMPLETED", + "conclusion": "SUCCESS", + "url": "https://app.greptile.com/paperclip-org-3/github/paperclipai/paperclip/-/pull/15804" + } + ], + "exactHeadChecksVerified": true, + "greptileChecks": [ + { + "head": "ea1272d4d8ae462d062c85c7f655bc6d3fad5fce", + "status": "completed", + "conclusion": "success", + "url": "https://github.com/paperclipai/paperclip/runs/114369049463" + } + ], + "unresolvedThreads": [], + "latestGreptileSummary": { + "updatedAt": "2026-10-11T02:33:36Z", + "url": "https://github.com/paperclipai/paperclip/pull/15804#issuecomment-6098591173", + "reviewedCommits": [ + "ea1272d4d8ae462d062c85c7f655bc6d3fad5fce" + ], + "confidence": "5/5", + "matchesCurrentHead": true + } + } + ] +} diff --git a/doc/plans/assets/2026-10-10-boat/evidence/local-36-restart-retained.json b/doc/plans/assets/2026-10-10-boat/evidence/local-36-restart-retained.json new file mode 100644 index 00000000000..bf708ffafa1 --- /dev/null +++ b/doc/plans/assets/2026-10-10-boat/evidence/local-36-restart-retained.json @@ -0,0 +1,66 @@ +{ + "sandboxId": "bx_ndnggjad", + "exitCode": 0, + "timedOut": false, + "data": { + "marker": { + "exists": true, + "lineCount": 1, + "sha256": "12772b6873ec4e7ffa80c9d0f798f0bb0492aae88b6cb3669c55a812f9bb312c" + }, + "checkpoints": [ + { + "fileKind": "runner-state.json", + "mtime": 1791686617, + "runId": "6f31e383-8400-4675-acd2-11563007b66d", + "runnerInstanceId": "55f789fd-17d9-48ad-8f65-0f806782c436", + "normalizedSessionId": "994ca5b6-8d92-4c97-b14c-411aa0395caf", + "lifecycle": "ready" + }, + { + "fileKind": "codex-provider-state.json", + "mtime": 1791686617, + "lifecycle": "session_open", + "threadId": "01a1286b-9338-7101-8ced-733e9b28ae99", + "activeProviderTurnId": null, + "completedTurnAuthoritative": true + } + ], + "at": "2026-10-11T02:44:26.082483+00:00", + "bootId": "7d0e87da-b3af-467b-bba2-facdbc4237d9", + "ownerId": "c18f88e5-439a-4c62-a3f4-be9ee9ab8df3", + "processes": [ + { + "pid": 30100, + "name": "paperclip-runne", + "ppid": 1323, + "startTicks": 34883, + "ownerMatched": true + }, + { + "pid": 30385, + "name": "MainThread", + "ppid": 30100, + "startTicks": 35238, + "ownerMatched": true + }, + { + "pid": 30394, + "name": "codex", + "ppid": 30385, + "startTicks": 35242, + "ownerMatched": true + }, + { + "pid": 30462, + "name": "cua-driver", + "ppid": 30394, + "startTicks": 35261, + "ownerMatched": true + } + ] + }, + "error": null, + "result": "passed_orderly_controller_restart_and_archived_saved_session_continuation", + "limit": "Not active controller-crash recovery. Local36 serves source193c2 with runner binary and provider pack from the recorded local fixture." +} diff --git a/doc/plans/assets/2026-10-10-boat/evidence/retry-qualification-summary.json b/doc/plans/assets/2026-10-10-boat/evidence/retry-qualification-summary.json index b7c5fb0cc3a..b9b7e21f656 100644 --- a/doc/plans/assets/2026-10-10-boat/evidence/retry-qualification-summary.json +++ b/doc/plans/assets/2026-10-10-boat/evidence/retry-qualification-summary.json @@ -784,6 +784,171 @@ "uiStopApproxAt": "2026-10-11T02:21:50Z", "postStopAt": "2026-10-11T02:22:05Z", "nativeProcessesUnchanged": true + }, + "computerUse": { + "result": "passed_after_navigation_correction", + "correctedArtifactId": "6b8961f8-8c62-44aa-8232-8cf1ed0056f7", + "artifactViewedAfterDeployment15": true, + "visibleAddressBar": "example.com", + "tools": [ + "launch_app", + "list_windows", + "bring_to_front", + "click", + "hotkey", + "type_text", + "press_key", + "get_window_state" + ], + "limits": [ + "AT-SPI browser binding failed; desktop input tools succeeded.", + "Initial artifact had an appended path. Corrected screenshot and live desktop both showed the root domain.", + "Artifact registration required corrected final hash and size before succeeding.", + "Embedded human-input automation targeted the outer container; no new embedded human-input pass claimed." + ] + }, + "claudeSiblingAttempt": { + "result": "inconclusive_isolation", + "marker": "BOAT_CLAUDE_SIBLING_0228", + "beforeAt": "2026-10-11T02:29:52.295Z", + "childPid": 114616, + "childStartTicks": 165984, + "claudeRetirementAt": "2026-10-11T02:30:20.494Z", + "nativeRetirementAt": "2026-10-11T02:30:32.551Z", + "afterAt": "2026-10-11T02:30:42.813Z", + "childAndNativeProcessesAbsent": true, + "limit": "Native retirement began 123 seconds after its checkpoint settlement, compatible with normal 120-second warm expiry. Rollout also overlapped. No causal attribution to sibling Stop or deployment." } + }, + "deployment15": { + "sha": "5575b36a8d826d0092466257a7b468af8e5330d5", + "hostname": "boat.staging.paperclip.app", + "environment": "staging", + "status": "succeeded", + "verification": "verified", + "requestId": "74e2d030-f3e8-457b-a228-1c049f60c27e", + "checkedAt": "2026-10-11T02:33:12.796Z", + "admissionFailures": { + "recordedAt": "2026-10-11T02:41:49.372691+00:00", + "servingSource": "5575b36", + "deployment": 15, + "source": "Parent captured expanded normal product UI recovery details", + "runs": [ + { + "runId": "5913803a-1dd0-494c-8198-e2c6cac77231", + "runtime": "native Codex", + "status": "failed", + "errorCode": "setup_failed", + "error": "Failed to acquire lease for environment \"Boat staging qualification\" (computer): Computer is connecting or settling a previous stop" + }, + { + "runId": "633e2852-aaf5-49ad-879f-9615a42d572d", + "runtime": "legacy Claude", + "status": "failed", + "errorCode": "setup_failed", + "error": "Failed to acquire lease for environment \"Boat staging qualification\" (computer): Computer is connecting or settling a previous stop" + } + ], + "exactRunStartFinishTimestampsCaptured": false, + "uiFailureObservedApproximate": "2026-10-11T02:38:00Z", + "providerObservation": { + "at": "2026-10-11T02:41:08.509628+00:00", + "sandboxId": "bx_b8sawfyp", + "state": "archiving", + "hydrated": true, + "health": "ok", + "error": null, + "snapshots": true, + "stop": { + "id": "stop_804de979b357c47a", + "status": "pending", + "requestedAt": "2026-10-11T02:34:21.063Z", + "lastAttemptAt": null, + "error": null, + "endedAt": null + }, + "lastSnapshotAttemptAt": "2026-10-11T02:38:34.995Z", + "lastSnapshotStatus": "in_progress", + "snapshotCompletedAt": "2026-10-11T02:19:59.759Z", + "snapshotVerifiedAt": "2026-10-11T02:19:59.759Z" + }, + "conclusion": "Both run failures report lease admission waiting for provider stop settlement. Provider status independently remained archiving with pending stop and snapshot in progress; no guest execution or alternate failure cause is claimed.", + "manualLifecycleActions": false, + "retryIssuedByObserver": false + } + }, + "local36Restart": { + "recordedAt": "2026-10-11T02:44:57.442431+00:00", + "result": "passed", + "scope": "Ordinary saved-session continuation after local controller restart and prior natural provider archive; no active-crash recovery claim.", + "controller": "local36", + "runtimeSourcePrefix": "193c2", + "originalRun": { + "id": "e8c52459-2dc1-428c-b5d7-30d33141ff0b", + "status": "succeeded", + "started_at": "2026-10-11T00:42:00.094Z", + "finished_at": "2026-10-11T00:45:27.883Z", + "native_session_id": "994ca5b6-8d92-4c97-b14c-411aa0395caf", + "runner_instance_id": "55f789fd-17d9-48ad-8f65-0f806782c436", + "session_id_before": null, + "session_id_after": "01a1286b-9338-7101-8ced-733e9b28ae99" + }, + "continuationRun": { + "id": "6f31e383-8400-4675-acd2-11563007b66d", + "status": "succeeded", + "started_at": "2026-10-11T02:40:41.830Z", + "finished_at": "2026-10-11T02:43:37.252Z", + "native_session_id": "994ca5b6-8d92-4c97-b14c-411aa0395caf", + "runner_instance_id": "55f789fd-17d9-48ad-8f65-0f806782c436", + "session_id_before": "01a1286b-9338-7101-8ced-733e9b28ae99", + "session_id_after": "01a1286b-9338-7101-8ced-733e9b28ae99" + }, + "sameNormalizedSession": true, + "sameProviderSession": true, + "sameLogicalRunner": true, + "independentProof": { + "at": "2026-10-11T02:44:26.082483+00:00", + "bootId": "7d0e87da-b3af-467b-bba2-facdbc4237d9", + "marker": { + "exists": true, + "lineCount": 1, + "sha256": "12772b6873ec4e7ffa80c9d0f798f0bb0492aae88b6cb3669c55a812f9bb312c" + }, + "checkpoints": [ + { + "fileKind": "runner-state.json", + "mtime": 1791686617, + "runId": "6f31e383-8400-4675-acd2-11563007b66d", + "runnerInstanceId": "55f789fd-17d9-48ad-8f65-0f806782c436", + "normalizedSessionId": "994ca5b6-8d92-4c97-b14c-411aa0395caf", + "lifecycle": "ready" + }, + { + "fileKind": "codex-provider-state.json", + "mtime": 1791686617, + "lifecycle": "session_open", + "threadId": "01a1286b-9338-7101-8ced-733e9b28ae99", + "activeProviderTurnId": null, + "completedTurnAuthoritative": true + } + ] + }, + "markerUnchanged": true, + "priorQuarantinePreserved": true, + "noManualReset": true, + "provenance": [ + { + "file": "retry-awake-local36-followup-d.json", + "sha256": "b58bcdb74a9c0b2636349fd09ab5c1694533d9a4f14f77817744a1545c2d1811" + }, + { + "file": "retry-local-36-restart-proof.json", + "sha256": "563a32e1acb7946cc58504cc813377d14b2c2deca6131a3383c1fb8b93b7428f" + }, + { + "file": "retry-awake-final-cleanup.json", + "sha256": "98f4da9a511a1f920ccad6a0754c98e297eade1f6f00e907a7f140243942471a" + } + ] } } diff --git a/doc/plans/assets/2026-10-10-boat/local-36-restart-retained.png b/doc/plans/assets/2026-10-10-boat/local-36-restart-retained.png new file mode 100644 index 00000000000..18f60ab6d34 Binary files /dev/null and b/doc/plans/assets/2026-10-10-boat/local-36-restart-retained.png differ diff --git a/doc/plans/assets/2026-10-10-boat/staging-15-corrected-artifact-visible.png b/doc/plans/assets/2026-10-10-boat/staging-15-corrected-artifact-visible.png new file mode 100644 index 00000000000..d1b27a913b9 Binary files /dev/null and b/doc/plans/assets/2026-10-10-boat/staging-15-corrected-artifact-visible.png differ