Skip to content

improve(build): trim unused imports from standalone relays - #170187

Merged
vincentkoc merged 3 commits into
openclaw:mainfrom
xyrolle:perf/standalone-helper-imports
Nov 27, 2026
Merged

vincentkoc merged 3 commits into
openclaw:mainfrom
xyrolle:perf/standalone-helper-imports

Conversation

@xyrolle

@xyrolle xyrolle commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Starting a supervised command on macOS can load filesystem and process modules that the packaged relay never calls. Every fresh relay pays the startup cost.

User Impact

On macOS arm64, the service-child relay used about 15 MiB less peak RSS and reached the command sooner in a paired test. The native-hook relay client uses the same build correction. Its memory impact was not measured.

Why This Change Was Made

Apply Rolldown’s external-module rule to the two single-file relays and the audited subpaths of @openclaw/fs-safe and @openclaw/proc-safe. Both packages declare sideEffects: false. A live import still loads its module, including the Linux process-reaper functions. The tests also protect unrelated initialization such as dotenv/config and @openclaw/ai/internal/runtime.

Evidence

  • Trusted prebuilt package comparison at adf9055f2a67, Node 24.16.0 on macOS arm64. A separate module census found 234 → 119 files loaded by the service-child relay. The 115-file difference comprises 112 filesystem and three process modules.
  • Four interleaved pairs of fresh processes, with the census hook removed before dependencies loaded. Median relay peak RSS was 81.59 → 66.37 MiB, relay CPU was 304.61 → 203.07 ms, and time from launch to the real command-ready message was 408.92 → 313.67 ms. The comparison removed only the nine audited bare imports in the trusted package entry. Each arm launched the installed group anchor and /usr/bin/printf, produced exactly the expected stdout, exited zero, closed its lineage and IPC, and verified the process group had retired.
  • Independent source review and local autoreview of 636a3a653a90..a9778feed354 found no actionable defects. The new output test builds both real relay configurations and checks required bindings and unrelated initialization. All 73 tests in the owning package suite passed on the published candidate. Both emitted service relays launched their actual command and anchor, produced the expected output, closed IPC and retired both PIDs. Both audited standalone outputs dropped the unused imports and the live-binding/side-effect control passed. Exact-head package and lifecycle tests
  • The package’s SQLite helper now has its own lazy chunks. A fresh native session reached its normal IPC listener and closed cleanly after loading 26 dist files and four Chalk files. None came from TypeBox, @openclaw/ai, fs-safe, or proc-safe. The Gateway’s ARM memory limit remains a separate investigation.

Serghei (@xyrolle) identified the standalone build boundary and supplied the original SQLite package and Gateway measurements on 27be5cd3a and c91fbf77e. Their 1,025 → 308 module comparison describes those revisions. Original contributor measurements

Standalone runtime processes are single-file bundles, so their lazily
imported operation families are inlined. When tree-shaking removes every
consumer of a package, Rolldown still keeps the bare import because external
modules are assumed to have side effects, and each spawn loads that package
anyway. The read-only SQLite child loaded TypeBox and @openclaw/ai this way:
1,025 modules per launch instead of 308.

Mark only the audited imports side-effect free for these entries: the
fs-safe and proc-safe packages (both declare no side effects), the json5
root, three TypeBox subpaths and three @openclaw/ai subpaths. Skipping the
process-global default AI runtime that @openclaw/ai/internal/runtime installs
is deliberate here, because no helper calls the AI runtime. Every other
external import keeps its side effects; a fixture proves an unaudited one
such as dotenv/config survives.

On a one-CPU container (Node 24.21, arm64), 20 interleaved launches of the
session child: CPU until idle 330 -> 210 ms (median; paired ratio 0.65),
RSS 122 -> 104 MiB. Related: openclaw#169797.
@clawsweeper

clawsweeper Bot commented Oct 12, 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-12T19:57:28.528929Z c91fbf7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes audited unused external imports from standalone helper bundles to reduce process startup CPU and memory.

