Skip to content

fix: clear the update warning after a retired model is repaired - #204778

Merged
vincentkoc merged 6 commits into
openclaw:mainfrom
Ayushdevo:fix/retirement-update-warning-204736
Nov 27, 2026
Merged

vincentkoc merged 6 commits into
openclaw:mainfrom
Ayushdevo:fix/retirement-update-warning-204736

Conversation

@Ayushdevo

@Ayushdevo Ayushdevo commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

After Doctor finishes a deferred model-retirement repair, update output and saved status still present that successful repair as a warning. This obscures warnings that still need action.

User Impact

A completed repair stops appearing as an attention warning. Unresolved repairs and unrelated warnings remain visible, and existing saved history is preserved.

Why This Change Was Made

Keep the normal durable completion receipt, settle the existing deferred-warning row, and remove the separate success-warning write. The shared projection recognizes that same completion fact in historical runs without rewriting stored records. Current summary and status consumers share this policy; the removed report renderer is not restored.

Production: +9/-14, net -5. Tests: +41/-3, net +38. No schema, config, or protocol change.

Evidence

Candidate: 54cf0ee4709973fc1e8b88562b7c8acc0a4cfed9; frozen integration base: ab8fd9466418a9c25f1519841309d04388c654b7.

  • Independent P0–P3 autoreview: complete, scoped-clean, zero findings. Scoped whitespace and privacy checks passed.
  • Source inspection confirmed the producer on released v2026.11.7 and v2026.11.10.
  • Sanitized AWS, Node 24.22.1, pnpm 12.15.0: restoring the unfixed producer/projection caused exactly two summary/status failures and both Doctor correlation cases to fail on the unwanted completion warning.
  • Candidate: all 48 status tests and all 11 registered CLI completion/resume tests passed. Six of eight Doctor billing-route tests passed, including both changed run-ID/result-channel regressions, absent-correlation control, and refused-config-write control. Historical completed/failed/skipped/missing receipts retain unrelated warnings and leave saved steps unchanged.
  • Full package build completed in 3m54s; tarball integrity, npm inventory, and import-graph checks passed. Package SHA-256: 788e84238874542e0922a295c746872a913ad9c5b169f725b03bc80903f7a052.
  • Installed published 2026.11.10 → exact candidate: PASS. The real published updater installed the candidate; installed build metadata matched the SHA, saved status read the same successful update run, Gateway readiness was 200, durable session/history survived, and incognito history was cleared after restart. Fixture service cleanup passed. The service manager is a fixture shim; CLI and Gateway are real. This generic upgrade/history cell does not deliberately trigger a model retirement.
  • Exact-head CI, attempt 2: SUCCESS, 54 successful jobs, 25 skipped, no failures or cancellations; aggregate CI and security-fast passed.
  • Installed retirement proof: PASS, native remote command exit 0. A fresh full build and package checks passed at the same candidate SHA. This second tarball is aa16c69a9a3b5169d8497d81cfc7b67f7e400e84b27838b7df5bace3ee3a2ff5, installed build 2026.11.10-54cf0ee47099-2026-11-27T15-42-03.734Z.
  • The real published 2026.11.10 CLI reproduced the bug through update repair --yes --no-restart --json --timeout 300: actual pre-plugin deferral, durable xai/auto → xai/grok-4.7 migration, then the completed retirement incorrectly listed as a warning by update status.
  • Installing the candidate and rereading that same run hid only the success warning. The run ID and complete saved steps were unchanged. A new candidate repair then completed the same real retirement: normal receipt completed, deferred warning skipped, no separate success-warning row, and no retirement warning in final JSON or subsequent saved status. Fallback, alias, and model parameters survived. The unrelated Python advisory remained in final summary and saved status; other genuine plugin-policy advice also remained visible.
  • This used bundled XAI retirement metadata, an isolated synthetic home, and installed CLI entry points. No provider credentials, manual ledger writes, completion mocks, custom plugin, or phase-environment overrides were used. The two temporary AWS proof leases were stopped after their consumers completed.

