Skip to content

fix(doctor): explain update lint supervisor refusals - #156547

Merged
steipete merged 8 commits into
mainfrom
fix/doctor-lint-refusal-diagnostics
Sep 24, 2026
Merged

steipete merged 8 commits into
mainfrom
fix/doctor-lint-refusal-diagnostics

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Related: #45233 and #149882

What Problem This Solves

Update Doctor lint could refuse cancellation, output, or cleanup without explaining which condition it observed.

User Impact

The existing refusal now carries fixed condition labels and recorded termination facts through the update report and saved failure history. Acceptance, readiness JSON, budgets, process cleanup, and exit behavior stay unchanged. No configuration, persisted schema, SDK, or process-result API changes are required.

Why This Change Was Made

The supervisor introduced in #153679 owns these facts. Reporting them there preserves CLI reason precedence without exposing raw errors, paths, or process identifiers. The longest reachable wrapped reason is 198 characters, within the existing 200-character capture limit.

The maintained custom-plugin survivor scenario exercises the published 2026.9.6 updater against the candidate: an actual lint-worker output-limit refusal must survive in both the update result and saved run, retain the installation and operator data, and leave no owned child behind. The existing healthy sibling-import retry follows. The fixture attaches at the compiled worker entry through the existing Node preload mechanism. Both survivor containers now request Docker init to reap orphaned children; retained witnesses record process parentage and namespace PID 1 identity, and failure diagnostics include the daemon's actual init setting. All refusal and cleanup assertions remain strict.

Evidence

  • Product 98ad4fc6b2b3680298a9202dc03ef940a997bc93 preserves Vincent Koc's implementation and ancestry plus fixed main 3fb84b05. All 16 Doctor supervisor and 11 canary tests passed. Restoring only the original supervisor caused all 11 new diagnostic assertions to fail while five existing acceptance/refusal cases passed. The combined one-worker command took 57.76 seconds. Selected checks, including types, lint, and all three dead-export scans, passed after correcting one fixture sort call. Fresh full-candidate review found no actionable P0–P2 findings against the independently verified published 9.6 caller.
  • The first Package Acceptance attempt built the product and passed integrity/npm 12 installation. The survivor failed because the old plugin-contract fixture did not reliably arm the lint worker and the updater succeeded. The worker-entry preload correction passed all 11 diagnostics tests and all 17 selected checks with a clean independent review; it was published as signed 787f11c2.
  • The second Package Acceptance attempt reached the real refusal: Doctor lint settlement refused: output-limit,cleanup-uncertain; kill-issued-by-abort,termination=signal. Its output child remained a zombie after the worker disappeared. The Docker launcher did not request an init reaper. This failed run is preserved; saved-status, installation-retention, and healthy-retry assertions were not reached and are not credited as passing.
  • The Docker-init follow-up is signed 0f4e1b168c70c872ff4c6f6107db20437f9477b7, tree 0ddbecc627cf2c77f787be897355312779cdad68, with sole parent 787f11c2. Four maintained harness tests passed, followed by all 14 selected three-file checks, including formatting, line-cap, scripts lint, and all three dead-export scans. Fresh independent review found no actionable P0–P2 findings. Normal commit hooks and signature verification passed.
  • Corrected Package Acceptance passed with the authenticated product artifact from 98ad4fc6 and harness 0f4e1b16. Integrity and npm 12 installation passed. The 788-second survivor lane verified Doctor lint settlement refused: output-limit; kill-issued-by-abort,termination=signal. in both the failed update result and saved lastRun, retained the prior installation/config/operator data, and confirmed no surviving worker or output child. The witness records docker-init as namespace PID 1. The healthy retry then passed with six actual plugin executions resolving the copied sibling source and the installed plugin loading successfully.
  • Product bytes are unchanged: package SHA-256 dc8d1f95c2a7bef62e4c62beca738d4ee028dc08ce3f98eaf3cdd18b8d0053d1, original artifact 10812581494. No product rebuild was performed. The retained diagnostic archive has service-verified SHA-256 513b549bdb0ab23498c73d04f7cfe5f5a593c402bf967e1ddfed852336fccaec. Its normal 16 KiB output bound truncates the full update JSON, but preserves the complete failing step and matching run ID; the saved run parses fully, and the live fixture checked the complete raw result before publication. Exact-head CI, attempt 3 passed after recovery from an unassigned runner and release-priority deferral. The automatic Security Review refresh passed, and the native workflow verified merge 0a6f1fa28b7312b767bd25e6cfef01e25bd75414 on main and completed PR-owned cleanup.

