Skip to content

fix(cli): diagnose unreadable configuration in validation and setup - #166573

Open
alkor2000 wants to merge 25 commits into
openclaw:mainfrom
alkor2000:codex/fix-cli-config-read-failure
Open

alkor2000 wants to merge 25 commits into
openclaw:mainfrom
alkor2000:codex/fix-cli-config-read-failure

Conversation

@alkor2000

@alkor2000 alkor2000 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Closes #159029. Thanks to @masatohoshino for the report and prior closed, unmerged #159030.

What Problem This Solves

Distinguishes unreadable configuration from settings that need correction. A missing include or failed file read should produce its underlying read error and retry guidance before setup offers changes or writes anything.

User Impact

Validation, setup, configure, onboarding and bare startup retain the read-failure diagnosis. Malformed JSON and invalid schema keep their existing recovery paths. An unknown configuration does not authorize setup writes; include ownership, revision, path and writer checks stay intact.

Why This Change Was Made

The existing classifier and terminal-safe diagnostic owner supply the error. Bare startup keeps definitive engine-selection failures; validation uses the same failure kind for text and JSON. Shared readSetupConfig guards offline and Gateway-routed planning before writes. No new config option, runtime manager, permission, schema, protocol or dependency override is introduced.

November 27 conflict resolution

Merged official main 41fcd490fb4d at d325ff5209b0. The setup tests retain main's first-conversation starter-file behavior and the configuration-read failure assertions. The read guard returns before setup planning and workspace writes.

107 focused CLI and setup tests passed across six files. The core, commands and config/CLI test type checks passed, along with scoped lint, formatting and the test-line budget. Independent read-only review found no P0–P2 issues on this merge snapshot. Follow hosted checks for this head.

November 26 conflict resolution

Merged official main 86f219ea1d45 in beff75bd84dc. The import resolution in src/cli/run-main.ts preserves the CLI failure-context wrapper from main and the configuration-read diagnostic for bare startup.

92 focused CLI tests passed across five files. Core and affected config/CLI test type checks, scoped lint and formatting, and the test-line budget passed. An independent read-only review of the merge snapshot found no outstanding issues. Follow hosted checks on the new PR head.

November 25 conflict resolution

Resolved the CLI entry-point import conflict with upstream b37553a53183 at 3a09bf86f036a377cfd0f9a0d214dd7921b9c4d3. The configuration read-error resolver and upstream Windows Gateway task supervisor both remain wired into their existing paths. Independent source review found the same author delta across all 23 paths.

90 focused CLI tests passed, covering bare startup, configuration diagnostics, and the supervisor paths. Core and affected test type checks, typed lint, formatting, and the test-line ratchet passed. The fresh branch is still subject to GitHub CI and owner review.

November 23 conflict resolution

Integrated official main 76aaafa into this PR at fa24bff. The guided quickstart fixture retains the unreadable-configuration regression and the upstream completion-message cases. The guest dictation fixture uses the exact current main blob. The earlier contributor patch there has the same patch ID as the already merged #195385.

44 focused configuration, guided onboarding, and setup tests passed. Core and affected test type checks, typed lint, formatting, and independent source review passed. The scoped local run used configuration and setup fixtures. The previous WebSocket fixture results, CI runs, and source snapshots below are tied to their recorded revisions.

Evidence

Earlier author head: ab705260b61e65e1db18583788aa2d7920b5908b (tree 1a918b7f64a123f381fdd72ac0b898ba1d0d9ade). The original CLI/configuration proposal is unchanged by this follow-up. Production, docs, manifests, lockfile and the original regression-test files are byte-identical to public head e27aaf9612848c71e0ded4b6cdd83b1e858267d2.

November 9 CI repair

CI42167756533, job127728885476, failed the guest-dictation WebSocket fixture at the old head. The first talk.catalog RPC did not produce an observed response within the fixture's5000ms polling window. The native classifier remains unknown: no matching main job; the exact tested merge/base and original failure remain retained.

