Skip to content

feat(code-mode): keep oversized results for later cells - #147278

Merged
steipete merged 1 commit into
mainfrom
codex/code-mode-auto-results
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/code-mode-auto-results

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Related: #147105

What Problem This Solves

Code Mode agents lose reusable data when they return a large result without explicitly saving it, and short JSON prefixes often hide useful arrays inside response envelopes.

User Impact

Oversized final objects and arrays can return a compact reference that later cells load without fetching again. Previews show sampled nested array paths, actual counts, and observed field types. Automatic preservation uses the existing run-local store and limits; emitted output retains its existing behavior.

Why This Change Was Made

The existing output owner detects byte or model-budget truncation and asks the catalog-owned store to retain the normalized JSON. References keep their identity when descriptive samples shrink. Capacity exhaustion, unavailable catalogs, and undeliverable references preserve successful truncation; optional guidance cannot turn a completed result into an error. Failed reference delivery releases its store entry.

The store still shares at most 64 entries and min(memoryLimitBytes, maxSnapshotBytes) encoded bytes, 10 MiB by default. It does not evict existing entries. References remain scoped to the admitted run/catalog, preserve network provenance, and expire with their existing owner. Automatic retention applies to interactive, non-restart-safe final structured returns. Preview traversal is bounded and explicitly sampled, not a schema or freshness guarantee.

Evidence

  • Before/after actual-cell proof: an oversized array previously returned only a truncation prefix; the new result is loaded in another cell with exactly one upstream fetch.
  • All 277 focused tests passed across output, worker, budget, lifecycle, and result owners, including model-only truncation, exhausted emitted output, network provenance, capacity fallback, abort/expiry, Unicode, deep and heterogeneous envelopes, and tiny-budget reference cleanup.
  • Tight-budget regressions reproduced two cases where optional fallback guidance could turn completion into an error. Both now preserve the original successful projection and release undeliverable references.
  • Complete changed checks, production/test typechecks, formatting, and fresh full-target P2 review passed. Documentation audit: 13,711 links, zero broken.
  • Final combined candidate passed 305 tests across 16 files, the full changed gate, and pnpm build (6m 29.9s). Exact-head hosted CI is green. The patch-identical rebase incorporates the unrelated test expectation fix from fix(ci): tooling shard fails on QA Profile Evidence routing after #143968 #147293.
  • Real-key Gateway runs with openai/gpt-5.6-luna and openai/gpt-5.6-sol: both calculated exact totals over all 240 invoices from one fetch and a later retained-result load. The baseline models guessed incorrect counts/totals after display truncation. Inventory reads fell from 7 to 2 and 4 to 3 respectively, with correct full-source joins.
  • New-run interviews actually attempted the saved references and observed unavailability. Five precise no-tools follow-ups distinguished descriptor visibility, incomplete samples, historical snapshots, the stated same-run contract, and what a single failed load proves. Original ambiguous Boolean flags remain recorded separately. One repetition per model/workload; latency and model turns varied.

@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling size: XL maintainer Maintainer-authored PR labels Sep 13, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 4:30 PM ET / 20:30 UTC (Revision 4).

ClawSweeper review

What this changes

Code Mode automatically saves oversized returned objects and arrays for later cells and provides bounded previews of nested data.

Merge readiness

✅ Ready for maintainer review

Keep open: the automatic-retention behavior remains distinct from main’s explicit saving capability. No blocking correctness or security findings remain, and the updated Gateway observations address the previous review’s task-efficiency evidence gap.

Priority: P2
Reviewed head: 93b4da8f304fc4559a4935622f38bd55131ce88e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent implementation with useful reported live comparisons, focused boundary coverage, and no blocking findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The captured PR body reports actual Gateway cells returning oversized invoice data, loading it in later cells, and producing exact full-data totals without refetching; comparative read counts address the prior evidence gap. These live observations cover the changed retention path, with tests providing supplemental lifecycle and budget coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The captured PR body reports actual Gateway cells returning oversized invoice data, loading it in later cells, and producing exact full-data totals without refetching; comparative read counts address the prior evidence gap. These live observations cover the changed retention path, with tests providing supplemental lifecycle and budget coverage.
Evidence reviewed 8 items Pinned scope and clean checkout: The reviewed introduction is ac59d5e..93b4da8. The complete introduced changes were inspected locally; git diff --check passed and the final working-tree status was clean.
Current main still requires explicit saving: Fetched main’s settlement calls takeResult without a retention callback, and its result store exposes explicit save/load/delete. The merged foundation at #147154 therefore does not supersede this automatic-retention addition. The latest supplied release, v2026.9.4, has no code-mode-results.ts entry.
Retention preserves successful delivery: Retention runs only for truncated structured final values. An undeliverable reference releases its entry, while fallback guidance cannot invalidate the original successful projection.
Findings None None.
Security None None.

How this fits together