The candidate remains version 2026.9.5, so this is a published 9.6 driver × candidate compatibility cell, not a version-upgrade claim. No baseline Gateway-serving liveness or current FreeBSD success is claimed. Historical interrupted-run evidence does not prove current cleanup.

Thanks to @vincentkoc for the original fix.

@vincentkoc vincentkoc self-assigned this Sep 23, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review September 23, 2026 13:52
@clawsweeper

clawsweeper Bot commented Sep 23, 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.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 41482a6873fde32686d6a27b8ac691aeec520f10. The PR records the remaining package and updater proof requirements.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: S labels Sep 23, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 3:19 PM ET / 19:19 UTC (Revision 14).

ClawSweeper review

What this changes

The branch labels Doctor lint supervisor refusals in update reports and extends the Docker upgrade-survivor scenario to check saved failure history, process cleanup, and a healthy retry.

Merge readiness

⛔ Blocked before merge - 1 item remains

Current main still gives a generic Doctor lint refusal. This PR provides a distinct diagnostic fix, and the previously outstanding published-updater scenario has now passed at the reviewed head.

Priority: P2
Reviewed head: 0f4e1b168c70c872ff4c6f6107db20437f9477b7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused diagnostic change has meaningful regression coverage and a successful published-updater scenario, with no actionable defect found.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (linked_artifact): The changed Doctor supervisor feeds the installed updater's candidate rehearsal. At the exact PR head, the targeted published-9.6 updater job passed; the PR body records an after-fix output-limit reason in the failed result and saved run, intact installation and operator data, no surviving owned processes, and a successful retry. The Actions log was unavailable through the review proxy. Existing free-text failure facts change content, with no stored-data format or schema change.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The changed Doctor supervisor feeds the installed updater's candidate rehearsal. At the exact PR head, the targeted published-9.6 updater job passed; the PR body records an after-fix output-limit reason in the failed result and saved run, intact installation and operator data, no surviving owned processes, and a successful retry. The Actions log was unavailable through the review proxy. Existing free-text failure facts change content, with no stored-data format or schema change.
Evidence reviewed 7 items Current main retains the generic refusal: The fetched main revision still combines output and cleanup failures into one generic error; it does not supply the requested condition labels.
Introduced supervisor diagnostics: The introduced code assembles fixed refusal labels from observed cancellation, output, and cleanup facts and emits them through the existing CLI reason line.
Existing reason consumer: The update canary already recognizes the CLI reason prefix and prefers that redacted line over an earlier generic stderr line.
Findings None None.
Security None None.

How this fits together

During an update, the installed updater runs candidate Doctor lint in an isolated rehearsal and records the result in update history. A Docker survivor scenario exercises that path with a published updater and a custom plugin.

flowchart LR
A[Published updater] --> B[Candidate Doctor rehearsal]
B --> C[Lint supervisor]
C --> D{Checks and cleanup}
D --> E[Update result]
E --> F[Saved run history]
G[Docker survivor scenario] --> A
G --> F
Loading

Before merge

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

Security

None.

PR surface

Source +19, Tests +200, Other +257. Total +476 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 1 22 3 +19
Tests 3 210 10 +200
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 6 258 1 +257
Total 10 490 14 +476

Review metrics

Metric Value Why it matters
Production versus proof growth production +22/−3 lines; tests and E2E support +468/−11 lines The small production change is accompanied by substantial published-updater proof for the failure and recovery path.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/custom-plugin-siblings.mjs, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/diagnostics.mjs, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/run.sh, migration/backfill/repair: scripts/lib/upgrade-survivor-diagnostics.sh, migration/backfill/repair: src/commands/doctor-lint-process.ts, serialized state: scripts/e2e/lib/upgrade-survivor/custom-plugin-siblings.mjs, and 3 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep the diagnostic in the existing Doctor supervisor and use the published-updater survivor scenario to guard refusal persistence, state retention, and cleanup.

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

Yes, from source: current main collapses the observed refusal conditions into a generic error, while the canary consumes a labeled CLI reason. I did not execute a failing current-main update.

Is this the best way to solve the issue?

Yes. The existing supervisor owns the observed facts, and the existing canary reason parser carries them into update history; the survivor scenario checks that product boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 37783fcbcf78.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The changed Doctor supervisor feeds the installed updater's candidate rehearsal. At the exact PR head, the targeted published-9.6 updater job passed; the PR body records an after-fix output-limit reason in the failed result and saved run, intact installation and operator data, no surviving owned processes, and a successful retry. The Actions log was unavailable through the review proxy. Existing free-text failure facts change content, with no stored-data format or schema change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: The change improves diagnosis of refused updates without changing update admission or acceptance behavior.
  • 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 (linked_artifact): The changed Doctor supervisor feeds the installed updater's candidate rehearsal. At the exact PR head, the targeted published-9.6 updater job passed; the PR body records an after-fix output-limit reason in the failed result and saved run, intact installation and operator data, no surviving owned processes, and a successful retry. The Actions log was unavailable through the review proxy. Existing free-text failure facts change content, with no stored-data format or schema change.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed Doctor supervisor feeds the installed updater's candidate rehearsal. At the exact PR head, the targeted published-9.6 updater job passed; the PR body records an after-fix output-limit reason in the failed result and saved run, intact installation and operator data, no surviving owned processes, and a successful retry. The Actions log was unavailable through the review proxy. Existing free-text failure facts change content, with no stored-data format or schema change.

Evidence

What I checked:

  • Current main retains the generic refusal: The fetched main revision still combines output and cleanup failures into one generic error; it does not supply the requested condition labels. (src/commands/doctor-lint-process.ts:113, 37783fcbcf78)
  • Introduced supervisor diagnostics: The introduced code assembles fixed refusal labels from observed cancellation, output, and cleanup facts and emits them through the existing CLI reason line. (src/commands/doctor-lint-process.ts:114, 0f4e1b168c70)
  • Existing reason consumer: The update canary already recognizes the CLI reason prefix and prefers that redacted line over an earlier generic stderr line. (src/infra/update-candidate-canary-process.ts:36, 0f4e1b168c70)
  • Published-updater scenario: The introduced survivor assertion checks the failed update, matching saved run, unchanged installation and operator data, and disappearance of the owned worker and output child before the healthy retry. (scripts/e2e/lib/upgrade-survivor/custom-plugin-siblings.mjs:95, 0f4e1b168c70)
  • Exact-head package acceptance: GitHub reports successful package acceptance and a successful targeted published-upgrade-survivor job at the exact PR head. The PR body records the observed output-limit refusal in the update result and saved run, retained state, completed cleanup, and healthy retry. The job log could not be opened through the review proxy, so its detailed trace was not independently read. (0f4e1b168c70)
  • Product bytes retained across harness follow-up: The Doctor production and focused test files are unchanged between the product commit cited in the PR body and the reviewed head; the later commits alter the survivor proof harness. (src/commands/doctor-lint-process.ts:114, 0f4e1b168c70)

Likely related people:

  • Peter Steinberger: Raw commit 7723e49 adds src/commands/doctor-lint-process.ts:110 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7723e490386a; files: src/commands/doctor-lint-process.ts)

Rating scale

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

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

Workflow

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

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-23T21:57:31.203Z sha 7ed0217 :: blocked before merge. :: none
  • reviewed 2026-09-24T04:31:56.978Z sha 5dd5433 :: blocked before merge. :: none
  • reviewed 2026-09-24T05:47:37.135Z sha 5dd5433 :: blocked before merge. :: none
  • reviewed 2026-09-24T07:58:40.285Z sha 5dd5433 :: blocked before merge. :: none
  • reviewed 2026-09-24T13:55:21.139Z sha 98ad4fc :: blocked before merge. :: none
  • reviewed 2026-09-24T14:09:12.519Z sha 98ad4fc :: blocked before merge. :: none
  • reviewed 2026-09-24T16:23:30.114Z sha 787f11c :: blocked before merge. :: none
  • reviewed 2026-09-24T18:59:40.668Z sha 0f4e1b1 :: blocked before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Signed head de58b6cde40e18b65fcdbeaae8b776b401845714 integrates frozen main with the landed native-identity fixture. The three diagnostic files remain unchanged; current CI and the shared candidate proof are recorded separately.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Supply the policyConfig required by SessionRowReadView after scoped session authorization was introduced. This restores the gateway-root type check without weakening the production contract or changing lifecycle assertions.

(cherry picked from commit 0901260)
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: b1f50687e7ade911ff74556c0e3421f64e204ff3. Adds only the canonical upstream gateway fixture correction; Doctor diagnostic production and dependencies remain unchanged. Please review the corrected head and retained evidence in the PR body.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Completion now crosses asynchronous SQLite work, but two steer-restart
fixture cases still polled callbacks every millisecond with a one-second
deadline. The assertion could expire while valid completion work remained
admitted; the existing teardown join then observed the missing announcement.
Join the existing lifecycle and cleanup roots before the unchanged assertions,
restore observers in finally, and remove the timed-poll helper.

The original CI failure and two local failures reproduced the race; a local
diagnostic observed zero announcements before owner settlement and one after.
Natural isolated and loaded Linux baselines passed, so no natural Linux
before-failure is claimed. After the repair, the full file passed 20 times
and its exact 86-file Linux child shard passed three times. Changed checks
and P2 review passed. The existing 22-test file measured 27.99 seconds wall
with one worker; no new tests, retries, or timeouts were added.

(cherry picked from commit 1f067fa)
@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: M and removed size: S labels Sep 23, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 7ed02170fc6a2ee025480311a83a88ada625631a. This signed correction carries Peter’s canonical lifecycle fixture fix 1f067fa03de2bd02fb00057353f48a1f74e3428f with attribution; all diagnostic production/test postimages remain unchanged. Fresh canonical review is clean; updated evidence distinguishes the earlier failures and pending current-head CI.

Carry the existing supervisor diagnostic changes onto the fixed main owners.
Extend the custom-plugin survivor fixture to check the published 9.6 updater
records the actual refusal and retains its installation and operator state,
then exercises the existing healthy retry.

Co-authored-by: Vincent Koc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M and removed size: S labels Sep 24, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Sep 24, 2026
Use the existing survivor preload path so inspection budget admission cannot skip the diagnostic refusal fixture. Preserve refused update and process evidence separately from the healthy retry through the maintained diagnostics publisher.

Retain the original successful-update fixture failure as evidence; production Doctor semantics remain unchanged.

Co-authored-by: Vincent Koc <[email protected]>
@steipete
steipete marked this pull request as ready for review September 24, 2026 16:15
Start both survivor containers with Docker init so orphaned worker children
are reaped by the namespace owner. Retain process parentage and PID 1 identity
in the refusal witnesses, and include HostConfig.Init in failure diagnostics.
Keep the supervisor refusal and completed-cleanup assertions unchanged.

Co-authored-by: Vincent Koc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docker Docker and sandbox tooling size: L and removed size: M labels Sep 24, 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Sep 24, 2026
@steipete
steipete enabled auto-merge (squash) September 24, 2026 19:35
@steipete
steipete merged commit 0a6f1fa into main Sep 24, 2026
470 of 473 checks passed
@steipete
steipete deleted the fix/doctor-lint-refusal-diagnostics branch September 24, 2026 22:44
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* refactor(ai): share Mistral text delta appends

* Merge main to incorporate the upstream update type fix

* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* fix(doctor): explain update lint supervisor refusals

* test(gateway): complete placement read policy fixture

Supply the policyConfig required by SessionRowReadView after scoped session authorization was introduced. This restores the gateway-root type check without weakening the production contract or changing lifecycle assertions.

(cherry picked from commit 46ed43b)

* test(agents): join owned cleanup before fixture assertions

Completion now crosses asynchronous SQLite work, but two steer-restart
fixture cases still polled callbacks every millisecond with a one-second
deadline. The assertion could expire while valid completion work remained
admitted; the existing teardown join then observed the missing announcement.
Join the existing lifecycle and cleanup roots before the unchanged assertions,
restore observers in finally, and remove the timed-poll helper.

The original CI failure and two local failures reproduced the race; a local
diagnostic observed zero announcements before owner settlement and one after.
Natural isolated and loaded Linux baselines passed, so no natural Linux
before-failure is claimed. After the repair, the full file passed 20 times
and its exact 86-file Linux child shard passed three times. Changed checks
and P2 review passed. The existing 22-test file measured 27.99 seconds wall
with one worker; no new tests, retries, or timeouts were added.

(cherry picked from commit 9332304)

* test(update): arm Doctor refusal at the worker entry

Use the existing survivor preload path so inspection budget admission cannot skip the diagnostic refusal fixture. Preserve refused update and process evidence separately from the healthy retry through the maintained diagnostics publisher.

Retain the original successful-update fixture failure as evidence; production Doctor semantics remain unchanged.

Co-authored-by: Vincent Koc <[email protected]>

* test(e2e): reap orphaned upgrade survivor fixture children

Start both survivor containers with Docker init so orphaned worker children
are reaped by the namespace owner. Retain process parentage and PID 1 identity
in the refusal witnesses, and include HostConfig.Init in failure diagnostics.
Keep the supervisor refusal and completed-cleanup assertions unchanged.

Co-authored-by: Vincent Koc <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* refactor(ai): share Mistral text delta appends

* Merge main to incorporate the upstream update type fix

* commit 'dda1f68bfa102cb804392c0e7cc22c0566a0944a': (68 commits)
  fix(subagents): stop completion transcript retry loops (openclaw#157571)
  perf(sessions): remove duplicate foreground history reference scans (openclaw#157572)
  improve(typesafe): defer startup work until the first decision (openclaw#157380)
  fix(update): restore npm-pack helper typechecking (openclaw#157659)
  fix(packaging): avoid heap exhaustion on large bundles (openclaw#157471)
  refactor(infra): share process error handler registries (openclaw#157632)
  chore(ui): refresh control ui locales (openclaw#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (openclaw#157592)
  perf(plugins): reuse declared tool membership during resolution (openclaw#156205)
  fix(ui): pasted text previews fail before sending (openclaw#157390)
  fix(agents): wait for database resources during deletion (openclaw#157631)
  improve: move operator profile database reads off the Gateway thread (openclaw#155800)
  fix: explain rejected settings without losing edits (openclaw#157549)
  fix: keep Gateway responsive while recording trajectory events (openclaw#157598)
  fix(auth): show SIWC email and selected model account identity (openclaw#157629)
  docs: explain Codex app approval precedence (openclaw#155089)
  refactor(wizard): share select prompt requests (openclaw#157607)
  fix(ui): omit empty sections from conversation Markdown exports (openclaw#157590)
  fix(doctor): explain update lint supervisor refusals (openclaw#156547)
  fix(ui): GitHub folder links lose repository context (openclaw#157619)
  ...

Co-authored-by: Vincent Koc <[email protected]>
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit '229ab8a1fe957d3d4822309a39ddf9c7ec616395': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  docs(gateway): show how we build OpenClaw on Team (#157675)
  refactor: verify IRC surrogate chunking over loopback (#157580)
  ...

* chore: merge frozen main prerequisite repairs

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit 'dda1f68bfa102cb804392c0e7cc22c0566a0944a': (68 commits)
  fix(subagents): stop completion transcript retry loops (openclaw#157571)
  perf(sessions): remove duplicate foreground history reference scans (openclaw#157572)
  improve(typesafe): defer startup work until the first decision (openclaw#157380)
  fix(update): restore npm-pack helper typechecking (openclaw#157659)
  fix(packaging): avoid heap exhaustion on large bundles (openclaw#157471)
  refactor(infra): share process error handler registries (openclaw#157632)
  chore(ui): refresh control ui locales (openclaw#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (openclaw#157592)
  perf(plugins): reuse declared tool membership during resolution (openclaw#156205)
  fix(ui): pasted text previews fail before sending (openclaw#157390)
  fix(agents): wait for database resources during deletion (openclaw#157631)
  improve: move operator profile database reads off the Gateway thread (openclaw#155800)
  fix: explain rejected settings without losing edits (openclaw#157549)
  fix: keep Gateway responsive while recording trajectory events (openclaw#157598)
  fix(auth): show SIWC email and selected model account identity (openclaw#157629)
  docs: explain Codex app approval precedence (openclaw#155089)
  refactor(wizard): share select prompt requests (openclaw#157607)
  fix(ui): omit empty sections from conversation Markdown exports (openclaw#157590)
  fix(doctor): explain update lint supervisor refusals (openclaw#156547)
  fix(ui): GitHub folder links lose repository context (openclaw#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit 'dc64cc3a3a3cf38fff1e44c1d7af42a32929d7e4': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (openclaw#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (openclaw#139131)
  refactor(msteams): share stored service URL validation (openclaw#157706)
  fix(codex): honor configured tool PATH in native commands (openclaw#157290)
  refactor(msteams): share approval kind labels (openclaw#157705)
  fix(sessions): keep session results current during cold reads (openclaw#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (openclaw#157535)
  refactor(i18n): reuse native branch candidate extraction (openclaw#157636)
  fix(update): preserve recovery files after ownership refusal (openclaw#148890)
  fix(test): prevent late announcements from contaminating registry tests (openclaw#157681)
  fix(e2e): scan full onboarding logs for prompts (openclaw#157624)
  refactor(session-tools): derive contracts from schemas (openclaw#156365)
  refactor(channels): derive config contracts from schemas (openclaw#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (openclaw#157689)
  refactor: reuse prepared fixtures in slow core tests (openclaw#157685)
  refactor(codex): reuse marketplace reference selection (openclaw#157621)
  chore(ui): refresh control ui locales (openclaw#157710)
  docs(gateway): show how we build OpenClaw on Team (openclaw#157675)
  refactor: verify IRC surrogate chunking over loopback (openclaw#157580)
  ...

* chore: merge frozen main prerequisite repairs

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

Labels

commands Command implementations docker Docker and sandbox tooling 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: L 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