The official #195385, commit a4e4638, waits for the actual catalog-refresh root to settle before checking the published catalog. Its producer stores the snapshot before releasing that root. This branch carries that exact one-file repair as 02eb9ac888db10f3c1af21c88f867eea9e5655ad, preserving the original author, date, message and existing trailers. The first warming response, final settled reason, exact catalog payload, guest/foreign-session permissions, relay ownership, late-event denial and revocation assertions all remain. The outer30000ms test limit is unchanged;the repair adds0 literal test LF.

Current focused verification

  • The uninstrumented official fixture passes through the native wrapper in supported Node24.22.1 mode: OPENCLAW_VITEST_RUNTIME=node pnpm test src/gateway/server.auth.guest-dictation.test.ts --maxWorkers=1. One test in one file passes;test time29.393s,wrapper wall147.043s. It uses isolated synthetic state, a private local Gateway and real WebSocket requests, with the existing provider I/O fixture. It does not establish live-provider or operator-Gateway behavior. The transport/authorization composition is why a cheaper helper-only assertion would not cover this contract.
  • The matching tsconfig.core.test.gateway-server.json consumer graph passes49.333s;typed lint passes353.132s including native SDK declaration preparation,format0.216s and whitespace checks pass. These ran on candidate tree1a918b7f64a123f381fdd72ac0b898ba1d0d9ade,which is exactly the final committed tree.
  • Fresh required independent P0–P2 review of the current two-file delta against publice27 is scoped-clean,with the unchanged committed root/catalog owners and actual proof supplied. The reviewer performed static review,not an independent execution. The earlier full-proposal review and241-case/configuration proof keep their original head/time under unchanged-input qualification;they are not counted as newly run tests.
  • Actual branch Node/pnpm requirements are verified: Node24.22.1,pnpm12.15.0;private frozen dependencies match the canonical project lock document. No package or lockfile change is introduced.

Exact test-line funding

The proposal still has 236 literal LF of regression growth relative to its official author base/current-main proposal. The prior100-line record relied on136 lines of base headroom. At pinned main43dae0b46f1eb1dcfed7434196ff3bf1aa8a9b2a,the native control is 6,589,535/6,589,535,slack0;the prospective merge with the old record is 6,589,771/6,589,635,over136. Only this PR's existing config/test-lines-allocations/cli-config-read-failure-166573.txt record changes 100→236,matching its own measured regression growth. The shared scalar and every other grant remain unchanged;no inherited main debt is funded.

The native local fork-base check passes 6,527,057/6,527,220,slack163. The exact canonical main checker applied to the prospective current-main merge passes 6,589,771/6,589,771,slack0. Local-head counts and CI-merge counts have distinct comparison trees. The final live pre-push projection and fresh natural CI remain separately observed below.

The final live pre-push comparison uses official main df13b6b8994cefe16f311f29f0301bba511ec617 and merge tree 477b271c498f9e6686e2042b2152735f2698acc5. Its native main control is 6,591,944/6,591,947,slack3;the actual proposed merge is 6,592,180/6,592,183,slack3. The proposal preserves the base's3-LF headroom while independently funding its236-LF growth.

Budget-scope correction: the old6,527,475/6,527,475 zero-slack figure belongs to the historicaldad4 CI/pre-push merge preview,not the standalone e27/c50 tree. The current local measurement above is copied directly from its native stdout;the separate43 anddf13 main/merge projections retain their own hashes and counts.

Investigated failures and remaining scope

The first local pinned-Bun attempt on this same candidate hit the existing 30000ms total test limit (wrapper215.087s). Its full cause remains unclassified. One phase-only diagnostic run completed all assertions in27.658s:its first catalog response took about5107ms and final root wait1ms,consistent with a5000ms readiness poll being too short in that run. It does not prove the complete cause of the old CI failure or the first local timeout. The diagnostic source was restored byte-for-byte before the final uninstrumented Node verification;the diagnostic pass is not final proof.

The old Doctor/launcher30s timeouts retain their original unknown classification. Installed latest-stable upgrade,Windows permission-denial,Bun-wide compatibility,real-provider and operator-Gateway proof remain uncovered. Current CI and any required owner/security review are separate from the local Node24 pass;Node26 compatibility has not been independently established. No old failed run is relabeled green or manually rerun.

CI for the earlier head

Natural CI42558962404 completed successfully for ab705260b61e65e1db18583788aa2d7920b5908b: 101 jobs,73 success/28 skipped,zero failures. The modern aggregate openclaw/ci-gate and native baseline ratchets both succeed. Skipped jobs are not executed tests.

The original guest-dictation fixture is actually present in the successful run: checks-node-changed-compact-large-4-1,worker [shard:bun:agentic-control-plane-auth-node-hosted-1],reports guest dictation crosses the real WebSocket authorization boundary — PASS12053ms. This is the same named fixture as the retained failure,not merely a matching aggregate job name. The workflow's Node driver is24.22.1;the worker is Bun. Numeric job-name suffixes do not establish a Node major version,so this is not a Node26 compatibility claim.

The logged CI checkout is merge 2352bb10f of this head into df13b6b8994cefe16f311f29f0301bba511ec617;the tested merge tree is 477b271c498f9e6686e2042b2152735f2698acc5,matching the separately qualified final pre-push budget projection. Prior42167756533 stays failed/classification unknown,and the first local Bun outer timeout remains unclassified. Upstream merge/owner approval remain separate.

Prior-head integration,causal controls and retained verification history

November 6 author maintenance integrates official main c50ff4fbe5410609d00066642c72213e4354ee23 into 623056f849c7e0be4465c21775a6e939cd3a5c0b. The merge conflict was confined to the imports in src/cli/fresh-install-config.ts. Both the author’s read-failure diagnostic and main’s first-write and pre-migration onboarding detection are present. Current author head e27aaf9612848c71e0ded4b6cdd83b1e858267d2 contains reviewed tree e7f2daabe3cd1a1ae3a652bbd6ff012a6159bd25.

  • Ten focused files passed 241 cases, including initial install, bare CLI, validation, setup, guided and noninteractive onboarding, and wizard ownership. The Vitest project durations totaled 650.25 seconds. The configure test was rerun after removing a single-use fixture alias and passed 17 cases with the same assertions.
  • Production and affected test type checks, core typed lint, formatting, and staged whitespace passed. A fresh P0–P2 source review covered the full author diff and the final allowance and test-fixture supplement.
  • Net test growth is 236 lines against the integration parent. The separate 100-line record funds the measured shortage without changing the shared scalar or other allocations. The native ratchet passed on the staged tree and on the merge preview against dad4fc1a037821f2e503df81fe43171bf61af656 immediately before push. Test lines OK: 6527475; ceiling: 6527475; slack: 0.

Previous CI repair

Previous author CI repair (2026-10-29), 623056f, carries the exact change from official #187339, commit 230619948b35fedb88bf5dbc528c7fd3f2fb07df, preserving Shakker's original author identity, date and commit message. It changes one test file and no production code or fixture API. The test now selects the release branch/tag through the existing --target-ref option, verifies the retained context, then moves that actual ref before asserting resume rejection. No publication, live Actions dispatch or release operation was performed; the local fixture uses private Git repositories and synthetic GH/npm transports.

Failing CI and attribution

At previous head 55e74290f5ac0fc7d72d8c2a09dde147d6d5836d, CI 40822099308 checks merge b5e543264b0bec435af26634224a19b856fde640 against base f3c816eb4a3e1902153382eff5ccd656f898f9b2. Its sole failed leaf is check-test-types-core-3: the release-candidate test passes releaseRef after the shared fixture API removed that property, producing TS2353 at line 335. ci-gate fails as a consequence.

The native classifier reports pre-existing — failure signatures match main; selected scope not compared. Independent source comparison confirms that the failing test, its two fixture owners, type config, wrapper, manifest and lock are byte-identical in that CI base, merge and PR head. The upstream repair merged at 05:13:17 UTC, after this CI fixed its base. That existing upstream repair is credited rather than claimed as an authored feature or new contribution.

That CI's budget job already passed: 6,248,290 / 6,321,421, slack 73,131. Those are CI-merge counts, distinct from the fixed-main local counts below; neither this fact nor the repair relabels the failed historical run.