OpenClaw Code Mode runs agent-written JavaScript or TypeScript in isolated cells and projects tool results into bounded model output. Its catalog-owned result store lets later cells reuse complete JSON without fetching it again.

flowchart TD
  A[Interactive code cell] --> B[Normalize final JSON]
  B --> C{Fits display budget?}
  C -->|Yes| D[Return complete value]
  C -->|No| E{Run store has capacity?}
  E -->|Yes| F[Return bounded reference]
  E -->|No| G[Return successful truncation]
  F --> H[Later cell loads complete JSON]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +386, Tests +492, Docs +50. Total +928 across 19 files.

View PR surface stats
Area Files Added Removed Net
Source 9 568 182 +386
Tests 6 498 6 +492
Docs 4 54 4 +50
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 19 1120 192 +928

Review metrics

Metric Value Why it matters
Production versus test growth production +386 net lines; tests +492 net lines Production growth implements automatic retention and bounded nested-data previews while reusing the existing store and extracted prefix fitter.

Technical review

Best possible solution:

Keep automatic preservation within the existing bounded run store, with complete reference identities, explicit sampled previews, and successful truncation when retention is unavailable.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a defect classification: this adds automatic preservation to an existing explicit-save capability. Current main’s source confirms the missing automatic path.

Is this the best way to solve the issue?

Yes. The patch extends the existing output and result-store owners instead of adding competing storage, and explicit save cannot recover a value already discarded by display truncation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 834f8378c9d1.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured PR body reports actual Gateway cells returning oversized invoice data, loading it in later cells, and producing exact full-data totals without refetching; comparative read counts address the prior evidence gap. These live observations cover the changed retention path, with tests providing supplemental lifecycle and budget coverage.

Label justifications:

  • P2: This is a bounded Code Mode improvement that avoids repeated fetches after oversized results.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured PR body reports actual Gateway cells returning oversized invoice data, loading it in later cells, and producing exact full-data totals without refetching; comparative read counts address the prior evidence gap. These live observations cover the changed retention path, with tests providing supplemental lifecycle and budget coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured PR body reports actual Gateway cells returning oversized invoice data, loading it in later cells, and producing exact full-data totals without refetching; comparative read counts address the prior evidence gap. These live observations cover the changed retention path, with tests providing supplemental lifecycle and budget coverage.

Evidence

What I checked:

  • Pinned scope and clean checkout: The reviewed introduction is ac59d5e..93b4da8. The complete introduced changes were inspected locally; git diff --check passed and the final working-tree status was clean. (93b4da8f304f)
  • Current main still requires explicit saving: Fetched main’s settlement calls takeResult without a retention callback, and its result store exposes explicit save/load/delete. The merged foundation at feat(code-mode): reuse results across code cells #147154 therefore does not supersede this automatic-retention addition. The latest supplied release, v2026.9.4, has no code-mode-results.ts entry. (src/agents/code-mode-execution.ts:581, 834f8378c9d1)
  • Retention preserves successful delivery: Retention runs only for truncated structured final values. An undeliverable reference releases its entry, while fallback guidance cannot invalidate the original successful projection. (src/agents/code-mode-json.ts:247, 93b4da8f304f)
  • Existing ownership and capacity boundary: Automatic and explicit saves share currentStore and retainJson. Admission checks catalog identity, run/session scope, abort state, entry count, and encoded-byte capacity; loads retain network provenance. No durable store or new execution authority is introduced. (src/agents/code-mode-results.ts:109, 93b4da8f304f)
  • Behavioral regression coverage: Inspected tests exercise later-cell calculations without refetching, output exhaustion across wait, model-only truncation, network wrapping, full capacity, invalidation, cancellation, Unicode, and undeliverable-reference cleanup. Existing result-store tests also exercise restriction and run/session isolation. Tests were read, not executed in this read-only review. (src/agents/code-mode.auto-results.test.ts:18, 93b4da8f304f)
  • Updated real Gateway observations: The supplied body snapshot, sourceRevision 1e1c30d6cb532788736cc9d61bbe253e77eef1243e617fbec1dc4188ffae0238, reports two real-key Gateway runs calculating exact totals across 240 invoices using one fetch and a later retained-result load. Inventory reads decreased from 7 to 2 and 4 to 3, and new-run loads observed reference unavailability. The live REST body matched these observations and the pinned head. These are contributor-reported live observations, not reviewer execution; one repetition per model/workload does not establish general latency gains. (93b4da8f304f)

Likely related people:

  • Peter Steinberger: Raw commit 3d4ed50 adds src/agents/code-mode-results.ts:66 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3d4ed50dddc9; files: src/agents/code-mode-results.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-09-13T18:50:18.950Z sha f624326 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-13T19:10:35.807Z sha f624326 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T20:13:08.391Z sha 93b4da8 :: blocked before merge. :: none