Redacted installed output and receipts:

Published stable saved status:
✅ OpenClaw repair completed for 2026.11.10; 2 warnings need attention.
Warning: - tools.exec.safeBins includes interpreter/runtime 'python3' without profile; remove it from safeBins or use explicit allowlist entries.
Warning: Deferred model retirement repair completed after plugin convergence.

Candidate historical and newly repaired saved status:
✅ OpenClaw repair completed for 2026.11.10.
Warning: - tools.exec.safeBins includes interpreter/runtime 'python3' without profile; remove it from safeBins or use explicit allowlist entries.
{
  "candidateFinalSummaryExcerpt": {
    "status": "warning",
    "coreUpdate": "completed",
    "doctorStatus": "warning",
    "warnings": [
      "- tools.exec.safeBins includes interpreter/runtime 'python3' without profile; remove it from safeBins or use explicit allowlist entries."
    ]
  },
  "candidateRetirementReceipts": [
    {
      "step": "finalize:doctor:model-retirement",
      "status": "completed",
      "detail": "Deferred model retirement repair completed after plugin convergence."
    },
    {
      "step": "warning:finalize:doctor:model-retirement:deferred",
      "status": "skipped",
      "detail": "Deferred model retirement repair completed after plugin convergence."
    }
  ]
}

The warning list above is filtered to Python/model-retirement messages, and status excerpts omit unrelated channel/plugin diagnostics. ClawSweeper revision 4 reviewed this unchanged SHA with no actionable code findings. Its remaining installed-retirement proof request and rank-up move are fulfilled above. No source changed after that review; per maintainer policy, no extra re-review is requested solely to refresh the rating.

Known failures and follow-ups:

  • The full focused run was 65 passed, 2 failed. Two unchanged Doctor utility-model controls refuse unsafe cache/state directories inside fresh test homes; a targeted replay reproduced both refusals. The same isolated launch route reports creation mask 0002. Nested home setup preserves the outer XDG cache and creates state ancestors without explicit private modes. These fixture-permission failures are retained; no assertion, safety guard, or creation mask was changed to turn them green. Follow-up: Doctor test-home cache/state permissions.
  • The completed build emitted UI budget notices: CSS 57.3/56.9 KiB, chat boot requests 21/20, chat boot gzip 1306.6/1305.0 KiB. No before/after performance comparison was run; these notices are not presented as a measured PR regression. Follow-up: package UI budget notices.

Original repair by @Ayushdevo; contributor commits and PR ownership are preserved.

Fixes #204736

@clawsweeper

clawsweeper Bot commented Nov 24, 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 commands Command implementations size: XS labels Nov 24, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 24, 2026
@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

The PR stops completed model-retirement repairs from appearing as warnings in current and historical update output.

Example: Doctor completes deferred model retirement while another repair remains pending.

  • Before: Update output lists both “Deferred model retirement repair completed after plugin convergence.” and the unrelated repair warning.
  • After: Only the unrelated repair remains a warning; the retirement completion receipt stays in history.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and source-supported, but required installed-entry-point evidence does not exercise retirement completion.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A successful repair appears among warnings needing attention and obscures unresolved work.
Reason: The patch corrects misleading output while preserving unfinished repairs, unrelated warnings, and saved history; the assigned feature contributor has preserved this direction in the reviewed head.

Merge readiness

⛔ Blocked before merge - 1 item remains

This PR provides a focused fix for a warning-classification bug still present on main; no actionable correctness findings were identified.

Reviewed head: 54cf0ee4709973fc1e8b88562b7c8acc0a4cfed9

Before merge

  • Add real behavior proof - The current-head report addresses the previous Doctor regression setup gap and reports a successful latest-stable installed upgrade with preserved history. However, that upgrade explicitly did not trigger model retirement; the changed behavior is demonstrated only by automated CLI/Doctor tests. Supply the installed repair scenario described above, redacting IPs, API keys, phone numbers, and non-public endpoints. The existing update_runs.steps_json format and status vocabulary remain compatible, and historical projection performs no writes. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.

Findings

None.

Tests

  • Missing end-to-end proof: Provide redacted installed-CLI terminal output or logs showing deferred retirement complete, its warning disappear from summary and saved status, and an unrelated warning remain.
Agent review details

How this fits together

Doctor records retirement outcomes in the update ledger, and shared warning projection supplies CLI summaries, saved status, Doctor history, and update views.

flowchart TD
  A[Doctor repair] --> B[Retirement recorder]
  B --> C[Update ledger]
  C --> D[Shared warning projection]
  D --> E[CLI summary]
  D --> F[Saved status and history]
  D --> G[Update views]
Loading

Technical review

Best possible solution:

Keep the existing durable retirement receipt, settle its pending warning at the producer, and project historical success warnings through the shared selector.

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

Current main directly records successful retirement as a completed warning row that its warning selector displays; this review ran no target code.

Is this the best way to solve the issue?

The patch is the smallest complete repair using existing recording and projection owners, with no new storage, option, or parallel reporting path.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Completed retirement recorded as a warning changes intended behavior with a stated reason (8b5fa24: The original producer placed completion after package warnings so it remained visible in bounded status history; this PR explains why that success should remain a normal receipt instead of attention advice.)
  • Deferred-warning settlement and same-run completion evidence keeps the original intent (fix(update): clear model retirement warnings after repair completes #187208: Only durable completion in the selected run may retire its warning; missing or unsuccessful receipts retain diagnostics.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source -5, Tests +38. Total +33 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 9 14 -5
Tests 3 41 3 +38
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 50 17 +33

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test changes Production +9/-14; tests +41/-3 Production removes the redundant success-warning write; test growth covers historical receipt variants and distinct CLI/Doctor boundaries.

Labels

Label changes:

No label changes.

Label justifications:

  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Show the changed retirement-warning behavior through an installed CLI repair and subsequent saved-status read.

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 (3 earlier review cycles)
  • reviewed 2026-11-24T17:12:02.202Z sha 7dd33a2 :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-25T18:28:07.686Z sha d6e2376 :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-26T01:37:10.391Z sha 413df37 :: needs real behavior proof before merge. :: none

Reviewed November 27, 2026, 10:32 AM ET / 15:32 UTC (Revision 4).

@THE-NAVVV THE-NAVVV left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

​

@Ayushdevo

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@tideclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc vincentkoc self-assigned this Nov 27, 2026
…claw#204778)

Resolve the existing main conflict without restoring the removed report renderer. Preserve the contributor production repair and cover current saved-ledger status and summary consumers, including missing and unsuccessful completion receipts.

Validation: independent P0-P3 autoreview scoped-clean; scoped whitespace and privacy checks passed. Runtime, Doctor, installed latest-stable upgrade and CI proof remain pending on the isolated execution route. Fork hooks are disabled locally; the candidate is not approved for merge by this commit.
@openclaw-barnacle openclaw-barnacle Bot added the cli CLI command changes label Nov 27, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc merged commit f9a8f18 into openclaw:main Nov 27, 2026
157 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

tideclaw-bot pushed a commit that referenced this pull request Nov 28, 2026
)

* fix: clear the update warning after a retired model is repaired

* fix: settle historical model repair warnings in saved update reports

* test: verify saved retirement completion through the update ledger

* test(update): prove model retirement attention counts

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

---------

Co-authored-by: tideclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>

(cherry picked from commit f9a8f18)

Backport adaptation: Add source historical completion cases alongside the release summary/report/status warning cases; keep the existing report and recovery assertions.

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 28, 2026
…claw#204778)

* fix: clear the update warning after a retired model is repaired

* fix: settle historical model repair warnings in saved update reports

* test: verify saved retirement completion through the update ledger

* test(update): prove model retirement attention counts

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

---------

Co-authored-by: tideclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 29, 2026
…205987)

## Class: completion is published before required maintenance finishes

Fleet run `4de610c8-e63d-4336-8e85-a76379cfd934` committed and served the new core, but its completion notice preceded the failed plugin result. The bug is ordering, not the core's status.

The modern Gateway-ready owner now settles once **after** required plugin work and sends one final notice afterward. A failed plugin remains a failed step, not a failed core update or a rollback trigger. Existing CLI following and capability-consent behavior remain; the failed-status/early-exit/backoff experiment is removed.

CLI completion, status, Doctor history and the Control UI reuse the existing `renderUpdateRunSummary` over recorded facts. Running results keep their phase; succeeded results name the installed after-version; skipped results keep their existing reason headline, never a guessed serving state. Failed work names its step and exact recovery command. Startup refusal diagnostics, structured failure facts, rollback compensation reasons, recorded signal output and profile-specific recovery commands remain visible. Existing discriminators distinguish repair and reconciled-history records from core updates. Background completion never rewrites the shared trial, preserving a newer pending trial and restart resumption.

## What this deletes

- `renderUpdateRunReport`, its private recovery hints and cause module.
- Routine Markdown completion publication/refresh, automatic `reportPath` output, and artifact-only admission/options plumbing.
- Obsolete completion-export tests and renderer-only assertions. Ledger, recovery, authority, privacy and step-detail assertions remain on their retained data owners.
- The abandoned failed-status classifier, campaign/retry exceptions, early-return CLI path and associated UI/test allocation.

**Kept deliberately:** explicit consent-gated **Report update failure** GitHub preview/submission, its reservation/receipt authority and sanitized issue artifacts. The remaining `update-failure-report*` code serves that user feature and triage, not routine completion. Identity/recovery and legacy result/sentinel projections remain because those manual-report and sentinel consumers still use them.

No new status, state store, flag, stored-record shape or launcher format.

## Size

`tokei` on this PR's **20 production files**, excluding tests/support/harnesses, against integrated main `6ac896f4cbb8bc29940c625cb1e2b19990e87284`:

| | Before | After | Net |
| --- | ---: | ---: | ---: |
| Production code lines | 7,758 | 7,148 | **−610** |
| Test/support lines | | | **−1,257** |

## Verification

