Skip to content

fix(gateway): support pinned daemon runtime paths - #82290

Merged
fuller-stack-dev merged 17 commits into
mainfrom
fix/gateway-runtime-path-install
Sep 17, 2026
Merged

fuller-stack-dev merged 17 commits into
mainfrom
fix/gateway-runtime-path-install

Conversation

@darkamenosa

@darkamenosa darkamenosa commented May 15, 2026 •

Copy link
Copy Markdown
Contributor

Landed: 9843b937e3547feb30544d384b14ad201000ae74 on 2026-09-17, from reviewed head 0701e29346b49987020d29d0fb2e5ade4137ae71. Exact-head CI35176109266 passed; native prepare and merge passed. Native completion. Issue #60612 is closed.

What Problem This Solves

Managed Gateway and node services can now opt into an exact Node/Bun executable with --runtime-path <path>. This fixes service-manager PATH selection drifting away from the runtime an operator intentionally selected.

Fixes #60612 through explicit persistent runtime selection and intentional version-manager handling.

  • Validate an absolute executable using the existing bounded, sanitized runtime capability probe, including current Node/Bun and SQLite requirements.
  • Store explicit intent in the canonical machine-state owner, scoped to the managed service and bound to its native definition. No new environment variable or schema-version bump is introduced.
  • Preserve pins across forced reinstall, configure, interactive/non-interactive setup, start repair, and Doctor; automatic runtime migration does not create a pin. Explicit wrappers retain precedence.
  • Verify pin revision and service definition under the native mutation lock, verify installed readback before committing metadata, and refuse pin-unaware rewrites before native changes.
  • Clear a pin with openclaw gateway install --runtime node --force (or the node equivalent); replace it with another --runtime-path. Deleted or unsupported pins fail explicitly.

Contributor Tuyen (@darkamenosa, account created 2014-02-13) and all three original commits remain in the branch ancestry. The maintainer integration preserves current-main SecretRef values, systemd scope/read bindings, Linux inspection hints, environment/TLS policy, service identity, and native locks. Small helper extractions keep existing line-cap ratchets intact.

Root cause and best-fix assessment

Runtime-family selection could not express a durable operator-selected executable. The original PR also conflated automatic Doctor choices with explicit intent and used an unbounded validation subprocess. The canonical machine-state owner plus existing bounded probe fixes those boundaries without adding an environment-variable persistence contract or weakening runtime policy.

Alternatives rejected: inferring intent from every installed executable would accidentally pin automatic choices; retaining a service environment key would duplicate durable state; silently falling back from a deleted pin would violate operator intent. Historical introduction of the original selection limitation is unknown; this is a new explicit capability, not a claimed regression attribution.

User-visible behavior

openclaw gateway install --runtime node --runtime-path /absolute/path/to/node --force
openclaw node install --runtime node --runtime-path /absolute/path/to/node --force

Existing unpinned installs keep automatic selection and read-only pin-state behavior. There are no shell startup edits, default runtime changes, network additions, or release-owned changelog changes.

Evidence

Current-source qualification is recorded below. Final exact-head CI will be linked after publication. The earlier synthetic-main UI startup failure is reproduced and corrected as described below. Retained earlier proof is not represented as a fresh current-head run.

  • Frozen pnpm 12.4.0 graph verified exactly against the dependency document of the pinned lockfile; proxy-addr 2.0.8 installed.
  • Production types and all src test-type shards passed; maintained core lint and formatting passed.
  • 31 focused current integration cases passed, covering service/pin state, SecretRef preservation (including isolated generated LaunchAgent files), Linux inspection hints, and explicit Doctor pin preservation.
  • Eight extraction follow-up cases passed, including pin, heap-setting, and Linux inspection fixtures.
  • 37 focused setup-correction cases passed across configure, non-interactive setup, wizard, Doctor, and the shared runtime resolver. Explicit daemon-runtime resets pins; restart/skip do not inspect pin metadata. Production/test types, lint, architecture, formatting, and line-growth ratchets passed.
  • Retained service-boundary negative controls fail on the old writer and pass after correction; they cover refusal before mutation, revision races, definition/readback checks, and unpinned defaults. The old 355-case suite was not replayed.
  • Full post-extraction pnpm build passed on the runtime-identical tree before a private type-export cleanup; final-head hosted CI is checked separately. Built CLI help exposes both runtime-path options. A real bounded probe accepted installed Node 24.20.0 with SQLite 3.53.4.