@steipete
steipete marked this pull request as ready for review September 13, 2026 18:52
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 13, 2026
Preserve oversized final objects and arrays in the existing run-owned result store, with complete reference identities and bounded previews of nested arrays and observed heterogeneous values. Keep emitted output, headless execution, restart-safe cells, store limits, and reference lifetimes unchanged.

Optional retention and its guidance preserve already successful truncation when model budgets are tight. Validate with 277 focused tests, full changed checks, docs link audit, and a clean P2 review; the combined candidate build and live proof precede landing.
@steipete
steipete force-pushed the codex/code-mode-auto-results branch from f624326 to 93b4da8 Compare September 13, 2026 19:32
@steipete
steipete merged commit 6fbcf83 into main Sep 13, 2026
189 checks passed
@steipete
steipete deleted the codex/code-mode-auto-results branch September 13, 2026 20:31
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 13, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…law#147278)

Preserve oversized final objects and arrays in the existing run-owned result store, with complete reference identities and bounded previews of nested arrays and observed heterogeneous values. Keep emitted output, headless execution, restart-safe cells, store limits, and reference lifetimes unchanged.

Optional retention and its guidance preserve already successful truncation when model budgets are tight. Validate with 277 focused tests, full changed checks, docs link audit, and a clean P2 review; the combined candidate build and live proof precede landing.
hbjydev pushed a commit to hbjydev/phoebe that referenced this pull request Sep 20, 2026
…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. ([#&#8203;149741](openclaw/openclaw#149741), [#&#8203;149956](openclaw/openclaw#149956), [#&#8203;148901](openclaw/openclaw#148901), [#&#8203;149308](openclaw/openclaw#149308), [#&#8203;149823](openclaw/openclaw#149823), [#&#8203;149760](openclaw/openclaw#149760)) Related [#&#8203;149822](openclaw/openclaw#149822) Thanks [@&#8203;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. ([#&#8203;145484](openclaw/openclaw#145484), [#&#8203;145710](openclaw/openclaw#145710), [#&#8203;145713](openclaw/openclaw#145713), [#&#8203;145648](openclaw/openclaw#145648), [#&#8203;145917](openclaw/openclaw#145917), [#&#8203;149910](openclaw/openclaw#149910)) Related [#&#8203;149909](openclaw/openclaw#149909) Thanks [@&#8203;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. ([#&#8203;147571](openclaw/openclaw#147571), [#&#8203;147206](openclaw/openclaw#147206), [#&#8203;150065](openclaw/openclaw#150065), [#&#8203;148051](openclaw/openclaw#148051), [#&#8203;149925](openclaw/openclaw#149925)) Related [#&#8203;27445](openclaw/openclaw#27445), [#&#8203;147955](openclaw/openclaw#147955) Thanks [@&#8203;good-warning](https://github.com/good-warning), [@&#8203;nicknmorty](https://github.com/nicknmorty), [@&#8203;obviyus](https://github.com/obviyus), [@&#8203;VACInc](https://github.com/VACInc), and [@&#8203;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. ([#&#8203;147519](openclaw/openclaw#147519), [#&#8203;148526](openclaw/openclaw#148526), [#&#8203;147684](openclaw/openclaw#147684), [#&#8203;146641](openclaw/openclaw#146641), [#&#8203;148209](openclaw/openclaw#148209)) Related [#&#8203;147217](openclaw/openclaw#147217), [#&#8203;147576](openclaw/openclaw#147576), [#&#8203;148205](openclaw/openclaw#148205) Thanks [@&#8203;IWhatsskill](https://github.com/IWhatsskill), [@&#8203;Solvely-Colin](https://github.com/Solvely-Colin), and [@&#8203;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. ([#&#8203;145382](openclaw/openclaw#145382), [#&#8203;146546](openclaw/openclaw#146546), [#&#8203;146676](openclaw/openclaw#146676)) Related [#&#8203;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. ([#&#8203;148431](openclaw/openclaw#148431), [#&#8203;148904](openclaw/openclaw#148904), [#&#8203;148906](openclaw/openclaw#148906), [#&#8203;148649](openclaw/openclaw#148649), [#&#8203;144101](openclaw/openclaw#144101), [#&#8203;143972](openclaw/openclaw#143972)) Related [#&#8203;144093](openclaw/openclaw#144093), [#&#8203;148409](openclaw/openclaw#148409) Thanks [@&#8203;ansxor](https://github.com/ansxor), [@&#8203;IWhatsskill](https://github.com/IWhatsskill), [@&#8203;Marvinthebored](https://github.com/Marvinthebored), [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@&#8203;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. ([#&#8203;143588](openclaw/openclaw#143588), [#&#8203;144329](openclaw/openclaw#144329), [#&#8203;147994](openclaw/openclaw#147994), [#&#8203;145377](openclaw/openclaw#145377)) Thanks [@&#8203;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. ([#&#8203;149811](openclaw/openclaw#149811), [#&#8203;147540](openclaw/openclaw#147540), [#&#8203;148002](openclaw/openclaw#148002), [#&#8203;148050](openclaw/openclaw#148050), [#&#8203;147295](openclaw/openclaw#147295)) Related [#&#8203;147271](openclaw/openclaw#147271), [#&#8203;149682](openclaw/openclaw#149682) Thanks [@&#8203;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. ([#&#8203;145712](openclaw/openclaw#145712), [#&#8203;141476](openclaw/openclaw#141476), [#&#8203;141097](openclaw/openclaw#141097)) Thanks [@&#8203;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. ([#&#8203;141411](openclaw/openclaw#141411), [#&#8203;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. ([#&#8203;147441](openclaw/openclaw#147441), [#&#8203;145530](openclaw/openclaw#145530), [#&#8203;147682](openclaw/openclaw#147682)) Related [#&#8203;145529](openclaw/openclaw#145529), [#&#8203;147383](openclaw/openclaw#147383) Thanks [@&#8203;onlyysaurabh](https://github.com/onlyysaurabh) and [@&#8203;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. ([#&#8203;144480](openclaw/openclaw#144480), [#&#8203;146702](openclaw/openclaw#146702), [#&#8203;146312](openclaw/openclaw#146312), [#&#8203;146475](openclaw/openclaw#146475)) Related [#&#8203;144477](openclaw/openclaw#144477), [#&#8203;146303](openclaw/openclaw#146303), [#&#8203;146308](openclaw/openclaw#146308), [#&#8203;146577](openclaw/openclaw#146577) Thanks [@&#8203;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. ([#&#8203;147275](openclaw/openclaw#147275), [#&#8203;143938](openclaw/openclaw#143938), [#&#8203;143836](openclaw/openclaw#143836)) Related [#&#8203;143829](openclaw/openclaw#143829), [#&#8203;147274](openclaw/openclaw#147274) Thanks [@&#8203;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. ([#&#8203;147773](openclaw/openclaw#147773), [#&#8203;149581](openclaw/openclaw#149581), [#&#8203;146251](openclaw/openclaw#146251), [#&#8203;146338](openclaw/openclaw#146338), [#&#8203;146403](openclaw/openclaw#146403)) Related [#&#8203;146250](openclaw/openclaw#146250), [#&#8203;146288](openclaw/openclaw#146288), [#&#8203;149580](openclaw/openclaw#149580) Thanks [@&#8203;fuller-stack-dev](https://github.com/fuller-stack-dev) and [@&#8203;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. ([#&#8203;147134](openclaw/openclaw#147134), [#&#8203;147154](openclaw/openclaw#147154), [#&#8203;147278](openclaw/openclaw#147278), [#&#8203;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. ([#&#8203;145851](openclaw/openclaw#145851), [#&#8203;146557](openclaw/openclaw#146557), [#&#8203;147891](openclaw/openclaw#147891))

- **Hot policy changes:** apply browser control policy, Telegram access/reply policy, and renewed TLS certificates without restarting their running services. ([#&#8203;146100](openclaw/openclaw#146100), [#&#8203;146129](openclaw/openclaw#146129), [#&#8203;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. ([#&#8203;144491](openclaw/openclaw#144491), [#&#8203;144468](openclaw/openclaw#144468), [#&#8203;128633](openclaw/openclaw#128633)) Related [#&#8203;123215](openclaw/openclaw#123215) Thanks [@&#8203;hartmark](https://github.com/hartmark), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;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. ([#&#8203;144664](openclaw/openclaw#144664), [#&#8203;132453](openclaw/openclaw#132453), [#&#8203;132454](openclaw/openclaw#132454), [#&#8203;148639](openclaw/openclaw#148639), [#&#8203;148735](openclaw/openclaw#148735), [#&#8203;149616](openclaw/openclaw#149616)) Related [#&#8203;144643](openclaw/openclaw#144643), [#&#8203;148629](openclaw/openclaw#148629), [#&#8203;148728](openclaw/openclaw#148728) Thanks [@&#8203;jesse-merhi](https://github.com/jesse-merhi).

- **Daybreak fallback:** retry supported cyber-refused turns on Daybreak, surface cyber notices, and announce successful retries. ([#&#8203;143761](openclaw/openclaw#143761), [#&#8203;145291](openclaw/openclaw#145291), [#&#8203;147146](openclaw/openclaw#147146)) Thanks [@&#8203;VACInc](https://github.com/VACInc).

- **Triage handoffs:** add Muse, Grok, Cursor, Kimi Code, and Qwen Code handoffs through the existing triage workflow. ([#&#8203;149703](openclaw/openclaw#149703), [#&#8203;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. ([#&#8203;141777](openclaw/openclaw#141777), [#&#8203;141742](openclaw/openclaw#141742), [#&#8203;150082](openclaw/openclaw#150082)) Related [#&#8203;58574](openclaw/openclaw#58574), [#&#8203;141745](openclaw/openclaw#141745) Thanks [@&#8203;Alix-007](https://github.com/Alix-007), [@&#8203;Celthi](https://github.com/Celthi), [@&#8203;Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@&#8203;shakkernerd](https://github.com/shakkernerd).

- **Structured channel questions:** answer an agent question directly from its offered Mattermost option or LINE tap. ([#&#8203;135350](openclaw/openclaw#135350), [#&#8203;133421](openclaw/openclaw#133421)) Related [#&#8203;133288](openclaw/openclaw#133288), [#&#8203;133418](openclaw/openclaw#133418) Thanks [@&#8203;edenfunf](https://github.com/edenfunf) and [@&#8203;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. ([#&#8203;143625](openclaw/openclaw#143625), [#&#8203;146737](openclaw/openclaw#146737), [#&#8203;146672](openclaw/openclaw#146672), [#&#8203;146644](openclaw/openclaw#146644)) Related [#&#8203;143607](openclaw/openclaw#143607), [#&#8203;146590](openclaw/openclaw#146590), [#&#8203;146610](openclaw/openclaw#146610), [#&#8203;146655](openclaw/openclaw#146655) Thanks [@&#8203;VACInc](https://github.com/VACInc), [@&#8203;vincentkoc](https://github.com/vincentkoc), and [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Review and workboards:** inspect CI jobs and steps from PR chips and select or update multiple workboard cards together. ([#&#8203;148070](openclaw/openclaw#148070), [#&#8203;144756](openclaw/openclaw#144756)) Related [#&#8203;147952](openclaw/openclaw#147952) Thanks [@&#8203;vyctorbrzezowski](https://github.com/vyctorbrzezowski).

- **Personalization:** choose an avatar during agent hatching, use custom SVG session icons, and distinguish plugin activity with compact icons. ([#&#8203;146669](openclaw/openclaw#146669), [#&#8203;147442](openclaw/openclaw#147442), [#&#8203;147333](openclaw/openclaw#147333), [#&#8203;143711](openclaw/openclaw#143711)) Related [#&#8203;143683](openclaw/openclaw#143683) Thanks [@&#8203;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. ([#&#8203;146755](openclaw/openclaw#146755), [#&#8203;147388](openclaw/openclaw#147388), [#&#8203;147760](openclaw/openclaw#147760), [#&#8203;147840](openclaw/openclaw#147840)) Related [#&#8203;147343](openclaw/openclaw#147343), [#&#8203;147757](openclaw/openclaw#147757), [#&#8203;147829](openclaw/openclaw#147829) Thanks [@&#8203;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. ([#&#8203;148808](openclaw/openclaw#148808), [#&#8203;147097](openclaw/openclaw#147097), [#&#8203;149763](openclaw/openclaw#149763)) Related [#&#8203;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. ([#&#8203;144499](openclaw/openclaw#144499), [#&#8203;148004](openclaw/openclaw#148004), [#&#8203;148875](openclaw/openclaw#148875)) Related [#&#8203;148003](openclaw/openclaw#148003) Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;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. ([#&#8203;93265](openclaw/openclaw#93265), [#&#8203;118067](openclaw/openclaw#118067), [#&#8203;100432](openclaw/openclaw#100432)) Related [#&#8203;100405](openclaw/openclaw#100405) Thanks [@&#8203;fuller-stack-dev](https://github.com/fuller-stack-dev), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;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. ([#&#8203;147192](openclaw/openclaw#147192), [#&#8203;147423](openclaw/openclaw#147423)) Thanks [@&#8203;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 [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;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. ([#&#8203;138579](openclaw/openclaw#138579), [#&#8203;149140](openclaw/openclaw#149140), [#&#8203;143673](openclaw/openclaw#143673)) Related [#&#8203;149139](openclaw/openclaw#149139) Thanks [@&#8203;LiuwqGit](https://github.com/LiuwqGit), [@&#8203;masatohoshino](https://github.com/masatohoshino), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;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. ([#&#8203;149997](openclaw/openclaw#149997), [#&#8203;149840](openclaw/openclaw#149840), [#&#8203;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 [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;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. ([#&#8203;149749](openclaw/openclaw#149749), [#&#8203;149853](openclaw/openclaw#149853), [#&#8203;149901](openclaw/openclaw#149901), [#&#8203;149754](openclaw/openclaw#149754), [#&#8203;149704](openclaw/openclaw#149704)) Thanks [@&#8203;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. ([#&#8203;149918](openclaw/openclaw#149918), [#&#8203;149753](openclaw/openclaw#149753), [#&#8203;149653](openclaw/openclaw#149653)) Thanks [@&#8203;obviyus](https://github.com/obviyus).

- **Service upgrades:** preserve Gateway authentication when reinstalling legacy services and avoid timing out systemd restart inspection. ([#&#8203;149686](openclaw/openclaw#149686), [#&#8203;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`. ([#&#8203;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. ([#&#8203;149036](openclaw/openclaw#149036), [#&#8203;149666](openclaw/openclaw#149666), [#&#8203;149844](openclaw/openclaw#149844)) Thanks [@&#8203;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. ([#&#8203;150080](openclaw/openclaw#150080), [#&#8203;150072](openclaw/openclaw#150072), [#&#8203;150073](openclaw/openclaw#150073), [#&#8203;149953](openclaw/openclaw#149953)) Thanks [@&#8203;obviyus](https://github.com/obviyus).

- **Channel startup and routing:** avoid blocking Discord startup on persisted bindings and allow cross-provider messaging by default. ([#&#8203;149861](openclaw/openclaw#149861), [#&#8203;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. ([#&#8203;149648](openclaw/openclaw#149648), [#&#8203;149646](openclaw/openclaw#149646), [#&#8203;149675](openclaw/openclaw#149675), [#&#8203;150088](openclaw/openclaw#150088)) Thanks [@&#8203;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. ([#&#8203;149837](openclaw/openclaw#149837), [#&#8203;149842](openclaw/openclaw#149842), [#&#8203;150003](openclaw/openclaw#150003)) Related [#&#8203;149854](openclaw/openclaw#149854), [#&#8203;149855](openclaw/openclaw#149855) Thanks [@&#8203;obviyus](https://github.com/obviyus), [@&#8203;zhangguiping-xydt](https://github.com/zhangguiping-xydt), and [@&#8203;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. ([#&#8203;149365](openclaw/openclaw#149365), [#&#8203;150112](openclaw/openclaw#150112), [#&#8203;149879](openclaw/openclaw#149879)) Thanks [@&#8203;bdjben](https://github.com/bdjben) and [@&#8203;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. ([#&#8203;149902](openclaw/openclaw#149902), [#&#8203;149958](openclaw/openclaw#149958), [#&#8203;149955](openclaw/openclaw#149955), [#&#8203;150129](openclaw/openclaw#150129)) Thanks [@&#8203;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. ([#&#8203;150108](openclaw/openclaw#150108), [#&#8203;150125](openclaw/openclaw#150125), [#&#8203;149959](openclaw/openclaw#149959))

- **Chat state:** keep your own messages right-aligned through refresh and reconnect, and clear resolved queued-message reorder conflicts. ([#&#8203;147634](openclaw/openclaw#147634), [#&#8203;149962](openclaw/openclaw#149962)) Related [#&#8203;147511](openclaw/openclaw#147511) Thanks [@&#8203;keith9681](https://github.com/keith9681), [@&#8203;obviyus](https://github.com/obviyus), and [@&#8203;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. ([#&#8203;149499](openclaw/openclaw#149499), [#&#8203;149900](openclaw/openclaw#149900), [#&#8203;150118](openclaw/openclaw#150118), [#&#8203;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. ([#&#8203;149976](openclaw/openclaw#149976), [#&#8203;150035](openclaw/openclaw#150035), [#&#8203;149124](openclaw/openclaw#149124), [#&#8203;149629](openclaw/openclaw#149629)) Related [#&#8203;149630](openclaw/openclaw#149630) Thanks [@&#8203;obviyus](https://github.com/obviyus) and [@&#8203;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. ([#&#8203;148893](https://github.com/openclaw/openclaw/issues/148893), [#&#8203;149914](https://github.com/openclaw/openclaw/issues/149914)) Thanks [@&#8203;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 [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;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 [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;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 [@&#8203;vincentkoc](https://github.com/vincentkoc) and [@&#8203;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
steipete added a commit that referenced this pull request Oct 14, 2026
* refactor(agents): simplify old runtime bookkeeping

Use one catalog discovery pass, local-process stop promise, presentation
completion path, diagnostic recovery batch, and generated-media rollback
owner. Reuse directory parameter declarations and keep sandbox validation
at its existing boundary without repeating the same blocked-path checks.
Remove the duplicate full-map primary-probe prune.
Trust JSON-normalized result previews and group identical session-export
style declarations without changing their visibility or cascade rules.

Keep auth/approval/sandbox policy, normal child and write settlement,
transcript/user-data durability, public signatures and Phase E unchanged.
Production reduction: 147 net lines across ten old-only files.

Best-effort tradeoffs accepted

- MCP list_changed during held sibling discovery: #138694 added a synthetic
  forced-overlap replay, not a cited human incident. The next load refreshes
  the catalog instead; retirement and execution authority remain enforced.
- Competing catalog producer finalization: the same private owner forbids a
  replacement while its promise is present, so the identity recheck is an
  internal invariant, not a realistic concurrency boundary.
- Local-service post-readiness exit: #154133 describes synthetic parallel
  qualification, not a human report requiring another health check. The
  following request reports an exit after readiness; normal shutdown still
  joins the child, streams and pending termination work.
- Local-process stop identity: replacement starts only after the retained
  authoritative process finishes stopping. The duplicate process reference
  and identity comparisons cannot observe another production replacement;
  failed-stop retry and the retiring marker remain intact.
- Synchronous presentation self-drain: #156187 extracted this reservation
  without a cited human incident. Production adapters drain after projection;
  callbacks return their own work instead of reserving it before invocation.
- Quarantine recovery overlap: #161579 explicitly introduced per-key and
  generation fencing for synthetic before-dispatch/after-reply controls.
  Same-key overlap can leave a stale or missing status warning until a later
  failing run or existing TTL. Actual tool exclusion, logs/events, accepted
  writes, stored shapes and worker/SQL contracts remain unchanged.
- Primary-probe cache insertion order: #82707 introduced duplicate pruning.
  Post-write expiry and capacity bounds remain; refreshing an expired key
  can retain an earlier insertion position and permit an earlier reprobe
  after capacity eviction. This is a bounded best-effort throttle cache.
- Preview host-prototype pollution: #147278 added own-property gates as part
  of result retention, not a human inherited-property failure report; linked
  #147105 proposes the feature. The sole caller passes freshly parsed JSON.
  A polluted host Object.prototype can affect bounded descriptive samples;
  retained JSON, reference identity and execution authority remain unchanged.

* test(agents): warm MCP sibling before held discovery

The discovery/revocation fixture held HTTP tools/list while cold-starting
its stdio sibling. Slow startup could exhaust the existing ten-second
listing deadline before the test reached revocation, producing a timeout
diagnostic or an empty healthy-tool list instead of exercising its overlap.

Warm the non-held sibling through its actual runtime owner first, then hold
the other server's discovery across revocation. Keep every assertion,
deadline, runtime authority check, and cleanup path unchanged.

The two affected cases pass through the production materialization path;
focused lint, format, and the owning test type graph also pass. The earlier
four short-deadline MCP runtime failures remain separately unattributed.

* refactor(apple): simplify source resources and microphone permission

Use cancellation of owned source-resource tasks instead of a revision
counter. Use native async microphone permission APIs instead of manual
authorization-state switches and callback continuations.

Best-effort tradeoffs accepted:
- Resource revision tracking (#148906, feature request #148850, not a
  human invalidation-race incident): invalidation between prepared context
  and favicon task admission may allow one lookup with that snapshot;
  later lookups rediscover. Live route authority and Gateway disabled-fetch
  policy remain enforced.

No protocol, persisted shape, config, permission-prompt or signing changes.
Net production reduction: 26 lines (+10/-36); no test changes. Phase E
untouched. Pager/notification changes were excluded after #171772 made
their files recent under the seven-day rule. BELOW-500 coordinator bundle.

Remaining source is byte-identical to the independently reviewed checkpoint.
macOS/iOS Simulator/watchOS Simulator arm64 platform builds passed.
Actual production-package focused tests passed: 17 VoiceNote XCTest cases
and 18 source-resource SwiftTesting declarations including parameters.
SwiftFormat, SwiftLint, runtime/madge cycles (zero), lint-suppressions,
native-state guard and localization verification passed.

Broad check-changed is not green: one bounded reproduction retained ten
20-second artifact-fixture subprocess timeouts and one 120-second signing
fixture timeout. Unchanged tooling paths do not run these Swift sources;
these are unresolved local failures, not proven hosted-main-red.
Intel execution, app-hosted native UI tests requiring an OS sandbox and
live microphone effects are not proven. No release_gate or remote lease.

* refactor(apple): consolidate activity refresh and watch connection paths

* refactor(agents): retain recent MCP contracts in old-code bundle

Keep the recently edited reload regression file and its current combined-catalog implementation unchanged from main. Preserve the final source-lane trees for quarantine and Live Activity while retaining newer main behavior.

This supersedes the historical source-commit inventories and MCP/quarantine/activity timing tradeoffs. Final bundle: 162 production lines removed; 112 net lines removed including tests (+166/-278, 14 files). Credit source lanes q10, q01 and q02. Fresh final-index review found no actionable P0-P2 defects. Focused proof and exact-head PR CI remain the landing gates.

* fix(test): synchronize MCP connection invalidation fixture

Hold sibling initialization across client-observed catalog invalidation. Preserve the existing assertions and deadlines; isolate scenario setup so the oversized runtime test does not grow.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
…aw#172002)

* refactor(agents): simplify old runtime bookkeeping

Use one catalog discovery pass, local-process stop promise, presentation
completion path, diagnostic recovery batch, and generated-media rollback
owner. Reuse directory parameter declarations and keep sandbox validation
at its existing boundary without repeating the same blocked-path checks.
Remove the duplicate full-map primary-probe prune.
Trust JSON-normalized result previews and group identical session-export
style declarations without changing their visibility or cascade rules.

Keep auth/approval/sandbox policy, normal child and write settlement,
transcript/user-data durability, public signatures and Phase E unchanged.
Production reduction: 147 net lines across ten old-only files.

Best-effort tradeoffs accepted

- MCP list_changed during held sibling discovery: openclaw#138694 added a synthetic
  forced-overlap replay, not a cited human incident. The next load refreshes
  the catalog instead; retirement and execution authority remain enforced.
- Competing catalog producer finalization: the same private owner forbids a
  replacement while its promise is present, so the identity recheck is an
  internal invariant, not a realistic concurrency boundary.
- Local-service post-readiness exit: openclaw#154133 describes synthetic parallel
  qualification, not a human report requiring another health check. The
  following request reports an exit after readiness; normal shutdown still
  joins the child, streams and pending termination work.
- Local-process stop identity: replacement starts only after the retained
  authoritative process finishes stopping. The duplicate process reference
  and identity comparisons cannot observe another production replacement;
  failed-stop retry and the retiring marker remain intact.
- Synchronous presentation self-drain: openclaw#156187 extracted this reservation
  without a cited human incident. Production adapters drain after projection;
  callbacks return their own work instead of reserving it before invocation.
- Quarantine recovery overlap: openclaw#161579 explicitly introduced per-key and
  generation fencing for synthetic before-dispatch/after-reply controls.
  Same-key overlap can leave a stale or missing status warning until a later
  failing run or existing TTL. Actual tool exclusion, logs/events, accepted
  writes, stored shapes and worker/SQL contracts remain unchanged.
- Primary-probe cache insertion order: openclaw#82707 introduced duplicate pruning.
  Post-write expiry and capacity bounds remain; refreshing an expired key
  can retain an earlier insertion position and permit an earlier reprobe
  after capacity eviction. This is a bounded best-effort throttle cache.
- Preview host-prototype pollution: openclaw#147278 added own-property gates as part
  of result retention, not a human inherited-property failure report; linked
  openclaw#147105 proposes the feature. The sole caller passes freshly parsed JSON.
  A polluted host Object.prototype can affect bounded descriptive samples;
  retained JSON, reference identity and execution authority remain unchanged.

* test(agents): warm MCP sibling before held discovery

The discovery/revocation fixture held HTTP tools/list while cold-starting
its stdio sibling. Slow startup could exhaust the existing ten-second
listing deadline before the test reached revocation, producing a timeout
diagnostic or an empty healthy-tool list instead of exercising its overlap.

Warm the non-held sibling through its actual runtime owner first, then hold
the other server's discovery across revocation. Keep every assertion,
deadline, runtime authority check, and cleanup path unchanged.

The two affected cases pass through the production materialization path;
focused lint, format, and the owning test type graph also pass. The earlier
four short-deadline MCP runtime failures remain separately unattributed.

* refactor(apple): simplify source resources and microphone permission

Use cancellation of owned source-resource tasks instead of a revision
counter. Use native async microphone permission APIs instead of manual
authorization-state switches and callback continuations.

Best-effort tradeoffs accepted:
- Resource revision tracking (openclaw#148906, feature request openclaw#148850, not a
  human invalidation-race incident): invalidation between prepared context
  and favicon task admission may allow one lookup with that snapshot;
  later lookups rediscover. Live route authority and Gateway disabled-fetch
  policy remain enforced.

No protocol, persisted shape, config, permission-prompt or signing changes.
Net production reduction: 26 lines (+10/-36); no test changes. Phase E
untouched. Pager/notification changes were excluded after openclaw#171772 made
their files recent under the seven-day rule. BELOW-500 coordinator bundle.

Remaining source is byte-identical to the independently reviewed checkpoint.
macOS/iOS Simulator/watchOS Simulator arm64 platform builds passed.
Actual production-package focused tests passed: 17 VoiceNote XCTest cases
and 18 source-resource SwiftTesting declarations including parameters.
SwiftFormat, SwiftLint, runtime/madge cycles (zero), lint-suppressions,
native-state guard and localization verification passed.

Broad check-changed is not green: one bounded reproduction retained ten
20-second artifact-fixture subprocess timeouts and one 120-second signing
fixture timeout. Unchanged tooling paths do not run these Swift sources;
these are unresolved local failures, not proven hosted-main-red.
Intel execution, app-hosted native UI tests requiring an OS sandbox and
live microphone effects are not proven. No release_gate or remote lease.

* refactor(apple): consolidate activity refresh and watch connection paths

* refactor(agents): retain recent MCP contracts in old-code bundle

Keep the recently edited reload regression file and its current combined-catalog implementation unchanged from main. Preserve the final source-lane trees for quarantine and Live Activity while retaining newer main behavior.

This supersedes the historical source-commit inventories and MCP/quarantine/activity timing tradeoffs. Final bundle: 162 production lines removed; 112 net lines removed including tests (+166/-278, 14 files). Credit source lanes q10, q01 and q02. Fresh final-index review found no actionable P0-P2 defects. Focused proof and exact-head PR CI remain the landing gates.

* fix(test): synchronize MCP connection invalidation fixture

Hold sibling initialization across client-observed catalog invalidation. Preserve the existing assertions and deadlines; isolate scenario setup so the oversized runtime test does not grow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant