Repository navigation
feat(codex): correlate slow catalog waits with retained requests - #149616
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. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 10:51 PM ET / September 16, 2026, 02:51 UTC. ClawSweeper reviewWhat this changesAdds bounded diagnostic records that connect slow Codex session-list waits to their physical requests, including callers that join after an earlier caller times out. Merge readiness✅ Ready for maintainer review Keep open: the inspected main branch lacks this useful diagnostic correlation, and no actionable correctness or security defect was found. Maintainer-authored work also remains protected from automatic closure. Priority: P2 Review scores
Verification
How this fits togetherThe Codex plugin retrieves session catalog pages through its App Server client. This change connects request lifecycle observations to the existing slow-page logs used by operators. flowchart TD
A[Session catalog caller] --> B[Catalog page request]
B --> C{New request or joined waiter}
C --> D[App Server request attempt]
D --> E[Waiter and wire outcomes]
E --> F[Bounded page diagnostics]
F --> G[Slow-page warning]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +266, Tests +380, Docs +45. Total +691 across 9 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep request correlation with the existing attempt owner and publish bounded, content-free summaries through the existing page logger. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction: this adds observability. Source inspection confirms that main's existing phase logs lack the proposed waiter correlation. Is this the best way to solve the issue? Yes. Extending the existing request and page-diagnostics owners preserves request behavior and avoids a competing tracking system. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a76f27589c03. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…26.9.5) (#696) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/openclaw/openclaw](https://openclaw.ai) ([source](https://github.com/openclaw/openclaw)) | patch | `2026.9.4` → `2026.9.5` | --- ### Release Notes <details> <summary>openclaw/openclaw (ghcr.io/openclaw/openclaw)</summary> ### [`v2026.9.5`](https://github.com/openclaw/openclaw/releases/tag/v2026.9.5): openclaw 2026.9.5 [Compare Source](openclaw/openclaw@v2026.9.4...v2026.9.5) #### 2026.9.5 ##### Highlights - **Safer upgrades and retained history:** Doctor preserves session history and repeated-repair state, finishes upgrades with invalid retained histories, and avoids repeatedly stalling or stopping a Gateway that is still starting. ([#​149741](openclaw/openclaw#149741), [#​149956](openclaw/openclaw#149956), [#​148901](openclaw/openclaw#148901), [#​149308](openclaw/openclaw#149308), [#​149823](openclaw/openclaw#149823), [#​149760](openclaw/openclaw#149760)) Related [#​149822](openclaw/openclaw#149822) Thanks [@​masatohoshino](https://github.com/masatohoshino). - **Live plugin management:** install and reload supported plugins without restarting the Gateway, update tools in active agent and managed Codex conversations, and manage multiple plugins in one CLI command. ([#​145484](openclaw/openclaw#145484), [#​145710](openclaw/openclaw#145710), [#​145713](openclaw/openclaw#145713), [#​145648](openclaw/openclaw#145648), [#​145917](openclaw/openclaw#145917), [#​149910](openclaw/openclaw#149910)) Related [#​149909](openclaw/openclaw#149909) Thanks [@​obviyus](https://github.com/obviyus). - **Clearer multi-agent work:** distinguish execution from result delivery, use private parent completion handoffs, resume scoped session inventories, and deliver one answer for each steered input. ([#​147571](openclaw/openclaw#147571), [#​147206](openclaw/openclaw#147206), [#​150065](openclaw/openclaw#150065), [#​148051](openclaw/openclaw#148051), [#​149925](openclaw/openclaw#149925)) Related [#​27445](openclaw/openclaw#27445), [#​147955](openclaw/openclaw#147955) Thanks [@​good-warning](https://github.com/good-warning), [@​nicknmorty](https://github.com/nicknmorty), [@​obviyus](https://github.com/obviyus), [@​VACInc](https://github.com/VACInc), and [@​vincentkoc](https://github.com/vincentkoc). - **A desktop-first Systems workspace:** manage Gateway connections through web login and switch saved Gateways independently of Primary, with sidebar switching on iOS and Android. ([#​147519](openclaw/openclaw#147519), [#​148526](openclaw/openclaw#148526), [#​147684](openclaw/openclaw#147684), [#​146641](openclaw/openclaw#146641), [#​148209](openclaw/openclaw#148209)) Related [#​147217](openclaw/openclaw#147217), [#​147576](openclaw/openclaw#147576), [#​148205](openclaw/openclaw#148205) Thanks [@​IWhatsskill](https://github.com/IWhatsskill), [@​Solvely-Colin](https://github.com/Solvely-Colin), and [@​vincentkoc](https://github.com/vincentkoc). - **More flexible live voice:** use GPT Live across calls and meetings, choose account-specific Talk defaults, and change voices during an active Talk or Discord call. ([#​145382](openclaw/openclaw#145382), [#​146546](openclaw/openclaw#146546), [#​146676](openclaw/openclaw#146676)) Related [#​145071](openclaw/openclaw#145071). - **Citations and review in context:** preview cited sources in web and native chats, turn selected chat text into editable comments, reference selected Android review lines, and toggle word wrapping in Review. ([#​148431](openclaw/openclaw#148431), [#​148904](openclaw/openclaw#148904), [#​148906](openclaw/openclaw#148906), [#​148649](openclaw/openclaw#148649), [#​144101](openclaw/openclaw#144101), [#​143972](openclaw/openclaw#143972)) Related [#​144093](openclaw/openclaw#144093), [#​148409](openclaw/openclaw#148409) Thanks [@​ansxor](https://github.com/ansxor), [@​IWhatsskill](https://github.com/IWhatsskill), [@​Marvinthebored](https://github.com/Marvinthebored), [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@​shakkernerd](https://github.com/shakkernerd). - **Simpler model sign-in and selection:** align native sign-in with runtime choices, sign in without changing the model, choose across agent harnesses, and connect Radius models with browser sign-in and native streaming. ([#​143588](openclaw/openclaw#143588), [#​144329](openclaw/openclaw#144329), [#​147994](openclaw/openclaw#147994), [#​145377](openclaw/openclaw#145377)) Thanks [@​obviyus](https://github.com/obviyus). ##### Changes - **Conversation navigation:** native sidebars preview pending requests, while macOS, iOS, Android, and web chat can collapse completed work so replies and older history remain easier to read. ([#​149811](openclaw/openclaw#149811), [#​147540](openclaw/openclaw#147540), [#​148002](openclaw/openclaw#148002), [#​148050](openclaw/openclaw#148050), [#​147295](openclaw/openclaw#147295)) Related [#​147271](openclaw/openclaw#147271), [#​149682](openclaw/openclaw#149682) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Agent setup and teams:** start from role templates and a team preset, show every agent and its sessions in team mode, and use a roster-first Agents home. ([#​145712](openclaw/openclaw#145712), [#​141476](openclaw/openclaw#141476), [#​141097](openclaw/openclaw#141097)) Thanks [@​hannesrudolph](https://github.com/hannesrudolph). - **Group conversations:** coordinate bounded multi-agent group threads across channels and share selected sessions read-only with a paired team Gateway. ([#​141411](openclaw/openclaw#141411), [#​136253](openclaw/openclaw#136253)) - **Activity and run artifacts:** show rolling session recaps, Git changes and PR previews, and select assistant-delivered files by the run that produced them. ([#​147441](openclaw/openclaw#147441), [#​145530](openclaw/openclaw#145530), [#​147682](openclaw/openclaw#147682)) Related [#​145529](openclaw/openclaw#145529), [#​147383](openclaw/openclaw#147383) Thanks [@​onlyysaurabh](https://github.com/onlyysaurabh) and [@​vincentkoc](https://github.com/vincentkoc). - **Browser and dashboards:** download assets from the Browser sidebar, share browser dashboards with agents, embed websites in full-screen session dashboards, and save shared split/full-screen defaults. ([#​144480](openclaw/openclaw#144480), [#​146702](openclaw/openclaw#146702), [#​146312](openclaw/openclaw#146312), [#​146475](openclaw/openclaw#146475)) Related [#​144477](openclaw/openclaw#144477), [#​146303](openclaw/openclaw#146303), [#​146308](openclaw/openclaw#146308), [#​146577](openclaw/openclaw#146577) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Desktop interaction:** control Gateway desktops without a paired node, match virtual worker displays to their viewport, and watch live desktops in Picture-in-Picture. ([#​147275](openclaw/openclaw#147275), [#​143938](openclaw/openclaw#143938), [#​143836](openclaw/openclaw#143836)) Related [#​143829](openclaw/openclaw#143829), [#​147274](openclaw/openclaw#147274) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Remote workspaces:** start remote sessions without a repository, select repository-defined source checkouts, and reduce source storage through filesystem snapshots, APFS clones, and ReFS clones. ([#​147773](openclaw/openclaw#147773), [#​149581](openclaw/openclaw#149581), [#​146251](openclaw/openclaw#146251), [#​146338](openclaw/openclaw#146338), [#​146403](openclaw/openclaw#146403)) Related [#​146250](openclaw/openclaw#146250), [#​146288](openclaw/openclaw#146288), [#​149580](openclaw/openclaw#149580) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev) and [@​obviyus](https://github.com/obviyus). - **Code mode:** find MCP tools by task, reuse results between code cells, retain oversized results for later cells, and infer result shape from the requested action. ([#​147134](openclaw/openclaw#147134), [#​147154](openclaw/openclaw#147154), [#​147278](openclaw/openclaw#147278), [#​147291](openclaw/openclaw#147291)) - **Plugin state and background work:** offer asynchronous task/flow reads and worker-backed keyed and conditional state operations without removing the supported synchronous SDK paths. ([#​145851](openclaw/openclaw#145851), [#​146557](openclaw/openclaw#146557), [#​147891](openclaw/openclaw#147891)) - **Hot policy changes:** apply browser control policy, Telegram access/reply policy, and renewed TLS certificates without restarting their running services. ([#​146100](openclaw/openclaw#146100), [#​146129](openclaw/openclaw#146129), [#​146267](openclaw/openclaw#146267)) - **Model providers:** support OpenRouter sign-in from private chat, explicit consent before exposing restricted provider models, and opt-in stored HTTP continuation for compatible Responses endpoints. ([#​144491](openclaw/openclaw#144491), [#​144468](openclaw/openclaw#144468), [#​128633](openclaw/openclaw#128633)) Related [#​123215](openclaw/openclaw#123215) Thanks [@​hartmark](https://github.com/hartmark), [@​obviyus](https://github.com/obviyus), and [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Codex interaction:** answer asynchronous questions while other agent work continues, view usage beside saved logins, and expose slow or failed catalog phases with retained-request correlation. ([#​144664](openclaw/openclaw#144664), [#​132453](openclaw/openclaw#132453), [#​132454](openclaw/openclaw#132454), [#​148639](openclaw/openclaw#148639), [#​148735](openclaw/openclaw#148735), [#​149616](openclaw/openclaw#149616)) Related [#​144643](openclaw/openclaw#144643), [#​148629](openclaw/openclaw#148629), [#​148728](openclaw/openclaw#148728) Thanks [@​jesse-merhi](https://github.com/jesse-merhi). - **Daybreak fallback:** retry supported cyber-refused turns on Daybreak, surface cyber notices, and announce successful retries. ([#​143761](openclaw/openclaw#143761), [#​145291](openclaw/openclaw#145291), [#​147146](openclaw/openclaw#147146)) Thanks [@​VACInc](https://github.com/VACInc). - **Triage handoffs:** add Muse, Grok, Cursor, Kimi Code, and Qwen Code handoffs through the existing triage workflow. ([#​149703](openclaw/openclaw#149703), [#​149877](openclaw/openclaw#149877)) - **Automation history:** query and paginate run history from the CLI, show readable timer wake timestamps, and list matches when an automation name is ambiguous. ([#​141777](openclaw/openclaw#141777), [#​141742](openclaw/openclaw#141742), [#​150082](openclaw/openclaw#150082)) Related [#​58574](openclaw/openclaw#58574), [#​141745](openclaw/openclaw#141745) Thanks [@​Alix-007](https://github.com/Alix-007), [@​Celthi](https://github.com/Celthi), [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@​shakkernerd](https://github.com/shakkernerd). - **Structured channel questions:** answer an agent question directly from its offered Mattermost option or LINE tap. ([#​135350](openclaw/openclaw#135350), [#​133421](openclaw/openclaw#133421)) Related [#​133288](openclaw/openclaw#133288), [#​133418](openclaw/openclaw#133418) Thanks [@​edenfunf](https://github.com/edenfunf) and [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Chat composition and files:** keep drafting while history loads, offer emoji shortcodes, retain file previews in tabs with HTML rendering, and display image attachments inline in the TUI. ([#​143625](openclaw/openclaw#143625), [#​146737](openclaw/openclaw#146737), [#​146672](openclaw/openclaw#146672), [#​146644](openclaw/openclaw#146644)) Related [#​143607](openclaw/openclaw#143607), [#​146590](openclaw/openclaw#146590), [#​146610](openclaw/openclaw#146610), [#​146655](openclaw/openclaw#146655) Thanks [@​VACInc](https://github.com/VACInc), [@​vincentkoc](https://github.com/vincentkoc), and [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Review and workboards:** inspect CI jobs and steps from PR chips and select or update multiple workboard cards together. ([#​148070](openclaw/openclaw#148070), [#​144756](openclaw/openclaw#144756)) Related [#​147952](openclaw/openclaw#147952) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Personalization:** choose an avatar during agent hatching, use custom SVG session icons, and distinguish plugin activity with compact icons. ([#​146669](openclaw/openclaw#146669), [#​147442](openclaw/openclaw#147442), [#​147333](openclaw/openclaw#147333), [#​143711](openclaw/openclaw#143711)) Related [#​143683](openclaw/openclaw#143683) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Gateway visibility:** show ping and shared activity graphs, a browser-tab status dot, and compact System busyness widgets with all three metrics. ([#​146755](openclaw/openclaw#146755), [#​147388](openclaw/openclaw#147388), [#​147760](openclaw/openclaw#147760), [#​147840](openclaw/openclaw#147840)) Related [#​147343](openclaw/openclaw#147343), [#​147757](openclaw/openclaw#147757), [#​147829](openclaw/openclaw#147829) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Native desktop layout:** unify Tauri setup, Quick Chat themes, title bars, and window controls; the macOS app defaults to the web experience while retaining its experimental native experience. ([#​148808](openclaw/openclaw#148808), [#​147097](openclaw/openclaw#147097), [#​149763](openclaw/openclaw#149763)) Related [#​147096](openclaw/openclaw#147096). - **Diagnostics:** report when the runtime was built from a different commit than HEAD, expose administrative CPU profiles, and inspect native FreeBSD rc.d service discovery. ([#​144499](openclaw/openclaw#144499), [#​148004](openclaw/openclaw#148004), [#​148875](openclaw/openclaw#148875)) Related [#​148003](openclaw/openclaw#148003) Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​vincentkoc](https://github.com/vincentkoc). - **Provider and channel configuration:** expose official channel labels/docs in JSON listings, allow a Discord API URL override, and show comparative cost analysis in the Control UI. ([#​93265](openclaw/openclaw#93265), [#​118067](openclaw/openclaw#118067), [#​100432](openclaw/openclaw#100432)) Related [#​100405](openclaw/openclaw#100405) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev), [@​obviyus](https://github.com/obviyus), and [@​RomneyDa](https://github.com/RomneyDa). - **Execution options:** configure approval-reviewer thinking and fast mode, and default parallel-session capacity to four runs per available CPU. ([#​147192](openclaw/openclaw#147192), [#​147423](openclaw/openclaw#147423)) Thanks [@​VACInc](https://github.com/VACInc). - **Plugin SDK migration — Gateway V2:** the existing Gateway handler and node-session imports now expose physical WebSocket, generic framed, and HTTP polling capabilities honestly. Before WebSocket-only operations, narrow `node.client.webSocket`; narrow `node.client.socket` separately for framed operations. Polling nodes remain visible, and the node wire protocol is unchanged. Migration details: `/plugins/sdk-migration/compatibility-policy#gateway-node-transport-sdk-v2`. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). ##### Fixes - **Identity and authorization:** stop inferring forwarded sender identity from message text, stop MiniMax token requests after chat-login permission is revoked, and preserve attachments whose content types use prototype-like names. ([#​138579](openclaw/openclaw#138579), [#​149140](openclaw/openclaw#149140), [#​143673](openclaw/openclaw#143673)) Related [#​149139](openclaw/openclaw#149139) Thanks [@​LiuwqGit](https://github.com/LiuwqGit), [@​masatohoshino](https://github.com/masatohoshino), [@​obviyus](https://github.com/obviyus), and [@​xialonglee](https://github.com/xialonglee). - **Transcript and session ownership:** prevent stale companion/cloud transcript writes, preserve context and ownership across compaction, and track new sessions before their first transcript write. ([#​149997](openclaw/openclaw#149997), [#​149840](openclaw/openclaw#149840), [#​149712](openclaw/openclaw#149712)) - **Final replies and completed work:** retain completed tool receipts through text-only finalization and empty-answer retries without repeating completed actions or recording internal continuation prompts as new user messages. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Large-history responsiveness:** keep large session detail and chat metadata reads responsive, avoid blocking the Gateway during memory index publication, and reduce retention work and startup/Doctor memory pressure. ([#​149749](openclaw/openclaw#149749), [#​149853](openclaw/openclaw#149853), [#​149901](openclaw/openclaw#149901), [#​149754](openclaw/openclaw#149754), [#​149704](openclaw/openclaw#149704)) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev). - **Update and Doctor recovery:** preserve shared WAL after a refused restore, unblock shared-state repair for July upgrades, and avoid false pending migrations for bundled runtimes. ([#​149918](openclaw/openclaw#149918), [#​149753](openclaw/openclaw#149753), [#​149653](openclaw/openclaw#149653)) Thanks [@​obviyus](https://github.com/obviyus). - **Service upgrades:** preserve Gateway authentication when reinstalling legacy services and avoid timing out systemd restart inspection. ([#​149686](openclaw/openclaw#149686), [#​149970](openclaw/openclaw#149970)) - **Managed-service updates:** fix service environment refresh failures when upgrading from 2026.9.4 to 2026.9.5 with `openclaw update`. ([#​151977](openclaw/openclaw#151977)) - **Subagent continuation:** inherit the active model at spawn, enforce fork limits against current context, and resume tasks after output-limited tool calls. ([#​149036](openclaw/openclaw#149036), [#​149666](openclaw/openclaw#149666), [#​149844](openclaw/openclaw#149844)) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Channel shutdown:** finish accepted Telegram work, Discord introductions, and deferred Slack replay before shutdown, while preserving Telegram spool settlement ownership. ([#​150080](openclaw/openclaw#150080), [#​150072](openclaw/openclaw#150072), [#​150073](openclaw/openclaw#150073), [#​149953](openclaw/openclaw#149953)) Thanks [@​obviyus](https://github.com/obviyus). - **Channel startup and routing:** avoid blocking Discord startup on persisted bindings and allow cross-provider messaging by default. ([#​149861](openclaw/openclaw#149861), [#​149875](openclaw/openclaw#149875)) - **Plugin reloads:** reuse the published inbound registry and bundled setup code, keep Lossless usable after settings reload, and validate source reloads under Bun. ([#​149648](openclaw/openclaw#149648), [#​149646](openclaw/openclaw#149646), [#​149675](openclaw/openclaw#149675), [#​150088](openclaw/openclaw#150088)) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Provider execution:** retain disabled-plugin CLI backend capabilities during inspection, reject incomplete compatible reply streams, and preserve the configured transport during authentication refresh. ([#​149837](openclaw/openclaw#149837), [#​149842](openclaw/openclaw#149842), [#​150003](openclaw/openclaw#150003)) Related [#​149854](openclaw/openclaw#149854), [#​149855](openclaw/openclaw#149855) Thanks [@​obviyus](https://github.com/obviyus), [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt), and [@​SunnyShu0925](https://github.com/SunnyShu0925). - **Codex startup and catalogs:** prevent service refresh from repeatedly aborting startup, bound catalog memory while retaining tied rows, and avoid repeated scans across multiple homes. ([#​149365](openclaw/openclaw#149365), [#​150112](openclaw/openclaw#150112), [#​149879](openclaw/openclaw#149879)) Thanks [@​bdjben](https://github.com/bdjben) and [@​obviyus](https://github.com/obviyus). - **Automation correctness:** prevent extra event-schedule runs, reject ambiguous exact-name lookups, and keep selected automation history and edits attached to the intended task. ([#​149902](openclaw/openclaw#149902), [#​149958](openclaw/openclaw#149958), [#​149955](openclaw/openclaw#149955), [#​150129](openclaw/openclaw#150129)) Thanks [@​Alix-007](https://github.com/Alix-007). - **Session navigation:** retain archive confirmation after leaving Sessions, preserve pagination when switching agents during deletion, and keep newer selections when older mutations finish. ([#​150108](openclaw/openclaw#150108), [#​150125](openclaw/openclaw#150125), [#​149959](openclaw/openclaw#149959)) - **Chat state:** keep your own messages right-aligned through refresh and reconnect, and clear resolved queued-message reorder conflicts. ([#​147634](openclaw/openclaw#147634), [#​149962](openclaw/openclaw#149962)) Related [#​147511](openclaw/openclaw#147511) Thanks [@​keith9681](https://github.com/keith9681), [@​obviyus](https://github.com/obviyus), and [@​SunnyShu0925](https://github.com/SunnyShu0925). - **Files and selection:** keep workspace files readable, preserve Files selection during directory refreshes, retain parent navigation for unavailable folders, and preserve model searches during text composition. ([#​149499](openclaw/openclaw#149499), [#​149900](openclaw/openclaw#149900), [#​150118](openclaw/openclaw#150118), [#​149845](openclaw/openclaw#149845)) - **Windows paths and credentials:** preserve state roots during database admission and worker startup, retain credential reads, and read exact configuration filenames containing whitespace. ([#​149976](openclaw/openclaw#149976), [#​150035](openclaw/openclaw#150035), [#​149124](openclaw/openclaw#149124), [#​149629](openclaw/openclaw#149629)) Related [#​149630](openclaw/openclaw#149630) Thanks [@​obviyus](https://github.com/obviyus) and [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt). - **Workspace safety:** keep file tools aligned with overlapping sandbox mounts and preserve work through worktree creation and cleanup races. ([#​148893](https://github.com/openclaw/openclaw/issues/148893), [#​149914](https://github.com/openclaw/openclaw/issues/149914)) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Legacy updater handoffs:** keep the Node runner resolver independent of candidate runtime imports, complete changed-plugin Doctor work through the correct parent/child owner, and inspect copied Doctor contracts in private rehearsals while leaving live installation paths protected. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Plugin SDK authoring:** retain released boolean memory-search `enabled` values and undefined per-channel `responseUsage` entries without changing runtime resolution or persisted configuration schemas. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Shipped SDK compatibility:** preserve full-config and readonly roster inputs, versioned legacy model-selection authoring, Discord component registration's `void` return, and Gateway plugin metadata notifications through their existing lifecycle and restart owners. The deprecated model-policy `allowsKey` member remains source-only and is never used for authorization; asynchronous completion and errors remain owned after a void call returns. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). ##### Complete contribution record The full contribution record is available in the tag-pinned [CHANGELOG.md](https://github.com/openclaw/openclaw/blob/v2026.9.5/CHANGELOG/records/2026.9.5.md#complete-contribution-record). ##### Release verification - npm package: <https://www.npmjs.com/package/openclaw/v/2026.9.5> - registry tarball: <https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz> - integrity: `sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==` - release SHA: `ec9c1a13db8938e5a3eaa51fca2e981cde2395a9` - full release CI report: <https://github.com/openclaw/releases/blob/main/evidence/2026.9.5/release-evidence.md> - release publish: <https://github.com/openclaw/openclaw/actions/runs/35414217443> - npm preflight: <https://github.com/openclaw/openclaw/actions/runs/35382454474> - full release validation: <https://github.com/openclaw/openclaw/actions/runs/35381634370> - plugin npm publish: <https://github.com/openclaw/openclaw/actions/runs/35414496234> - plugin ClawHub submission: <https://github.com/openclaw/openclaw/actions/runs/35414501298>; public artifact verification follows successful release-parent completion - plugin ClawHub bootstrap: dispatched separately, not awaited by this proof: <https://github.com/openclaw/openclaw/actions/runs/35414503229> - Stable soak waived by operator: "Operator-approved by Peter for 2026.9.5: soak-only live/E2E lanes blocked by infrastructure and main-owned fixture failures; non-soak Full Release Validation [`3538163`](openclaw/openclaw@35381634370) attempt 2 green; 9.4 to 9.5 update proven on systemd-service and plain installs." - npm Telegram beta E2E: not supplied - Android APK: skipped — apps/android/version.json is 2026.8.2, release train is 2026.9.5; run the shared mobile cutter (scripts/mobile-release-version.ts --prepare) before the next tag. </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/696
* refactor(gateway): simplify diagnostic state and internal metadata paths Consolidate worker catalog loading and remove duplicate internal copies, metadata reconstruction, cleanup, and speculative diagnostic ordering machinery. Keep authentication, live effect authority, persisted shapes, shutdown write settlement, bounded caches, and terminal admission/spawn limits. Best-effort tradeoffs accepted Provenance below identifies synthetic/speculative introduction evidence, not a linked human actual-use incident. Security, durability and real resource limits remain independently protected. - Health publication generations (#116681, synthetic overlap reproduction): overlapping passive/probe samples now publish in completion order; next refresh replaces stale diagnostics. Separate probe work and public/admin audiences stay. - Observer request generations (#112958, structured-review race): an A-B-A model change during one in-flight digest can accept that digest; cancellation, current session/model checks and disclosure authorization remain. - GitHub target early registry invalidation (#167189, synthetic invalidation test): discovery may be stale for its existing 15-second TTL; publication verifies Git afresh and cached reads still check current connection/source authority. - Automation badge build epochs (#104730, structured review): latest completed service start supplies display facts; scheduling and stale-owner unregister stay. - Terminal victim claim/release protocol (#116101, synthetic autoreview interleavings): reserve pooled free+idle capacity instead, then select the actual unviewed idle victim at registration. Newly viewed victims survive; a replacement without an eligible victim fails and kills its backend. Both hard limits remain. - Launch JSON snapshot/revalidation (#123033, synthetic caller mutation): trust the tunnel-owned prepared descriptor; a caller violating ownership can mutate it. Negotiated options still use a shallow copy and node input validation remains. - Worker catalog output copies (#142095, schema mirrors) and display settings clone: trust closed-schema-validated, documented process-stable metadata and internally owned settings. A future provider violating that contract can mutate cosmetic metadata or miss notifications until a later row/config refresh or restart; live allocation validation remains. - Artifact descriptor freezing/refreezing (#163446, immutable-result assertion): readonly types govern internal consumers; an internal type-contract violation can mutate shared metadata. Archive verification and worker-close ordering stay. - Post-fetch CI summary reread (#160108, synthetic identity review): exact selected head diagnostics may finish while the PR summary refreshes; UI selected-head matching, upstream identity and live disclosure/credential checks remain. - Startup-log generation switching (#141736/#126627, synthetic supersession behind startup admission): a queued boot log may describe boot rather than replacement facts. Plugin attachment, trust enforcement and service ownership stay current. - Hook replay promise/object identity checks (#139155): private writers cannot replace or prune pending/active entries. If a future writer breaks that invariant, completion may overwrite it; current idempotency, terminal TTL/LRU and auth stay. - Boxed-primitive JSON coercion probes (#158572, synthetic boxed-value cases): ordinary tool payloads retain measured early budget rejection. Exotic boxed strings may serialize before rejection by the unchanged final exact byte cap; native JSON owns their coercion instead of custom per-value probes. Model detail reads use the exact configured inventory already built in the same synchronous request frame instead of resolving agent membership a second time (#114388/#159177). Syntax, authentication, read scope and exact membership stay. GitHub publication keeps its covering finally release instead of releasing twice. The attempted prepared-workspace cache substitution was dropped: ordinary late ACK publications can hide live authority while durable staged facts still exist. Phase E standalone session memory and its tests are untouched. BELOW-500 lane packet for coordinator bundling; no standalone PR. Net production LOC: 217 removed (109 added / 326 removed, 20 files). Net test LOC: 114 removed. Three-day and fourteen-day history inspection plus largest-first owner sweeps exhausted sound candidates; rejected cuts stay out. Local proof - Full core production types and all four Gateway test-type graphs passed. - Runtime value cycles: 0. Madge cycles: 0; no import edge added afterward. - Changed-file format, diff checks, targeted production/test lint passed after correcting the terminal selector to toSorted. No new suppression. - Lint-suppressions: 3 tests passed on the settled source. - Startup post-attach owner: 88 tests passed in the final isolated run. - Focused runs reported passing terminal lifecycle/eviction/detach, health, hook fanout, catalog/launch/validation/bootstrap, PR details, automation/cron, chat state, observers, real models HTTP e2e, publication database/provisioning/ availability and GitHub read/target-discovery cases. The aggregate selections were intentionally stopped, so this is not a full-suite pass claim. - Independent review completed. Two final findings were declined with source evidence: the retained unconditional finally releases the sole publication acquisition, and closed metadata schemas still reject unknown properties. Proof gaps - server.hooks.test.ts / handles auth, wake, and agent flows timed out at 120000ms during Gateway startup (207133ms reported elapsed). Its requests have no idempotency key and bypass the removed replay checks, but no conclusive head-vs-main attribution was established. Later successful Gateway startups are not a claimed repair. No retry, timeout increase, skip, or weaker assertion. - Expanded local selections were stopped rather than running more unchanged guest/integration variants on the loaded host. Bundle CI remains broad proof. - Full check-changed was stopped during the broad SQLite inventory. Preceding conflict/line/assertion ratchets passed; env-var budget 455 vs 454 failed and reproduced on the untouched base index. No budget was changed. This is base evidence, not current-main CI attribution. - No qualified before/after timing comparison or performance claim. No hosted PR CI exists for this branch-only lane packet. * refactor(gateway): consolidate MCP schemas and Talk target ownership Use Node's maintained deep comparator for MCP JSON schemas and remove defensive throwing-getter readers plus their synthetic-only fixture. Keep schema input validation, advertised-schema invocation membership, normalization, top-level copies and the equal-schema warning/deduplication behavior from human issue #98437. Inline Talk's sole-caller storage resolver and forwarding assertion adapter. All four callers still assert the exact prepared target at the original effect. Trust Rastermill's dimension fitting instead of rechecking encoder output; retain input limits and the byte-limit check/error. Drop the optional initial metadata catch-up event version fence; retain actual model readiness and runtime authority. Best-effort tradeoffs accepted - Throwing in-process tool metadata getters/spread (#88410, 705bdce): the introducing PR explicitly used synthetic fuzzplugin/mockplugin fixtures, not a live client report. A broken plugin getter now fails the request clearly rather than silently omitting that tool. Security and schema shape checks stay. - Exotic non-JSON schema objects: the custom comparator from #103171 now uses isDeepStrictEqual with skipPrototype. Valid JSON schema equivalence, including insertion order, stays; symbol-bearing or exotic JS objects may warn differently. Preserve the real issue #98437 warning reduction and process-lifetime dedupe. - Encoder output dimension recheck (#169449, 8db1c35): the introducing cutover explicitly made Rastermill own fitting, confirmed in its implementation. A future encoder contract bug can produce an oversized-dimension image; repair that owner rather than validate its output again in Gateway. Input/byte bounds stay. - Initial chat metadata catch-up versions (#123433, f3db7fe): synthetic restart/Testbox provenance without a linked human incident. Overlapping initial catch-up and model invalidation can briefly mark display availability and cause an optional refresh warning; the next publication converges. Current model readiness, runtime authority/failure handling and write settlement stay. Second-pass production reduction: 127 LOC; cumulative lane reduction: 344 LOC. Phase E standalone memory backend, machinery and tests are untouched. Same branch, no conflict/rebase, no PR at the below-500 ending threshold. Provenance #88410 #103171 #98437 #169449 #123433 #169622 Proof - Fresh full core production types, targeted core type-aware lint, formatter and diff checks passed. Changed-check classification completed. - Fresh runtime cycles: 0; Madge cycles: 0; no new component. - Fresh four-file selection passed 70 tests across lint-suppressions (3), Talk voice (20), chat metadata (20) and Talk target (27); all kept tests unchanged. Loaded-host wall time: 1711.09s including cold preparation; no before/after performance claim. - Independent review completed scoped-clean P0-P2; no actionable findings. - Final MCP schema/image selection passed all 5 chosen cases in 269.92s wall: union/prototype properties, malformed/boolean variants, literal constraints, real HTTP equal-schema warning dedupe, and orientation-aware resized delivery. The name filter left 96 unrelated cases unrun; no test skips were added. - Initial root-config lint failed before linting while unrelated plugin SDK declarations timed out at 300000ms. Correct source-backed core-config routing passed without skipping preparation or increasing any timeout. Earlier packet gaps remain: server.hooks.test.ts timed out during Gateway startup without conclusive head-vs-main attribution; a later successful startup is not a claimed repair. Earlier expanded local selections and full check-changed were stopped under load. The earlier env-var budget failure reproduced on its untouched base, not current-main CI. No timeout increase, retry, skip, assertion weakening, or baseline change was used. Full Gateway/integration proof belongs to bundle CI. No standalone PR or hosted CI for this below-500 lane packet. Detailed coverage, provenance, rejected candidates and proof are retained in .local/y06-ledger.md. * refactor(codex): simplify transport and catalog bookkeeping Remove malformed JSON reconstruction and its continuation-only bookkeeping, redundant config copies, post-write rereads and duplicate internal checks. Reuse the existing final-config hook builder. Preserve valid JSON framing, external input validation, redaction, live effect authority, resource bounds, normal concurrent sessions, persisted shapes and write settlement. Best-effort tradeoffs accepted - Raw LF inside JSON strings is no longer reconstructed. Direct commit 6fd35f6 and follow-ups #101221, #151399 and #162559 use synthetic malformed frames, not a cited human incident. Such frames warn/drop; later valid frames continue. A missing RPC reply can reach the existing request timeout. This also removes the recovery-only pending-route and per-request row-budget snapshots. - Unsupported in-place mutation of published config/start objects may become visible to a request. Ordinary reload replaces the config object. #162912 fixed human heap-OOM #162802 by sharing clones; removing copying preserves that allocation protection without another snapshot cache. - A node finalization commit followed by a rejected promise now surfaces the error. #106927's lost-receipt path was synthetic, with no cited human incident. The durable binding stays installed; next Continue retries the same deterministic session. Same-session/home/harness write checks stay. - Invalid numeric waiter facts from a trusted internal producer are no longer discarded by redundant diagnostics validation. #149616 supplied synthetic correlation proof, not a human incident. Egress string allowlists and all resource bounds remain; catalog results are unaffected. - An unsupported offline writer changing a row immediately after successful CAS/ownership recording is no longer caught by another reread. #168479, #166575 and #170511 supplied synthetic migration machinery, not a cited competing-writer human report. CAS conflicts, initial/post-register checks, leases and retained-sidecar recovery stay. Next migration reconciles it. - An impossible-on-wire cyclic/BigInt tool value now throws rather than silently omitting output. #70966/#107680 cite no human serialization incident; protocol payloads are JSON values and local records use those values/primitives. Network validation remains at the transport boundary. - Already-validated binding hashes are not parsed again after normalization (#164197/283d5e6fe37). Initial persisted-input validation and the human fingerprint-overflow fix #104503 remain intact. - The bootstrap decision no longer accepts a duplicate projection input (a4c2e7f): its only production caller already puts the same projection into expectedBinding, whose canonical comparator checks it. No separate recoverable scenario or public reason contract is lost. Sibling Codex source contract inspected: codex-rs/app-server-transport/src/transport/mod.rs:272-284 uses serde_json::to_string; transport/stdio.rs:82-96 writes those serialized bytes. codex-rs/app-server-protocol/src/protocol/v2/item.rs:333-352 and v2/mcp.rs:208-224 define JSON MCP results and string errors. Net production reduction: 249 lines (+97/-346), excluding tests, fixtures, test support, generated files and declarations. Phase E memory is untouched. Detailed scope/provenance coverage remains in the requested .local/y12 ledgers. Proof so far: independent P0-P2 review scoped-clean, targeted source-graph typecheck exit 0, runtime value cycles 0, lint-suppressions 3/3, oxfmt and git diff --check pass. Post-review edits only remove an unused test import and mechanically migrate one remaining decoder spy without weakening its assertion. Focused tests, canonical typed lint and static cycles remain pending; this is not an all-green or merged claim. Package SDK declaration preparation timed out under load and the selector dry-run exited SIGILL. Out-of-lane coordinator follow-up: docs/plugins/codex-harness.md:67-69 still describes incomplete-frame recovery. Replace that description with malformed frames producing a redacted diagnostic and being dropped while subsequent valid frames continue normally. * refactor(codex): remove duplicate approval and projection machinery Use the standard deep comparator at the existing approval rewrite-denial boundary, trust the typed host approval result, reuse collected assistant fallbacks and prepared catalog connection options, remove redundant internal metadata copies and normalized agent-directory fallback, and inline the sole account-usage registrar while retaining lazy loading and administrator scope. Forward optional release arguments once without changing ownership/settlement. The first focused run exposed cursor retargeting after cache removal. Retain the existing regression test and carry the resident's captured requestOptions to every hydration page. Published config can be edited in place; the original commit's blanket immutable-config description was too strong. No cloning or global snapshot cache is restored. Best-effort tradeoffs accepted - A typed host approval result with a getter/proxy decision can now throw or be read normally, rather than receive descriptor inspection. #70751 added synthetic defenses, not a cited human incident. The production host returns authenticated Gateway JSON. Null-unavailable, cancellation and two-phase decision settlement remain unchanged. - Non-JSON hook replacements may be conservatively denied by deep comparison rather than canonical JSON text. #82496 protects a real rewrite-denial boundary, which remains; the private recursive serializer is not a contract. - Internal cached session metadata is returned without defensive cloning. #134660 introduced the copies without a metadata-mutation human incident; #164197 moved them unchanged. The sole parser only reads metadata and still clones exposed tool input schemas. A future mutating internal consumer must own its copy instead of requiring every read to clone the full object. - The agent directory no longer has a second fallback after connection setup already resolved it (#120366, owner split #151753). Invalid hand-constructed internal runtime objects are unsupported; production always supplies it. Catalog hydration retains source.assertCurrent before using captured connection options: WebSocket start options may contain credentials. Source authority is not an accepted best-effort tradeoff. Opaque cursors still stay with their selected home's prepared connection options. Exact sibling Codex contract personally inspected at 8f38d5a877da8c5c2c0b5158e72bb5f2290a3157: codex-rs/app-server-transport/src/transport/mod.rs:272-282 serializes every outgoing message with serde_json::to_string. transport/stdio.rs:136-143 only adds the LF delimiter, and :87-93 writes those serialized bytes directly. transport/websocket.rs:313-320 sends the same serializer result unchanged. This confirms the earlier malformed raw-LF reconstruction removal; external JSON parsing, warn/drop diagnostics and subsequent valid frames remain. Branch total: 330 net production LOC removed (+125/-455), excluding tests, fixtures, test support, generated files and declarations. Phase E memory, inactive foundations, public contracts, live authority, resource limits and write settlement remain untouched. Detailed requested coverage/provenance is in the task-local y12 ledgers. Proof: the 30-suite focused run passed 533 cases and failed one unchanged native-hook fallback case at its existing five-second execution budget. A failed-case-only replay hit the same deadline (95s case wall time under load). No main-side test replay establishes attribution; do not call it main-red or claim fully green focused proof. Retained cursor regression passed 9/9; lint-suppressions passed 3/3. Expanded lint's 20 SDK-resolution diagnostics all reproduce on independently installed pinned main 7878a57 with matching unprepared SDK artifacts (0 introduced, 0 unknown); this is not main CI proof. Independent final-input review's only finding incorrectly requires a boolean third deep-comparison argument. Pinned @types/node 26.6.4 explicitly declares the options object, and isolated Node 26.5 confirms skipPrototype:true behavior. Reject that finding on source/runtime evidence, not with a cast or suppression. Earlier full-candidate review's sole index-only cursor finding was resolved by staging the repair. No remaining accepted actionable finding. Canonical Madge and SDK-artifact lint preparation remain unproven after prior load-limited attempts; changed-selector preparation failed with native SIGILL. Runtime value cycles are zero. The only new import edge is a Node builtin; account registration contracts index-to-registrar-to-runtime to index-to-runtime. Final-source catalog proof: 25/25 pass, including obsolete-source list/pin rejection and cursor affinity. Final targeted source-backed typecheck exits0, including the exact comparison call questioned by review. Format and diff checks pass. No public SDK export, schema, protocol, dependency, permission, durability or retention change. Below500 branch-only handoff; no PR or merge. * docs: align Codex framing and worktree cache behavior * fix: preserve MCP schema filtering and release assertions Retain filtering of unreadable parameter schemas before MCP automation authority capture. Align three Codex sibling assertions with forwarded optional release arguments while preserving their target, count, and lifecycle contracts.
* test(ui): migrate message and pane fixtures to Solid * test(ui): mount queue and prediction fixtures with Solid * test(ui): provide application context to native chat goal fixtures * test(ui): report packaged Workboard startup failures * refactor: deslop gateway and Codex extension (wave-5 bundle D) (#173092) * refactor(gateway): simplify diagnostic state and internal metadata paths Consolidate worker catalog loading and remove duplicate internal copies, metadata reconstruction, cleanup, and speculative diagnostic ordering machinery. Keep authentication, live effect authority, persisted shapes, shutdown write settlement, bounded caches, and terminal admission/spawn limits. Best-effort tradeoffs accepted Provenance below identifies synthetic/speculative introduction evidence, not a linked human actual-use incident. Security, durability and real resource limits remain independently protected. - Health publication generations (#116681, synthetic overlap reproduction): overlapping passive/probe samples now publish in completion order; next refresh replaces stale diagnostics. Separate probe work and public/admin audiences stay. - Observer request generations (#112958, structured-review race): an A-B-A model change during one in-flight digest can accept that digest; cancellation, current session/model checks and disclosure authorization remain. - GitHub target early registry invalidation (#167189, synthetic invalidation test): discovery may be stale for its existing 15-second TTL; publication verifies Git afresh and cached reads still check current connection/source authority. - Automation badge build epochs (#104730, structured review): latest completed service start supplies display facts; scheduling and stale-owner unregister stay. - Terminal victim claim/release protocol (#116101, synthetic autoreview interleavings): reserve pooled free+idle capacity instead, then select the actual unviewed idle victim at registration. Newly viewed victims survive; a replacement without an eligible victim fails and kills its backend. Both hard limits remain. - Launch JSON snapshot/revalidation (#123033, synthetic caller mutation): trust the tunnel-owned prepared descriptor; a caller violating ownership can mutate it. Negotiated options still use a shallow copy and node input validation remains. - Worker catalog output copies (#142095, schema mirrors) and display settings clone: trust closed-schema-validated, documented process-stable metadata and internally owned settings. A future provider violating that contract can mutate cosmetic metadata or miss notifications until a later row/config refresh or restart; live allocation validation remains. - Artifact descriptor freezing/refreezing (#163446, immutable-result assertion): readonly types govern internal consumers; an internal type-contract violation can mutate shared metadata. Archive verification and worker-close ordering stay. - Post-fetch CI summary reread (#160108, synthetic identity review): exact selected head diagnostics may finish while the PR summary refreshes; UI selected-head matching, upstream identity and live disclosure/credential checks remain. - Startup-log generation switching (#141736/#126627, synthetic supersession behind startup admission): a queued boot log may describe boot rather than replacement facts. Plugin attachment, trust enforcement and service ownership stay current. - Hook replay promise/object identity checks (#139155): private writers cannot replace or prune pending/active entries. If a future writer breaks that invariant, completion may overwrite it; current idempotency, terminal TTL/LRU and auth stay. - Boxed-primitive JSON coercion probes (#158572, synthetic boxed-value cases): ordinary tool payloads retain measured early budget rejection. Exotic boxed strings may serialize before rejection by the unchanged final exact byte cap; native JSON owns their coercion instead of custom per-value probes. Model detail reads use the exact configured inventory already built in the same synchronous request frame instead of resolving agent membership a second time (#114388/#159177). Syntax, authentication, read scope and exact membership stay. GitHub publication keeps its covering finally release instead of releasing twice. The attempted prepared-workspace cache substitution was dropped: ordinary late ACK publications can hide live authority while durable staged facts still exist. Phase E standalone session memory and its tests are untouched. BELOW-500 lane packet for coordinator bundling; no standalone PR. Net production LOC: 217 removed (109 added / 326 removed, 20 files). Net test LOC: 114 removed. Three-day and fourteen-day history inspection plus largest-first owner sweeps exhausted sound candidates; rejected cuts stay out. Local proof - Full core production types and all four Gateway test-type graphs passed. - Runtime value cycles: 0. Madge cycles: 0; no import edge added afterward. - Changed-file format, diff checks, targeted production/test lint passed after correcting the terminal selector to toSorted. No new suppression. - Lint-suppressions: 3 tests passed on the settled source. - Startup post-attach owner: 88 tests passed in the final isolated run. - Focused runs reported passing terminal lifecycle/eviction/detach, health, hook fanout, catalog/launch/validation/bootstrap, PR details, automation/cron, chat state, observers, real models HTTP e2e, publication database/provisioning/ availability and GitHub read/target-discovery cases. The aggregate selections were intentionally stopped, so this is not a full-suite pass claim. - Independent review completed. Two final findings were declined with source evidence: the retained unconditional finally releases the sole publication acquisition, and closed metadata schemas still reject unknown properties. Proof gaps - server.hooks.test.ts / handles auth, wake, and agent flows timed out at 120000ms during Gateway startup (207133ms reported elapsed). Its requests have no idempotency key and bypass the removed replay checks, but no conclusive head-vs-main attribution was established. Later successful Gateway startups are not a claimed repair. No retry, timeout increase, skip, or weaker assertion. - Expanded local selections were stopped rather than running more unchanged guest/integration variants on the loaded host. Bundle CI remains broad proof. - Full check-changed was stopped during the broad SQLite inventory. Preceding conflict/line/assertion ratchets passed; env-var budget 455 vs 454 failed and reproduced on the untouched base index. No budget was changed. This is base evidence, not current-main CI attribution. - No qualified before/after timing comparison or performance claim. No hosted PR CI exists for this branch-only lane packet. * refactor(gateway): consolidate MCP schemas and Talk target ownership Use Node's maintained deep comparator for MCP JSON schemas and remove defensive throwing-getter readers plus their synthetic-only fixture. Keep schema input validation, advertised-schema invocation membership, normalization, top-level copies and the equal-schema warning/deduplication behavior from human issue #98437. Inline Talk's sole-caller storage resolver and forwarding assertion adapter. All four callers still assert the exact prepared target at the original effect. Trust Rastermill's dimension fitting instead of rechecking encoder output; retain input limits and the byte-limit check/error. Drop the optional initial metadata catch-up event version fence; retain actual model readiness and runtime authority. Best-effort tradeoffs accepted - Throwing in-process tool metadata getters/spread (#88410, 705bdce): the introducing PR explicitly used synthetic fuzzplugin/mockplugin fixtures, not a live client report. A broken plugin getter now fails the request clearly rather than silently omitting that tool. Security and schema shape checks stay. - Exotic non-JSON schema objects: the custom comparator from #103171 now uses isDeepStrictEqual with skipPrototype. Valid JSON schema equivalence, including insertion order, stays; symbol-bearing or exotic JS objects may warn differently. Preserve the real issue #98437 warning reduction and process-lifetime dedupe. - Encoder output dimension recheck (#169449, 8db1c35): the introducing cutover explicitly made Rastermill own fitting, confirmed in its implementation. A future encoder contract bug can produce an oversized-dimension image; repair that owner rather than validate its output again in Gateway. Input/byte bounds stay. - Initial chat metadata catch-up versions (#123433, f3db7fe): synthetic restart/Testbox provenance without a linked human incident. Overlapping initial catch-up and model invalidation can briefly mark display availability and cause an optional refresh warning; the next publication converges. Current model readiness, runtime authority/failure handling and write settlement stay. Second-pass production reduction: 127 LOC; cumulative lane reduction: 344 LOC. Phase E standalone memory backend, machinery and tests are untouched. Same branch, no conflict/rebase, no PR at the below-500 ending threshold. Provenance #88410 #103171 #98437 #169449 #123433 #169622 Proof - Fresh full core production types, targeted core type-aware lint, formatter and diff checks passed. Changed-check classification completed. - Fresh runtime cycles: 0; Madge cycles: 0; no new component. - Fresh four-file selection passed 70 tests across lint-suppressions (3), Talk voice (20), chat metadata (20) and Talk target (27); all kept tests unchanged. Loaded-host wall time: 1711.09s including cold preparation; no before/after performance claim. - Independent review completed scoped-clean P0-P2; no actionable findings. - Final MCP schema/image selection passed all 5 chosen cases in 269.92s wall: union/prototype properties, malformed/boolean variants, literal constraints, real HTTP equal-schema warning dedupe, and orientation-aware resized delivery. The name filter left 96 unrelated cases unrun; no test skips were added. - Initial root-config lint failed before linting while unrelated plugin SDK declarations timed out at 300000ms. Correct source-backed core-config routing passed without skipping preparation or increasing any timeout. Earlier packet gaps remain: server.hooks.test.ts timed out during Gateway startup without conclusive head-vs-main attribution; a later successful startup is not a claimed repair. Earlier expanded local selections and full check-changed were stopped under load. The earlier env-var budget failure reproduced on its untouched base, not current-main CI. No timeout increase, retry, skip, assertion weakening, or baseline change was used. Full Gateway/integration proof belongs to bundle CI. No standalone PR or hosted CI for this below-500 lane packet. Detailed coverage, provenance, rejected candidates and proof are retained in .local/y06-ledger.md. * refactor(codex): simplify transport and catalog bookkeeping Remove malformed JSON reconstruction and its continuation-only bookkeeping, redundant config copies, post-write rereads and duplicate internal checks. Reuse the existing final-config hook builder. Preserve valid JSON framing, external input validation, redaction, live effect authority, resource bounds, normal concurrent sessions, persisted shapes and write settlement. Best-effort tradeoffs accepted - Raw LF inside JSON strings is no longer reconstructed. Direct commit 6fd35f6 and follow-ups #101221, #151399 and #162559 use synthetic malformed frames, not a cited human incident. Such frames warn/drop; later valid frames continue. A missing RPC reply can reach the existing request timeout. This also removes the recovery-only pending-route and per-request row-budget snapshots. - Unsupported in-place mutation of published config/start objects may become visible to a request. Ordinary reload replaces the config object. #162912 fixed human heap-OOM #162802 by sharing clones; removing copying preserves that allocation protection without another snapshot cache. - A node finalization commit followed by a rejected promise now surfaces the error. #106927's lost-receipt path was synthetic, with no cited human incident. The durable binding stays installed; next Continue retries the same deterministic session. Same-session/home/harness write checks stay. - Invalid numeric waiter facts from a trusted internal producer are no longer discarded by redundant diagnostics validation. #149616 supplied synthetic correlation proof, not a human incident. Egress string allowlists and all resource bounds remain; catalog results are unaffected. - An unsupported offline writer changing a row immediately after successful CAS/ownership recording is no longer caught by another reread. #168479, #166575 and #170511 supplied synthetic migration machinery, not a cited competing-writer human report. CAS conflicts, initial/post-register checks, leases and retained-sidecar recovery stay. Next migration reconciles it. - An impossible-on-wire cyclic/BigInt tool value now throws rather than silently omitting output. #70966/#107680 cite no human serialization incident; protocol payloads are JSON values and local records use those values/primitives. Network validation remains at the transport boundary. - Already-validated binding hashes are not parsed again after normalization (#164197/283d5e6fe37). Initial persisted-input validation and the human fingerprint-overflow fix #104503 remain intact. - The bootstrap decision no longer accepts a duplicate projection input (a4c2e7f): its only production caller already puts the same projection into expectedBinding, whose canonical comparator checks it. No separate recoverable scenario or public reason contract is lost. Sibling Codex source contract inspected: codex-rs/app-server-transport/src/transport/mod.rs:272-284 uses serde_json::to_string; transport/stdio.rs:82-96 writes those serialized bytes. codex-rs/app-server-protocol/src/protocol/v2/item.rs:333-352 and v2/mcp.rs:208-224 define JSON MCP results and string errors. Net production reduction: 249 lines (+97/-346), excluding tests, fixtures, test support, generated files and declarations. Phase E memory is untouched. Detailed scope/provenance coverage remains in the requested .local/y12 ledgers. Proof so far: independent P0-P2 review scoped-clean, targeted source-graph typecheck exit 0, runtime value cycles 0, lint-suppressions 3/3, oxfmt and git diff --check pass. Post-review edits only remove an unused test import and mechanically migrate one remaining decoder spy without weakening its assertion. Focused tests, canonical typed lint and static cycles remain pending; this is not an all-green or merged claim. Package SDK declaration preparation timed out under load and the selector dry-run exited SIGILL. Out-of-lane coordinator follow-up: docs/plugins/codex-harness.md:67-69 still describes incomplete-frame recovery. Replace that description with malformed frames producing a redacted diagnostic and being dropped while subsequent valid frames continue normally. * refactor(codex): remove duplicate approval and projection machinery Use the standard deep comparator at the existing approval rewrite-denial boundary, trust the typed host approval result, reuse collected assistant fallbacks and prepared catalog connection options, remove redundant internal metadata copies and normalized agent-directory fallback, and inline the sole account-usage registrar while retaining lazy loading and administrator scope. Forward optional release arguments once without changing ownership/settlement. The first focused run exposed cursor retargeting after cache removal. Retain the existing regression test and carry the resident's captured requestOptions to every hydration page. Published config can be edited in place; the original commit's blanket immutable-config description was too strong. No cloning or global snapshot cache is restored. Best-effort tradeoffs accepted - A typed host approval result with a getter/proxy decision can now throw or be read normally, rather than receive descriptor inspection. #70751 added synthetic defenses, not a cited human incident. The production host returns authenticated Gateway JSON. Null-unavailable, cancellation and two-phase decision settlement remain unchanged. - Non-JSON hook replacements may be conservatively denied by deep comparison rather than canonical JSON text. #82496 protects a real rewrite-denial boundary, which remains; the private recursive serializer is not a contract. - Internal cached session metadata is returned without defensive cloning. #134660 introduced the copies without a metadata-mutation human incident; #164197 moved them unchanged. The sole parser only reads metadata and still clones exposed tool input schemas. A future mutating internal consumer must own its copy instead of requiring every read to clone the full object. - The agent directory no longer has a second fallback after connection setup already resolved it (#120366, owner split #151753). Invalid hand-constructed internal runtime objects are unsupported; production always supplies it. Catalog hydration retains source.assertCurrent before using captured connection options: WebSocket start options may contain credentials. Source authority is not an accepted best-effort tradeoff. Opaque cursors still stay with their selected home's prepared connection options. Exact sibling Codex contract personally inspected at 8f38d5a877da8c5c2c0b5158e72bb5f2290a3157: codex-rs/app-server-transport/src/transport/mod.rs:272-282 serializes every outgoing message with serde_json::to_string. transport/stdio.rs:136-143 only adds the LF delimiter, and :87-93 writes those serialized bytes directly. transport/websocket.rs:313-320 sends the same serializer result unchanged. This confirms the earlier malformed raw-LF reconstruction removal; external JSON parsing, warn/drop diagnostics and subsequent valid frames remain. Branch total: 330 net production LOC removed (+125/-455), excluding tests, fixtures, test support, generated files and declarations. Phase E memory, inactive foundations, public contracts, live authority, resource limits and write settlement remain untouched. Detailed requested coverage/provenance is in the task-local y12 ledgers. Proof: the 30-suite focused run passed 533 cases and failed one unchanged native-hook fallback case at its existing five-second execution budget. A failed-case-only replay hit the same deadline (95s case wall time under load). No main-side test replay establishes attribution; do not call it main-red or claim fully green focused proof. Retained cursor regression passed 9/9; lint-suppressions passed 3/3. Expanded lint's 20 SDK-resolution diagnostics all reproduce on independently installed pinned main 7878a57 with matching unprepared SDK artifacts (0 introduced, 0 unknown); this is not main CI proof. Independent final-input review's only finding incorrectly requires a boolean third deep-comparison argument. Pinned @types/node 26.6.4 explicitly declares the options object, and isolated Node 26.5 confirms skipPrototype:true behavior. Reject that finding on source/runtime evidence, not with a cast or suppression. Earlier full-candidate review's sole index-only cursor finding was resolved by staging the repair. No remaining accepted actionable finding. Canonical Madge and SDK-artifact lint preparation remain unproven after prior load-limited attempts; changed-selector preparation failed with native SIGILL. Runtime value cycles are zero. The only new import edge is a Node builtin; account registration contracts index-to-registrar-to-runtime to index-to-runtime. Final-source catalog proof: 25/25 pass, including obsolete-source list/pin rejection and cursor affinity. Final targeted source-backed typecheck exits0, including the exact comparison call questioned by review. Format and diff checks pass. No public SDK export, schema, protocol, dependency, permission, durability or retention change. Below500 branch-only handoff; no PR or merge. * docs: align Codex framing and worktree cache behavior * fix: preserve MCP schema filtering and release assertions Retain filtering of unreadable parameter schemas before MCP automation authority capture. Align three Codex sibling assertions with forwarded optional release arguments while preserving their target, count, and lifecycle contracts. * fix: remote model catalogs stop refreshing on newer modalities (#173038) * fix: keep remote model catalogs refreshing across releases Project both hosted formats to released input modalities and isolate malformed remote model rows. Preserve strict generator validation and transport sanitization. Fixes #173027. * test: cover catalog row isolation through refresh and publication Narrow dynamically loaded parser functions for script typechecking. Update integration expectations to preserve valid rows instead of rejecting entire downloads, as required by #173027. * fix: retain the last catalog when no valid model rows survive * fix: preserve standalone pricing-only v1 catalogs * fix: omit catalog models with no supported input modalities * fix: preserve catalog publication gates after modality filtering * fix: omit empty inputs produced by catalog hydration * perf(models): preserve catalog sanitizer entry compaction * test(gateway,media,secrets,browser,agents,otel): remove low-value tests (batch d123) (#173141) * test(gateway): deslop x4070 tests * test(media-understanding): deslop x4071 tests * test(secrets): deslop x4072 tests * test(browser): deslop x4074 tests * test(agents): deslop x4073 tests * test(diagnostics-otel): deslop x4077 tests * test: retain distinct session and credential rollback coverage
…law#173092) * refactor(gateway): simplify diagnostic state and internal metadata paths Consolidate worker catalog loading and remove duplicate internal copies, metadata reconstruction, cleanup, and speculative diagnostic ordering machinery. Keep authentication, live effect authority, persisted shapes, shutdown write settlement, bounded caches, and terminal admission/spawn limits. Best-effort tradeoffs accepted Provenance below identifies synthetic/speculative introduction evidence, not a linked human actual-use incident. Security, durability and real resource limits remain independently protected. - Health publication generations (openclaw#116681, synthetic overlap reproduction): overlapping passive/probe samples now publish in completion order; next refresh replaces stale diagnostics. Separate probe work and public/admin audiences stay. - Observer request generations (openclaw#112958, structured-review race): an A-B-A model change during one in-flight digest can accept that digest; cancellation, current session/model checks and disclosure authorization remain. - GitHub target early registry invalidation (openclaw#167189, synthetic invalidation test): discovery may be stale for its existing 15-second TTL; publication verifies Git afresh and cached reads still check current connection/source authority. - Automation badge build epochs (openclaw#104730, structured review): latest completed service start supplies display facts; scheduling and stale-owner unregister stay. - Terminal victim claim/release protocol (openclaw#116101, synthetic autoreview interleavings): reserve pooled free+idle capacity instead, then select the actual unviewed idle victim at registration. Newly viewed victims survive; a replacement without an eligible victim fails and kills its backend. Both hard limits remain. - Launch JSON snapshot/revalidation (openclaw#123033, synthetic caller mutation): trust the tunnel-owned prepared descriptor; a caller violating ownership can mutate it. Negotiated options still use a shallow copy and node input validation remains. - Worker catalog output copies (openclaw#142095, schema mirrors) and display settings clone: trust closed-schema-validated, documented process-stable metadata and internally owned settings. A future provider violating that contract can mutate cosmetic metadata or miss notifications until a later row/config refresh or restart; live allocation validation remains. - Artifact descriptor freezing/refreezing (openclaw#163446, immutable-result assertion): readonly types govern internal consumers; an internal type-contract violation can mutate shared metadata. Archive verification and worker-close ordering stay. - Post-fetch CI summary reread (openclaw#160108, synthetic identity review): exact selected head diagnostics may finish while the PR summary refreshes; UI selected-head matching, upstream identity and live disclosure/credential checks remain. - Startup-log generation switching (openclaw#141736/openclaw#126627, synthetic supersession behind startup admission): a queued boot log may describe boot rather than replacement facts. Plugin attachment, trust enforcement and service ownership stay current. - Hook replay promise/object identity checks (openclaw#139155): private writers cannot replace or prune pending/active entries. If a future writer breaks that invariant, completion may overwrite it; current idempotency, terminal TTL/LRU and auth stay. - Boxed-primitive JSON coercion probes (openclaw#158572, synthetic boxed-value cases): ordinary tool payloads retain measured early budget rejection. Exotic boxed strings may serialize before rejection by the unchanged final exact byte cap; native JSON owns their coercion instead of custom per-value probes. Model detail reads use the exact configured inventory already built in the same synchronous request frame instead of resolving agent membership a second time (openclaw#114388/openclaw#159177). Syntax, authentication, read scope and exact membership stay. GitHub publication keeps its covering finally release instead of releasing twice. The attempted prepared-workspace cache substitution was dropped: ordinary late ACK publications can hide live authority while durable staged facts still exist. Phase E standalone session memory and its tests are untouched. BELOW-500 lane packet for coordinator bundling; no standalone PR. Net production LOC: 217 removed (109 added / 326 removed, 20 files). Net test LOC: 114 removed. Three-day and fourteen-day history inspection plus largest-first owner sweeps exhausted sound candidates; rejected cuts stay out. Local proof - Full core production types and all four Gateway test-type graphs passed. - Runtime value cycles: 0. Madge cycles: 0; no import edge added afterward. - Changed-file format, diff checks, targeted production/test lint passed after correcting the terminal selector to toSorted. No new suppression. - Lint-suppressions: 3 tests passed on the settled source. - Startup post-attach owner: 88 tests passed in the final isolated run. - Focused runs reported passing terminal lifecycle/eviction/detach, health, hook fanout, catalog/launch/validation/bootstrap, PR details, automation/cron, chat state, observers, real models HTTP e2e, publication database/provisioning/ availability and GitHub read/target-discovery cases. The aggregate selections were intentionally stopped, so this is not a full-suite pass claim. - Independent review completed. Two final findings were declined with source evidence: the retained unconditional finally releases the sole publication acquisition, and closed metadata schemas still reject unknown properties. Proof gaps - server.hooks.test.ts / handles auth, wake, and agent flows timed out at 120000ms during Gateway startup (207133ms reported elapsed). Its requests have no idempotency key and bypass the removed replay checks, but no conclusive head-vs-main attribution was established. Later successful Gateway startups are not a claimed repair. No retry, timeout increase, skip, or weaker assertion. - Expanded local selections were stopped rather than running more unchanged guest/integration variants on the loaded host. Bundle CI remains broad proof. - Full check-changed was stopped during the broad SQLite inventory. Preceding conflict/line/assertion ratchets passed; env-var budget 455 vs 454 failed and reproduced on the untouched base index. No budget was changed. This is base evidence, not current-main CI attribution. - No qualified before/after timing comparison or performance claim. No hosted PR CI exists for this branch-only lane packet. * refactor(gateway): consolidate MCP schemas and Talk target ownership Use Node's maintained deep comparator for MCP JSON schemas and remove defensive throwing-getter readers plus their synthetic-only fixture. Keep schema input validation, advertised-schema invocation membership, normalization, top-level copies and the equal-schema warning/deduplication behavior from human issue openclaw#98437. Inline Talk's sole-caller storage resolver and forwarding assertion adapter. All four callers still assert the exact prepared target at the original effect. Trust Rastermill's dimension fitting instead of rechecking encoder output; retain input limits and the byte-limit check/error. Drop the optional initial metadata catch-up event version fence; retain actual model readiness and runtime authority. Best-effort tradeoffs accepted - Throwing in-process tool metadata getters/spread (openclaw#88410, ad9acf4): the introducing PR explicitly used synthetic fuzzplugin/mockplugin fixtures, not a live client report. A broken plugin getter now fails the request clearly rather than silently omitting that tool. Security and schema shape checks stay. - Exotic non-JSON schema objects: the custom comparator from openclaw#103171 now uses isDeepStrictEqual with skipPrototype. Valid JSON schema equivalence, including insertion order, stays; symbol-bearing or exotic JS objects may warn differently. Preserve the real issue openclaw#98437 warning reduction and process-lifetime dedupe. - Encoder output dimension recheck (openclaw#169449, ce6a64f): the introducing cutover explicitly made Rastermill own fitting, confirmed in its implementation. A future encoder contract bug can produce an oversized-dimension image; repair that owner rather than validate its output again in Gateway. Input/byte bounds stay. - Initial chat metadata catch-up versions (openclaw#123433, 1ae5f94): synthetic restart/Testbox provenance without a linked human incident. Overlapping initial catch-up and model invalidation can briefly mark display availability and cause an optional refresh warning; the next publication converges. Current model readiness, runtime authority/failure handling and write settlement stay. Second-pass production reduction: 127 LOC; cumulative lane reduction: 344 LOC. Phase E standalone memory backend, machinery and tests are untouched. Same branch, no conflict/rebase, no PR at the below-500 ending threshold. Provenance openclaw#88410 openclaw#103171 openclaw#98437 openclaw#169449 openclaw#123433 openclaw#169622 Proof - Fresh full core production types, targeted core type-aware lint, formatter and diff checks passed. Changed-check classification completed. - Fresh runtime cycles: 0; Madge cycles: 0; no new component. - Fresh four-file selection passed 70 tests across lint-suppressions (3), Talk voice (20), chat metadata (20) and Talk target (27); all kept tests unchanged. Loaded-host wall time: 1711.09s including cold preparation; no before/after performance claim. - Independent review completed scoped-clean P0-P2; no actionable findings. - Final MCP schema/image selection passed all 5 chosen cases in 269.92s wall: union/prototype properties, malformed/boolean variants, literal constraints, real HTTP equal-schema warning dedupe, and orientation-aware resized delivery. The name filter left 96 unrelated cases unrun; no test skips were added. - Initial root-config lint failed before linting while unrelated plugin SDK declarations timed out at 300000ms. Correct source-backed core-config routing passed without skipping preparation or increasing any timeout. Earlier packet gaps remain: server.hooks.test.ts timed out during Gateway startup without conclusive head-vs-main attribution; a later successful startup is not a claimed repair. Earlier expanded local selections and full check-changed were stopped under load. The earlier env-var budget failure reproduced on its untouched base, not current-main CI. No timeout increase, retry, skip, assertion weakening, or baseline change was used. Full Gateway/integration proof belongs to bundle CI. No standalone PR or hosted CI for this below-500 lane packet. Detailed coverage, provenance, rejected candidates and proof are retained in .local/y06-ledger.md. * refactor(codex): simplify transport and catalog bookkeeping Remove malformed JSON reconstruction and its continuation-only bookkeeping, redundant config copies, post-write rereads and duplicate internal checks. Reuse the existing final-config hook builder. Preserve valid JSON framing, external input validation, redaction, live effect authority, resource bounds, normal concurrent sessions, persisted shapes and write settlement. Best-effort tradeoffs accepted - Raw LF inside JSON strings is no longer reconstructed. Direct commit 67de049 and follow-ups openclaw#101221, openclaw#151399 and openclaw#162559 use synthetic malformed frames, not a cited human incident. Such frames warn/drop; later valid frames continue. A missing RPC reply can reach the existing request timeout. This also removes the recovery-only pending-route and per-request row-budget snapshots. - Unsupported in-place mutation of published config/start objects may become visible to a request. Ordinary reload replaces the config object. openclaw#162912 fixed human heap-OOM openclaw#162802 by sharing clones; removing copying preserves that allocation protection without another snapshot cache. - A node finalization commit followed by a rejected promise now surfaces the error. openclaw#106927's lost-receipt path was synthetic, with no cited human incident. The durable binding stays installed; next Continue retries the same deterministic session. Same-session/home/harness write checks stay. - Invalid numeric waiter facts from a trusted internal producer are no longer discarded by redundant diagnostics validation. openclaw#149616 supplied synthetic correlation proof, not a human incident. Egress string allowlists and all resource bounds remain; catalog results are unaffected. - An unsupported offline writer changing a row immediately after successful CAS/ownership recording is no longer caught by another reread. openclaw#168479, openclaw#166575 and openclaw#170511 supplied synthetic migration machinery, not a cited competing-writer human report. CAS conflicts, initial/post-register checks, leases and retained-sidecar recovery stay. Next migration reconciles it. - An impossible-on-wire cyclic/BigInt tool value now throws rather than silently omitting output. openclaw#70966/openclaw#107680 cite no human serialization incident; protocol payloads are JSON values and local records use those values/primitives. Network validation remains at the transport boundary. - Already-validated binding hashes are not parsed again after normalization (openclaw#164197/ffd07590546). Initial persisted-input validation and the human fingerprint-overflow fix openclaw#104503 remain intact. - The bootstrap decision no longer accepts a duplicate projection input (21b8ae5): its only production caller already puts the same projection into expectedBinding, whose canonical comparator checks it. No separate recoverable scenario or public reason contract is lost. Sibling Codex source contract inspected: codex-rs/app-server-transport/src/transport/mod.rs:272-284 uses serde_json::to_string; transport/stdio.rs:82-96 writes those serialized bytes. codex-rs/app-server-protocol/src/protocol/v2/item.rs:333-352 and v2/mcp.rs:208-224 define JSON MCP results and string errors. Net production reduction: 249 lines (+97/-346), excluding tests, fixtures, test support, generated files and declarations. Phase E memory is untouched. Detailed scope/provenance coverage remains in the requested .local/y12 ledgers. Proof so far: independent P0-P2 review scoped-clean, targeted source-graph typecheck exit 0, runtime value cycles 0, lint-suppressions 3/3, oxfmt and git diff --check pass. Post-review edits only remove an unused test import and mechanically migrate one remaining decoder spy without weakening its assertion. Focused tests, canonical typed lint and static cycles remain pending; this is not an all-green or merged claim. Package SDK declaration preparation timed out under load and the selector dry-run exited SIGILL. Out-of-lane coordinator follow-up: docs/plugins/codex-harness.md:67-69 still describes incomplete-frame recovery. Replace that description with malformed frames producing a redacted diagnostic and being dropped while subsequent valid frames continue normally. * refactor(codex): remove duplicate approval and projection machinery Use the standard deep comparator at the existing approval rewrite-denial boundary, trust the typed host approval result, reuse collected assistant fallbacks and prepared catalog connection options, remove redundant internal metadata copies and normalized agent-directory fallback, and inline the sole account-usage registrar while retaining lazy loading and administrator scope. Forward optional release arguments once without changing ownership/settlement. The first focused run exposed cursor retargeting after cache removal. Retain the existing regression test and carry the resident's captured requestOptions to every hydration page. Published config can be edited in place; the original commit's blanket immutable-config description was too strong. No cloning or global snapshot cache is restored. Best-effort tradeoffs accepted - A typed host approval result with a getter/proxy decision can now throw or be read normally, rather than receive descriptor inspection. openclaw#70751 added synthetic defenses, not a cited human incident. The production host returns authenticated Gateway JSON. Null-unavailable, cancellation and two-phase decision settlement remain unchanged. - Non-JSON hook replacements may be conservatively denied by deep comparison rather than canonical JSON text. openclaw#82496 protects a real rewrite-denial boundary, which remains; the private recursive serializer is not a contract. - Internal cached session metadata is returned without defensive cloning. openclaw#134660 introduced the copies without a metadata-mutation human incident; openclaw#164197 moved them unchanged. The sole parser only reads metadata and still clones exposed tool input schemas. A future mutating internal consumer must own its copy instead of requiring every read to clone the full object. - The agent directory no longer has a second fallback after connection setup already resolved it (openclaw#120366, owner split openclaw#151753). Invalid hand-constructed internal runtime objects are unsupported; production always supplies it. Catalog hydration retains source.assertCurrent before using captured connection options: WebSocket start options may contain credentials. Source authority is not an accepted best-effort tradeoff. Opaque cursors still stay with their selected home's prepared connection options. Exact sibling Codex contract personally inspected at 8f38d5a877da8c5c2c0b5158e72bb5f2290a3157: codex-rs/app-server-transport/src/transport/mod.rs:272-282 serializes every outgoing message with serde_json::to_string. transport/stdio.rs:136-143 only adds the LF delimiter, and :87-93 writes those serialized bytes directly. transport/websocket.rs:313-320 sends the same serializer result unchanged. This confirms the earlier malformed raw-LF reconstruction removal; external JSON parsing, warn/drop diagnostics and subsequent valid frames remain. Branch total: 330 net production LOC removed (+125/-455), excluding tests, fixtures, test support, generated files and declarations. Phase E memory, inactive foundations, public contracts, live authority, resource limits and write settlement remain untouched. Detailed requested coverage/provenance is in the task-local y12 ledgers. Proof: the 30-suite focused run passed 533 cases and failed one unchanged native-hook fallback case at its existing five-second execution budget. A failed-case-only replay hit the same deadline (95s case wall time under load). No main-side test replay establishes attribution; do not call it main-red or claim fully green focused proof. Retained cursor regression passed 9/9; lint-suppressions passed 3/3. Expanded lint's 20 SDK-resolution diagnostics all reproduce on independently installed pinned main 377d73b with matching unprepared SDK artifacts (0 introduced, 0 unknown); this is not main CI proof. Independent final-input review's only finding incorrectly requires a boolean third deep-comparison argument. Pinned @types/node 26.6.4 explicitly declares the options object, and isolated Node 26.5 confirms skipPrototype:true behavior. Reject that finding on source/runtime evidence, not with a cast or suppression. Earlier full-candidate review's sole index-only cursor finding was resolved by staging the repair. No remaining accepted actionable finding. Canonical Madge and SDK-artifact lint preparation remain unproven after prior load-limited attempts; changed-selector preparation failed with native SIGILL. Runtime value cycles are zero. The only new import edge is a Node builtin; account registration contracts index-to-registrar-to-runtime to index-to-runtime. Final-source catalog proof: 25/25 pass, including obsolete-source list/pin rejection and cursor affinity. Final targeted source-backed typecheck exits0, including the exact comparison call questioned by review. Format and diff checks pass. No public SDK export, schema, protocol, dependency, permission, durability or retention change. Below500 branch-only handoff; no PR or merge. * docs: align Codex framing and worktree cache behavior * fix: preserve MCP schema filtering and release assertions Retain filtering of unreadable parameter schemas before MCP automation authority capture. Align three Codex sibling assertions with forwarded optional release arguments while preserving their target, count, and lifecycle contracts.
* test(ui): migrate message and pane fixtures to Solid * test(ui): mount queue and prediction fixtures with Solid * test(ui): provide application context to native chat goal fixtures * test(ui): report packaged Workboard startup failures * refactor: deslop gateway and Codex extension (wave-5 bundle D) (openclaw#173092) * refactor(gateway): simplify diagnostic state and internal metadata paths Consolidate worker catalog loading and remove duplicate internal copies, metadata reconstruction, cleanup, and speculative diagnostic ordering machinery. Keep authentication, live effect authority, persisted shapes, shutdown write settlement, bounded caches, and terminal admission/spawn limits. Best-effort tradeoffs accepted Provenance below identifies synthetic/speculative introduction evidence, not a linked human actual-use incident. Security, durability and real resource limits remain independently protected. - Health publication generations (openclaw#116681, synthetic overlap reproduction): overlapping passive/probe samples now publish in completion order; next refresh replaces stale diagnostics. Separate probe work and public/admin audiences stay. - Observer request generations (openclaw#112958, structured-review race): an A-B-A model change during one in-flight digest can accept that digest; cancellation, current session/model checks and disclosure authorization remain. - GitHub target early registry invalidation (openclaw#167189, synthetic invalidation test): discovery may be stale for its existing 15-second TTL; publication verifies Git afresh and cached reads still check current connection/source authority. - Automation badge build epochs (openclaw#104730, structured review): latest completed service start supplies display facts; scheduling and stale-owner unregister stay. - Terminal victim claim/release protocol (openclaw#116101, synthetic autoreview interleavings): reserve pooled free+idle capacity instead, then select the actual unviewed idle victim at registration. Newly viewed victims survive; a replacement without an eligible victim fails and kills its backend. Both hard limits remain. - Launch JSON snapshot/revalidation (openclaw#123033, synthetic caller mutation): trust the tunnel-owned prepared descriptor; a caller violating ownership can mutate it. Negotiated options still use a shallow copy and node input validation remains. - Worker catalog output copies (openclaw#142095, schema mirrors) and display settings clone: trust closed-schema-validated, documented process-stable metadata and internally owned settings. A future provider violating that contract can mutate cosmetic metadata or miss notifications until a later row/config refresh or restart; live allocation validation remains. - Artifact descriptor freezing/refreezing (openclaw#163446, immutable-result assertion): readonly types govern internal consumers; an internal type-contract violation can mutate shared metadata. Archive verification and worker-close ordering stay. - Post-fetch CI summary reread (openclaw#160108, synthetic identity review): exact selected head diagnostics may finish while the PR summary refreshes; UI selected-head matching, upstream identity and live disclosure/credential checks remain. - Startup-log generation switching (openclaw#141736/openclaw#126627, synthetic supersession behind startup admission): a queued boot log may describe boot rather than replacement facts. Plugin attachment, trust enforcement and service ownership stay current. - Hook replay promise/object identity checks (openclaw#139155): private writers cannot replace or prune pending/active entries. If a future writer breaks that invariant, completion may overwrite it; current idempotency, terminal TTL/LRU and auth stay. - Boxed-primitive JSON coercion probes (openclaw#158572, synthetic boxed-value cases): ordinary tool payloads retain measured early budget rejection. Exotic boxed strings may serialize before rejection by the unchanged final exact byte cap; native JSON owns their coercion instead of custom per-value probes. Model detail reads use the exact configured inventory already built in the same synchronous request frame instead of resolving agent membership a second time (openclaw#114388/openclaw#159177). Syntax, authentication, read scope and exact membership stay. GitHub publication keeps its covering finally release instead of releasing twice. The attempted prepared-workspace cache substitution was dropped: ordinary late ACK publications can hide live authority while durable staged facts still exist. Phase E standalone session memory and its tests are untouched. BELOW-500 lane packet for coordinator bundling; no standalone PR. Net production LOC: 217 removed (109 added / 326 removed, 20 files). Net test LOC: 114 removed. Three-day and fourteen-day history inspection plus largest-first owner sweeps exhausted sound candidates; rejected cuts stay out. Local proof - Full core production types and all four Gateway test-type graphs passed. - Runtime value cycles: 0. Madge cycles: 0; no import edge added afterward. - Changed-file format, diff checks, targeted production/test lint passed after correcting the terminal selector to toSorted. No new suppression. - Lint-suppressions: 3 tests passed on the settled source. - Startup post-attach owner: 88 tests passed in the final isolated run. - Focused runs reported passing terminal lifecycle/eviction/detach, health, hook fanout, catalog/launch/validation/bootstrap, PR details, automation/cron, chat state, observers, real models HTTP e2e, publication database/provisioning/ availability and GitHub read/target-discovery cases. The aggregate selections were intentionally stopped, so this is not a full-suite pass claim. - Independent review completed. Two final findings were declined with source evidence: the retained unconditional finally releases the sole publication acquisition, and closed metadata schemas still reject unknown properties. Proof gaps - server.hooks.test.ts / handles auth, wake, and agent flows timed out at 120000ms during Gateway startup (207133ms reported elapsed). Its requests have no idempotency key and bypass the removed replay checks, but no conclusive head-vs-main attribution was established. Later successful Gateway startups are not a claimed repair. No retry, timeout increase, skip, or weaker assertion. - Expanded local selections were stopped rather than running more unchanged guest/integration variants on the loaded host. Bundle CI remains broad proof. - Full check-changed was stopped during the broad SQLite inventory. Preceding conflict/line/assertion ratchets passed; env-var budget 455 vs 454 failed and reproduced on the untouched base index. No budget was changed. This is base evidence, not current-main CI attribution. - No qualified before/after timing comparison or performance claim. No hosted PR CI exists for this branch-only lane packet. * refactor(gateway): consolidate MCP schemas and Talk target ownership Use Node's maintained deep comparator for MCP JSON schemas and remove defensive throwing-getter readers plus their synthetic-only fixture. Keep schema input validation, advertised-schema invocation membership, normalization, top-level copies and the equal-schema warning/deduplication behavior from human issue openclaw#98437. Inline Talk's sole-caller storage resolver and forwarding assertion adapter. All four callers still assert the exact prepared target at the original effect. Trust Rastermill's dimension fitting instead of rechecking encoder output; retain input limits and the byte-limit check/error. Drop the optional initial metadata catch-up event version fence; retain actual model readiness and runtime authority. Best-effort tradeoffs accepted - Throwing in-process tool metadata getters/spread (openclaw#88410, ad9acf4): the introducing PR explicitly used synthetic fuzzplugin/mockplugin fixtures, not a live client report. A broken plugin getter now fails the request clearly rather than silently omitting that tool. Security and schema shape checks stay. - Exotic non-JSON schema objects: the custom comparator from openclaw#103171 now uses isDeepStrictEqual with skipPrototype. Valid JSON schema equivalence, including insertion order, stays; symbol-bearing or exotic JS objects may warn differently. Preserve the real issue openclaw#98437 warning reduction and process-lifetime dedupe. - Encoder output dimension recheck (openclaw#169449, ce6a64f): the introducing cutover explicitly made Rastermill own fitting, confirmed in its implementation. A future encoder contract bug can produce an oversized-dimension image; repair that owner rather than validate its output again in Gateway. Input/byte bounds stay. - Initial chat metadata catch-up versions (openclaw#123433, 1ae5f94): synthetic restart/Testbox provenance without a linked human incident. Overlapping initial catch-up and model invalidation can briefly mark display availability and cause an optional refresh warning; the next publication converges. Current model readiness, runtime authority/failure handling and write settlement stay. Second-pass production reduction: 127 LOC; cumulative lane reduction: 344 LOC. Phase E standalone memory backend, machinery and tests are untouched. Same branch, no conflict/rebase, no PR at the below-500 ending threshold. Provenance openclaw#88410 openclaw#103171 openclaw#98437 openclaw#169449 openclaw#123433 openclaw#169622 Proof - Fresh full core production types, targeted core type-aware lint, formatter and diff checks passed. Changed-check classification completed. - Fresh runtime cycles: 0; Madge cycles: 0; no new component. - Fresh four-file selection passed 70 tests across lint-suppressions (3), Talk voice (20), chat metadata (20) and Talk target (27); all kept tests unchanged. Loaded-host wall time: 1711.09s including cold preparation; no before/after performance claim. - Independent review completed scoped-clean P0-P2; no actionable findings. - Final MCP schema/image selection passed all 5 chosen cases in 269.92s wall: union/prototype properties, malformed/boolean variants, literal constraints, real HTTP equal-schema warning dedupe, and orientation-aware resized delivery. The name filter left 96 unrelated cases unrun; no test skips were added. - Initial root-config lint failed before linting while unrelated plugin SDK declarations timed out at 300000ms. Correct source-backed core-config routing passed without skipping preparation or increasing any timeout. Earlier packet gaps remain: server.hooks.test.ts timed out during Gateway startup without conclusive head-vs-main attribution; a later successful startup is not a claimed repair. Earlier expanded local selections and full check-changed were stopped under load. The earlier env-var budget failure reproduced on its untouched base, not current-main CI. No timeout increase, retry, skip, assertion weakening, or baseline change was used. Full Gateway/integration proof belongs to bundle CI. No standalone PR or hosted CI for this below-500 lane packet. Detailed coverage, provenance, rejected candidates and proof are retained in .local/y06-ledger.md. * refactor(codex): simplify transport and catalog bookkeeping Remove malformed JSON reconstruction and its continuation-only bookkeeping, redundant config copies, post-write rereads and duplicate internal checks. Reuse the existing final-config hook builder. Preserve valid JSON framing, external input validation, redaction, live effect authority, resource bounds, normal concurrent sessions, persisted shapes and write settlement. Best-effort tradeoffs accepted - Raw LF inside JSON strings is no longer reconstructed. Direct commit 67de049 and follow-ups openclaw#101221, openclaw#151399 and openclaw#162559 use synthetic malformed frames, not a cited human incident. Such frames warn/drop; later valid frames continue. A missing RPC reply can reach the existing request timeout. This also removes the recovery-only pending-route and per-request row-budget snapshots. - Unsupported in-place mutation of published config/start objects may become visible to a request. Ordinary reload replaces the config object. openclaw#162912 fixed human heap-OOM openclaw#162802 by sharing clones; removing copying preserves that allocation protection without another snapshot cache. - A node finalization commit followed by a rejected promise now surfaces the error. openclaw#106927's lost-receipt path was synthetic, with no cited human incident. The durable binding stays installed; next Continue retries the same deterministic session. Same-session/home/harness write checks stay. - Invalid numeric waiter facts from a trusted internal producer are no longer discarded by redundant diagnostics validation. openclaw#149616 supplied synthetic correlation proof, not a human incident. Egress string allowlists and all resource bounds remain; catalog results are unaffected. - An unsupported offline writer changing a row immediately after successful CAS/ownership recording is no longer caught by another reread. openclaw#168479, openclaw#166575 and openclaw#170511 supplied synthetic migration machinery, not a cited competing-writer human report. CAS conflicts, initial/post-register checks, leases and retained-sidecar recovery stay. Next migration reconciles it. - An impossible-on-wire cyclic/BigInt tool value now throws rather than silently omitting output. openclaw#70966/openclaw#107680 cite no human serialization incident; protocol payloads are JSON values and local records use those values/primitives. Network validation remains at the transport boundary. - Already-validated binding hashes are not parsed again after normalization (openclaw#164197/ffd07590546). Initial persisted-input validation and the human fingerprint-overflow fix openclaw#104503 remain intact. - The bootstrap decision no longer accepts a duplicate projection input (21b8ae5): its only production caller already puts the same projection into expectedBinding, whose canonical comparator checks it. No separate recoverable scenario or public reason contract is lost. Sibling Codex source contract inspected: codex-rs/app-server-transport/src/transport/mod.rs:272-284 uses serde_json::to_string; transport/stdio.rs:82-96 writes those serialized bytes. codex-rs/app-server-protocol/src/protocol/v2/item.rs:333-352 and v2/mcp.rs:208-224 define JSON MCP results and string errors. Net production reduction: 249 lines (+97/-346), excluding tests, fixtures, test support, generated files and declarations. Phase E memory is untouched. Detailed scope/provenance coverage remains in the requested .local/y12 ledgers. Proof so far: independent P0-P2 review scoped-clean, targeted source-graph typecheck exit 0, runtime value cycles 0, lint-suppressions 3/3, oxfmt and git diff --check pass. Post-review edits only remove an unused test import and mechanically migrate one remaining decoder spy without weakening its assertion. Focused tests, canonical typed lint and static cycles remain pending; this is not an all-green or merged claim. Package SDK declaration preparation timed out under load and the selector dry-run exited SIGILL. Out-of-lane coordinator follow-up: docs/plugins/codex-harness.md:67-69 still describes incomplete-frame recovery. Replace that description with malformed frames producing a redacted diagnostic and being dropped while subsequent valid frames continue normally. * refactor(codex): remove duplicate approval and projection machinery Use the standard deep comparator at the existing approval rewrite-denial boundary, trust the typed host approval result, reuse collected assistant fallbacks and prepared catalog connection options, remove redundant internal metadata copies and normalized agent-directory fallback, and inline the sole account-usage registrar while retaining lazy loading and administrator scope. Forward optional release arguments once without changing ownership/settlement. The first focused run exposed cursor retargeting after cache removal. Retain the existing regression test and carry the resident's captured requestOptions to every hydration page. Published config can be edited in place; the original commit's blanket immutable-config description was too strong. No cloning or global snapshot cache is restored. Best-effort tradeoffs accepted - A typed host approval result with a getter/proxy decision can now throw or be read normally, rather than receive descriptor inspection. openclaw#70751 added synthetic defenses, not a cited human incident. The production host returns authenticated Gateway JSON. Null-unavailable, cancellation and two-phase decision settlement remain unchanged. - Non-JSON hook replacements may be conservatively denied by deep comparison rather than canonical JSON text. openclaw#82496 protects a real rewrite-denial boundary, which remains; the private recursive serializer is not a contract. - Internal cached session metadata is returned without defensive cloning. openclaw#134660 introduced the copies without a metadata-mutation human incident; openclaw#164197 moved them unchanged. The sole parser only reads metadata and still clones exposed tool input schemas. A future mutating internal consumer must own its copy instead of requiring every read to clone the full object. - The agent directory no longer has a second fallback after connection setup already resolved it (openclaw#120366, owner split openclaw#151753). Invalid hand-constructed internal runtime objects are unsupported; production always supplies it. Catalog hydration retains source.assertCurrent before using captured connection options: WebSocket start options may contain credentials. Source authority is not an accepted best-effort tradeoff. Opaque cursors still stay with their selected home's prepared connection options. Exact sibling Codex contract personally inspected at 8f38d5a877da8c5c2c0b5158e72bb5f2290a3157: codex-rs/app-server-transport/src/transport/mod.rs:272-282 serializes every outgoing message with serde_json::to_string. transport/stdio.rs:136-143 only adds the LF delimiter, and :87-93 writes those serialized bytes directly. transport/websocket.rs:313-320 sends the same serializer result unchanged. This confirms the earlier malformed raw-LF reconstruction removal; external JSON parsing, warn/drop diagnostics and subsequent valid frames remain. Branch total: 330 net production LOC removed (+125/-455), excluding tests, fixtures, test support, generated files and declarations. Phase E memory, inactive foundations, public contracts, live authority, resource limits and write settlement remain untouched. Detailed requested coverage/provenance is in the task-local y12 ledgers. Proof: the 30-suite focused run passed 533 cases and failed one unchanged native-hook fallback case at its existing five-second execution budget. A failed-case-only replay hit the same deadline (95s case wall time under load). No main-side test replay establishes attribution; do not call it main-red or claim fully green focused proof. Retained cursor regression passed 9/9; lint-suppressions passed 3/3. Expanded lint's 20 SDK-resolution diagnostics all reproduce on independently installed pinned main 377d73b with matching unprepared SDK artifacts (0 introduced, 0 unknown); this is not main CI proof. Independent final-input review's only finding incorrectly requires a boolean third deep-comparison argument. Pinned @types/node 26.6.4 explicitly declares the options object, and isolated Node 26.5 confirms skipPrototype:true behavior. Reject that finding on source/runtime evidence, not with a cast or suppression. Earlier full-candidate review's sole index-only cursor finding was resolved by staging the repair. No remaining accepted actionable finding. Canonical Madge and SDK-artifact lint preparation remain unproven after prior load-limited attempts; changed-selector preparation failed with native SIGILL. Runtime value cycles are zero. The only new import edge is a Node builtin; account registration contracts index-to-registrar-to-runtime to index-to-runtime. Final-source catalog proof: 25/25 pass, including obsolete-source list/pin rejection and cursor affinity. Final targeted source-backed typecheck exits0, including the exact comparison call questioned by review. Format and diff checks pass. No public SDK export, schema, protocol, dependency, permission, durability or retention change. Below500 branch-only handoff; no PR or merge. * docs: align Codex framing and worktree cache behavior * fix: preserve MCP schema filtering and release assertions Retain filtering of unreadable parameter schemas before MCP automation authority capture. Align three Codex sibling assertions with forwarded optional release arguments while preserving their target, count, and lifecycle contracts. * fix: remote model catalogs stop refreshing on newer modalities (openclaw#173038) * fix: keep remote model catalogs refreshing across releases Project both hosted formats to released input modalities and isolate malformed remote model rows. Preserve strict generator validation and transport sanitization. Fixes openclaw#173027. * test: cover catalog row isolation through refresh and publication Narrow dynamically loaded parser functions for script typechecking. Update integration expectations to preserve valid rows instead of rejecting entire downloads, as required by openclaw#173027. * fix: retain the last catalog when no valid model rows survive * fix: preserve standalone pricing-only v1 catalogs * fix: omit catalog models with no supported input modalities * fix: preserve catalog publication gates after modality filtering * fix: omit empty inputs produced by catalog hydration * perf(models): preserve catalog sanitizer entry compaction * test(gateway,media,secrets,browser,agents,otel): remove low-value tests (batch d123) (openclaw#173141) * test(gateway): deslop x4070 tests * test(media-understanding): deslop x4071 tests * test(secrets): deslop x4072 tests * test(browser): deslop x4074 tests * test(agents): deslop x4073 tests * test(diagnostics-otel): deslop x4077 tests * test: retain distinct session and credential rollback coverage
What Problem This Solves
Slow Codex catalog page warnings could not distinguish a new App Server request from another caller joining a request whose first caller had timed out.
User Impact
Operators can correlate slow catalog waits with the actual retained request and distinguish local caller outcomes from the wire outcome. Request behavior and existing logging limits remain unchanged.
Why This Change Was Made
Add bounded waiter summaries with the actual client/RPC identities, original creation and possible-write times, waiter attachment/settlement times, and separate waiter/wire outcomes. The page owner retains the first two and latest two completed summaries with an omission count. The existing scalar diagnostic-log bridge carries the fixed tuples as JSON text within its existing key, byte, rate and lifetime limits. Request parameters, results, authority checks, deadlines, cancellation and retained-attempt ownership remain unchanged.
Evidence
The original first-waiter-expiry sequence failed the added callback assertion before the implementation while its existing result/lifetime assertions passed. The final candidate passes 255 focused and sibling tests, the full changed-file gate, and independent P2 review. Four initial assertions exposed the log bridge's rejection of nested arrays; scalar encoding resolved them. The first full gate caught a parameter-reassignment lint error, corrected without changing request behavior.
A native Blacksmith Testbox command against verified source
e20a28dexercised two authenticated Gateway callers through the real source catalog/control/client implementation and a synthetic App Server peer. One physical request survived the first caller's timeout, and the second caller joined it with the original timestamps. Both raw log records matched the observed client/request/waiter identities and clocks. Separate RPC assertions verified the final synthetic row and absent cursor. The managed application, launcher and native command exited 0; all owned resources closed, seven exported files plus their manifest verified, and the lease was stopped with statuscompleted. The hosting workflow ultimately showscancelled; its status is distinct from those successful command and closure receipts.That run also logged an unresolved OpenClaw package during bundled Codex entrypoint loading. The fixture separately registered the real catalog implementation, so this proves the scoped request/log path, not complete packaged-plugin initialization. The warnings remain preserved. The deliberate fixture delay is not a benchmark; native CPU time, production latency improvement and resolution of production stalls remain unproved.