Proof limits and compatibility

Real macOS launchd proof now passes on a task-created named profile using Node 24.20.0: explicit pin install; forced reinstall and restart preserve it; invalid replacement refuses before mutation with the previous PID still healthy; explicit runtime reset clears metadata; re-pin succeeds; uninstall removes both metadata and native registration. The fixture used the OS account HOME and a canonical separate profile/state directory. No operator service or configuration was changed. Linux/systemd and Windows/schtasks operations remain unit-level proof, not claimed as live platform qualification.

Unpinned services require no migration. Pin metadata uses the existing machine-state API; service replacement or concurrent metadata changes fail rather than silently adopting stale intent. No credentials, operator configuration, or live service state was modified during proof.

Review conversations

The original automatic-pin and unbounded-probe findings are addressed by the owner-boundary rewrite. Independent full-source and correction review evidence is preserved; the six-pass current-integration review returned one arbitrary-filename Bun flag. Direct validator execution disproved its premise: arbitrary Bun filenames are rejected before access/probe, and all supported names classify identically in Doctor. The finding and adjudication remain recorded; the subsequent fresh ClawSweeper setup-caller finding is addressed below.

The CI-reported type-import cycle is corrected by a dependency-free pin contract leaf. The seven-file correction is independently scoped-clean at P0-P2; full architecture, production/test types, lint and formatting pass. Runtime emission is byte-identical for all six changed existing files.

The fresh setup-caller finding is corrected in all four supported installation paths. Shared selection preserves existing pins and wrapper precedence, passes the inspected revision into installation, and clears intent only for explicit runtime options. The 13-file setup correction is independently scoped-clean at P0-P2. All 11 caller-regression cases fail on the preserved pre-correction source; reviewed source was restored byte-for-byte, and the extracted Doctor/wizard fixtures pass after restoration. No operator daemon or configuration was modified.

Current-main integration and CI repair

Integrated main 4e44dbfb428ad11cb20dbaf9ba82b87be7853651 with both runtime-pin and versioned Node discovery contracts intact. The sole merge conflict was additive Doctor documentation; 13 focused runtime/discovery cases, current production types and docs formatting pass. The installed pnpm graph matches the current lock dependency document exactly.

The inherited Control UI startup budget failed at 362,706 gzip bytes (limit 362,588). The shared Lit vendor group eagerly included the cache directive used only by the lazy text-attachment renderer. Letting that directive follow its consumer reduces startup to 362,535 bytes with the same seven requests and unchanged CSS, compression and budget. No rendering, styles, copy or UI workflow changes. Seven chunk-classification tests and two compiled Chromium text/Markdown attachment cases pass, including scrolling and download. Independent two-file review is scoped-clean at P0-P2; UI types and formatting pass. The canonical source-only core/UI lint configuration is used.

Maintainer persistence and recovery decision

For this explicitly authorized runtime-pin implementation, accept opt-in durable executable intent in the existing config_machine_state owner, scoped separately to Gateway/node and the actual managed-service identity. No pin is inferred from automatic selection; no schema version, table, database, environment variable, or default runtime change is introduced. The record is canonical operator intent, not evidence that a native definition is current. Reinstall/Doctor preserves it only with matching inspected revision and native definition. Explicit runtime selection clears it; successful uninstall deletes it. Invalid/deleted executables refuse before replacement rather than silently selecting another runtime. Native installation and SQLite metadata are not claimed to form one atomic transaction; stale plans and readback mismatches fail explicitly. Wrapper precedence remains unchanged.