Example: Launching the packaged read-only SQLite child on Node 24.21 arm64 Docker with one CPU.

  • Before: The supplied benchmark reports 1,025 loaded modules and 122 MiB median RSS.
  • After: The supplied benchmark reports 308 loaded modules and 104 MiB median RSS.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong packaged-runtime evidence and a clean focused patch; the overall tier reflects a partial solution to the linked broader regression.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The newly supplied terminal evidence exercises packaged base/head SQLite helpers and real Gateway fresh/restart flows on Node 24.21 arm64 Docker, showing reduced module loading, successful CLI replies, and clean child/Gateway exits; it resolves the prior proof-only blocker without claiming whole-Gateway latency gains.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Partial
User problem: Repeated helper startup consumes avoidable CPU and memory alongside Gateway startup and first replies on constrained hosts.
Reason: The supplied measurements establish useful savings from a small change consistent with the existing independent-helper design; the linked report has additional causes.

Merge readiness

✅ Ready for maintainer review

Keep this PR: it provides a focused, measured startup optimization that current main lacks, with no actionable correctness findings.

Priority: P2
Reviewed head: c91fbf77e8c0685a0fd1df7db4a0723277f09e21

Before merge

None.

Findings

None.

Agent review details

How this fits together

The tsdown configuration converts runtime helper entrypoints into independently bundled executables that the Gateway launches for SQLite reads, state access, and process supervision.

flowchart TD
  A[Runtime helper entrypoints] --> B[Standalone tsdown configuration]
  B --> C[Audited external import rules]
  C --> D[Packaged helper executables]
  E[Gateway] --> D
  D --> F[SQLite and process operations]
Loading

Technical review

Best possible solution:

Land the narrow helper optimization while keeping the broader resource regression tracked separately.

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

Source confirms the standalone build boundary, and supplied packaged base/head traces demonstrate the unnecessary module loads; this read-only review ran no target code.

Is this the best way to solve the issue?

The scoped external-import rules address the bundle producer directly while preserving other imports' initialization and the existing shared-runtime graph.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Standalone helper bundling keeps the original intent (fix(sqlite): speed up read-only snapshot startup #144448: Keep read-only snapshot startup from loading unrelated shared-runtime chunks.)
  • Independent standalone runtime entry compilation keeps the original intent (fix(hooks): avoid blocking CLI during relay lookup #148102: Bundle standalone runtime entries independently while preserving dependency and storage contracts.)
  • Unused process-global AI initialization changes intended behavior with a stated reason (unknown: Current package source initializes the default runtime for the OpenClaw compatibility facade; the PR explicitly explains why helpers with no runtime consumer omit that initialization.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Verified introduced scope: The pinned introduction diff adds the external-only rules to the existing standalone build owner and adds two artifact-boundary tests; it changes no runtime implementation, configuration, or dependency versions. (tsdown.config.ts:943, c91fbf77e8c0)
  • Current-main comparison: The fetched main has the same existing standalone configuration and tests as the merge base, without this PR's import rules or regression cases. (tsdown.config.ts:919, a7c6c126faed)
  • Complete runtime proof inspected: The full REST-fetched body supplies packaged base/head import output, interleaved process CPU/RSS samples, and fresh/restarted real Gateway transcripts. Head child launches load 308 modules, exit successfully, return pong through openclaw agent, and shut down cleanly; the model endpoint is a loopback mock. The author expressly makes no whole-Gateway wall-clock improvement claim. (c91fbf77e8c0)
  • Original standalone design: Merged fix(sqlite): speed up read-only snapshot startup #144448 introduced independent snapshot bundling to avoid unrelated shared-runtime loading; merged fix(hooks): avoid blocking CLI during relay lookup #148102 extended independent standalone compilation. This PR preserves that design. (tsdown.config.ts:932, b51a3adb51a0)
  • AI initialization contract: The internal runtime re-exports a default-runtime module that initializes process-global AI state. The patch explicitly explains omitting unused initialization only in helpers; retained named consumers remain imports. (packages/ai/src/internal/default-runtime.ts:27, c91fbf77e8c0)
  • Affirmative dependency contract: The patch classifies fs-safe imports using this package's declared side-effect contract, making its contract relevant. The inspected manifest matches the target's 0.26.2 pin and declares sideEffects false; its policy requires preserving filesystem confinement and identity checks, which this build-only change leaves intact. (package.json:39, fe216e220ed2)

Likely related people:

  • Peter Steinberger: Raw commit b51a3ad adds tsdown.config.ts:915 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b51a3adb51a0; files: tsdown.config.ts)
  • Harold Hunt: Raw commit b6f94b8 adds tsdown.config.ts:770 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: b6f94b8193a1; files: tsdown.config.ts)