- The earlier base Gateway-owner regression exposed the premature terminal write before plugin settlement. Final owner tests pin delayed settlement, unchanged successful core status, exact plugin recovery, one acknowledged final notice, newer-trial preservation and restart resumption.
- **Earlier focused AWS replay GREEN:** nine observed prepare/status/progress regression cases passed in99s; core and CLI-update types, scoped lint (zero warnings/errors) and format passed. https://crabbox.openclaw.ai/portal/runs/run_e5a8682ccf98bb7765b9d075be801705 . Exact qualified source was `5c6686ad20f50377f6affdec0d948f362dc37851`, tree `5ed1cb6e544fbd93604eea566b550f0c722842c8`, normal carrier `d2821086c00e55c8de35d00d7a4418168ca25a2d`; lease released with `--wait`. This is not claimed as an exact-head run after the later shared-summary/UI refinements.
- **Final pushed head:** `79182af301a6166914840dab9a705f4fa5c72fbd`. Restores the existing installed-runtime admission receipt before stop-and-repair advice, keeps historical summaries informational, and types the captured handoff notice without weakening assertions. Three requested files passed once: guidance32/32, handoff19/19, UI view15/15 (**66/66**). https://crabbox.openclaw.ai/portal/runs/run_ea4006e0b21e09bfbd763abe6e25929a . Qualified source was `985dd796d1` plus those two frozen restores, tree `45fe9f49c964b39806b431cde018432ed6e472fc`, normal carrier `81d874a77bb7de2f72307cca91f827db71ec7850`. Exact AWS lease released with `--wait`, exit0. Final-head CI remains the landing gate.
- **Repair candidate:** `1f223e15a20a04a27a4f745af81fb11b106d9d40`. Plain integrated main `6ac896f4cbb8bc29940c625cb1e2b19990e87284` passed all39 CLI tests on hydrated AWS4CPU/7730MiB, including the #205898 restart-wire case in31ms: https://crabbox.openclaw.ai/portal/runs/run_97637e77b460fbb7176bd261693cabd1 . B's timeout came from its local ledger fixture using a remote run ID; the fixture is corrected without changing main's captured connection contract.
- **Node regression batch:** nineteen files on repair predecessor `eede`, 481passed/4failed/1skipped; core types, scoped lint and format passed. https://crabbox.openclaw.ai/portal/runs/run_fbcf26ce68d5a5a539f63f6ee793237a . The four residuals were an early-return saved-notice recognition bug, two assertions pinning retired reconciled wording, and a native-refusal assertion reading a clipped excerpt instead of its retained structured cause. All are corrected without changing generic ledger storage.
- **Final-head residual proof:** summary18/18, abandoned-repair rows2/2 and native-start refusal1/1 passed; core and CLI-update types plus scoped format passed. https://crabbox.openclaw.ai/portal/runs/run_f4e633ac557bce484d1939c03cf88b3f . Source tree `9112e46c2b3081aab02b3dc9a0dfc1e0c06da55f`, normal carrier `82470c4669b7cc502049fa978dc5ed37defb6c6a`, AWS4CPU/7730MiB. Scoped lint did **not** run: its normal SDK declaration preparation failed first with TypeScript/vscode-jsonrpc `ERR_STREAM_DESTROYED`. No retry or bypass; current-head CI remains the lint gate.
- Historical failed-status screenshots, broad partial qualification and prior reviews describe the superseded design, **not** this head.
- No new upgrade source, death proof, harness test or Linux product campaign is added. Superseded remote proof jobs were cancelled and all their leases released with `--wait`.
- The ready-time settlement owner tests passed on integrated `9aba`: `gateway-trial.test.ts`18/18. Later output refinements do not change that settlement policy. Frozen `01b` UI reproduction observed unit14pass/1fail and E2E8pass/2fail. On repair predecessor `eede`, unit15/15, UI/pages/E2E types and scoped lint/format passed. Final `f087` passed both changed E2E cases (standalone repair history; warning advice and keyboard-accessible output), UI/pages/E2E types, scoped lint and format: https://crabbox.openclaw.ai/portal/runs/run_13701071e15057d5ac5c4ac5e927c65d . Source tree `3c734ef709a186303996517ecad54c5e5d4a0e9c`; exact lease released with `--wait`. The other8 E2E cases passed on `eede` and were intentionally not repeated.
- **Accepted budget cost:** exact `1f223` CI measures chat boot gzip **1,336,500→1,337,028 (+528 B)**, requests21→21; startup+1 B. Base already exceeds its cap, so normal tolerance is64 B (464 B excess). https://github.com/openclaw/openclaw/actions/runs/45885636780/job/140136424955 . Cause: `update-run-projection.ts` synchronously imports the shared summary for the existing card/view projection; the existing async result boundary already imports it dynamically. Ayaan accepted this cost for this PR through Main; no new async plumbing or budget config. Main applies the performance-only override at merge; every other gate remains required.
- **Final-head budget receipt (`79182`):** chat boot gzip **1,336,744→1,337,247 (+503 B)**, requests21→21; startup+1 B, normal tolerance64 B. https://github.com/openclaw/openclaw/actions/runs/45895112042/job/140167696819 . This is below the accepted predecessor's +528 B cost; same synchronous-summary cause, no new plumbing/config. Remaining CI gates are still pending.
- **Latest pushed head: `be86da0464892c10cbe7207ff98228eb1e81758a` (test-only delta).** The shared notice mock uses its production signature; no cast or weakened notice assertion remains. Healthy final recovery without an installed-runtime admission receipt explicitly expects update-again/no-stop advice. Two affected files passed once (**81/81**: handoff19, post-update62), focused Gateway/CLI-update types and lint passed: https://crabbox.openclaw.ai/portal/runs/run_c8784e2fe001772ae88bae53af8d9747 . Qualified source was `79182` plus the frozen test edits; only generic-type wrapping changed mechanically afterward, normal commit hooks passed. No production/budget change.
- The prior ratchet failure is infrastructure: its GitHub annotation says the hosted runner lost communication, leaving the baseline-ratchet step without a verdict. Its log fetch returned BlobNotFound/404. No old-head rerun was accepted or needed; this head's normal CI runs the ratchet again.
- **Latest pushed head: `bf3ab61efbb9dba856bfc4d651c7fc77f44549f2` (one exact-copy test assertion).** Requested same-guest owner-file comparison: plain main `993d0b77`13/13 passed ([run](https://crabbox.openclaw.ai/portal/runs/run_4983803c6c82c64295d7d513ac8b52cd)); `be86`12/13 passed ([run](https://crabbox.openclaw.ai/portal/runs/run_51b38ba2049d66bdf6437b89731bf787)), failing only the expected generic details tail. The actual last notice correctly preserves `commands.restart=false` and its app/operator remedy. This commit changes only the exact expected string, retaining acknowledgement, no-update and last-call/context assertions; no mock runtime or production change. No extra local rerun: new-head CI verifies the migrated expectation.

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

(cherry picked from commit ed8b883)

Release adaptation: Port Gateway run/notice timing and the existing maintenance result contract only; retain beta.2 CLI, Doctor and UI summary surfaces and explicit failure reports. Fold in #208074 abort/grace follow-up where applicable.

Later same-path commits from the pinned scan (separate behavior unless named as folded/selected below): 974d792 fix: keep update status quiet and app-managed updates honest (#208359); 186e941 fix: restore the dependency check on main (#207741); dae01a9 fix: keep other agents running when one store is refused (#208364); c9f7a98 fix: keep container Gateway commands from rolling back host updates (#208271); edb6820 fix: let the Gateway restart while boot plugin maintenance is running (#208074); bb37856 fix: keep Windows WebChat connected during config reloads (#208109); 516166c fix: exit once when gateway run rejects an argument after an update (#208068); 07e96dc fix: restart the Gateway after real plugin repairs (#208207); bd48ff6 fix: avoid restarting the Gateway for plugin timestamp changes (#208119); 259f71c fix: stop Linux service starts from copying the whole agent database (#207969); 7cb8975 fix: keep forked Claude chats separate after a Gateway crash (#208048); 6d300d3 fix: restart launcher-managed Gateways after exit 78 (#207972); 90ff668 fix: stop treating limited access as an Inbox alert (#207737); ec39a90 fix(whatsapp): retain sender for explicit current-message reactions (#190121); 86ca412 fix: show the saved quota reset when chat skips its only model (#207210); c4a675f fix: avoid reloading unchanged plugins after Gateway boot (#207949); 13c67a1 fix: let updates back up deeply nested databases (#207756); e2fcd4d fix: acknowledge updates when the Gateway first becomes ready (#207819); 8933edd fix: name safe recovery when agent schema markers disagree (#207705); 19e9dd6 fix(gateway): keep Linux legacy lock recovery explicit (#207340); 54b5989 test(update): move startup diagnostics to the live CLI (#207589); fbf1aae fix: give safe update ownership guidance and restore legacy result delivery (#207640); 0cbe433 test(gateway): move update admission tests to the current handler (#207545); a922203 refactor(update): remove native post-activation Doctor subprocess (#207585); c72bd9a fix(anthropic): show Claude CLI quota usage from the native login (#207543); 7ac87ad fix: avoid taking service-account ownership during updates (#207563); b3902a2 fix(update): allow in-place updates without a full state copy (#207448); 9fa8d14 refactor: trim redundant gateway test journeys (#207311); 2cf1cb6 test(cli): remove unused private fixture state (#207431); ece7a74 improve(workboard): apply the Control UI glossary and style to Workboard copy; 1c89587 fix: update system service packages without root state changes (#207304); dfd17d0 fix(docker): avoid pre-boot Doctor delays on container recreation (#207200); b616036 refactor(subagents): simplify ACP spawn relay ownership (#207023); 93ca762 improve: reduce allocations when preparing session rows (#207109); adb3716 fix(update): surface boot plugin repair advisories (#207163); f79ef8c fix: finish updates of 2026-11-17 main checkouts automatically on Linux and macOS (#207062); 3c4362b fix(update): preserve exception causes in failure history (#207085); 20c92a4 fix: converge plugins after every Gateway boot (#206926); 3078862 fix(update): clean up rejected Git update worktrees (#207040); 9993328 refactor(subagents): simplify kill claim and ownership handling (#207025); 97815bd refactor(subagents): consolidate registry cleanup and publication guards (#207064); e94f799 refactor(subagents): centralize requester turn matching (#206584); 819935f refactor(test): trim unused plugin fixture setup (#206982); 8ae0874 improve(gateway): avoid redundant cleanup for empty legacy auth stores (#206867); 4849bb7 fix(browser): report crashed tabs as tab-scoped failures (#194682); ea77ca3 refactor: report update failures from recorded runs (#206700); b19387e fix(test): cover SIGBREAK during pending update recovery (#206860); 18e53d8 fix: finish Linux upgrades after a legacy Gateway crashes (#206530); 8bd1863 chore(test): remove unused plugin contract fixture setup (#206812); f1841bc fix: stop repeating unchanged session state in every chat turn (#206766); f9a8f18 fix: clear the update warning after a retired model is repaired (#204778); 4d7e00b fix: let started participant runs and requests finish after an access change (#206747); 35cd392 improve: use less memory when waiting for an agent reply (#206733); 9845bf5 fix(test): keep readiness abort fixtures alive until stopped (#206660); 461f650 fix(ci): keep startup helpers internal (#206649); f89ae43 refactor(subagents): use cleanup and terminal owners in sweeps (#206533); a882e0f fix(agents): preserve task answers when sessions are reused (#126263); ccb6d81 fix: finish core updates when the Gateway is ready (#206560); 74f02b4 fix: refuse root updates of a system service that runs as another account (#206343); 01032b1 fix(update): keep acknowledged run IDs when status is unavailable (#206562); 3ce0582 refactor(subagents): centralize collector replay decisions (#206471); c2cfab0 chore: consolidate repeated test fixtures and guards (#198739); 219b6b0 perf(agents): render the system prompt from one manifest and halve it (#206537); 360e306 refactor(test): remove mocked outbound staging fixtures (#184863); cbdd907 fix: finish release updates after a slow launcher response (#206503); 81fc833 refactor(subagents): own dormant child Stop decisions (#206479); 91d4912 fix(update): stop using foreign recovery records as admission (#206295); 6feeb50 fix: stop 2026-11-17 main Git checkouts from half-switching on a schema update (#206341); be3c73e fix(subagents): finish claimed stops after session rotation (#206405); 5e5bb6e fix(update): round status inspection timeouts (#206250); 41afc0f fix(update): keep successful plugin reload warnings advisory (#206372); 6d86389 fix: finish healthy Git updates after an older verifier exits; da6ec1a fix(update): bound release CLI Gateway waits (#206252); d9a36b3 improve: skip unrelated harness discovery for isolated model calls (#206323); bcdb2ef improve(cli): skip channel and web discovery for model credentials (#206240).
Later PR-number mentions: none Later commit-SHA mentions: none
Pinned PR grep: ed8b883 fix(update): settle after plugins and share one completion summary (#205987)

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
)

* fix: clear the update warning after a retired model is repaired

* fix: settle historical model repair warnings in saved update reports

* test: verify saved retirement completion through the update ledger

* test(update): prove model retirement attention counts

---------

Co-authored-by: tideclaw-bot <[email protected]>
(cherry picked from commit f9a8f18)

Companion audit: No later pinned follow-up. Preserve separately ported row 23 stopped-Doctor behavior.

Release adaptation: Retain stable summary/report/status fixtures and add the matching durable-completion matrix without replacing recovery warning coverage.

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

Labels

cli CLI command changes commands Command implementations P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Update summary counts a completed deferred model-retirement repair as a warning that needs attention

4 participants