Alternatives considered: automatic inference would pin accidental choices; service environment persistence would duplicate state; silent fallback would erase explicit intent. Published unpinned installs require no pin migration. Older runtimes do not implement the opt-in pin contract; clear the pin through the current CLI before intentionally returning to an older runtime. Metadata is a bounded per-service record with existing database lifetime/permissions; no new retention/export permission is introduced. This implements the permanent explicit-runtime option requested in #60612.

Final inherited CI corrections

The exact db371e91a6eb5a3332d72803cbde4ab5b3602ab0 run (https://github.com/openclaw/openclaw/actions/runs/35168675151) exposed three inherited test/tooling defects. The native materialization inventory now includes three eager dependencies;31 affected tooling cases pass. The macOS multi-generation case exceeded the ordinary120-second harness budget; a diagnostic run with a300-second case budget completed all unchanged assertions in163seconds (not represented as a pass at120seconds). The fs-safe0.13.1 bounded-read fixture now uses the documented Root.read final-fence hook, preserving all byte-budget assertions;3cases pass.

The subsequent main integration adopts canonical #150431 (batched sparse-worktree Git observations, unchanged state assertions/timeouts) and #150419 (the same bounded-read hook correction) byte-for-byte. These supersede the temporary test corrections on this branch; only the three missing wrapper inventory dependencies remain additional to main. Independent review and changed-input checks are recorded with the final head; historical failures remain visible rather than being counted as passing proof.

Real published-driver upgrade and recovery proof

Published [email protected] drove an actual private-prefix upgrade into the packed candidate, using a dedicated named profile, real launchd and Node24.20.0. Driver build 3a9d69db306c and candidate build db371e91a6eb both report package version2026.9.4, so success was verified with exact installed dist/build-info.json bytes against the candidate tarball—not version text alone. The later test/inventory correction paths are not in that tarball.

The initial completed attempt passed staging, migration rehearsal, Doctor lint, config validation, plugin resolution, migration continuation, and Gateway canary, then exceeded the shipped driver's30-second package fingerprint budget before activation. The previous Gateway remained healthy. After the filesystem-heavy tests finished, a read-only retained-tree fingerprint completed in24seconds. The serialized retry completed staging, activation, restart, candidate health, and durable finalization successfully. No installed-driver patch, changed integrity rule, or operator service modification was used.

Actual command sequence (task-specific paths/profile omitted):

openclaw update --yes --tag /path/to/candidate.tgz --json
openclaw update status --json
openclaw gateway install --runtime-path /path/to/fixture/node --force --json
openclaw doctor --non-interactive --fix
# Rename only the task-created executable symlink.
openclaw gateway install --force --json       # expected exit1; previous PID stays healthy
openclaw gateway install --runtime node --force --json
openclaw gateway uninstall --json

The detached helper—not merely the initiating CLI—exited0. Durable run ded7c0c3-2315-4d4f-a4be-33aeaef1a791 reports status=succeeded, serviceRunning=true, versionMatch=true, readyz=true, settled=true, and running build 2026.9.4-db371e91a6eb-2026-09-17T01-07-30.630Z. The unpinned upgrade stayed unpinned; explicit pin installation and Doctor preservation passed. Removing the fixture executable caused the expected pre-mutation refusal with the existing PID still healthy. Explicit runtime reset cleared pin metadata and recovered; uninstall completed and launchd reported the fixture registration absent. All helpers and fixture services settled before source integration.

Linux/systemd and Windows/schtasks remain unit-level proof; no live cross-platform qualification is claimed. No operator service, configuration, credentials, or runtime deployment was changed.

Current publication

Earlier signed head 40302b932775053f7de88d44de95aa716d9fab98 integrated main 1fbb41545ec513156ec8da020bb61852f519c8cf without replacing contributor ancestry. Canonical sparse cases pass in5.163s/5.728s; type-aware lint, formatting, independent two-file review (scoped-clean P0-P2), and the new-main full build pass. The frozen dependency graph is unchanged. Exact-head CI is being dispatched through the native owner; native prepare/merge will run only after its required checks and review gates pass.

Final CI integration correction

At 582f12b927fb08a65f8074ba304fcb50d0d51b82, adopted Peter Steinberger’s published Slack lifecycle-type and approval-receiver repair from #150483 and added the missing bundled-plugin-source-utils.mts cold-fixture input. All 37 cold-preparation tests, 27 thread-resolution tests, and the approval request/resolution dispatch case pass. Slack package types, fixture type-aware lint, all architecture guards (zero runtime/Madge cycles), formatting, and independent P0–P2 delta review pass. Native pin/setup/update code is unchanged, so the native proof above remains applicable.

Local extension lint stopped before analysis because declaration preparation observed a parent checkout’s qrcode manifest; the shared parent install was left intact. Exact-head hosted lint is required before LAND. Earlier CI failures remain linked in the workflow history.

Canonical conflict resolution at c0c61c60aad5f3489ef7c63676e73366d97f4083: main independently landed the same Slack lifecycle type in ingress.types.ts. Adopted all six files byte-for-byte from main 9ce12dfa6125, removed the duplicate type location, and merged that pinned main with contributor ancestry intact. Slack types, Madge zero-cycle check, formatting/diff checks and fresh independent P0–P2 resolution review pass. No runtime behavior or assertion change; lockfile unchanged. The earlier manual CI preflight rejected a stale GitHub merge ref; no test ran in that failed preflight.

Current exact-head test-fixture corrections

Current signed head 0701e29346b49987020d29d0fb2e5ade4137ae71 preserves all contributor ancestry. CI 35174656874 completed with two inherited fixture failures; hosted lint, architecture, cold-preparation and the other shards passed. The Qwen request-shape case now holds Date.now fixed within that case (restored by onTestFinished), preserving the exact120000ms assertion. The archive/Undo failure scenarios keep only matching roster reads unavailable, so a later successful mock list cannot inject its canonical pin timestamp. All acknowledgement, rollback, timestamp and visible-row assertions remain unchanged.

The exact Qwen case, Qwen package types, all four archive/Undo browser cases in original order, UI E2E test types, canonical UI type-aware lint, formatting and fresh independent P0–P2 reviews of both deltas pass. The original archive cases also passed locally; the hosted timing failure was not locally reproduced and remains recorded. An initial UI lint invocation used the wrong test config and stopped before analysis at the known ancestor-install boundary; the maintained changed-file UI lint command passed. No production source or lockfile changed. Final exact-head CI and native prepare/LAND passed, as linked above.

Migration and upgrade compatibility proof — maintainer confirmation

The remaining checklist item in review4462884081 is covered by the completed real published-driver proof above, not by a proposed future run. The PR adds an optional service-scoped JSON record through the existing config_machine_state owner; it changes no SQLite schema, table, schema version, or existing-row backfill.

Compatibility transition Observed result
Published2026.9.4 unpinned service → candidate via the shipped update driver Durable run ded7c0c3-2315-4d4f-a4be-33aeaef1a791 succeeded; exact installed candidate build matched; pin record remained absent (stored:false).
Candidate opt-in pin → Doctor maintenance Pin revision and native-definition binding remained identical.
Deleted pinned executable → reinstall refusal Metadata remained identical and the previous healthy Gateway PID remained54295.
Explicit runtime reset → recovery Record returned to absent (stored:false) and Gateway ran with automatic selection; uninstall removed the native registration.

Read-only Git object checks reconfirmed that runtime-pin-state.ts, runtime-paths.ts, service.ts, and gateway-setup-runtime.ts are byte-identical between proven candidate db371e91a6eb and current head 0701e29346b4. The later CI corrections do not change this compatibility surface. No old suite or native upgrade was replayed. This confirms the requested migration/upgrade compatibility evidence. Downgrades to a runtime without pin support are not claimed to preserve this new opt-in intent; clear the pin with the current CLI before deliberately downgrading, as documented above.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime cli CLI command changes commands Command implementations size: L maintainer Maintainer-authored PR labels May 15, 2026
@clawsweeper

clawsweeper Bot commented May 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 16, 2026, 11:07 PM ET / September 17, 2026, 03:07 UTC (Revision 9).

ClawSweeper review

What this changes

Adds persistent Node/Bun executable selection for Gateway and node services, preserves it through maintenance, and updates documentation, supporting fixtures, and deferred UI chunk loading.

Merge readiness

⛔ Blocked before merge - 1 item remains

This PR remains useful: current main lacks persistent executable selection. The recorded upgrade evidence resolves the previous review’s compatibility follow-up, and this review found no actionable introduced defect.

Priority: P2
Reviewed head: 0701e29346b49987020d29d0fb2e5ade4137ae71

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful implementation with applicable native and upgrade evidence, resolved prior findings, and no new blocking defect found.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The matching captured body records real macOS launchd pin installation, preservation, invalid-pin refusal with a healthy prior PID, reset, and uninstall, plus successful published-driver upgrade and recovery. Core runtime files match the proven candidate exactly; Linux/systemd and Windows/schtasks remain unit-level coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The matching captured body records real macOS launchd pin installation, preservation, invalid-pin refusal with a healthy prior PID, reset, and uninstall, plus successful published-driver upgrade and recovery. Core runtime files match the proven candidate exactly; Linux/systemd and Windows/schtasks remain unit-level coverage.
Evidence reviewed 9 items Current main still uses automatic selection: Current main selects supported current/system runtimes; its service CLI and daemon sources contain no explicit runtime-path option or persistent pin owner.
Latest release contract: The v2026.9.4 Gateway install registration exposes runtime-family and wrapper options, but no runtime-path option. GitHub contents inspection supplied this evidence after the local release-blob read failed.
Complete captured proof and compatibility disposition: The retrieved body matched captured SHA-256 ef84e48c1f2d9050f1db852b0ab3c16515f265eb34f10951c1ba611351059c88. Its previously omitted sections record real launchd installation, preservation, refusal, reset and uninstall, plus a successful published-2026.9.4 upgrade into candidate db371e9. Durable run ded7c0c3-2315-4d4f-a4be-33aeaef1a791 reports healthy, settled candidate activation. The body explicitly records persistence acceptance and downgrade limits.
Findings None None.
Security None None.

How this fits together

Managed service installation translates CLI choices into operating-system service definitions. Runtime pins preserve the operator’s executable choice through setup and repair, using OpenClaw’s existing machine-state database.

flowchart TD
  A[CLI installation choices] --> B[Runtime selection]
  C[Stored service pin] --> B
  B --> D[Executable capability checks]
  D --> E[Locked native service writer]
  E --> F[Service definition readback]
  F --> C
  E --> G[Gateway or node service]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +523, Tests +985, Docs +34. Total +1542 across 51 files.

View PR surface stats
Area Files Added Removed Net
Source 24 693 170 +523
Tests 23 1160 175 +985
Docs 4 44 10 +34
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 51 1897 355 +1542

Review metrics

Metric Value Why it matters
Operator configuration 1 new flag across Gateway, daemon alias, and node installation Executable pinning is explicit opt-in; existing unpinned selection remains automatic.
Production versus test growth Production +693/-170; tests and test support +1160/-175 Production growth is justified by durable intent, guarded service writes, and maintenance-callsite integration.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/cli/daemon-cli/start-repair.ts, migration/backfill/repair: src/commands/doctor-gateway-daemon-flow.ts, migration/backfill/repair: src/commands/doctor-gateway-runtime-plan.ts, migration/backfill/repair: src/commands/doctor-gateway-services.ts, unknown-data-model-change: src/cli/daemon-cli/start-repair.ts, unknown-data-model-change: src/commands/doctor-gateway-daemon-flow.ts, and 1 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Retain explicit per-service runtime intent in the existing state owner while preserving automatic selection for unpinned installations and explicit reset recovery.

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

Not applicable as a regression: this adds explicit runtime selection. Current-source inspection confirms the missing option, and recorded native execution demonstrates the new behavior.

Is this the best way to solve the issue?

Yes. Explicit intent uses the existing machine-state and service-write owners, avoiding automatic pin inference or a competing environment-variable persistence contract.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded operator capability for predictable service runtime selection, without evidence of an urgent default-path regression.
  • 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 matching captured body records real macOS launchd pin installation, preservation, invalid-pin refusal with a healthy prior PID, reset, and uninstall, plus successful published-driver upgrade and recovery. Core runtime files match the proven candidate exactly; Linux/systemd and Windows/schtasks remain unit-level coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. The matching captured body records real macOS launchd pin installation, preservation, invalid-pin refusal with a healthy prior PID, reset, and uninstall, plus successful published-driver upgrade and recovery. Core runtime files match the proven candidate exactly; Linux/systemd and Windows/schtasks remain unit-level coverage.

Evidence

What I checked:

  • Current main still uses automatic selection: Current main selects supported current/system runtimes; its service CLI and daemon sources contain no explicit runtime-path option or persistent pin owner. (src/daemon/runtime-paths.ts:430, 9ca2d1dfcd16)
  • Latest release contract: The v2026.9.4 Gateway install registration exposes runtime-family and wrapper options, but no runtime-path option. GitHub contents inspection supplied this evidence after the local release-blob read failed. (src/cli/daemon-cli/register-service-commands.ts:95, 3a9d69db306c)
  • Complete captured proof and compatibility disposition: The retrieved body matched captured SHA-256 ef84e48c1f2d9050f1db852b0ab3c16515f265eb34f10951c1ba611351059c88. Its previously omitted sections record real launchd installation, preservation, refusal, reset and uninstall, plus a successful published-2026.9.4 upgrade into candidate db371e9. Durable run ded7c0c3-2315-4d4f-a4be-33aeaef1a791 reports healthy, settled candidate activation. The body explicitly records persistence acceptance and downgrade limits. (0701e29346b4)
  • Proof remains applicable and review continuity: The four central runtime files have no differences from the proven candidate. Since the previous reviewed head, only the Qwen clock fixture and archive/Undo failed-read fixtures changed; existing assertions remain intact. (src/daemon/service.ts:634, 0701e29346b4)
  • Persistence and native-write boundary: Pin reads bind intent to the managed definition; the service writer checks revisions and definitions under the existing native lock, rejects pin-unaware rewrites, verifies readback, and clears metadata after successful uninstall. The existing machine-state owner performs synchronous transactional updates. (src/daemon/runtime-pin-state.ts:45, 0701e29346b4)
  • Earlier findings addressed: Node reinstall rehydrates pin intent; setup callers pass the inspected revision; automatic choices remain unpinned; validation reuses the bounded, sanitized runtime probe. Source inspection also confirms environment-value sources and the Windows recursive-wrapper guard remain present. (src/cli/node-cli/daemon.ts:168, 0701e29346b4)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (8 earlier review cycles)
  • reviewed 2026-07-01T01:01:31.318Z sha 002772e :: needs real behavior proof before merge. :: [P1] Pass node environment value sources through install | [P1] Preserve the Windows task wrapper guard | [P2] Align runtime pins with the Node 22.19 floor
  • reviewed 2026-09-09T19:31:45.441Z sha 002772e :: needs real behavior proof before merge. :: [P1] Keep automatic Doctor selections out of explicit pin metadata | [P2] Bound the runtime validation subprocess
  • reviewed 2026-09-17T00:11:20.025Z sha 6e53dce :: needs real behavior proof before merge. :: [P2] Carry runtime-pin intent through setup reinstalls
  • reviewed 2026-09-17T00:27:48.669Z sha d4f96c5 :: needs real behavior proof before merge. :: [P2] Carry runtime-pin intent through setup reinstalls
  • reviewed 2026-09-17T01:04:50.152Z sha db371e9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-17T01:59:15.128Z sha e298fe8 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-17T02:17:07.592Z sha 40302b9 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T02:39:15.741Z sha c0c61c6 :: blocked before merge. :: none

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b5e3e7fb8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/cli/node-cli/daemon.ts Resolved
@openclaw-barnacle openclaw-barnacle Bot added size: XL channel: telegram Channel integration: telegram and removed size: L labels May 15, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:crash-loop Crash, hang, restart loop, or process-level availability failure. labels May 17, 2026
@darkamenosa
darkamenosa force-pushed the fix/gateway-runtime-path-install branch from d148679 to 002772e Compare May 17, 2026 16:26
@openclaw-barnacle openclaw-barnacle Bot removed the channel: telegram Channel integration: telegram label May 17, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed impact:crash-loop Crash, hang, restart loop, or process-level availability failure. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 14, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 17, 2026
Adopt the published Slack lifecycle type and approval receiver repair.
Include the tracked plugin-source helper in cold preparation fixtures.

Co-authored-by: Peter Steinberger <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added channel: slack Channel integration: slack and removed agents Agent runtime and tooling labels Sep 17, 2026
@fuller-stack-dev

Copy link
Copy Markdown
Member

Maintainer adjudication of the remaining compatibility checklist for 0701e29346b49987020d29d0fb2e5ade4137ae71:

The current review explicitly states: “The recorded upgrade evidence resolves the previous review’s compatibility follow-up,” and reports no actionable defect. Its generated Before merge checklist still repeats the same request.

Confirmed by the Migration and upgrade compatibility proof — maintainer confirmation section in the PR body: published2026.9.4 driver run ded7c0c3-2315-4d4f-a4be-33aeaef1a791 activated the exact candidate, left unpinned state absent, preserved explicit pin state through Doctor, refused a deleted pin with the prior Gateway healthy, and recovered through explicit reset. All four relevant runtime/storage owners remain byte-identical to that proven candidate. No SQLite schema/table/version change or backfill is introduced. Downgrade limits are documented.

The compatibility confirmation is satisfied by this completed proof; no duplicate upgrade run is needed. Required exact-head CI and native prepare/merge gates remain in force.

@fuller-stack-dev
fuller-stack-dev merged commit 9843b93 into main Sep 17, 2026
230 of 232 checks passed
@fuller-stack-dev
fuller-stack-dev deleted the fix/gateway-runtime-path-install branch September 17, 2026 03:20
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

fuller-stack-dev added a commit to 849261680/openclaw that referenced this pull request Sep 17, 2026
Use the current-main Qwen fixture from openclaw#150523 and openclaw#82290 unchanged. Remove the final temporary prerequisite delta while preserving the eleven-file alias repair and original contributor history.
fuller-stack-dev added a commit that referenced this pull request Sep 17, 2026
* fix(plugin-runtime): restore channel turn alias

* test(plugin-sdk): type channel turn alias override

* fix(plugin-sdk): preserve legacy turn mock overrides

* test(plugin-sdk): refresh channel turn alias gates

* Align legacy channel compatibility paths for current-main repair

Preserve the original contributor ancestry while resolving stale paths before the current-source alias repair. Intermediate branch preparation; not acceptance evidence.

* fix: preserve complete legacy channel runtime alias

Restore the complete five-member alias, including exact runtime-bound dispatch and scoped context construction. Preserve lazy loading, generic signatures and canonical override precedence. Keep deprecated compatibility metadata and current documentation aligned.

Closes #91122

Co-authored-by: Yzx <[email protected]>

* fix(ci): integrate canonical channel alias prerequisites

Consume the reviewed file-preview lazy-English extraction from #150424,
the cold worktree input closure, and the Qwen initial-deadline fixture
from #150026. Native manifest closure is now also present on main via
#150453. Keep the original channel alias implementation and accepted
built-runtime proof unchanged.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical UI startup repair

Replace the temporary file-preview extraction with the current-main implementation from #150491 before merging main. Preserve the channel alias repair and existing contributor ancestry.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical Qwen fixture

Use the current-main Qwen fixture from #150523 and #82290 unchanged. Remove the final temporary prerequisite delta while preserving the eleven-file alias repair and original contributor history.

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Yzx <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* fix(gateway): support pinned daemon runtime paths

* fix(node): preserve pinned runtime on reinstall

* test(cli): update daemon coverage runtime mock

* refactor(daemon): keep runtime pin value type private

Remove the unused export; the type remains owned by pin state.

* refactor(daemon): isolate runtime pin type contracts

Break the service contract cycle with a dependency-free type leaf.
Preserve runtime behavior and all original contributor ancestry.

* fix(daemon): preserve runtime pin intent across setup callers

Carry inspected pin revisions through configure, onboarding and Doctor installs.
Keep automatic runtime choices unpinned and explicit runtime resets intentional.

* perf(ui): keep attachment caching out of startup vendor code

Let the lazy text-attachment consumer own the Lit cache directive chunk.
Preserve existing compression and startup budgets.

* fix(ci): restore native fixture qualification

* test: adopt canonical fixture repairs

* fix(ci): align Slack contracts and cold fixture inputs

Adopt the published Slack lifecycle type and approval receiver repair.
Include the tracked plugin-source helper in cold preparation fixtures.

Co-authored-by: Peter Steinberger <[email protected]>

* refactor(slack): adopt canonical ingress lifecycle type

* test(qwen): control elapsed time in request fixture

* test(ui): keep archive failure roster reads unavailable

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Tuyen <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* fix(plugin-runtime): restore channel turn alias

* test(plugin-sdk): type channel turn alias override

* fix(plugin-sdk): preserve legacy turn mock overrides

* test(plugin-sdk): refresh channel turn alias gates

* Align legacy channel compatibility paths for current-main repair

Preserve the original contributor ancestry while resolving stale paths before the current-source alias repair. Intermediate branch preparation; not acceptance evidence.

* fix: preserve complete legacy channel runtime alias

Restore the complete five-member alias, including exact runtime-bound dispatch and scoped context construction. Preserve lazy loading, generic signatures and canonical override precedence. Keep deprecated compatibility metadata and current documentation aligned.

Closes openclaw#91122

Co-authored-by: Yzx <[email protected]>

* fix(ci): integrate canonical channel alias prerequisites

Consume the reviewed file-preview lazy-English extraction from openclaw#150424,
the cold worktree input closure, and the Qwen initial-deadline fixture
from openclaw#150026. Native manifest closure is now also present on main via
openclaw#150453. Keep the original channel alias implementation and accepted
built-runtime proof unchanged.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical UI startup repair

Replace the temporary file-preview extraction with the current-main implementation from openclaw#150491 before merging main. Preserve the channel alias repair and existing contributor ancestry.

Co-authored-by: Peter Steinberger <[email protected]>

* fix(ci): consume landed canonical Qwen fixture

Use the current-main Qwen fixture from openclaw#150523 and openclaw#82290 unchanged. Remove the final temporary prerequisite delta while preserving the eleven-file alias repair and original contributor history.

---------

Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Yzx <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui channel: slack Channel integration: slack cli CLI command changes commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime 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. scripts Repository scripts 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.

Doctor warns about NVM node instead of Homebrew/system node, but cannot be fixed

2 participants