PR surface

Tests +92, Other +14. Total +106 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 92 0 +92
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 14 0 +14
Total 2 106 0 +106

Review metrics

Metric Value Why it matters
Production versus test growth Production +14 lines; tests +92 lines. The small build rule is supported by two distinct artifact contracts: removing unnecessary imports and preserving unaudited initialization.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: A measured reduction in repeated helper startup cost benefits constrained hosts without changing runtime behavior or requiring operator action.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-12T19:58:20.221Z sha c91fbf7 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-12T20:04:50.954Z sha c91fbf7 :: needs real behavior proof before merge. :: none

Reviewed October 12, 2026, 4:53 PM ET / 20:53 UTC (Revision 3).

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 12, 2026
@xyrolle

xyrolle commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

I added a Runtime proof section to the description. It contains unedited output from the packaged builds of 27be5cd3a (base) and c91fbf77e (this PR):

  1. Packaged artifact. The read-only child in the base tarball has nine bare @openclaw/fs-safe, typebox and @openclaw/ai imports; the PR tarball has none. Launched once, the base child loads 1,025 modules and the PR child 308, with no TypeBox or @openclaw/ai.
  2. Launch benchmark. Raw samples from 20 interleaved session-mode launches at --cpus=1: CPU until idle 430 → 285 ms (median, paired ratio 0.67) and RSS 122 → 104 MiB.
  3. Real Gateway boots. One fresh-state boot and one restart per build, each with a first reply from a loopback mock model, at --cpus=1.
    • Every read-only child launch is listed: before, 1,025 modules and 120–132 MiB peak RSS; after, 308 modules and 101–111 MiB.
    • Every launch exits 0, the first reply returns pong, and the Gateway shuts down cleanly.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 12, 2026
@vincentkoc vincentkoc self-assigned this Nov 27, 2026
@vincentkoc vincentkoc changed the title improve(build): reduce standalone helper startup CPU improve(build): trim unused imports from standalone relays Nov 27, 2026
@vincentkoc
vincentkoc merged commit 844bfbf into openclaw:main Nov 27, 2026
92 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 28, 2026
…170187)

* improve(build): reduce standalone helper startup CPU

Standalone runtime processes are single-file bundles, so their lazily
imported operation families are inlined. When tree-shaking removes every
consumer of a package, Rolldown still keeps the bare import because external
modules are assumed to have side effects, and each spawn loads that package
anyway. The read-only SQLite child loaded TypeBox and @openclaw/ai this way:
1,025 modules per launch instead of 308.

Mark only the audited imports side-effect free for these entries: the
fs-safe and proc-safe packages (both declare no side effects), the json5
root, three TypeBox subpaths and three @openclaw/ai subpaths. Skipping the
process-global default AI runtime that @openclaw/ai/internal/runtime installs
is deliberate here, because no helper calls the AI runtime. Every other
external import keeps its side effects; a fixture proves an unaudited one
such as dotenv/config survives.

On a one-CPU container (Node 24.21, arm64), 20 interleaved launches of the
session child: CPU until idle 330 -> 210 ms (median; paired ratio 0.65),
RSS 122 -> 104 MiB. Related: openclaw#169797.

* improve(build): trim unused imports from standalone relays

---------

Co-authored-by: Vincent Koc <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 29, 2026
## Class: foreign updater records must not grant admission

Instances: #203486, #205736, #203917, and the modern release route refusing an old unfinished recovery.

The release preparation owner now takes its existing lock, checks the installation and physical restore guard, then records other unfinished runs as `failed: interrupted` and continues. It preserves its current run and the serving trial's handed-over run. The bounded drain reads current rows, not an enclosing Doctor snapshot.

In modern release preparation, the two recovery refusals remain: a positively live in-place lease holder, and `.openclaw-restore-*` that may contain the original state. Current modern locks/trials and normal preflight still apply.

## What disappears

- The 808-line interrupted plugin-cohort settlement owner, its run/finalize/repair discovery and replay paths, and obsolete killed-driver/death-proof suites.
- Foreign saved-row permission for plugin peer links, snapshot collection, interruption/reconciliation and terminal capture. Foreign cohort rows remain unchanged; another update does not replay their rollback.
- The critical-path retained-runtime census and its timeout branches. Existing owned-release path collection runs after ready; Doctor retains its separate old-runtime cleanup.
- Current mutation and Gateway completion read only their named pair. Main's existing all-row admission reader is retained only by the shipped package-finalization bridge, as the accepted fallback below.

Current source/executor/lifecycle/transaction/finalizer checks remain. Explicit repeated repair uses its existing abandonment and exclusive-ownership checks, not a foreign stored-recovery veto; it does not replay the saved cohort. Snapshot collection defers only inside this operation's existing live publication capture, preserving its rollback bytes without consulting foreign records. The shipped `finishInterruptedUpdate` export keeps its real staged finalization, pinned as a source build entry because the compatibility inventory names it.

No new state, flag, timer, death proof, schema/stored shape, or launcher/Gateway protocol change. Doctor-compatible reads remain for legitimate current cross-build bookkeeping, not foreign admission.

**Accepted legacy edge:** package-only finalization retains main's `recoveryAdmission` worker, coherent facts and assertion on its selected service/history roots. The schema-refusal/copy-cost cleanup is not redesigned here. Ordinary readiness guards keep their original no-recovery early return; modern release admission remains physical-only.

## Size

`tokei` on this PR's 39 runtime source files, excluding tests/support/harnesses and fixtures, against merged main `1e6d3f9bd9ecdbb061908ed30090bcf2fd6d7c2f` (original before-code base: `5c815265d5281c7929ab7483bd4e471e54e5c0ff`):

| | Before | After | Net |
| --- | ---: | ---: | ---: |
| Production code lines | 11,335 | 10,362 | **−973** |
| Test/support lines | | | **−2,447** |

Tooling routing/inventory and the update implementation contract are updated with the cut; their deletions are not counted as runtime savings.

## Verification

