diff --git a/doc/architecture/runner-copilot-capabilities.md b/doc/architecture/runner-copilot-capabilities.md index 24798d6134c..a4ce78e1a34 100644 --- a/doc/architecture/runner-copilot-capabilities.md +++ b/doc/architecture/runner-copilot-capabilities.md @@ -1,5 +1,7 @@ # Copilot 1.0.88 rich ACP capability audit +Current checkpoint (2026-09-30): **Copilot profile v6 remains unqualified**. Controller and Product harness source is `41503eb38f03c436b1569f9f0204625bb4d58782`; native runtime source remains `e822b614fc368043f4b3d5e34a8d9bbda644e055`. Current local restrictive-denial evidence passed all ten Product checks and an additive screenshot-reader reconciliation, including denial delivery, no file mutation, explicit cancellation and owned process cleanup. The first attached-command attempt failed supervision. The new controller81 attempt reached task Done but failed exact native-command digest correlation; its cleanup and full end audit passed. It remains failed pending diagnosis, and a visible Done status does not prove command settlement. This does not qualify the provider. See the [comparative capability report](runner-rich-acp-capabilities.md) for current evidence and remaining cases. The dated observations below retain their original source/profile identities. + Initially audited 2026-09-28 against repository base `c65fc9e3c81c41aafe421aa90a00514b84343285`; updated 2026-09-29. Status remains **candidate, not qualified**. On frozen source `bd4cc29c3017ed5e1484423e842fd48e3b2f49f3`, profile v4 local hello, question/answer, @@ -8,7 +10,7 @@ one native `gpt-5.6-luna` run with six matchers on immutable image `sha256:bff4c3f291087a0eeae37e4c20dd51857b92833eaf73ba3aca4157f37de1e109`. Earlier question-marker, recovery, startup-timeout and PostgreSQL failures remain retained; later success does not establish causes for unresolved earlier failures. -The current admission identity is profile **v5**, binding shared ACPX patch +The earlier 2026-09-29 admission identity was profile **v5**, binding shared ACPX patch `79aad2d688b03362e8cfcbf7a08f78a8383869f6882a9c9ed66f1d18efb94f2b`. The native Copilot binary and permission/instruction policy are unchanged. The new digest rejects old warm sessions; v4 paid receipts remain historical evidence, @@ -120,7 +122,7 @@ is a separate lifecycle operation. ### Native instruction delivery -The current candidate is profile v4. Its declaration binds native personal-file +The initial candidate was profile v4. Its declaration binds native personal-file instruction delivery, including replacement under the provider lifetime lease before native launch. The isolated `COPILOT_HOME/copilot-instructions.md` is written atomically with mode 0600 under the protected provider home, and empty instructions replace any stale content. diff --git a/doc/architecture/runner-cursor-capabilities.md b/doc/architecture/runner-cursor-capabilities.md index 5749096a464..2fd24933e53 100644 --- a/doc/architecture/runner-cursor-capabilities.md +++ b/doc/architecture/runner-cursor-capabilities.md @@ -1,8 +1,10 @@ # Cursor ACP capability inventory +Current checkpoint (2026-09-30): **Cursor profile v6 remains unqualified**. Controller and Product harness source is `41503eb38f03c436b1569f9f0204625bb4d58782`; native runtime source remains `e822b614fc368043f4b3d5e34a8d9bbda644e055`. The current local native-plan case delivered reject, revision and accept, then failed when the normal planning turn ended without semantic task completion. Its 21 bridge checks passed; the overall case remains failed. [Draft #14669](https://github.com/paperclipai/paperclip/pull/14669) implements a passive in-progress wait for explicit user continuation; its deterministic checks pass and paid requalification is pending. Native AskQuestion availability remains unverified. See the [comparative capability report](runner-rich-acp-capabilities.md) for current qualification and platform evidence. The dated observations below retain their original source/profile identities. + Evidence updated: 2026-09-29. Candidate: `2026.09.26-dd393fe`. This profile is **not live-qualified**. One authorized task-context prompt on the initial free account returned an upgrade requirement, invoked no semantic tools, and supplied no usage receipt. Its cost is unknown; the account dashboard remained unchanged at coarse precision. The user then selected another account, whose exact-model local Runner Eval passed task-context and history tools with clean terminal settlement. Its dashboard attributed 56K rounded tokens to included usage and no incremental charge; ACP still supplied no token or dollar receipt. The local Product hello subsequently passed through the real browser, server, database, native runner, and authenticated completion tool. A second local Product case passed file creation, editing, command validation, an independent exact-byte matcher, and visible workspace artifact presentation. The merged-source local Product question and revision-bound Plan approval also passed browser response and semantic-tool continuation. A serialized follow-up passed pending semantic-question recovery across a server restart. A verified native ACP probe also denied a shell write before any observed side effect. Native Cursor questions/plans and their recovery, durable permission presentation, interruption, and Daytona execution remain required qualification gates. -Current source uses **profile v5**, with native session-mode admission and the instruction correction described below. All prior paid results (including v4) and packaged builds remain historical and cannot qualify v5. The earlier mode-selection limitation below describes the pre-v5 implementation. +The earlier 2026-09-29 source used **profile v5**, with native session-mode admission and the instruction correction described below. All prior paid results (including v4) and packaged builds remain historical and cannot qualify v5. The earlier mode-selection limitation below describes the pre-v5 implementation. The reference is the runner's Codex app-server integration and its closed thread-item inventory in `src/provider-events.ts`. Cursor ACP and its private extension methods are the transport; the legacy Cursor adapter is unchanged. diff --git a/doc/architecture/runner-pi-capabilities.md b/doc/architecture/runner-pi-capabilities.md index 2951f8ab109..7e48e1c4a81 100644 --- a/doc/architecture/runner-pi-capabilities.md +++ b/doc/architecture/runner-pi-capabilities.md @@ -1,6 +1,8 @@ # Pi rich ACP runtime -Status: implementation candidate, 2026-09-29. Current profile version 8 repairs +Current checkpoint (2026-09-30): **Pi profile v9 remains unqualified**. Native runtime source is `e822b614fc368043f4b3d5e34a8d9bbda644e055`, with verified macOS ARM64/x64 and Linux x64 packaging. No paid profile-v9 pass is claimed. A credential with a verifiable spend limit is still needed for the remaining paid qualification. The optional transport-budget candidate is frozen on a separate branch and is not integrated or a live spending guarantee. See the [comparative capability report](runner-rich-acp-capabilities.md) for the current source identities, qualification requirements and field audit. The dated observations below retain their original profile identities. + +Historical implementation candidate, 2026-09-29: profile version 8 repairs native assistant-message attribution. Real SDK `message_start` and `message_end` boundaries, including empty messages, carry occurrence IDs through ACPX, the sidecar and both terminal reducers. Tool-use, error and aborted messages remain @@ -463,7 +465,7 @@ that those targets have executed successfully. ### Installation authority and token semantics -`verifyPiInstallation(profile)` admits only profile version 8 and the source-owned +`verifyPiInstallation(profile)` admits only the current declared profile version and the source-owned Pi identity. It resolves `provider-assets/pi/-` inside the verified Runner package, checks the complete runtime against source-pinned closure hashes, and opens a guarded immutable native snapshot. The snapshot bootstrap binds Node, @@ -561,13 +563,21 @@ require a new pack build and source-pinned admission record. The candidate preserves the core request/response paths. It does not preserve every field in Pi's native event stream. These are explicit follow-ups: -- **P1 — retry and compaction notices.** Progress currently becomes assistant text. The wrapper - does not retain all structured `attempt`, `maxAttempts`, `delayMs`, - `errorMessage`, `success`, `finalError`, `reason`, and `willRetry` fields. A - follow-up should emit bounded provider notices with source-event provenance - and test its metadata. The `auto_retry_end` display distinguishes explicit - success, failure, and unknown outcomes. A patched-process regression covers - each result and confirms that terminal assistant failure still fails the prompt. +- **P1 — retry/compaction field completeness and end-to-end evidence.** At source + `41503eb38f03c436b1569f9f0204625bb4d58782`, the wrapper emits bounded + `paperclip/pi_notice` activity instead of assistant text. The adapter preserves + source provenance, `attempt`, `maxAttempts`, `delayMs`, `success`, `aborted`, + `willRetry`, `enabled`, and bounded `reason`/`errorMessage` fields when supplied. + The UI renders the notice details. `finalError` is not forwarded, and + summarization retry currently has summary-only data. Package regressions cover + retry success/failure/unknown and compaction usage; adapter tests cover bounded + metadata and redaction. Extend field-by-field wrapper/canonical/browser parity + without giving notices terminal authority or treating deterministic tests as + paid qualification. See the [wrapper patch](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/patches/pi-acp%400.0.33.patch#L381), + [notice adapter](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/pi-extension-adapter.ts#L22), + [package regressions](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/test/pi-acp-package-contract.test.mjs#L225), + [adapter regressions](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/pi-extension-adapter.test.ts#L5), + and [UI details](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/ui/src/components/task-chat/TaskChatProtocolActivityRow.tsx#L283). - **P1 — native queue state.** `queue_update` contains steering and follow-up queues. Extension calls acknowledge RPC acceptance, but the wrapper does not project that event into durable queued/delivered state. Do not treat `{accepted: true}` as proof that diff --git a/doc/architecture/runner-rich-acp-capabilities.md b/doc/architecture/runner-rich-acp-capabilities.md index 63583450485..5bbe829e5d8 100644 --- a/doc/architecture/runner-rich-acp-capabilities.md +++ b/doc/architecture/runner-rich-acp-capabilities.md @@ -1,36 +1,28 @@ # Rich ACP integration and qualification report -Updated: 2026-09-30 UTC. Foundation PR #14430 is merged at -`24beb005755465f71a19ec92a85da0958d1b9740`. Basic extended Runner Eval definitions -are merged in `paperclip-evals` PR #29. Provider PRs remain separate review units -and all three providers remain **pending qualification**. +Updated: 2026-09-30 UTC. **Cursor v6, Copilot v6 and Pi v9 remain candidates, not production-qualified.** Foundation [#14430](https://github.com/paperclipai/paperclip/pull/14430) and extended Runner Eval definitions [#33](https://github.com/paperclipai/paperclip-evals/pull/33) are merged. The remaining provider and qualification PRs are drafts. -The [September 30 UTC evidence checkpoint](runner-rich-acp-validation-2026-09-30.json) -separates current paid behavior, retained failures, runtime identities, billing -coverage and incomplete qualification from historical results below. +The [current evidence checkpoint](runner-rich-acp-validation-2026-09-30-current.json) separates the latest controller/harness source `81c20ad22723a2d35d7bd693cc6a47002fb46125` from unchanged native runtime source `e822b614fc368043f4b3d5e34a8d9bbda644e055`. It retains earlier receipts, original failures and unknown costs. The [earlier September 30 checkpoint](runner-rich-acp-validation-2026-09-30.json) remains historical evidence; no receipt is relabeled for new bytes. -Current candidates are **Cursor v6, Copilot v6 and Pi v9**, pending fresh builds -and qualification. Their identities bind shared runtime contract -`paperclip.acpx-runtime-contract.v1`. The server includes that revision in the -warm-session configuration fingerprint for every ACPX agent, so an existing -owner cannot bypass changed cancellation and permission handling. Other -transports retain their previous configuration digest. Current profile identity -and admission tests pass (58 tests; one optional installation test skipped), and -four server tests verify changed ACPX owners retire while unchanged Codex -app-server owners remain reusable. These checks are not paid qualification. +| Current-profile observation | Outcome and limit | +| --- | --- | +| Cursor v6 Daytona hello, runtime/controller e822 | Six Product matchers passed. Root reconciled the original supervisor cleanup-tail failure using the retained absent sandbox, retired processes and passing integrity audit. Infrastructure upper bound: $0.086931; analytics are provisional. This proves one cell. | +| Copilot v6 local native denial, controller415/runtimee822 | Ten Product checks passed: delivered denial, correlated native failure, zero target mutations, explicit Stop, cancellation and owned cleanup. An additive screenshot-reader correction used the original evidence without a model retry. Only this case is qualified. | +| Cursor v6 local native plan, controller415/runtimee822 | All 21 native bridge checks passed, including reject, feedback, revision, exact acceptance and reconnect. The case failed because a normal planning stop had no semantic task-completion result. [Draft #14669](https://github.com/paperclipai/paperclip/pull/14669) records a passive in-progress wait for the next user message; deterministic tests pass, paid requalification is pending. It neither starts implementation nor changes the selected mode. | +| Copilot v6 attached-command settlement, controller415/runtimee822 | Failed supervision: incomplete IPC observation stopped an accepted turn. A later scanner match was a static UI demo string. The owned processes retired; an exact temporary executable copy was separately removed and the full pack audit passed. The original failed observation remains failed. | +| Copilot v6 attached-command settlement, controller81/runtimee822 | A new authenticated attempt reached task Done, but the exact native-command digest assertion failed. The case remains failed pending command-correlation diagnosis. Cleanup, complete IPC observation and the full end integrity audit passed. Included-credit observations changed 15→16; extra usage stayed disabled at $0. A visible Done status alone does not qualify command settlement. | -The most recent paid profiles are **Cursor v5, Copilot v5 and Pi v8**. On corrected source -`5605c350b`, Cursor has passed all five basic paid local journeys: completion, -semantic questions, semantic plan approval, controller restart and file -editing/validation. Copilot has passed the paid Daytona completion journey; -its cleanup and cost reconciliation are recorded separately. None has completed -its full qualification matrix. Cursor v5 binds Agent, Plan -or Ask mode to native acknowledgements, every reconnect, and TypeScript/Rust -recovery identities. Copilot v5 binds the final shared ACPX patch and preserves -native permission/attached-command evidence in both transport paths. Pi v8 -retains native assistant message boundaries through the wrapper and both final -answer reducers, and puts retry/compaction notices in bounded activity instead -of assistant text. Previous paid v4/v4/v7 results remain historical evidence. +Fresh source81 controller startup, recovery, static UI/plugin admission and local/remote credential-free preflights passed. Native builds retain e822 provenance on macOS ARM64, macOS x64 (Rosetta), and Linux x64. Exact restoration of seven missing empty Cursor directories recovered the original ARM64 and Linux pack digests without changing files or expected inventories. Analogous omissions in the retained Linux build stage and macOS-x64 pack/stage still need restoration and verification before their next use; the actor is unknown. No additional platform qualification is inferred. + +Exact source415 CI completed with 53 successful checks/statuses and two skips; Greptile reviewed that head at 5/5. Local recursive typecheck, build and token gates passed. The original broad test command failed. Its four server failures and two CLI timeouts passed unchanged in isolated follow-ups. Resumed workspace checks exposed stale installed ACPX patch metadata: source commit `9d27311635036ea54c9d78c01cc1d9c9489eb7e8` updates only seven lockfile hash references. A fresh frozen install, exact patched vendor-byte verification, four long-diagnostic cases and 25 actual package contracts pass. Some manually resumed commands also collected generated `dist` test duplicates; those invocation failures remain recorded separately. The source Codex auth timeout passed unchanged when isolated. Serialized verification is still pending at this checkpoint, so no passing full-local gate is claimed. + +Cursor native AskQuestion remains unverified for the inspected exact models/modes. Pi v9 needs a verifiable OpenRouter spending bound before further paid runs; its optional transport-budget candidate remains frozen and unintegrated. Native Cursor/Copilot per-run USD remains unknown. Included usage and a disabled overage budget are billing coverage, not a native price receipt. The $100 campaign authorization remains in force, including failed attempts and infrastructure. + +Current profile identities bind shared runtime contract `paperclip.acpx-runtime-contract.v1`. All ACPX warm owners include that revision in their configuration fingerprint; incompatible owners retire without approval replay. Other transports retain their previous configuration digest. Legacy Cursor and Pi adapters remain unchanged. + +## Historical v5/v5/v8 evidence + +On source `5605c350b`, Cursor v5 passed all five basic paid local journeys: completion, semantic questions, semantic plan approval, controller restart, and file edit/validation. Copilot v5 passed paid Daytona completion. Pi v8 introduced message-boundary and bounded retry/compaction-notice repairs, but has no paid pass on that profile. None of these older receipts qualifies the current profile or its remaining local/Daytona roster. On integrated source `65b19549e`, 389 focused Runner tests passed (one optional native installation case skipped), 30 Rust ACPX unit tests passed, 19 selected @@ -590,7 +582,7 @@ qualification gates, not claims that a JavaScript path check confines a shell. | P0 | Cursor project and remote hooks; native shell boundaries | The verified v4 patch disables native ambient MCP/hooks at their actual initialization points on all three platforms. Retain real paid/remote isolation and command cleanup qualification before promotion. | | P1 | Native Pi queue selection in the product UI | The runner API exposes negotiated `follow_up` separately from active steering. The current composer has no native queue selector; add one without confusing it with controller-scheduled later turns. | | P1 | Pi `queue_update` contents and delivery state | RPC acknowledgment proves acceptance, not model consumption. Add bounded queued/delivered events and durable message correlation with explicit retention rules for user content; preserve this distinction on reconnect. The selected live marker-order probe proves its own consumed messages only. | -| P1 | Pi structured retry and compaction progress | Current text projection drops some `attempt`, `maxAttempts`, `delayMs`, `errorMessage`, `success`, `finalError`, `reason` and `willRetry` fields. Add bounded redacted provider notices with source-event provenance and outcome regressions; keep terminal failure authority separate. | +| P1 | Pi retry/compaction field completeness and end-to-end evidence | The wrapper now emits bounded `paperclip/pi_notice` activity instead of assistant text. The adapter preserves source provenance, retry counters/delay, outcome flags and bounded reason/error text; package tests cover retry success/failure/unknown and compaction usage. `finalError` is not forwarded, and summarization retry currently has summary-only data. Extend field-by-field wrapper/canonical/UI coverage; these deterministic checks do not qualify live behavior or give notices terminal authority. | | P1 | Native Cursor/Copilot active steering and queues | ACP prompt replacement is not steering; native SDK capabilities may be richer. Require a dedicated bound method plus acknowledgment before advertising. | | P1 | Child tool media/diff/raw payloads | Bounded delegation summaries preserve lifecycle and identity. Large nested payloads need a child-owned canonical item model; current omission is a visible notice and provider report entry. | | P1 | Standard ACP parent tool `content` diffs/images, secondary locations and raw input bodies | The existing common normalizer projects bounded output text, input-presence, and the first safe relative location. Raw argument bodies can contain secrets; richer content needs bounded typed blocks and a separately validated workspace binding for each file. Provider-specific image/file notices do not close this standard-tool gap. | @@ -610,6 +602,29 @@ qualification gates, not claims that a JavaScript path check confines a shell. | P2 | Conditional native-plan follow-up fields | Cursor's optional rejection-reason field also appears for accept/cancel. The current question renderer has no conditional fields; add conditional presentation without changing the revision-bound decision receipt. | | P2 | Cursor command exit code projection | The paid file case preserved native `exitCode: 0` inside output text, while the canonical command field remained null. Normalize a typed, correlated exit code without parsing arbitrary prose; current independent file assertions do not prove this field. | +### Capability-gap classification at source `41503eb38` + +This source review separates future implementation work from qualification of +already implemented behavior. It adds no paid proof and does not replace the +provider inventories or historical receipts. References below bind exact source +`41503eb38f03c436b1569f9f0204625bb4d58782`; a native advertisement or retained wire field +does not establish Runner projection or a usable product control. + +| Priority / category | Meaningful gap and reason | Follow-up and source boundary | +| --- | --- | --- | +| P0 / qualification | Native decisions, denial, attached-command settlement and callback recovery still need the required current-profile cases. Semantic question/plan/restart evidence is a different path. | Complete the existing local/Daytona cases and retain failed attempts; no new feature is implied by this row. The [capability matrix](#capability-matrix) and versioned qualification receipts govern claims. | +| P1 / Runner input | Native image input is available on the inspected surfaces, but Runner turns forward text only. | Add bounded, validated attachment conversion and exact-model admission, then qualify actual image prompts. [`AcpxRuntimeTurnInput`](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/runtime-host.ts#L111), [text forwarding](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/codex-runtime-adapter.ts#L1404). | +| P1 / Runner output and UI | Structured tool diffs/media, raw arguments and secondary locations are not carried into canonical tool details; exit code remains null, including where Pi retains a structured native result. | Add typed, redacted fields and workspace validation with local/sidecar/UI parity tests. File-byte or artifact-card checks do not prove rich diff or exit-code presentation. [Common mapper](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/provider-events.ts#L1131), [sidecar boundary](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/cli/acpx-runtime-sidecar.ts#L917), [Pi result fixture](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/test/pi-acp-package-contract.test.mjs#L279). | +| P1 / native queue and UI | Pi exposes distinct `follow_up`, but native queue contents/consumption are not durably projected and the product queue has no native follow-up selector. Acknowledgment is acceptance, not consumption. | Add negotiated selection and occurrence-bound queued/consumed/dropped evidence with retention rules; keep controller scheduling distinct. [Control contract](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/turn-controls.ts#L1), [current UI actions](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/ui/src/components/task-chat/TaskChatQueuedMessages.tsx#L39). | +| P1 / child and session attribution | Cursor child tools have attributed summaries, not nested rich details. Copilot native notices lack originating-turn identity and therefore remain session-scoped; provider-session files/assets still require retrieval and registration. | Add a child-owned detail model; require a native origin contract before assigning Copilot notices to turns, and separately authorize artifact retrieval. [Cursor summary boundary](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/cursor-extensions.ts#L401), [Copilot provenance boundary](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.ts#L19). | +| P1 / accounting qualification | Token/compaction receipts, catalog price estimates and actual account billing have different authority; missing usage/cost fields remain unknown. | Preserve partial coverage and verify campaign totals against actual spend evidence. Never promote an estimate or model multiplier into a bill. [Usage distinctions](#capability-matrix) and the provider inventories remain authoritative. | +| P2 / optional discovery and controls | Commands, configuration/title updates and plan priority lack complete product projection. Pi native fork/export first require wrapper mapping; extension widgets and private invocation provenance are separate optional surfaces. | Add company-scoped controls and bounded fields only where useful, preserving acknowledgments and lineage. These are future features, not new qualification blockers. [Explicitly skipped status tags](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/provider-events.ts#L1195), [plan projection](https://github.com/paperclipai/paperclip/blob/41503eb38f03c436b1569f9f0204625bb4d58782/packages/paperclip-runner/src/provider-events.ts#L1097), [Pi remaining work](runner-pi-capabilities.md#remaining-event-and-qualification-work). | + +Pi retry/compaction notices are already surfaced as bounded activity. Remaining +field completeness and renderer parity are narrower follow-ups, not an entirely +missing notice implementation. Conversely, a missing paid callback does not +establish that a provider lacks the underlying capability. + ## Qualification ledger Combined ceiling: **$100**, including retries and infrastructure. Cursor allocation: diff --git a/doc/architecture/runner-rich-acp-validation-2026-09-30-current.json b/doc/architecture/runner-rich-acp-validation-2026-09-30-current.json new file mode 100644 index 00000000000..29b8625eef8 --- /dev/null +++ b/doc/architecture/runner-rich-acp-validation-2026-09-30-current.json @@ -0,0 +1,438 @@ +{ + "schema": "paperclip-runner-rich-acp-validation-checkpoint/v1", + "status": "current_candidates_not_qualified", + "preparedAt": "2026-09-30T05:48:04.755187+00:00", + "artifactPathBase": "campaign artifact root; relative references are evidence identifiers, not public download URLs", + "preserveHistoricalEvidence": { + "sourceRevision": "5605c350b2a4dae75be3779f164d7e1a0e4a5a87", + "originalFailuresRemainFailures": true, + "existingCapabilityMatrixPreserved": true + }, + "identities": { + "controllerSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "harnessSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "profiles": { + "cursor": 6, + "copilot": 6, + "pi": 9 + }, + "runtimeBuildsRelabeled": false + }, + "verification": { + "ci": { + "sourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "success": 53, + "skipped": 2, + "failed": 0, + "pending": 0, + "receipt": { + "path": "runtime-6-6-9-eof-preparation/pr14633-415-ci-final.json", + "sha256": "e03ce62df53f739ad8967df07dfe78d9253783862a815dfae2d7b914f801edf4" + } + }, + "greptile": { + "sourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "score": "5/5", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/pr14633-415-greptile-final.json", + "sha256": "fcda878d5bb7617a6ce04852757a37e315448746ac5c5b609faa454dcd000660" + } + }, + "evalDefinitions": { + "pr": 33, + "state": "merged", + "mergeCommit": "7e416976800c799b5b920ec79d6027da5230644d", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/evals-pr33-merge-receipt.json", + "sha256": "3130b74720c95a1451189fa238b1eda5b9f6ba3ab5e6364592a6fb1b83e9b729" + } + }, + "local": { + "typecheck": "passed", + "typecheckReceipt": { + "path": "runtime-6-6-9-eof-preparation/full-checks-415/typecheck.meta.txt", + "sha256": "9687c8d07a1c6c6f5ba059a70e6b7ce7640bb747cb4a769a9db52a9928b929ba" + }, + "tests": "original_full_command_failed; unchanged isolated failures passed; remaining phases running", + "diagnosis": "Initial broad run failures are retained; all six failed cases passed unchanged when isolated. Remaining original-suite phases are resumed separately.", + "fullBuild": "passed", + "fullLocalPass": false, + "tokenGates": "passed", + "initialGeneralServer": { + "filesPassed": 713, + "filesFailed": 3, + "filesSkipped": 4, + "testsPassed": 14200, + "testsFailed": 4, + "testsSkipped": 70 + }, + "initialWorkspaceA": { + "uiTestsPassed": 6967, + "cliTestsPassed": 500, + "cliTestsFailed": 2 + }, + "unchangedTargetedReruns": { + "serverFailuresPassed": 4, + "cliTimeoutsPassed": 2, + "codexSourceAuthTimeoutPassed": 1 + }, + "originalRunReceipt": { + "path": "runtime-6-6-9-eof-preparation/full-checks-415/test-run-supported.meta.txt", + "sha256": "77709ae1e56b5389143b9598463e1ecaeb90404559d1c528aa85b0eef503098b" + }, + "resumedWorkspaceB": { + "observedPassedIncludingGeneratedDuplicates": 4490, + "observedSkipped": 31, + "observedFailed": 7, + "sourceFailures": 3, + "sourceFailureDetails": [ + "Two legacy ACPX long-diagnostic failures from stale patch metadata; fresh corrected frozen install passes.", + "One Codex auth-merge timeout; unchanged isolated source-only case passes." + ], + "manualInvocationGeneratedDuplicateFailures": 4, + "stableWrapperAlreadyExcludesDist": true, + "countsAreNotDeduplicatedSourceCoverage": true + }, + "serialized": "pending_at_checkpoint", + "dependencyClosure": "Existing source415 worktree installation differed from checked-in ACPX patches; corrected frozen-install evidence is separate." + }, + "lockMetadataRepair": { + "commit": "9d27311635036ea54c9d78c01cc1d9c9489eb7e8", + "receipt": { + "path": "acpx-lock-metadata-81c20ad/verification-receipt.json", + "sha256": "cab86c2725a0b7ddde34a4f8cb18e8789d5aa1b4aa03890ba31d60719d29dcaa" + }, + "frozenInstall": "passed", + "vendorBytesVerified": true, + "diagnosticCasesPassed": 4, + "packageContractsPassed": 25, + "dependencyVersionsChanged": false, + "nativeRuntimeBytesChanged": false + } + }, + "platformBuilds": [ + { + "platform": "darwin-arm64", + "sourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "built_not_fully_qualified", + "receipt": { + "path": "combined-local-e822b614f/build-provenance.json", + "sha256": "48a57e0fa5961696ed29044a3ff8edba3e0dfb26c2b9a8663ded1c22de195d41" + } + }, + { + "platform": "darwin-x64", + "sourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "built_not_fully_qualified", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/platform/macos-x64-e822b614f-v6-build/build-provenance.json", + "sha256": "fe435c765ffb0f74d0619ded9f2d0c125157671b01b9a6f502dab94812812354" + } + }, + { + "platform": "linux-x64", + "sourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "built_not_fully_qualified", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/platform/linux-e822b614f-v6-build/build-provenance.json", + "sha256": "f8b7c252f1cb683b704982b88bb8b5459c221ad9a45cad657f6cb48ffa1c0dfc" + } + } + ], + "paidObservations": [ + { + "provider": "cursor", + "profile": 6, + "cell": "extended-harnesses.runner-acpx-cursor.daytona.hello-complete", + "controllerSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "harnessSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "root_reconciled_with_supervisor_tail_failure", + "productBehaviorPassed": true, + "matcherCount": 6, + "rootReceipt": { + "path": "runtime-6-6-9-eof-preparation/daytona-basic-v2/e822-cursor-remote-01/root-reconciliation.private.json", + "sha256": "6fc00b657a27090a3e5bad46016dcd1aac3347f71a88165ffe9e1a23aabd4320" + }, + "originalResult": { + "path": "runtime-6-6-9-eof-preparation/daytona-basic-v2/e822-cursor-remote-01/result.json", + "sha256": "36d28b7955481dde72767a863e3e5b5f4d767c22aaecda74f35b3940b8c47cf9" + }, + "originalSupervisorTailFailureRetained": true, + "cleanupAndEndAuditReconciled": true, + "newModelRetryForReconciliation": false, + "accountObservedChargeUsd": 0, + "nativePerRunUsd": null, + "infrastructureUpperBoundUsd": 0.086931, + "infrastructureAnalyticsFinal": false, + "providerQualified": false + }, + { + "provider": "copilot", + "profile": 6, + "cell": "copilot-protection.runner-acpx-copilot.local.native-permission-deny-write", + "controllerSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "harnessSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "root_reconciled_after_reader_correction", + "productBehaviorPassed": true, + "matcherCount": 10, + "caseQualified": true, + "providerQualified": false, + "rootReceipt": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v2/controller415-copilot-deny-01/root-reconciliation.private.json", + "sha256": "3d273539d36269c2591fda9f117b0f48a0a4dabc70b97131ba5d2e272adaae21" + }, + "originalResult": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v2/controller415-copilot-deny-01/result.json", + "sha256": "8c169c418575ed12215fd758b578940bb458169ba9a169b305c60690e37692d7" + }, + "additiveReaderCorrection": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v3/retained-product-revalidation.json", + "sha256": "850a105a43f50444e3c144e12fb9967300c27367a0e2ed4b5992b61be39639b2" + }, + "originalSupervisorPassed": false, + "originalReceiptsModified": false, + "newModelCallForReaderCorrection": false, + "accountIncludedCreditsBefore": 15, + "accountIncludedCreditsAfter": 15, + "postingMayLag": true, + "accountObservedChargeUsd": 0, + "additionalChargeUpperBoundUsd": 0, + "nativePerRunUsd": null, + "cleanupAndEndAuditPassed": true + }, + { + "provider": "cursor", + "profile": 6, + "cell": "cursor-native.runner-acpx-cursor.local.native-plan-reject-revise-accept", + "controllerSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "harnessSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "failed_controller_settlement_repair_pending_paid_requalification", + "productBehaviorPassed": false, + "caseQualified": false, + "providerQualified": false, + "nativeBridgeChecksPassed": 21, + "observedBridgeBehavior": [ + "native_plan_display", + "rejection_delivery", + "feedback", + "revised_plan", + "acceptance_delivery" + ], + "rootReceipt": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-cursor-plan-01/root-failed-reconciliation.private.json", + "sha256": "28cd3097459e79825850786279eb842541c89c7c67ac82c4785c53808d3cd1bd" + }, + "originalResult": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-cursor-plan-01/result.json", + "sha256": "9cbfa84182790c3d5124da9c0981ab56d009a05a96ae31dd9928c6c484cea0e0" + }, + "bridgeChecks": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-cursor-plan-01/product-results/cursor-native/runner-acpx-cursor/local/native-plan-reject-revise-accept/attempt-1/snapshots/cursor-native-checks.json", + "sha256": "461577b0459b56c42d5a68648b7f31538ec0e71787ab8391ff6703411dac1704" + }, + "terminalSnapshot": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-cursor-plan-01/product-results/cursor-native/runner-acpx-cursor/local/native-plan-reject-revise-accept/attempt-1/snapshots/api-state.json", + "sha256": "db372b34c3e9c64252d901746630b62412e9a59b4d7881b7e4e91f53b6075e54" + }, + "nativeTerminal": { + "eventType": "turn.completed", + "seq": 222, + "status": "completed", + "error": null, + "sourceSeq": 196 + }, + "controllerFailureLabel": "native_session_interrupted", + "controllerError": "native_finalization_missing: session returned no semantic result", + "interpretation": "Native planning ended normally. ACP plan acceptance does not start the interactive CLI Agent-mode execution turn. A separate controller fix preserves an in-progress passive wait for explicit task continuation; deterministic checks do not change this original failed case.", + "cleanupAndEndAuditPassed": true, + "automaticRetries": 0, + "nativePerRunUsd": null, + "accountObservedChargeUsd": 0, + "terminalDiagnosis": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/cursor-plan-terminal-diagnosis/evidence.json", + "sha256": "6f9fd527aecee6e79546a264d41f1d79e171cbe5d15af31f2587d05d7fddb7c2" + }, + "checkpointTerminal": { + "runTerminalState": "succeeded", + "turnTerminalState": "completed", + "reportedWorkDisposition": "yielded", + "mode": "plan", + "semanticResult": null + } + }, + { + "provider": "copilot", + "profile": 6, + "cell": "copilot-protection.runner-acpx-copilot.local.attached-async-settlement", + "controllerSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "harnessSourceRevision": "41503eb38f03c436b1569f9f0204625bb4d58782", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "failed_supervision_not_qualified", + "productBehaviorPassed": false, + "caseQualified": false, + "providerQualified": false, + "nativeTurnAccepted": true, + "completedAttachedCommandBehaviorProven": false, + "rootReceipt": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-copilot-async-01/root-failed-reconciliation.private.json", + "sha256": "81f3eb82e51179d135bedc3b984c436a2e2f6503242858d0f7fffa8b8665a4c9" + }, + "originalResult": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/local-single-v4/controller415-copilot-async-01/result.json", + "sha256": "a12c689794308c987fe5053e48c75ef79bb7775fe90783e982e4139c7186e246" + }, + "diagnosis": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/copilot-async-failure-diagnosis/evidence.json", + "sha256": "5981b70003718c7dc306c0e800f31bec4a2193873abc44c58292dd4d38096dc7" + }, + "postAttemptPackRestoration": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/copilot-async-copy-cleanup/receipt.json", + "sha256": "b93dc16050c316113fd62dc590bebd0aa5a60fbfbb6a4a80c787e5abc235e2e0" + }, + "originalIpcObservationComplete": false, + "originalFullEndAuthorityPassed": false, + "laterPackAuthorityRestored": true, + "originalFailuresPreserved": true, + "ownedProcessesRetired": true, + "automaticRetries": 0, + "nativePerRunUsd": null, + "accountIncludedCreditsBefore": 15, + "accountIncludedCreditsAfter": 15, + "postingMayLag": true, + "additionalChargeUpperBoundUsd": 0 + }, + { + "provider": "copilot", + "profile": 6, + "cell": "copilot-protection.runner-acpx-copilot.local.attached-async-settlement", + "sourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "controllerSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "harnessSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "status": "failed_native_command_digest_assertion_under_diagnosis", + "caseQualified": false, + "providerQualified": false, + "taskDoneObserved": true, + "completedAttachedCommandBehaviorProven": false, + "rootReceipt": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/local-single-v1/controller81-copilot-async-01/root-failed-reconciliation.private.json", + "sha256": "d970fca92c4184342f69136140bae2720a02f706dd76fd116d7772f215f8d18c" + }, + "originalResult": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/local-single-v1/controller81-copilot-async-01/result.json", + "sha256": "0a0cead164531cf56349e2b6851e86dd19b84dc290f84d6db365656f0f50c2ed" + }, + "ownedProcessesRetired": true, + "ipcObservationComplete": true, + "fullEndAuthorityPassed": true, + "accountIncludedCreditsBefore": 15, + "accountIncludedCreditsAfter": 16, + "postingMayLag": true, + "additionalChargeUpperBoundUsd": 0, + "nativePerRunUsd": null, + "automaticRetries": 0 + } + ], + "pi": { + "profile": 9, + "qualification": "pending", + "optionalBudgetCandidateRevision": "6396fd744c2bf2fbb70c4e40a3d40d026b662ba3", + "candidateStatus": "frozen_unintegrated_not_live_qualified", + "candidateReceipt": { + "path": "runtime-6-6-9-eof-preparation/pi-spend-boundary-review-02/candidate.json", + "sha256": "9a6d8c86b17ed35a97925475928e1353dc7122e109db7fafd4262622a2d10599" + }, + "preferredSpendBoundary": "provider_capped_key", + "providerCappedKey": "unresolved" + }, + "overallProviderQualification": { + "cursor": false, + "copilot": false, + "pi": false + }, + "nextControllerPreparation": { + "controllerSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "harnessSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "change": "Replace a static UI demo string that matches the evidence secret detector; runtime source and profile pins unchanged.", + "readiness": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/readiness-02/product-readiness.pending.json", + "sha256": "af88ba11f8db713faa5694d5714dd677b5bddbf822e254128f02c94eb3561e3f" + }, + "rootReview": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/root-readiness-review.json", + "sha256": "90a0aeebb6a0195ddd640fb2dc84e2e2d1edbba65baae443178decaf159e0dc3" + }, + "providerCalls": 0, + "providerQualified": false + }, + "budget": { + "combinedAuthorizationUsd": 100, + "providerAllocationsUsd": { + "cursor": 25, + "copilot": 25, + "pi": 25 + }, + "sharedReserveUsd": 25, + "knownTaskAttributedOpenRouterModelUsd": 0.040507624, + "conservativeCloudTotalUpperBoundUsd": 0.387846, + "nativeCursorCopilotPerRunUsd": null, + "failedAttemptsRetained": true, + "uncappedWholeKeyLifetimeUsageExcluded": true, + "attemptRecords": 45, + "activeReservations": 0 + }, + "cursorSettlement": { + "pr": 14669, + "sourceRevision": "b58de164ad86fddd01160461130254bfcbe25900", + "status": "draft_deterministic_checks_pass_paid_requalification_pending", + "autoImplementation": false, + "modePromotion": false, + "taskDisposition": "in_progress_waiting_for_explicit_user_message", + "catalogUpgradeDoesNotWake": true + }, + "historicalReadiness415": { + "status": "root_reviewed_credential_free_pass", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/readiness-01/product-readiness.pending.json", + "sha256": "d9946bbab9881d50c46970aaaca9458d933c101a7d2fe28f8a58c770c23909e5" + }, + "rootReview": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/root-readiness-review.json", + "sha256": "371702b4363fbce6ed96fa823dc48b2566f441b7801250576fa6812f0df65d7f" + }, + "admission": { + "path": "runtime-6-6-9-eof-preparation/controller-41503eb/revision-02/readiness-01/admission-01/receipt.json", + "sha256": "d7188f37245290389271e6af913f52acf54248b1d15c7676ebad3cbed91423a6" + }, + "freshControllerAndHarness": true, + "oldReadinessReused": false, + "recoveryReady": true, + "ownedProcessesRetired": 37, + "ownedIpcRemaining": 0, + "providerQualified": false + }, + "readiness": { + "status": "root_reviewed_credential_free_pass", + "controllerSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "harnessSourceRevision": "81c20ad22723a2d35d7bd693cc6a47002fb46125", + "runtimeSourceRevision": "e822b614fc368043f4b3d5e34a8d9bbda644e055", + "receipt": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/readiness-02/product-readiness.pending.json", + "sha256": "af88ba11f8db713faa5694d5714dd677b5bddbf822e254128f02c94eb3561e3f" + }, + "rootReview": { + "path": "runtime-6-6-9-eof-preparation/controller-81c20ad/revision-01/root-readiness-review.json", + "sha256": "90a0aeebb6a0195ddd640fb2dc84e2e2d1edbba65baae443178decaf159e0dc3" + }, + "freshControllerAndHarness": true, + "oldReadinessReused": false, + "ownedProcessesRetired": 36, + "ownedIpcRemaining": 0, + "providerQualified": false + } +}