diff --git a/doc/plans/2026-10-10-boat-validation.md b/doc/plans/2026-10-10-boat-validation.md index 4a72ba356f8..8717ef2b8d9 100644 --- a/doc/plans/2026-10-10-boat-validation.md +++ b/doc/plans/2026-10-10-boat-validation.md @@ -4,13 +4,13 @@ Historical screenshots and receipts are preserved on the [fixed evidence branch](https://github.com/paperclipai/paperclip/tree/5909bfac9fa41405beb3fe8a65253dc28ba52835/doc/plans/assets/2026-10-10-boat). Historical links below use that exact commit; the implementation PR keeps a bounded set of current proofs. -## Current source boundary (2026-10-11 12:14 UTC) +## Current source boundary (2026-10-11 12:42 UTC) | Surface | Source and evidence | | --- | --- | -| Combined implementation | The feature branch now includes core merge `0eac0a26` and marker correction `1f66cac0`; full checks for the new head remain pending. Earlier fully checked head `4d2a2394bc` includes the reviewed closed module-fence diagnostic and committed live evidence; its CI is green: 54 passed, fresh review 5/5 and no unresolved threads at 11:16 UTC. Previous head `dc6ac92f7e` had 53 successful checks, fresh review 5/5 and no unresolved threads at 10:09 UTC. | -| Core branch | Current core `0eac0a26e90e1e8f3f935d345ec872903bd54c35` merges exact upstream `e733bddc45` with 240 focused tests and server typecheck passing; full CI is pending. Prior fully checked `8f62eef8f13e199f7a98d8a9ec27d617385e6fde` adds closed module-fence diagnostics; focused checks passed and full CI is green: 54 passed, four skips, fresh review 5/5 and no unresolved threads at 11:16 UTC. Previous head `8e8999d681` had 54 successful checks, four skips, fresh review 5/5 and no unresolved threads. Its serialized invite test passed one rerun with unchanged source and timeout. | -| Verified staging source | Deployment28 verified `70fb0988c0aa760f9c84818aaf3fabbc339854b7` at 11:26:28.642 UTC; its cold and warm turns passed; after natural archive, its saved post-idle continuation failed before task work. Both owners retired and Boat archived automatically. Deployment27 verified `2605a03f00bc3d7decc8b8d5549ee06f8d77ae85` at 10:19:12.318 UTC. Saved Codex execution, agent computer use, generated preview, state-preserving warm HMR and natural process cleanup passed. Claude cold and warm passed; its saved post-idle continuation failed before provider task work. | +| Combined implementation | The feature branch includes core `7634c65d`, the prerequisite stack and marker correction `1f66cac0`; full checks for the new head remain pending. Earlier fully checked head `4d2a2394bc` includes the reviewed closed module-fence diagnostic and committed live evidence; its CI is green: 54 passed, fresh review 5/5 and no unresolved threads at 11:16 UTC. Previous head `dc6ac92f7e` had 53 successful checks, fresh review 5/5 and no unresolved threads at 10:09 UTC. | +| Core branch | Current core `7634c65d227fb5f738c9c55a78ad3927b31c680f` includes exact upstream `e733bddc45` and runtime prerequisite `1525c4ef`. A test-only integration correction supplies the full Boat lifecycle for four identity fixtures; all 835 executor tests and server typecheck pass. Full CI is pending. Prior fully checked `8f62eef8f13e199f7a98d8a9ec27d617385e6fde` adds closed module-fence diagnostics; focused checks passed and full CI is green: 54 passed, four skips, fresh review 5/5 and no unresolved threads at 11:16 UTC. Previous head `8e8999d681` had 54 successful checks, four skips, fresh review 5/5 and no unresolved threads. Its serialized invite test passed one rerun with unchanged source and timeout. | +| Verified staging source | Deployment29 verified `05f3725af838b5a074707df1d6ed1e193bdfe49e` at 12:23:23.944 UTC. Its cold turn succeeded at 12:39:57.782; warm and post-idle qualification are in progress. Deployment28 verified `70fb0988c0aa760f9c84818aaf3fabbc339854b7` at 11:26:28.642 UTC; its cold and warm turns passed; after natural archive, its saved post-idle continuation failed before task work. Both owners retired and Boat archived automatically. Deployment27 verified `2605a03f00bc3d7decc8b8d5549ee06f8d77ae85` at 10:19:12.318 UTC. Saved Codex execution, agent computer use, generated preview, state-preserving warm HMR and natural process cleanup passed. Claude cold and warm passed; its saved post-idle continuation failed before provider task work. | | Local corrected-package qualification | Local51 also passed the full lifecycle with the same Node, sidecar and production-lock bytes as staging28, although the package closure differs. Its final archive completed at 11:38:23.197. Earlier compatible controller `049c57f64c9addb1ae45132626cf800d1ea41a95` and immutable pack `sha256:f6fbd13c71cdaf93060a7c240cbce1c8dfce2aefe5669db27d254b3b95dfb0a0` passed cold, warm, natural archive, first-attempt saved-session continuation and final natural archive. | | Carried source-specific evidence | Deployment26 passed simultaneous legacy admission from archive. Deployment25 passed embedded human mouse/keyboard control in Chrome and exact Codex child cancellation while its Claude sibling remained alive and completed. Earlier local checks cover file editing, detach/reconnect and company boundaries. Orderly restart has bounded observations, not a successful crash-recovery journey. These were not rerun for the later dependency-loader and viewer-warning changes. | @@ -18,6 +18,14 @@ Final-source staging acceptance remains incomplete because the saved Claude post [Current green CI and review receipt](assets/2026-10-10-boat/evidence/ci-8f62ee-4d2a23-passed.json), [verified deployment27](https://github.com/paperclipai/paperclip/blob/5909bfac9fa41405beb3fe8a65253dc28ba52835/doc/plans/assets/2026-10-10-boat/evidence/staging27-deployment.json), [staging28 failure receipt](assets/2026-10-10-boat/evidence/staging28-post-idle-failure.json), [preceding staging27 live receipt](assets/2026-10-10-boat/evidence/staging27-live-evidence.json). The historical chronology below preserves earlier observations and failures; its then-pending statements are superseded by later dated results. No provider stop was forced or cancelled, no quarantine was cleared, and no database history was reset or rewritten. +## Four-part draft stack and staging29 (2026-10-11 12:42 UTC) + +The changes are split into [test fixtures #15878](https://github.com/paperclipai/paperclip/pull/15878), [shared runtime #15880](https://github.com/paperclipai/paperclip/pull/15880), [Boat core #15813](https://github.com/paperclipai/paperclip/pull/15813), and [UI #15804](https://github.com/paperclipai/paperclip/pull/15804). The intended base chain is master → fixtures → runtime → core → UI. The prerequisite branches are pushed; the final core/UI integration and remote core base update are pending. Their local diffs meet the fewer-than-100-files limit. Historical evidence remains accessible at the fixed commit linked above. + +The isolated prerequisite workspace passed build and typecheck. Six legacy browser cases were blocked before assertions by local embedded-Postgres setup. All six subsequently passed in browser shard 8 on both exact prerequisite heads (20/20 cases per shard at 12:38 UTC); the original local setup failures remain recorded. Other prerequisite checks remain pending. [Exact-head browser CI proof](assets/2026-10-10-boat/evidence/prerequisite-legacy-browser-ci-proof.json). Four identity fixtures passed on the prerequisite but initially failed when integrated with Boat because their mock lacked lifecycle callbacks. The corrected typed fixture preserves identity checks and adds retention/retirement assertions; the complete executor suite passed **835/835, zero skips**, with server typecheck and independent review passing. [Integration verification](assets/2026-10-10-boat/evidence/prerequisite-identity-integration-verification.json). + +Deployment29 is verified serving source `05f3725a`; its actual production package contains the corrected self-delimited diagnostic marker. Ordinary task BOA11, run `c1f126ed`, succeeded at 12:39:57.782 after **14m56s**, including first-use preparation. Expanded command output showed the unchanged original file hash `e646d151756f1efdb9e19d99a2a0971810468087c457fa458f1311c42ef07424`, host `box-node-8fb1e7496568573d`, and UTC 12:39:34. The new native/logical/provider identities are saved normally. A warm continuation is underway; the critical post-idle condition remains unverified. [Cold execution proof](assets/2026-10-10-boat/staging29-claude-cold-passed.png), [source-bound receipt](assets/2026-10-10-boat/evidence/staging29-lifecycle.json). + ## Staging27 Codex acceptance passed (2026-10-11 10:40 UTC) Saved task BOA2 continued from completed Boat archive without resetting its native, logical or provider identities. Run `92cab4f0` succeeded at 10:26:21.538, read the original proof hash, used actual window-targeted computer tools to navigate to example.org, and started the existing Vite project. Normal Computer Connect independently displayed that address and page without intervening human input. [Desktop proof](assets/2026-10-10-boat/staging27-native-computer-example-org.png). diff --git a/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-identity-integration-verification.json b/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-identity-integration-verification.json new file mode 100644 index 00000000000..d4901e28504 --- /dev/null +++ b/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-identity-integration-verification.json @@ -0,0 +1,40 @@ +{ + "capturedAt": "2026-10-11T12:39:41.688522+00:00", + "commit": "7634c65d227fb5f738c9c55a78ad3927b31c680f", + "base": "8ecad0f3594ce4ae4383b7e9a20671579290eff0", + "changedFiles": [ + "server/src/services/native-runtime/native-session-executor.test.ts" + ], + "productionChanged": false, + "prerequisiteBranchChanged": false, + "diagnosis": "Identity-only target mock lacked full Boat retainWarm/retire lifecycle; runtime-only prerequisite did not exercise those callbacks.", + "correction": "Typed AdapterComputerExecutionTarget supplies retention and retirement with beforeStop; unused process operations throw. Identity assertions retained, lifecycle ordering asserted.", + "validation": { + "red": { + "failed": 4, + "log": "prerequisite-identity-full-boat-red.log" + }, + "focusedGreen": { + "passed": 4, + "filtered": 831, + "log": "prerequisite-identity-full-boat-green.log" + }, + "fullGreen": { + "passed": 835, + "skipped": 0, + "log": "prerequisite-identity-full-boat-suite-authorized.log" + }, + "initialFullSandboxFailure": { + "passed": 820, + "blockedByLoopbackPermission": 15, + "log": "prerequisite-identity-full-boat-suite.log" + }, + "serverTypecheck": "passed", + "diffCheck": "passed" + }, + "review": { + "agent": "live_state_probe", + "verdict": "approved; no actionable findings" + }, + "pushed": false +} diff --git a/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-legacy-browser-ci-proof.json b/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-legacy-browser-ci-proof.json new file mode 100644 index 00000000000..b9fe06a71f6 --- /dev/null +++ b/doc/plans/assets/2026-10-10-boat/evidence/prerequisite-legacy-browser-ci-proof.json @@ -0,0 +1,46 @@ +{ + "capturedAt": "2026-10-11T12:40:48.385626+00:00", + "status": "legacy_browser_local_gap_closed_on_both_exact_PR_heads", + "proofs": [ + { + "pr": 15878, + "head": "e318850909c0777565b43644a4d8114c6006da60", + "runId": 38139748925, + "jobId": 114470999277, + "jobUrl": "https://github.com/paperclipai/paperclip/actions/runs/38139748925/job/114470999277", + "legacyCasesPassed": 6, + "caseLines": [ + "2026-10-11T12:36:45.4017259Z \u2713 4 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: task_retry reaches a new agent response (6.8s)", + "2026-10-11T12:36:50.9322411Z \u2713 5 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: thread_retry reaches a new agent response (5.5s)", + "2026-10-11T12:36:57.1828762Z \u2713 6 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: inbox_retry reaches a new agent response (6.2s)", + "2026-10-11T12:37:03.3765962Z \u2713 7 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: message reaches a new agent response (6.2s)", + "2026-10-11T12:37:09.6694980Z \u2713 8 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: queued_interrupt reaches a new agent response (6.3s)", + "2026-10-11T12:37:35.2555785Z \u2713 9 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: automatic_message reaches a new agent response (25.6s)" + ], + "summary": [ + "2026-10-11T12:38:16.7811856Z 20 passed (2.6m)" + ], + "log": "fixture-e31885-e2e8.log" + }, + { + "pr": 15880, + "head": "1525c4ef2794d5a914232adfaccdcd4cbe12826e", + "runId": 38139759525, + "jobId": 114471037156, + "jobUrl": "https://github.com/paperclipai/paperclip/actions/runs/38139759525/job/114471037156", + "legacyCasesPassed": 6, + "caseLines": [ + "2026-10-11T12:36:58.4793219Z \u2713 4 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: task_retry reaches a new agent response (8.0s)", + "2026-10-11T12:37:05.9014664Z \u2713 5 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: thread_retry reaches a new agent response (7.4s)", + "2026-10-11T12:37:13.8160529Z \u2713 6 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: inbox_retry reaches a new agent response (7.9s)", + "2026-10-11T12:37:21.4146176Z \u2713 7 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: message reaches a new agent response (7.6s)", + "2026-10-11T12:37:28.9009864Z \u2713 8 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: queued_interrupt reaches a new agent response (7.5s)", + "2026-10-11T12:37:45.3613173Z \u2713 9 [chromium] \u203a tests/e2e/legacy-failure-continuation.spec.ts:15:3 \u203a legacy startup hold: automatic_message reaches a new agent response (16.4s)" + ], + "summary": [ + "2026-10-11T12:38:35.7862626Z 20 passed (2.8m)" + ], + "log": "runtime-1525c4-e2e8.log" + } + ] +} diff --git a/doc/plans/assets/2026-10-10-boat/evidence/staging29-lifecycle.json b/doc/plans/assets/2026-10-10-boat/evidence/staging29-lifecycle.json new file mode 100644 index 00000000000..44763da688b --- /dev/null +++ b/doc/plans/assets/2026-10-10-boat/evidence/staging29-lifecycle.json @@ -0,0 +1,172 @@ +{ + "status": "cold_passed_warm_in_progress_post_idle_unverified", + "deployment": { + "version": 1, + "requestId": "076bf489-963d-4c36-aa86-261e0995c2f3", + "sha": "05f3725af838b5a074707df1d6ed1e193bdfe49e", + "stage": "deploy", + "hostname": "boat.staging.paperclip.app", + "environment": "staging", + "status": "succeeded", + "verification": "verified", + "appVersion": "sha-05f3725af838b5a074707df1d6ed1e193bdfe49e-cloud", + "targetStackId": "stack-pool-474c42a4b545", + "campaignUrl": "https://admin-staging.paperclip.app/admin/fleet/campaigns/fleet-campaign-1791706430005", + "checkedAt": "2026-10-11T12:23:23.944Z" + }, + "package": { + "observedAt": "2026-10-11T12:24:41.177Z", + "schema": "paperclip-runner/remote-provider-pack/v1", + "digest": "sha256:eee8609e9377e24a4588f27816834f15a665d22e23521edc1cf498f9c35f7fff", + "sourceRevision": "05f3725af838b5a074707df1d6ed1e193bdfe49e", + "target": { + "platform": "linux", + "architecture": "x64" + }, + "pins": { + "nodeMinimum": "24.11.0", + "codex": "0.160.0", + "opencode": "1.18.34", + "acpx": "0.13.1", + "grok": "1.0.13", + "claudeAcp": "0.73.0", + "codexAcp": "1.6.2" + }, + "distDigest": "sha256:0e19b77d134842210d6c182fc6ca9f4b0a41199765dd38744413ffe8135edeab", + "bridgeDigest": "sha256:16c5243e9bb5144eb10d51fc8c4600ac054587e94cb271c0ae4820d2c11ed724", + "claudeProfileDigest": "sha256:9d73d1f0f121fb96cc8badb28c22d5bff02d8582eb2e40360a81c189e1b9422a", + "artifacts": { + "nodeCommand": { + "expectedSha256": "sha256:7fde7b8afa198da66257f42ee2001d874c7355631e6d1579a5fb5ef1f246df4c", + "actualSha256": "sha256:7fde7b8afa198da66257f42ee2001d874c7355631e6d1579a5fb5ef1f246df4c" + }, + "productionLock": { + "expectedSha256": "sha256:df5143e56269823c040be51a5e45bd53cadb60fecb50fb09ba2848f23e621b67", + "actualSha256": "sha256:df5143e56269823c040be51a5e45bd53cadb60fecb50fb09ba2848f23e621b67" + }, + "acpxSidecar": { + "expectedSha256": "sha256:7f166631e53435fdc108fcfb8f3ada3e55a9f61edcf724390ed3712f27a5ed65", + "actualSha256": "sha256:7f166631e53435fdc108fcfb8f3ada3e55a9f61edcf724390ed3712f27a5ed65" + } + }, + "packages": { + "node": { + "available": false + }, + "acpx": { + "version": "0.13.1" + }, + "@agentclientprotocol/claude-agent-acp": { + "version": "0.73.0" + }, + "@anthropic-ai/claude-agent-sdk": { + "available": false + } + }, + "loaderFeatures": { + "closedModuleFence": true, + "boundedReread": true, + "readContinuity": true, + "uidGidLinkCount": true, + "fatalImportMarker": true, + "explicitTerminator": true + } + }, + "cold": { + "observedAt": "2026-10-11T12:40:27.372Z", + "phase": "cold_observation", + "guestReads": false, + "runs": [ + { + "id": "c1f126ed-9e41-4cb0-a5f8-e7230dd55241", + "providerBefore": null, + "providerAfter": "8ea7d6cb-8a13-4dd0-a38e-82fedf3f23c7", + "recoveryPresent": false, + "status": "succeeded", + "startedAt": "2026-10-11T12:25:01.606Z", + "finishedAt": "2026-10-11T12:39:57.782Z", + "nativeSessionId": "22eaa9ff-691f-40a3-89e9-6d8b7e54aaa6", + "runnerInstanceId": "4484e99a-25d5-4b20-af44-63d3fa89c9dd", + "matchesOriginalNativeSession": true, + "matchesOriginalLogicalRunner": true, + "moduleFences": [], + "knownErrorCodes": [] + } + ], + "taskSessions": [ + { + "lastRunId": "c1f126ed-9e41-4cb0-a5f8-e7230dd55241", + "displayId": "8ea7d6cb-8a13-4dd0-a38e-82fedf3f23c7", + "ids": { + "sessionId": "22eaa9ff-691f-40a3-89e9-6d8b7e54aaa6" + }, + "updatedAt": "2026-10-11T12:40:00.705Z" + } + ], + "owners": [ + { + "id": "4c38a6c2-00c2-4b00-8032-69e99990417b", + "phase": "warm", + "deadline": "2026-10-11T12:44:56.404Z", + "boot": "b0463ce3-25e0-4c2a-8c35-b09388e5c2fe", + "launch": 1 + } + ], + "controller": [ + { + "stateKey": "2e2e0ed6fabec5a50ca1534a2e830a406521e6945903d44c26c2b3daf73b472b", + "pack": "sha256:eee8609e9377e24a4588f27816834f15a665d22e23521edc1cf498f9c35f7fff", + "commands": [ + { + "controllerSeq": 2, + "moduleFences": [], + "failureCodes": [], + "admissionStage": null, + "admissionElapsedMs": null, + "issuedAt": "2026-10-11T12:26:10.589Z", + "status": "completed", + "type": "session.open" + }, + { + "controllerSeq": 3, + "moduleFences": [], + "failureCodes": [], + "admissionStage": null, + "admissionElapsedMs": null, + "issuedAt": "2026-10-11T12:39:28.895Z", + "status": "completed", + "type": "turn.start" + }, + { + "controllerSeq": 4, + "moduleFences": [], + "failureCodes": [], + "admissionStage": null, + "admissionElapsedMs": null, + "issuedAt": "2026-10-11T12:39:40.346Z", + "status": "completed", + "type": "semantic_tool.result" + }, + { + "controllerSeq": 5, + "moduleFences": [], + "failureCodes": [], + "admissionStage": null, + "admissionElapsedMs": null, + "issuedAt": "2026-10-11T12:39:50.351Z", + "status": "completed", + "type": "semantic_tool.result" + } + ], + "runnerPresent": false, + "lifecycle": null + } + ] + }, + "proof": { + "sha256": "e646d151756f1efdb9e19d99a2a0971810468087c457fa458f1311c42ef07424", + "hostname": "box-node-8fb1e7496568573d", + "utc": "2026-10-11T12:39:34Z", + "source": "expanded actual command output in ordinary task BOA11" + } +} diff --git a/doc/plans/assets/2026-10-10-boat/staging29-claude-cold-passed.png b/doc/plans/assets/2026-10-10-boat/staging29-claude-cold-passed.png new file mode 100644 index 00000000000..8b2f4a482e3 Binary files /dev/null and b/doc/plans/assets/2026-10-10-boat/staging29-claude-cold-passed.png differ