Current repair verification

  • Exact-head natural CI: CI 40825895608 completed successfully at 623056f849c7e0be4465c21775a6e939cd3a5c0b on 2026-10-29 06:10:58 UTC (14:10:58 Asia/Shanghai). The previously failed check-test-types-core-3 is successful, and ci-gate reports that CI and applicable security requirements passed. No old run was rerun. This does not classify the retained Doctor/launcher timeouts or grant upstream merge approval.

  • The affected test-consumer graph first reproduces the same TS2353 (77.21 s), then passes after the exact upstream patch (51.73 s). The complete failing CI leaf, test/tsconfig/tsconfig.test.root.scripts.json, also passes (50.42 s); this is not a claim that the entire core stripe or CI ran locally.

  • The two affected branch/tag resume cases pass through the actual local CLI fixture (23.30 s wrapper time). The 23 other cases are unselected by the focused command, not disabled or treated as passing. Both rejection and no-dispatch assertions remain, and selected-context verification is stronger.

  • Typed lint (55.50 s), format, line-cap, whitespace and native budget pass. The repair removes 11 test LF lines. Local total 6,247,655 / 6,321,032, slack 73,377; the effective ceiling is unchanged official scalar 6,320,412 plus unchanged official allocations 620. The total remains below the scalar alone. No author allowance, baseline, counting rule, timeout, ignore or expected failure is changed.

Fresh local autoreview of the complete one-file delta against 55e74290, P0-P2, is scoped-clean with no actionable finding. Snapshot 767c70e25dc4635179254f41dd48aee805778241, tree 40171d512430356b180b23a70b8f59eb09759c37. This is static review of the delta and supplied fixture/wrapper context; the full internal CLI implementation was not supplied and the reviewer did not execute tests.

Prior CLI integration remains qualified

The original 22 introduced CLI/configuration files, production tree, manifest, lock and their callers are unchanged from 55e74290; the only new tracked change is the official candidate-test repair. Their prior 197-case proof, production/test-consumer types, lint, native guards and complete 22-file review (77e25911, against pinned main 85180528) therefore retain unchanged-input qualification. They are not counted as newly executed tests on this head. That normal integration preserves main's permission controls, service-installation context, pre-engine inspection and proxy owners; it applies no author budget raise.

Retained failures and remaining proof

  • Both historical failed runs remain failed: the older bbcd3f84 budget failure (CI 40753429576, 6,310,774 / 6,310,560) and the 55e74290 inherited type failure above. No job was manually rerun or reclassified, and no administrative merge exception is claimed.
  • The prior Doctor subprocess's unchanged 30 s timeout remains unexplained. Its last completed trace was doctor.external-config at 29,977.1 ms; maintenance-ready was the next start label. Passing replays and this unrelated fixture repair do not prove that cause repaired. No deadline or assertion is extended.
  • The earlier private ordinary pnpm openclaw attempt did not finish its normal source rebuild within 600 s and never reached the config-read branch. Current source/boundary tests do not establish an installed upgrade, Windows permission-denial, Bun, real-provider or operator-Gateway pass.
  • New-head CI and required owner review remain separate. This is a contributor branch update, not upstream merge approval. No real Gateway was restarted or reconfigured and no paid testing resource or publication exception was used.
Historical causal controls and prior-head verification

The earlier registered config validate negative control used canonical main working bytes with the reviewed regression overlaid. Both text and JSON cases failed: text reported Config needs correction and suggested schema inspection, while JSON reported OpenClaw config is invalid for a real missing include. The 743.31 s wrapper included first-time compilation. This was an owning-command control, not a certified pristine-main deployment; all overlaid source/index bytes were restored. It is historical evidence, not a fresh 8518 execution.

An integration control also showed why main's inline configure owner must stay: keeping the formerly extracted helper bypassed terminal-value tagging and failed the existing ANSI/bidi/newline test. The final proposal preserves canonical tagged rendering instead of keeping that duplicate helper.

