Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
✅ Maintainer security changes approvedA maintainer approved this revision with an explicit security approval comment.
A later push requires a fresh approval comment for an external contributor's PR. |
|
Codex review: needs maintainer review before merge. What this changesThis PR consolidates steering authorization, recovery readiness, accepted-input custody, and completion handoffs around the existing SessionController. Example: A user sends “Correction sent during compaction.” while recovery compaction is running.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs meaningful session-input failures that remain on main, and the bounded completion-context policy now has maintainer approval; no actionable introduced defect was identified. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGateway RPCs, channel input, and session tools feed the SessionController, which checks requester authority and execution compatibility before delivering input through embedded or plugin runtimes and settling its transcript and reply custody. flowchart TD
A[Human and session tool input] --> B[Gateway source authorization]
B --> C[SessionController]
C --> D[Captured execution policy]
D --> E[Embedded or plugin runtime]
E --> F[Transcript and reply settlement]
F --> C
Technical reviewBest possible solution: Retain the existing controller as the single lifecycle owner, with independent incoming authorization, exact-target delivery, and receiver-held custody through settlement. Do we have a high-confidence way to reproduce the issue? Main's backend-detachment path retains resolved readiness, and the linked public-Gateway comparison records the correction missing its original run on main; this read-only review executed no target code. Is this the best way to solve the issue? The retained consolidation addresses the shared ownership boundary, preserves ordinary peer and explicit-followup scheduling, and keeps optional-reply promotion and reconnect-policy proposals separate. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9819d4db1c86. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfacePR surface statistics unavailable: the file list is incomplete. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (13 earlier review cycles; latest 8 shown)
Reviewed October 21, 2026, 6:18 PM ET / 22:18 UTC (Revision 14). |
|
@clawsweeper re-review please at 0878af08a11a8b7b1ef7b7d79bd9af6d3b9e682e. This revision completes the five-PR alternative, including the missing busy-peer/returned-result, explicit-followup, source-turn identity, deadline and exact-thread handoff paths. It repairs the reported CLI, TUI and custody consumer regressions and preserves Stop's pending-wake retirement separately from restart recovery eligibility. The updated description includes inspectable synthetic native correlation receipts for authenticated reconnect and real native ordinary/followup sessions_send: original-turn ACK, correlated input echo, subsequent provider consumption and the original turn's completed terminal. Reduced scopes refuse input. All three positive proofs and the reduced-scope control stop their isolated processes. Committed revocation also refuses input, but its recorded containment exit is not claimed as a clean pass. The remaining native security gaps and the optional-work/followup behavior decisions remain explicit; this is not security-owner approval. Focused checks and fresh independent review pass; hosted CI must assess this pushed head. Related recovery/native PRs remain independent, and the five originals stay open for maintainer choice. |
|
🦞👀 Re-review progress:
|
Requester origins intentionally omit undefined fields so their live and persisted forms retain the same replay identity. Compare sender values without requiring absent properties, while still requiring both the runtime and transcript origins to exist. This mirrors the requester-identity assertion fix from Paul Bohm's PR #177698, extracted byte-identically so main does not stay red while the larger steering refactor is pending. Production attribution and requester authority behavior are unchanged. Validation: 129 cases pass in the full affected test file with one worker; targeted test typecheck, lint, formatting, and P2 review pass. Co-authored-by: Paul Bohm <[email protected]>
|
Review follow-up at 037088628992b70246dd3443fe5a454433786459:
The body now explains the original #160842 Retained automation-effect proof and the named profile/model-policy variants remain open. All newly published behavioral evidence is synthetic; raw credentials, endpoints, identifiers and captures remain private. The complete consolidation has not been deployed. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…#177698) * refactor: preserve the active execution when admitting steering * fix: complete controller steering and peer delivery consolidation * test: refresh consolidated steering prompt snapshots * fix: skip retired completion sources during mailbox restore * fix(sessions): retain session-write steering authorization * test: repair consolidated steering CI fixtures * test(xai): fix device polling response fixture * test(ui): settle reconnect before module recovery retry * fix(codex): report descendant cancellation mismatch fields * fix(agents): wake subagent waits on admitted input * fix(codex): deduplicate accepted reply expectation after merge * fix(agents): preserve peer scheduling pending native mailbox support * test: align consolidated steering fixtures with conservative peer policy * fix(agents): retain restored mixed-cohort mailbox reservations * test(gateway): settle exact local claim before reclaiming run id * docs(agents): clarify admitted requester scope lifetime proof * fix(ui): retain the current descriptor title outside the roster * fix(muse): retain streamed prefixes when attaching to a turn * fix(ui): retain off-page transcript lifecycle metadata * docs(agents): align busy-peer guidance with separate turns * fix: retain steering readiness through compaction recovery * refactor: separate policy proposals from session ownership * fix(agents): keep owed yielded cohort wakes and best-effort compaction notices Restore and main-session recovery treated a retired child as a retired requester wake. A yielded cohort keeps a retired member's wake so its one continuation reports the cancellation (retireSubagentObligationsInContext); live dispatch reserves it. Restore now selects the wake owner the same way, and recovery no longer marks the main session while that wake is owed. Recovery compaction hook notices awaited the serialized agent-event queue, so a held optional progress callback blocked compaction until its safety timeout. Notices are now best-effort like recovery start/end. Also drop three unused exports flagged by the dead-export scan. * chore: move unrelated fixes out of the session consolidation The Muse streamed-prefix fix, off-page chat metadata fix, xAI OAuth test cleanup and UI reconnect test settle are independent of the SessionController lifecycle. They move unchanged to their own PRs against main. * fix(agents): align compaction notice fixtures and document announcement steering --------- Co-authored-by: jalehman <[email protected]>
|
Two independent follow-up bugs now have narrow fixes on top of this merged consolidation:
The PRs cross-link and include synthetic regression and isolated built-Gateway restart evidence. They do not depend on one another or introduce the separated messaging, requester-selection, or reply-obligation policies. |
Current integration and inherited CI (2026-10-21)
Current head
e3a25eba1ae4737d69b913c8effc7455ee21195dpreserves Jalehman's upstream integrations, prompt-snapshot resolutions, #178874's over-cap file splits and #179227's Control UI startup-budget repair. No unrelated test repairs have been added to this branch.The four failed test jobs in CI run
39615810386come from upstream fixture/assertion drift: retired heartbeat settings in restart, concurrent-stream and first-turn fixtures, plus the native-sidebar focus assertion left behind by #179214. Repairs stay separate: #179626 covers all three Gateway fixtures (#179592/#179594 are narrower alternatives), and #179574 covers the sidebar. Redundant #179621 is closed in favor of #179626. The older 390px account-menu case is already repaired by upstream #179307.The CI attribution and preserved earlier integration evidence records the exact jobs, source comparison, executed head-versus-UI-revert result and upstream-base validation. With the separate test repairs, six selected Gateway cases and all eleven native-nav cases pass on upstream production base
53a236d; the exact 390px case passes too. This is synthetic isolated Gateway/browser evidence, not new native-Codex or operator-data proof, and does not make current-head hosted CI green.Earlier
223d8959validation remains explicitly historical: 170 affected tests, relevant type/lint checks, ten TUI tests after restoring already-pinned local dependencies, and all twelve scripted public-RPC Gateway scenarios from stacked #178985. Their full qualifications are preserved in the linked comment. #178985 remains separate and stacked; the separately investigated restart-before-recovery/new-input deadlock is not claimed fixed by those twelve cases.Exact-head CI, maintainer security acceptance and the documented compatible same-requester human/completion-context decision remain open. The existing ClawSweeper exact-review artifact retry is separate from a source finding.
Earlier conflict repair (2026-10-20)
Upstream
bd2dbfdeb4932c7cc8cefea45dee1cf4fe70a5b5was integrated as26d5d608da70226c95e584ce7c8bf875e3068761, adopting #178693's persisted-child-lineage continuation owner and removing the obsolete native-only caller argument. The recorded conflict validation retains its exact revision, canonical forks-project qualification, and 18 passing Gateway/recovered-child cases. This historical checkpoint is distinct from the latest validation above and the earlier combined deployment below.Local deployment checkpoint (2026-10-20)
The operator explicitly opted into a combined local deployment containing main consolidation
7605b4fc8c28a628cd4d6b9a3e63bc9f1304ce10, reply-obligation candidate66eea4b4ef10f196ba1640398d186884d5557cdd, reconnect candidatede1dfafe07c8f0762b9e5fc16d4dfc6b36a3fbeb, and selected-requester candidate9600c93d45bbdb867ff738d258f25ea94a7f2f45, alongside existing local integrations and the separately restored saved-attempt UI work. The resulting local build is764886a56987d82f3a3934e2dd7d6a2416ef98da.Operational readback confirms the exact loaded build, readiness, health, Node 24, unchanged service environment, and all 25 previously active plugins. This is a combined integration deployment, not standalone validation of each PR or security/session-owner acceptance of any extracted policy. No new business-message, native-effect, revocation or reassignment proof is inferred from operational health. The earlier isolated traces below retain their recorded revisions, scenarios and failed-collector qualifications.
What Problem This Solves
Several bug-fix PRs address failures in the same session-input lifecycle: valid corrections queue, recovery substitutes the wrong source identity, accepted input becomes replayable, or queued completion work loses its scope before dispatch. Admission, execution, recovery and delivery have been reconstructing ownership differently.
This PR consolidates those repairs around the existing SessionController: capture one execution owner, authorize each incoming source independently, and give acceptance, consumption and settlement explicit outcomes. The purpose is to repair the shared lifecycle contract rather than keep patching each symptom.
User Impact
Compatible, authorized human corrections join the active execution at the runtime's supported boundary. The execution retains its tools, workspace and model-selection policy; the new message does not replace those permissions. Recovery waits for that same operation's replacement backend, while input captured against an old attachment remains fenced.
Accepted input retains its source identity and delivery custody through confirmation uncertainty. A deadline cannot authorize replay of input already accepted by the runtime. Settled completion wakes cannot block new input. A yielded cohort retains its one still-owed notification, including a cancellation report, until that notification is settled.
Ordinary peer messages, returned results and explicit
followupretain their existing separate-turn scheduling and correlated replies. Existing narrow child/run-scoped exceptions retain their checks. No schema, dependency, configuration option or native Codex fork is introduced.Ownership Contracts
The fourth item repairs an acceptance-to-dispatch gap in the existing accepted-continuation contract; it does not introduce general requester re-entry after a turn. Upstream #162299 already retains accepted replies independently of the original invocation. This PR preserves revocation, session/reset, run ownership and Gateway lifetime checks.
Host admission and receipt contracts are shared across bundled adapters; each runtime keeps its own supported delivery boundary. Released external harnesses retain their question contract. Human attribution alone cannot answer another requester's pending question. Types prevent some invalid combinations, while temporal changes still require checks at their effect boundary.
Policy Split
The consolidation no longer bundles these proposals:
The associated production machinery and feature-only positive tests are extracted together, with exact add-back patches retained. No dormant promotion flag, accounting owner or requester-reentry path remains in this PR. The neutral reply types remain a type-only leaf for the shared contracts.
Current recommendation: land the lifecycle consolidation separately from those behavior choices. A required human message against an optional owner retains followup custody, without injecting or promoting that owner. Compatible required-to-required human steering still works. Ordinary peers remain separate turns; adopting Codex's native peer mailbox requires a supported app-server API, not relabeling peers as human input.
Codex's native mailbox loop and human steer operation have distinct boundaries. OpenClaw uses supported human steering without forcing Stop/restart or an earlier interruption point. #160842's narrow peer exception is retained.
Security-owner review remains required for the authority-sensitive consolidation. Extracting the policy proposals does not claim approval, waive review, or turn historical evidence into exact-head proof.
Relationship to Earlier PRs
This is a consolidated alternative for the included fixes, not a prerequisite-only foundation. Already merged fixes are inherited. Open originals remain available for maintainer choice. Related #175845, #176086, #176087, #174900, #176311 and #177414 are adjacent recovery/native contracts checked for compatibility, not claimed as superseded.
Evidence
Current conflict integration at
7605b4fc8c28a628cd4d6b9a3e63bc9f1304ce10Merged upstream
c909114f55fc5889076bf4fbbb61f6ab32bf8146to resolve the newly reported conflict. The only conflict is in the native completion contention regression: both parents release the held retirement write before readiness; the resolution adopts upstream's single readiness wait before joining retirement, preserving the receipt assertions and cleanup. The resolved file exactly matches incoming upstream. No manual production edit or extracted policy addition is introduced.All 22 tests in the two affected native completion suites pass (94.37s canonical wrapper wall time, including 37.19s worker preparation). Core production and extension-test types, formatting and whitespace checks pass. A fresh independent P0–P2 review of the manual resolution against Git's automatic-merge snapshot reports
scoped-clean; it is not a new review of every imported upstream change.Existing native/runtime/compaction/upgrade evidence remains at its stated revisions. No new runtime capture or deployment is claimed for this test-only conflict resolution. Current hosted CI and exact-head security-owner approval remain separate gates; the latest completed contributor review had no findings or further proof asks.
Conflict integration at
d7cfd0a504836854e7563e94f975f3069629865dMerged upstream
f629720edbb9f4b458adae30c7506c1dc5d1adc6to resolve GitHub's reported conflict. The sole manual resolution combines upstream #178694's parent-first recovery with the consolidation's retired-obligation and frozen-cohort checks. Recovery preparation runs before the final live-cohort check, so a retired or replaced row cannot borrow the pre-await representative. No extracted reply-promotion, reconnect-comparison or personal-requester policy was reintroduced.60 affected tests pass: 55 recovery-priority, mailbox, requester-settle and source-ownership cases across four files, plus all five Codex handoff/cancellation cases in the automatically merged test file. The upstream eight-child orphan recovery regression and existing mixed/retired-cohort controls are retained. Core production types, the owning agent-session test type graph, scoped typed lint, formatting and ordinary commit hooks pass. Wrapper wall times are 65.56s and 27.18s, respectively; most of that is worker/import preparation.
A fresh independent P0–P2 review of the single manual resolution reports
scoped-clean. That review compares the resolved source to Git's automatic-merge snapshot with both parents supplied; it does not claim to re-review every imported upstream change. Earlier runtime, compaction and upgrade captures retain their original revisions and limitations. No new runtime build, native trace or operator deployment is claimed for this merge.The previous PR context and evidence failure was caused by this body's renamed
Current Validationheading. Restoring the required authored Evidence section passes the same production body-policy evaluator locally. The two failed status contexts both reported that a maintainer must approve the current revision; canceled jobs are not test failures. New-head hosted CI and security-owner acceptance remain gates.Policy-split validation at
d383dd4e9bb180d5dd880f21029ac7d586052130Narrowed head:
d383dd4e9bb180d5dd880f21029ac7d586052130, based on the previously reviewed5d74c50003122fe40da34b36eac16e838e5857d3over upstream1429fd5487b508d59b0466fb83a9618c8022f162.scoped-clean. The final export-order adjustment is mechanical. Test wrapper wall time: 142.67s core cohort and 126.96s Gateway cohort, run concurrently; each includes about 46s worker compilation. Exact-head CI timing is not yet claimed.This is synthetic production-boundary proof using the built-in OpenClaw runtime and scripted external HTTP inference, not a new real-model or native Codex capture. The first collector attempt failed temporary-path canonicalization before starting the Gateway; the launcher was corrected to resolve the macOS alias, without changing product code or an authority guard. The passing run retains its QA-bootstrap busy-WAL warning as a qualification. No raw credentials, private endpoints, identities or user content are published. Earlier native and upgrade captures remain qualified below. No operator deployment was performed.
Earlier Revision-Qualified Evidence
The following captures retain their original revision, scenario and failure qualifications. Captures of optional promotion or cross-socket comparison support the extracted follow-ups, not behavior implemented by this narrowed head. Historical native traces have not been relabeled as a fresh execution of the split. Accepted-work scope and compaction traces remain bounded evidence for their named owners and revisions.
Recorded runtime, upgrade, recovery and CI evidence
Conflict integration at
5d74c500031Merged upstream
1429fd5487b508d59b0466fb83a9618c8022f162. The sole manual conflict was upstream's test reorganization inagent-runner-core.test.ts; the resolution retains the shared error helper, per-test cleanup and existing cases, plus the claim-change error assertion. Fresh independent source review found no P0–P2 issue. The separate saved-history/outbox UI fix is excluded.This integration also inherits #178645, which supplies explicit native-touch timestamps independently of CDP round-trip latency. The unchanged widget distance, inertia, direction and reader-preservation assertions pass in the focused Chromium run: text 475px total / 240px inertia; widget 474px total / 239px inertia. This macOS run validates integration; it does not establish the cause of the earlier Linux 235px sample.
The affected Bun runs pass all 9 error-handling tests and 21 embedded-maintenance tests, including unlimited maintenance. The original Linux maintenance failure remains unexplained; no production change or assertion weakening is claimed to fix it. Fresh hosted CI remains required. Earlier native/authority evidence retains its recorded revisions and limitations. No live Gateway or business session was changed or restarted.
Recovery-compaction follow-up at
24bb99cfcf9A human message arriving during recovery compaction could be permanently downgraded to a followup: the same logical operation survived, but its detached backend left an already-resolved readiness promise behind. New input now waits for that exact operation’s next backend. Previously captured attachments remain fenced; Stop, cancellation, finalization, yield, and owner replacement still release or reject waiting input.
Recovery also now publishes its own compaction lifecycle, independently of optional hook text. Hidden runs deliver start/end through the existing authorized session subscription. Hook notices do not duplicate lifecycle/accounting or clear the UI status timer, and optional lifecycle-progress callbacks cannot block compaction.
Validation:
All proof inputs and message content were synthetic. This is an actual Gateway/controller/compaction flow with a scripted external Responses provider, not real-model inference or a reproduction of the private live session. Raw captures remain private. The first collector attempt failed its temporary-path canonicalization guard before Gateway startup; it is preserved as setup-only evidence. Earlier native/Muse captures retain their recorded revisions and scenario scope; this change does not claim a fresh native-runtime capture or resolve maintainer/security-owner decisions.
At that earlier checkpoint, this revision had not yet been deployed to the operator Gateway.
Prior integration and CI diagnosis (
186be068940)Exact CI diagnosis and validation: the six red indicators on the earlier
0f784…head represent three test failures, the aggregate gate twice, and a security-approval status. Those failures predate the Muse proof publication. That recorded integration merges upstreame5302ee39c5, resolves the metadata conflict while retaining the read-only exact-session projection, and adopts upstream #178578's touch-emulator repair. Validation: 91 UI tests, 4 Chromium browser cases against the mocked Gateway, 21 maintenance and 12 Session Share tests under Bun, core/UI types, scoped lint/format and the canonical build pass. The build's startup-JS gzip advisory remains; no budget changed. The two original Linux backend failures remain unexplained; local passes are not claimed as a fix. New-head hosted CI and owner decisions remain gates. Native/Muse captures retain their recorded revisions and source-reuse qualifications.Extracted Muse stream proof (historical)
The independent Muse repair and its Gateway stream evidence now belong to #178837, following the maintainer split at
6f5fca7d891. The historical capture below is not evidence of a Muse implementation retained in this consolidation.The requested Gateway trace now runs
0f78424994631408fbeed838bb7df25991d7ba40through authenticated chat RPC, the production Muse harness, official SDK 1.4.4, and a scripted external MSP subprocess. A genuine prefix frame arrives before the native command ACK; the collector requires the client-visible prefix before releasing the suffix, so saved-final correction cannot satisfy the live-stream check. Actual wire deltas are["started:", " hello"], matching exactly one savedstarted: helloin two canonical history readbacks. Completion is normal, with no native interrupt; the QA Gateway stops and both external hosts have exit0 receipts and absent PIDs. An independent raw audit passes 91 checks.This is a synthetic external-MSP Gateway capture, not an official Muse CLI/Meta-inference claim. The linked evidence preserves the first failed collector assertion, the history audit's volatile-timestamp correction, the later empty chat reset, and the unclassified QA-bootstrap checkpoint warning. All outgoing trace fields are whitelisted; no private raw capture is published. Earlier revision-qualified proof and security/session-owner decisions retain their stated scope.
Recorded pre-recovery source:
0f78424994631408fbeed838bb7df25991d7ba40, integrating upstream5a0b5006d5fcb72f238c3c587395bf38591971ad. The sole new conflict adopts the title resolver already merged in #178510 verbatim; the transcript-metadata guard remains unchanged. Recorded c3 source:c3efd0744574c6920dda4af1066b6d6058053a54, after conflict integrationeb409c37a0189c6842cb86d0dc05b1096ed44fc8over upstreamda0c2649a1cf94ae3facf061af791cab71c9d157, including the UI metadata and Muse repairs below. The sole manual conflict adopts upstream's narrowed two-argument local mutation wrapper while preserving both accepted-input custody guards. The earlier three-conflict integration48e86662660remains intact: unconditional source-bound preparation, separate source/target validity, and the reply-expectation, owed-wake and mixed-cohort regressions are retained.At the recorded
48e86662660integration, 110 steering/mailbox tests across six files, seven UI metadata tests and all three cold-load browser tests pass, together with core/UI production types, scoped typed lint/format, whitespace and independent review of the three applied resolutions. The title repair has a red-to-green regression: a current exact-session descriptor supplies the title when the bounded shared roster omits the session; deletion still clears it. The original failing CI job reported the same missing-title symptom. Its exact ordering was not captured, so the passing replay is not claimed to establish that ordering or prove a base failure. No assertion, timeout or retry was weakened.The exceptional queued-authority captures below remain executions of
e44f11ece93e98d89ca46d03e3dee67052e82ac0. At recorded head0f784249946, all 44 source pins in that fixture were byte-identical; this was source-qualified reuse, not a fresh runtime execution of that merged binary. The recovery follow-up changes affected owners, so it does not extend that whole pin-equivalence claim to24bb99cfcf9. Other native/upgrade captures retain their recorded revisions and limitations. Hosted CI is a separate landing gate; consult Checks for its current result. At that earlier checkpoint, this head had not yet been deployed locally.The subsequent Muse CI failure is repaired in
291018c6442fd8a0513fc6023ac22e850c8ee50c. The SDK's delta iterator is live-only: attaching after the first chunk made the adapter interpret a suffix as the full prefix, corrupting live output while the saved final remained correct. The adapter now reads cumulative fields from the SDK's existing fold and removes its competing text accumulator. A real SDK Session/Turn regression reproduces the exact corrupted output before the fix, with a completed-before-attachment control. All 53 Muse harness/event tests pass under the pinned Bun runtime, including the CLI transport lifecycle case; extension production types, scoped typed lint/format, whitespace and fresh independent P0–P2 review pass. The later lint-only brace correction changes no test behavior.The inspected Muse producer, lifecycle fixture, package dependency and shared event emitters are unchanged between the CI-tested base
d1b8bccb9d5e273a17e9c76a1c38ab891e180623and48e86662660. This is source-attributed inherited code with an exact deterministic adapter reproduction, not a whole-base runtime reproduction. Automated main classification remains unknown because no matching main job was available. No retry, timeout, expected text or failure assertion was weakened. Hosted CI on the new head is still a separate gate.The later cold-load UI failure reports missing completed-work duration while title, reply metadata and progress pass. The transcript owner suppressed cached metadata after observing a descriptor, but supplied no descriptor metadata when the bounded shared roster omitted the selected session. The repair projects only the existing read-only transcript fields from a current descriptor matching the displayed transcript incarnation; selected-session permissions, fresh-row precedence, snapshot ownership and observed-absence handling remain unchanged. A real-capability startup → bounded-list regression fails on the preceding producer and passes after repair, with different-incarnation and deletion controls. 44 focused UI tests and all three unchanged cold-load browser tests pass, together with UI production types, scoped typed lint/format, whitespace and fresh independent P0–P2 review. These synthetic local checks do not establish the exact ordering on the failed Linux CI run. No browser assertion, deadline or retry changed.
The same run's compact shard 29 remains unclassified: pinned Linux Bun exited with SIGABRT before reporting any test result or crash stack. Its selected 18-file group passes all 236 tests locally on macOS with pinned Bun and two workers; that is not a Linux reproduction or proof that the crash is unrelated. The available artifacts include no Bun crash/core trace. This repair does not change runner behavior, retries, test selection or the failure gate; current-head hosted CI remains required.
The recorded c3 conflict repair passes 125 focused authority/controller/mailbox tests across eight files, including retained mutation custody after an accepted-input confirmation failure and source revocation. All 91 UI metadata/duration/reply/cache tests and three unchanged cold-load browser tests also pass after integration, together with core/UI production types, the owning agents-tools test graph, scoped typed lint/format and whitespace. Independent inspection of the applied conflict found no actionable P0–P2 issue; the only change from the preceding steering helper is removal of the method argument now fixed by its canonical owner. All 44 recorded exceptional-retirement source pins still match; this remains source-qualified reuse, not a new merged-binary native execution.
The review's busy-peer guidance finding is corrected: placed-worker descriptions now state separately admitted ordinary peer turns, reply-wait timeout semantics and the narrow eligible zero-wait exception. The documentation correctly states that explicit followup retains a separate turn and reply. The three exact-paragraph routing assertions were removed as requested; behavioral routing/admission tests remain unchanged. The ten remaining description tests, scoped typed lint/format and fresh independent P0–P2 review pass. That guidance-only update did not close the completion-handoff native gap. The new exact-head captures below now cover the genuine completion-handoff native continuation and revoked-source rejection. Security-owner acceptance, optional-human reply-promotion and the separately recorded CI limitations remain open.
The new exact-head completion-handoff traces and browser comparison execute c3efd07, using source-declared official Codex 0.162.1 with no native/catalog/feature override. A genuine managed-child settle capability and retained canonical envelope select actual completion-handoff policy. The authorized human case has one native steer/ACK, one selected provider input and native echo, one saved human input/final and a normal final in the same completion turn. Independently revoking only the incoming device after original preparation blocks its native/provider/journal input while the original completion owner finishes normally. A cancelled admission receipt remains, with zero queued inputs at final readback; no later replay is claimed. Both raw audits pass, all four native processes exit zero/null after ordinary teardown, and complete one-row/all-18-column automation inventories remain unchanged. Scripted inference, requester-settlement/preparation scheduling holds, the initial yielding-parent interruption and the completion's new physical thread are disclosed in the linked receipt. No early-outbox-retirement, isolated automation commit guard, profile/model-policy or new optional-reply proof is claimed.
The off-page metadata repair is now separate #178839; its display-projection/current-incarnation scope is distinct from baseline title retention. The same comment records inspected controlled component browser evidence for that extracted UI repair: actual observed-descriptor/bounded-list owners and real Solid renderers receive an explicitly absent selected-row input. The exact same fixture records
New session/Workedwith only the two UI owners reverted to pre-repair e44, then passes exact title, duration and read-only metadata checks at c3. Full-app local baseline replays passed and are not represented as a failing-before reproduction. Inspected before/after images are now embedded in the linked evidence comment. Both hosted PNGs were downloaded and verified byte-identical to the original captures: before showsNew session/Worked; after showsSynthetic observed conversation/Worked for 3 minutes. The same controlled-component and historical-ordering qualifications remain.Recorded c3 CI also reports a Codex isolated-completion allowed-case deadline and Slack maintenance-scope / speech request-receipt failures. After fetching for the conflict repair, all seventeen inspected test/fixture/production owners also match the exact CI-tested base
4fd7cad3dcddfac0026d612842be23fafcc1342d. This is unchanged-base source attribution, not an executed base reproduction or cause: these failures remain unclassified, not declared unrelated or repaired. No timeout, assertion, retry, expected failure or CI gate was weakened. Security and maintainer decisions remain outstanding.The
0f78424994631408fbeed838bb7df25991d7ba40integration passes 76 affected UI tests across five files, the real-Chromium producer/renderer composition, core/UI production types, scoped typed lint/format and whitespace. Independent review found no actionable P0–P2 issue in the applied resolution. The new browser image is byte-identical to the inspected c3 after-capture. At that recorded0f784249946head, all 34 native completion-handoff source pins and 44 exceptional-retirement source pins matched. The native executions remain their recorded c3/e44 binaries: this is source-qualified reuse after integration, not a new merged-binary native run. The image-publication step is complete. Hosted CI for the recorded0f784249946head was still running with no failures in that earlier checked snapshot; the recorded older failures retain their cause-classification limits. Security-owner acceptance and maintainer decisions remain open.Revision-scoped runtime traces, compatibility receipts and earlier validation
Recorded mixed-cohort and CI repairs: The restore owner retains complete frozen batch identity while selecting a current owed representative, including after requester lookup. Exact standalone tests reproduce both missing reservations before repair. After integration, 52 recovery/dispatch/mailbox/Stop tests and 75 placement-owner/sibling tests pass across seven files; core production and owning test types, scoped lint/format, whitespace and independent P0–P2 reviews pass. The CI test uses the existing exact claim settler and preserves stale-finally fencing; it changes no product logic. Hosted CI remains the broad gate.
Recorded prior integration:
e44f11ece93e98d89ca46d03e3dee67052e82ac0, integrating the conflict-producing upstream42a73b62bb18abd0dc6b68fca0daf50f62331f79into1571f81c8568eb819450e78996950df69917ed58. The sole manual conflict preserves the injected abort spy through upstream's handle factory, keeping the no-abort regression meaningful. The extracted steering cases and durable source-recorder checks remain. Upstream's recovery read-only restrictions and replay-safety metadata are retained.77 affected tests across three files pass, with core production and owning agent-root test types, scoped typed lint/format, whitespace and independent review of the mechanical conflict resolution. The canonical private-QA runtime build passes at this exact revision. The build retains its UI gzip-size advisory; no budget was changed. The preceding 1571 integration's 111 checks retain their recorded revision. No new native/upgrade run or maintainer/security approval is claimed.
The separate public-package build, ordinary latest-stable upgrade and native human-steering trace below remain executions of
7ecc42f61a92bc58d5a097edf20bcf2c46c66b2c. Earlier queued-effect/native captures likewise retain their recorded revisions and limitations; they are not reruns of this integration. Inspectable aliased receipts and preserved qualifications remain in the existing evidence comment. That earlier integration checkpoint supplied no new queued-authority proof, owner approval or local deployment; the later e44 exceptional trace is recorded separately below.7ecc42f61a92checks tested merge6fb1184eb2daover basee1259a37e726. Production types fail on browser DOM/JSX ingress through an upstream Gateway test-support import chain; that helper and core project configuration match the tested base byte-for-byte. Compact shard 16 fails one long reply-tagged streaming threshold, 1197.260 ms against 1000 ms; its test, harness and stream implementation also match the tested base, and this PR does not change those streaming owners. These are source-attributed unchanged-base paths, not an executed reproduction on that CI base; the performance cause remains unestablished. Neither threshold nor type configuration was relaxed, and no workflow rerun was requested. The aggregate CI gate remains failed.7ecc42f61a9918d0793534Parameters-derived helper types while preserving the public execution-selection/queue adapter contract, current-caller reader, model-route refusal and binding. Upstream’s native-child independent-continuation selection is retained with inherited-authority/current-scope checks. Two equivalent option/type declarations are simplified without a new owner or lint exception. 109 authority/queue/accounting checks pass, followed by 7 targeted admission checks after the option cleanup; core and owning agent-session test types, final scoped typed lint/format and whitespace pass. Fresh independent P0–P2 review with complete authority-owner context found no actionable defect; the final factory-derived annotation is type-only. Hosted CI and current native behavior remain separate gates.7ecc42f61a9chat.sendreceived an actualturn/steerACK while the incumbent output item was unfinished. The provider consumed it once on the original thread/turn afterresponse.completed; a normal final, one canonical input and one native echo are correlated, with zero foreign-marker frames or forced turn interrupts. Both app servers exited zero/null after normal teardown SIGTERMs. Root independently audited original wire/journals/readbacks, full cleanup and pins; redacted receipt below. This does not prove peer mailbox parity or optional-reply promotion.c33ca7e8d7cthread/closedpreceded successor resume of that same physical thread/rollout while the other thread and original process remained active. The successor completed before the other response was released. All three normal finals persisted; both processes exited zero, with no native interrupt, forwarded signal or cleanup error. Root independently rechecked raw frames, source/fixture/binary hashes and readbacks. Existing production unload delay was zero; the global native 60-second default was not exercised. Native 0.163.0 override/source pin 0.162.1 and the earlier pre-native ESM setup failure remain disclosed. This is controlled lifecycle evidence, not public Gateway reconnect/authentication or native collaboration parent/child proof.6222f1e54299014549758f5c831c77681chat.sendreceived a native ACK in that same turn; the same accounting object strengthened its reply obligation afterward. One selected provider input, one journal echo, one canonical input and a visible saved human final were verified. The final contains two existing visible segments, not an exclusively human-only reply. Independent raw/pin audit passed; normal teardown forwarded SIGTERM after all native turns ended, and both processes exited zero with no terminating signal.5c831c776815c831c776815c831c77681sessions.reset. Reset preserved the session ID and changed its lifecycle revision; the exact queued run cancelled before native input or automation effects. Both complete cron rows stayed unchanged across all 18 columns. Root audited raw receipts and pins; both app servers exited zero after normal teardown SIGTERMs. The first collector’s incorrect session-ID expectation remains a failed attempt. Full redacted receipt and source-qualified standalone mapping. This is not a runtime test of the current merge head or isolated commit-stage denial.139939f81655c831c77681b579b5c49cab0d7186baf5b0d7186baf57ecc42f61a9bed06fcbbbacc466799185b045611a023a633a89, used agent-schema 25→31 migrations, session JSON/transcript codecs, selected history readers and model-reference normalizers that were byte-identical in that recorded comparison. That run preserved all 23 checked identity fields across two sessions and all six old transcript rows, and exercised the documented model-reference prefix migration. Root independently verified the 49-file comparison map. This supports those named persisted-data owners, not an upgrade of the complete consolidated binary. It does not cover state-schema 29 credential extraction, changed actor-append/outer-read/native-settlement orchestration, pending-wake recovery or active steering. The related catalog-v3 feature is absent here and is not transferred as evidence. Earlierb0d7186baf5same-state Doctor/14-RPC evidence separately exercised schema29, but did not prove migration of populated credentials or native binding recovery. The original Doctor warnings and unproven model/provider identifier equivalence remain qualified.7ecc42f61a9980116042b1Runtime captures use synthetic state and scripted local providers. Earlier native proofs explicitly use verified Codex 0.163.0 while leaving the source manifest at 0.162.1, with disclosed V2/non-lite QA metadata. The recorded 7ecc human control uses the source-declared 0.162.1 with no native/catalog/feature override. The recorded 7ecc packed ordinary upgrade also uses source-declared 0.162.1 without a native-version override, with the task-native isolation settings disclosed below. Native ACK alone is not credited as consumption: selected-turn provider input, journal echo, retained history and normal terminal are correlated. Peer runs may select a new physical native thread; human control retains the original turn.
Earlier wrong-model-ceiling, unsupported finite-policy route, field-expectation, import/observer and failed-collector attempts remain qualified in the evidence. The finite-policy route was correctly refused; no guard, authority source or backend result was replaced to make a capture pass. All prior proof is revision-scoped, including after newer upstream production changes.
Exact-revision ordinary stable upgrade
The ordinary latest-stable upgrade remains the recorded
7ecc42f61a92bc58d5a097edf20bcf2c46c66b2cexecution. A direct source comparison toe44f11ece93e98d89ca46d03e3dee67052e82ac0confirms all 18 actual source pins from its executed fixture are unchanged; its three generated build-metadata files are counted separately. The expanded storage/codec/Doctor map finds 81 unchanged files among 84 existing inspected owners. This supports reuse for the named session/transcript, agent-schema 31 migrations, native-binding readback, model-reference migration and unchanged Doctor orchestration—not a new full-binary upgrade run. Shared schema remains 29, but upstream added lazy sandbox persistence and changed a credential-migration verification step; those changed behaviors and populated credential variants are not proved by the earlier execution. The original warnings, failed attempt and protected-recovery/queued-authority limits remain.A complete packed
7ecc42f61a92bc58d5a097edf20bcf2c46c66b2ccore and Codex plugin passed an isolated, same-state upgrade from official 2026.10.5, using native 0.160.0 → source-declared 0.162.1 without a version override. Inference was scripted locally and all state was synthetic. The stable Gateway stopped before candidate Doctor performed the supported migration; plugin replacement and a second stopped Doctor followed.Eight actual configuration checkpoints preserve the checked settings with the documented model-reference prefix migration, complete configured provider object and scoped Codex runtime selection. They are not a claim that every config byte stays unchanged. Agent schema 25→31 and shared-state physical/effective schema 20→29 were verified. All 23 checked identity fields across two sessions and every old stored value in six transcript rows survived both Doctor stages and the fresh candidate turn; two new rows were appended. Prior histories retained their fields apart from the named
usage.contextUsageaddition.The candidate reused the stable-issued device credential and authenticated profile, retained the physical Gateway session, validated its common native binding and completed a correlated native final. Its single model POST carried native turn metadata; there were zero candidate host-utility POSTs. Native request, binding, journal, Gateway terminal and saved final correlate. The native physical thread rotated; no catalog-v3 feature is claimed. Proper task CA/server TLS and the unchanged exact proxy allowlist kept inference local; all 11 auxiliary connections were denied, with zero TLS errors. Launcher exit was zero, all four SDK clients closed, and Gateway/provider/state/workspace/private-key cleanup completed without timeout or forced kill. All 29 observed owned processes were absent.
Limits: The task-native configuration sets
respect_system_proxy,shell_snapshot,code_modeandcode_mode_onlyto false; this is not an unmodified-native-feature claim. Native model and provider identifiers differed; configured-route preservation does not prove their semantic equivalence or external-provider compatibility. Doctor completed while reporting failed original whole-state capture/schema inspection, local-archive provenance, checkpoint/resource-close and deprecation/listener warnings; Gateway stalls were also retained. The mandatory task-scoped migration backup custody is source-qualified through the real canonical Doctor and observed cutover; its backup bytes were not independently retained/reverified, and this is not a verified full-user backup. Individual native exit statuses were not instrumented.The first consolidated attempt remains failed: plugin installation correctly refused migration without backed-up Doctor custody. The passing sequence ran Doctor first without weakening that guard. Earlier donor fixture failures and their raw/config gaps remain retained. This ordinary single-owner upgrade does not prove protected receiptless recovery, finite-policy routing, populated credential variants, active authority changes or maintainer approval. It is not a live deployment.
The companion JSON contains allowlisted receipt values plus explicitly derived comparisons/counts, not a verbatim complete raw receipt. Raw identities, model names, credentials, endpoints, local paths and content hashes remain private.
Redacted 7ecc ordinary-upgrade receipt
{ "derivedSummaryWithAllowlistedReceiptValues": true, "candidateRevision": "7ecc42f61a92bc58d5a097edf20bcf2c46c66b2c", "stableRelease": "2026.10.5", "stableNativeVersion": "0.160.0", "candidateDeclaredNativeVersion": "0.162.1", "nativeVersionOverride": false, "syntheticOnly": true, "scriptedLocalInference": true, "externalInferenceForwarding": false, "sameStoppedStateUpgrade": true, "earlyCandidateDoctorBeforePluginReplacement": true, "postPluginDoctorCompleted": true, "originalConfigCheckpoints": 6, "addedCredentialDoctorCheckpoints": 2, "completeActualConfigCheckpoints": 8, "agentSchemaBefore": 25, "agentSchemaAfterEarlyDoctor": 31, "statePhysicalSchemaBefore": 20, "statePhysicalSchemaAfterEarlyDoctor": 29, "stateEffectiveContentVersionAfterEarlyDoctor": 29, "checkedStoredIdentityFields": 23, "checkedSessions": 2, "oldStoredTranscriptRowsPreserved": 6, "newStoredTranscriptRows": 2, "onlyNamedHistoryContextUsageAddition": true, "selectedSettingsPreservedWithDocumentedModelReferenceMigration": true, "completeConfiguredProviderObjectPreserved": true, "selectedCodexRuntimeRetained": true, "allConfigBytesUnchanged": false, "stableIssuedDeviceTokenReused": true, "sameAuthenticatedProfile": true, "samePhysicalGatewaySession": true, "commonNativeBindingReadbackValidated": true, "managedCatalogV3Present": false, "stableNativeMetadataRequests": 2, "candidateNativeMetadataRequests": 1, "candidateHostUtilityRequests": 0, "candidateNativeRequestBindingJournalTerminalAndNormalFinalCorrelated": true, "nativePhysicalThreadRotated": true, "nativeModelIdentifierUnchanged": false, "nativeProviderIdentifierUnchanged": false, "semanticNativeModelProviderEquivalenceProven": false, "properTaskCaAndServerLeaf": true, "permittedProxyConnections": 10, "auxiliaryProxyConnectionsDenied": 11, "allObservedAuxiliaryDestinationsDenied403": true, "tlsErrors": 0, "launcherExitCode": 0, "launcherTimedOut": false, "forcedProcessGroupKill": false, "sdkClientsClosed": 4, "observedOwnedProcessesConfirmedAbsent": 29, "cleanupErrors": 0, "taskStateWorkspaceAndTlsKeysRemoved": true, "individualNativeExitStatusesInstrumented": false, "originalWholeCaptureFailed": true, "doctorSchemaProvenanceCheckpointAndResourceCloseWarningsRetained": true, "doctorDeprecationListenerAndGatewayStallWarningsRetained": true, "scopedBackupCustodySourceQualified": true, "backupBytesIndependentlyVerified": false, "fullUserBackupProven": false, "failedConsolidatedAttemptRetained": true, "donorHistoricalFailuresRetained": true, "protectedReceiptlessRecoveryProven": false, "finiteModelPolicyProven": false, "authorityChangeProvenByThisCapture": false, "populatedCredentialVariantsProven": false, "liveDeploymentClaimed": false, "taskNativeRespectSystemProxy": false, "taskNativeShellSnapshot": false, "taskNativeCodeMode": false, "taskNativeCodeModeOnly": false, "unmodifiedNativeFeatureConfigurationClaimed": false }Recorded 7ecc human steering receipt
This is an isolated Gateway/public-RPC and real native app-server trace using synthetic input and scripted local inference. It asserts original-execution consumption and durable receipt, with no claim of earlier output preemption. Root independently rechecked the original receipts and all source/generated/fixture/native pins after cleanup.
Redacted 7ecc human receipt
{ "sourceRevision": "7ecc42f61a92bc58d5a097edf20bcf2c46c66b2c", "nativeVersion": "0.162.1", "nativeOverride": false, "syntheticOnly": true, "scriptedLocalProvider": true, "nativeAckWhileItemUnfinished": true, "consumedInOriginalNativeTurn": true, "providerConsumptionPhase": "after-response-completed", "foreignMarkerFrames": 0, "canonicalHumanInputs": 1, "nativeAttributedEchoes": 1, "normalFinalCorrelatedWithGatewayReceipt": true, "forcedTurnInterrupts": 0, "appServerProcesses": 2, "nativeExitsZeroWithNullExitSignal": 2, "teardownSIGTERMsAfterTargetNormalFinal": 2, "gatewayProviderStateAndBootstrapCleaned": true, "sourceRuntimeFixtureNativePinsRechecked": true, "optionalPromotionProven": false, "peerMailboxParityClaimed": false }The separate 7ecc queued-effect attempt remains failed and unqualified: it produced no native wire, and its proxy socket-bookkeeping and empty-wire qualification checks failed. Gateway/provider/launcher joins completed. A source investigation identified a fixture finite-model ceiling that differs from the QA owner’s remapped selected model; the actual initial terminal was not captured, so this is a correction proposal rather than an established runtime cause. It is not credited as successful 7ecc queued-effect evidence.
Recorded e44 exceptional queued authority
Two isolated Gateway/real native traces at
e44f11ece93e98d89ca46d03e3dee67052e82ac0now cover the previously unproved outer-exception lifetime. After actual scope binding, queued acceptance, predecessor cleanup and native execution start, a disclosed neutral outer delivery-observer exception reaches the unchanged production catch and canonical retirement. Raw and decoded reads confirm the whole old child row is absent before the actual native automation call. The allowed continuation removes only the selected disabled job, preserves every other stored column and finishes normally on the exact accepted run/session/native turn. The negative control canonically revokes the original device at the actual cron.get return gate after retirement; the exact accepted run is cancelled, its native tool receipt is aborted/unsuccessful, and both jobs remain identical across all 18 stored columns. All four observed native processes exit zero with null signals and task-owned cleanup completes. Root and independent raw/source audits pass. Full allowlisted evidence and qualifications.This is deliberately injected outer observation failure, not a natural public-RPC or healthy early-cleanup producer. The actual prepared policy is
current-request. Native 0.163.0 explicitly overrides manifest 0.162.1 for these synthetic/local-inference captures. Cancellation is recorded before effect-gate release, so this does not isolate the final cron commit guard. The failed inner-observer attempt instead retained pending custody; its cleanup-time mutation and lack of normal-final proof remain explicit. No authority, guard or delivery outcome was replaced, and no record was manually deleted. Profile/model-policy changes and the separate completion-handoff policy after retirement are outside these captures. Security-owner acceptance remains required.Remaining Work Before Merge
No operator Gateway or business session was restarted or changed for this split.