- Current head `b4e588ff5f9e35a27faa20232819c7f73e100d4a`, tree `12b76c0debe4b9b4ee2274c3459acce54acc1c3d`, fixes the landing review's lease-permission regression: slot inspection opens through the existing lease-store preparation owner, not direct identity capture. The existing slot table now covers an idle owned `0644` store being repaired to `0600` without refusing admission or changing history. Normal hooks passed; **current-head CI is pending**. Predecessor `63010e7d0af9` completed 87 successful checks with no failures/pending checks, including schema, copy-cost, healthy-caller, type, lint, ratchet and extension-boundary gates ([run](https://github.com/openclaw/openclaw/actions/runs/45952703299)).
- Corrected AWS Linux base proof: seven selected contracts, **six meaningful failures and one terminal-history control pass**. A pre-repair repeated-repair comparison selected two positive cases; both failed meaningfully. This supersedes the initial host-only baseline, which is not counted as Linux proof.
- AWS `747bd654fa01`: **145 passed, two skipped** across nine files; core/core-test/scripts/tooling types, changed lint/format and dead-export scans passed. AWS `9901b03a6ae4`: **132 passed** across six affected files, including real snapshot rollback and CLI deadline integration; core/core-test types, scoped lint/format and dead-export scans passed. [Final run](https://crabbox.openclaw.ai/portal/runs/run_95deb2b3c2b56df85ff53e839750f5c5). These are qualified source snapshots, not exact `2dfc213fbdc6` proof.
- The final local identity ratchet could not resolve the original base object after normal synthetic-source sync; that is a setup gap, not a policy verdict. Current CI owns the ratchet and the later two-root schema repair. Both owned AWS leases were released with exact `stop --wait` receipts; no paid resource remains.
- Predecessor `63010e7d0af9` passed the Linux published-to-head [`docker-seed-e2e` / `release-update-survivor` lane](https://github.com/openclaw/openclaw/actions/runs/45952703299/job/140352861920) in 2,615 seconds; healthy/crash/downgrade receipts are artifact 15179778195. Latest-head CI remains the landing gate. The standalone fixture-kit producer remains unsupported unchanged on AWS Linux because it requires Studio/macOS-only ocx cloning; no kit patch, host build, shim or separate paid campaign was used.
- Two local review rounds completed. The first review's request to restore foreign cohort settlement is [explicitly rejected](#206295 (comment)) under Ayaan's rule; its concrete repeated-repair case, build reachability and real path-state testing concerns are addressed. The second review's current-operation snapshot-retention finding is fixed through the existing live capture, not a foreign-row permission check. The maintainer reviews only this final delta.
- The active-list query now excludes the two protected named rows before its limit; `run.ts` has no ID comparisons and the identity allowlist does not grow. Four CI failures that asserted the deliberately retired foreign-record refusal were removed or migrated while retaining current-operation, service-profile and saved-evidence assertions.
- `47d896edda06` passed the two split-root schema cases but added a second snapshot on the common readiness path (`update-command-recovery-cost.test.ts:77`). Per maintainer direction, the move is reverted and main's admission is retained only for package finalization. Both schema assertions and the copy-cost assertion remain unchanged. Current reporting refusal remains; only the retired global-malformed-row policy tail is deleted. Current CI owns the fallback's qualification; earlier AWS snapshots do not prove it. Runner-shutdown ratchets and WebKit apt 403 were infrastructure failures, not product verdicts.
- Maintainer landing review and latest-head CI remain required; no worker merge performed.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit 91d4912)

Release adaptation: Port the modern release preparation admission boundary only: retain the published package updater’s existing recovery contract, check live in-place custody and restore directories, interrupt only unowned run history, and preserve beta.2 release/runtime cleanup outside that boundary. No schema or row-shape changes.

Later same-path commits from the pinned scan (separate behavior unless named as folded/selected below): f84b705 fix: preserve lower-token guidance for unaffordable requests (#201392); dae01a9 fix: keep other agents running when one store is refused (#208364); a20fd1c fix: avoid competing Gateway test boots and cold agent mutation imports (#208203); c9f7a98 fix: keep container Gateway commands from rolling back host updates (#208271); edb6820 fix: let the Gateway restart while boot plugin maintenance is running (#208074); 516166c fix: exit once when gateway run rejects an argument after an update (#208068); 07e96dc fix: restart the Gateway after real plugin repairs (#208207); 13059ef fix: keep the PostgreSQL Doctor preflight test from timing out on module loading (#208225); 50d7708 fix: keep Claude fork compaction out of the parent chat (#208192); bd48ff6 fix: avoid restarting the Gateway for plugin timestamp changes (#208119); 259f71c fix: stop Linux service starts from copying the whole agent database (#207969); 7cb8975 fix: keep forked Claude chats separate after a Gateway crash (#208048); 407b523 fix(slack): thread queued DM replies under the triggering message (#208133); 43b5b52 chore(release): close out 2026.11.11 on main (#208114); 5d5284c fix(ci): add tagged reply control to the PR wrapper inventory (#208120); 1782ab0 fix: keep confirmed sends in the receiving chat's model history (#208049); 6d300d3 fix: restart launcher-managed Gateways after exit 78 (#207972); c4a675f fix: avoid reloading unchanged plugins after Gateway boot (#207949); 13c67a1 fix: let updates back up deeply nested databases (#207756); e2fcd4d fix: acknowledge updates when the Gateway first becomes ready (#207819); 8933edd fix: name safe recovery when agent schema markers disagree (#207705); 19e9dd6 fix(gateway): keep Linux legacy lock recovery explicit (#207340); 3256a47 test(update): move package ownership coverage to preparation (#207581); fbf1aae fix: give safe update ownership guidance and restore legacy result delivery (#207640); a922203 refactor(update): remove native post-activation Doctor subprocess (#207585); 7ac87ad fix: avoid taking service-account ownership during updates (#207563); b3902a2 fix(update): allow in-place updates without a full state copy (#207448); ece7a74 improve(workboard): apply the Control UI glossary and style to Workboard copy; 1c89587 fix: update system service packages without root state changes (#207304); dfd17d0 fix(docker): avoid pre-boot Doctor delays on container recreation (#207200); b616036 refactor(subagents): simplify ACP spawn relay ownership (#207023); 93ca762 improve: reduce allocations when preparing session rows (#207109); adb3716 fix(update): surface boot plugin repair advisories (#207163); f79ef8c fix: finish updates of 2026-11-17 main checkouts automatically on Linux and macOS (#207062); 3c4362b fix(update): preserve exception causes in failure history (#207085); 539f37f perf(gateway): keep legacy lease inspection out of heartbeats (#207084); 7a20389 fix: preserve source ranges in compaction requests (#207045); 20c92a4 fix: converge plugins after every Gateway boot (#206926); 3078862 fix(update): clean up rejected Git update worktrees (#207040); 73cb180 improve: reduce peak memory during Gateway startup update checks (#207073); 9993328 refactor(subagents): simplify kill claim and ownership handling (#207025); 97815bd refactor(subagents): consolidate registry cleanup and publication guards (#207064); 49c5e3e fix: let the end-of-turn recovery request reuse the turn's cached prompt (#207052); e94f799 refactor(subagents): centralize requester turn matching (#206584); e2e0974 fix(doctor): skip the state schema repair when its read-only plan finds nothing (#206694); 15e840e fix(ci): clear stale restart-sentinel exports from the dependency report (#206911); a72dcc9 fix(agents): resolve utility models against the session owner's role (#206962); 8ae0874 improve(gateway): avoid redundant cleanup for empty legacy auth stores (#206867); af1f26c improve: avoid unused proxy runtime in local text replies (#206931); 179e0c4 fix: label conversation data in system updates; ea77ca3 refactor: report update failures from recorded runs (#206700); 18e53d8 fix: finish Linux upgrades after a legacy Gateway crashes (#206530); f0e7d96 fix: preserve large snapshots in trajectory exports (#206810); c7ea9f4 improve: reduce memory used to renew state leases (#206798); 4d7e00b fix: let started participant runs and requests finish after an access change (#206747); dff00f3 fix(mcp): bound unavailable server notices in each turn (#206318); 9845bf5 fix(test): keep readiness abort fixtures alive until stopped (#206660); 844bfbf improve(build): trim unused imports from standalone relays (#170187); d4d45a7 improve: reduce memory when reading saved credentials (#206686); 461f650 fix(ci): keep startup helpers internal (#206649); f89ae43 refactor(subagents): use cleanup and terminal owners in sweeps (#206533); a882e0f fix(agents): preserve task answers when sessions are reused (#126263); 5c5f629 perf(config): keep update inspection out of ordinary config reads (#206607); ccb6d81 fix: finish core updates when the Gateway is ready (#206560); 74f02b4 fix: refuse root updates of a system service that runs as another account (#206343); 01032b1 fix(update): keep acknowledged run IDs when status is unavailable (#206562); cbdd907 fix: finish release updates after a slow launcher response (#206503); ad676f4 improve: reduce memory used by Gateway ownership checks (#206516); 81fc833 refactor(subagents): own dormant child Stop decisions (#206479).
Later PR-number mentions: `ccb6d8168658` fix: finish core updates when the Gateway is ready (#206560), `ea77ca3d602c` refactor: report update failures from recorded runs (#206700) Later commit-SHA mentions: `238c6daf2ba6` perf: import llm-core types from their leaf entry (#206518), `ccb6d8168658` fix: finish core updates when the Gateway is ready (#206560)
Pinned PR grep: ea77ca3 refactor: report update failures from recorded runs (#206700); ccb6d81 fix: finish core updates when the Gateway is ready (#206560); 91d4912 fix(update): stop using foreign recovery records as admission (#206295); 41afc0f fix(update): keep successful plugin reload warnings advisory (#206372)

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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.

2 participants