At 92fac2b005d24a755c7de8f148644ab534dc34f6, historical proof qualified 244 distinct cases across 10 files in separate runs (183 CLI, 41 command, eight wizard and 12 queue-owner cases), not one 244-case execution. The initial batch retained two failures: a stale materialized-fallback expectation was corrected against the preset retirement, while the unchanged 120 s non-JSON initialization timeout remained unclassified despite later passing replays. The stricter exact queue matcher, authored/raw absence, no-write and workspace assertions remained. Current 197-case proof above is reported separately, without adding overlapping old counts.

At bbcd3f84958539217f6e68966e39bb7fa30c20d6, the subsequent main integration retained the original repair and canonical signal handling. The existing profile scope expectation was corrected to WRITE while targetless dispatch remained ADMIN; main now independently owns that correction, so its file is removed from the introduced diff. The old Node fallback's 37 CLI cases, selected permission contract and queue check remain old-head evidence. The separate Doctor 30 s failure and prior Bun CI classifications remain unresolved as described above.

Earlier full-proposal and scoped follow-up independent reviews stay tied to their recorded revisions (ba1be3b8, 5ce18634, 28e3a046, afce0f77); they do not substitute for the current complete review.

@clawsweeper

clawsweeper Bot commented Oct 7, 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 cli CLI command changes commands Command implementations size: M labels Oct 7, 2026
@alkor2000
alkor2000 marked this pull request as ready for review October 7, 2026 11:35
@clawsweeper clawsweeper Bot added 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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 7, 2026
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes validation and setup report configuration read failures separately from invalid settings.

Example: Run bare openclaw without a TTY with configuration {"$include":"missing.json"} and no missing.json file.

  • Before: The CLI calls the configuration invalid and recommends doctor --fix.
  • After: The CLI identifies the missing include, asks the operator to resolve the read error and retry, exits 1, and preserves the configuration bytes.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, focused correction with supplied shipped-entry-point proof and meaningful caller regressions; no actionable defect was found.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The exact-head terminal trace exercises the normal pnpm openclaw launcher without a TTY in isolated state against a missing include, showing the corrected read-error/retry diagnostic, exit 1, unchanged configuration hash, and no Doctor or TTY advice; it resolves the previous review's specific proof request.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Operators are told to repair settings when OpenClaw has only established that configuration could not be read.
Reason: The change restores an established diagnostic contract across the linked issue's entrypoints without adding configuration or product surface.

Merge readiness

✅ Ready for maintainer review

Keep open: current main still misdiagnoses unreadable configuration, and this focused correction has no actionable findings.

Priority: P2
Reviewed head: f9f4a89bd74881d85a273bb057657c7b0718144b

Before merge

None.

Findings

None.

Agent review details

How this fits together

CLI validation, startup, and setup consume configuration snapshots and produce human or JSON diagnostics before configuration changes or onboarding effects.

flowchart TD
  A[CLI entry point] --> B[Configuration snapshot]
  B --> C[Existing failure classifier]
  C --> D[Read error and retry guidance]
  C --> E[Invalid settings recovery]
  D --> F[Nonzero exit without setup effects]
  E --> F
Loading

Technical review

Best possible solution:

Use the existing snapshot classification consistently while preserving invalid-settings recovery and configuration-write ownership.

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

Yes: the missing-include input reaches current main's invalid-config diagnostics, matching the supplied CLI control; this read-only review ran no target code.

Is this the best way to solve the issue?

The patch restores the existing read-failure contract through shared formatting and existing callers, without changing parsing, persisted formats, or writer authority.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Read-failure classification keeps the original intent (fac6042: Distinguish unavailable configuration from invalid authored settings and avoid unsupported repair advice.)
  • Bare-root onboarding decision keeps the original intent (2a6b2ed: Share fresh and interrupted local onboarding decisions while preserving configured and remote routing.)
  • Baseline setup rejection keeps the original intent (e3488e1: Preserve malformed configuration and reject setup before mutations through the canonical snapshot-for-write owner.)
  • Invalid-settings repair guidance keeps the original intent (4fe8176: Name Doctor's explicit repair mode so supported invalid-settings repairs can be applied before retrying setup.)
  • JSON failure projection keeps the original intent (980aa82: Use one canonical JSON failure renderer while callers retain exit and recovery policy.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 2a6b2ed adds src/cli/fresh-install-config.ts:28 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2a6b2ed89f0e; files: src/cli/fresh-install-config.ts)
  • Jason (Json): Raw commit fac6042 adds src/cli/config-validation-output.ts:14 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fac60421d454; files: src/cli/config-validation-output.ts)
  • Alix-007: Raw commit 980aa82 adds src/cli/config-validation-output.ts:8 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 980aa822b161; files: src/cli/config-validation-output.ts)

PR surface

Source +96, Tests +182, Docs +2. Total +280 across 22 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 13 162 66 +96
Tests 8 196 14 +182
Docs 1 3 1 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 22 361 81 +280

Review metrics

Metric Value Why it matters
Production versus test growth production +96 lines; tests +182 lines Growth supports shared diagnostics, retention of the engine-selection failure, affected caller boundaries, and complete existing fixtures; extracted configure logic replaces its prior inline owner.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #159029
Summary: This PR addresses the canonical issue's remaining entrypoint diagnostics using the previously merged classifier.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, 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: Incorrect recovery advice affects several CLI paths, while the demonstrated failure remains bounded and preserves configuration bytes.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • 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 (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-09T19:40:37.935Z sha fdf29ae :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T20:34:47.437Z sha 6630dde :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T23:23:49.198Z sha 6448c79 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T00:56:36.296Z sha 6448c79 :: needs changes before merge. :: none
  • reviewed 2026-10-10T01:25:00.441Z sha 6644a7f :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T03:55:08.489Z sha 6644a7f :: needs maintainer review before merge. :: none
  • reviewed 2026-10-18T18:25:14.098Z sha 3658bc9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-18T19:11:12.595Z sha 0d03ec8 :: needs real behavior proof before merge. :: none

Reviewed October 22, 2026, 3:05 AM ET / 07:05 UTC (Revision 14).

@alkor2000

Copy link
Copy Markdown
Contributor Author

Added explicit stored-data/upgrade compatibility evidence to the body at 5d63542d5d928ac8432937d52c85723500779a6b. The flagged migration-bearing files change read admission and error wording; migration transforms, writers/CAS, schemas and stored fields are unchanged. Unavailable reads refuse changes to unknown state, genuinely absent files retain the valid fresh-install path, and existing Doctor/invalid-settings controls pass. Seven real CLI read-failure cases preserve exact config bytes. No data conversion or schema/version change is claimed.

The incomplete workspace snapshot fixture exposed by natural CI now uses the canonical factory and preserves real mocked-module exports: the same file moves from 2 failures/3 passes to 5 passes, with existing assertions unchanged. Its selected type/format/mock/export/lint checks pass. The new head's natural openclaw/ci-gate is successful; the prior UI type failure was inherited from the exact CI base and fixed upstream.

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 10, 2026
@alkor2000

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 22, 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: 🐚 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. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 22, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Oct 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Oct 28, 2026
Merge official main 8518052 for the actual conflict
and failed test-line gate. Keep its permission controls and CLI service
inspection owners. The official budget suffices without an author raise.
@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Oct 29, 2026
shakkernerd and others added 4 commits October 29, 2026 13:51
Exercise the selected release branch or tag through the existing CLI fixture and verify the retained context before resume.

Fixes openclaw#187326
)

Join the catalog refresh root before checking readiness instead of timing
an asynchronous RPC with a shorter polling deadline. Preserve the exact
catalog payload and WebSocket authorization assertions.

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
Co-authored-by: steipete <[email protected]>
Record the existing PR166573 regression proposal at its measured236 LF,
so it remains independently funded against current main with zero
headroom. Keep the shared scalar and every other allocation unchanged.
No regression tests or inherited main debt are added by this follow-up.
@openclaw-barnacle openclaw-barnacle Bot removed the gateway Gateway runtime label Nov 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations docs Improvements or additions to documentation 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: M 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.

config validate and setup commands call an unreadable config invalid and suggest doctor --fix

3 participants