Repository navigation
Conversation
A validation window with no remaining allowance made doctor lint exit 0 after running no checks, and the progress line showed a pass. That report now sets the existing advisory mark. Activation still continues. Refs: openclaw#170333
|
Codex review: needs real behavior proof before merge. What this changesThis PR marks successful Doctor lint reports containing deferred inspections as advisory and repeats a deferral summary in update warnings. Example: Candidate Doctor lint exits 0 after running 3 checks and deferring 1 inspection.
Review scores
ProductKind: Preference · Worth it: Needs a maintainer decision · Fix scope: Partial Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open: it offers a focused display improvement that current main lacks, and the overlapping draft is not a proven replacement. Priority: P3 Decision needed
Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe installed updater consumes candidate Doctor JSON and converts it into step outcomes, progress output, and persisted update warnings. flowchart TD
A[Installed updater] --> B[Candidate Doctor lint]
B --> C[Lint JSON report]
C --> D[Update step classifier]
D --> E[Progress output]
D --> F[Update ledger and report]
Technical reviewBest possible solution: Use one owner-approved advisory rule for deferred lint while preserving successful activation and keeping budget changes separately scoped. Do we have a high-confidence way to reproduce the issue? The official beta transcript and inspected producer, current-main classifier, and progress renderer establish the pass-with-warning path; no target code or tests were executed. Is this the best way to solve the issue? The existing classifier is the appropriate owner for a display-only change, and the patch consistently handles zero and partial deferrals without changing budgets or required checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 01cb0b065422. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +13, Tests +113. Total +126 across 3 files. Added test files: 1. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 12, 2026, 9:43 PM ET / October 13, 2026, 01:43 UTC (Revision 3). |
A passing lint report that deferred any inspection, including a partial run, uses the advisory mark and repeats that sentence on the final report. Activation still continues. The per-command inspection window stays in openclaw#170374. Refs: openclaw#170333
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Thank you @DonnieFi! Budget-deferred Doctor lint is now advisory on main via #170374 (c7dd7b9): applyUpdateDoctorLintReport marks successful budget-deferred reports as advisory, including partial runs, while failed exits still fail. Closing since current |
Summary
A passing doctor-lint report that still deferred inspections is incomplete, including a partial run. The step is advisory (
!), activation continues, and the final report repeats the deferral. A report with no deferred inspection stays a plain pass. A failing lint exit stays a failure.This adopts the broader status rule: any successful report that contains
update-inspection-deferredwarnings is advisory, forchecksRun0 and for a partial run. The per-command inspection window (giving each validation command its own budget after a slow state snapshot) stays in #170374. This PR does not change that budget anchor.Related #170333
Related #170374
Decision
Deferred lint is advisory whenever a successful report still carries
update-inspection-deferredwarnings, not only when zero checks ran. Budget anchoring remains #170374.Production baseline — October 12 update
Captured from the real npm-global update on October 12, 2026 (Halifax time): Debian 13, Node v24.16.0,
2026.10.5-beta.1 (f283c3c)→2026.10.5-beta.2 (467e83d), usingopenclaw update --channel beta --tag 2026.10.5-beta.2 --yes. The saved terminal capture and read-only update-run record agree that the run finished withphase: finished,status: succeeded. Private paths and capture identifiers are redacted; unrelated logs are omitted.The real candidate lint step displayed a pass while reporting that two agent scopes were deferred with no inspection allowance remaining. Activation still completed and the final summary repeated the warning:
Selected terminal lines, with unrelated output omitted:
The update-run ledger records
candidate-doctor-lintascompleted,exitCode: 0. The observed terminal step took 7.36s, and its warning states that two agent scopes needed a 4000ms allowance with 0ms remaining. This supports the incomplete-coverage display concern; the original run still passed its required readiness checks.Remaining proof gap: This was the official unpatched beta update. It does not show the PR's
!rendering, establish the lint report's exactchecksRuncount, or demonstrate both zero-check and partial-check cases through a patched installed updater. The maintainer display decision also remains pending. The patched canary cases below remain the after-change evidence.Proof
No live Gateway update was rerun. The patched candidate canary (
validateUpdateCandidateCanary) drove a lint child that exited 0 with oneupdate-inspection-deferredwarning. Gateway readiness was healthy. For zero checks:The same run with
checksRun3 printed! candidate-doctor-lintand "Doctor deferred 1 inspection until after activation (3 ran)." Both runs finishedstatus: ok. The update-run ledger finishedsucceeded, and the rendered report included the deferral sentence.Base / head
The same unit test against the previous classifier on this branch failed (exit 1):
checksRun0 still set an advisory, but the message was "Doctor lint inspection did not run. This advisory check was skipped because the validation window had no remaining allowance. Activation continues. Runopenclaw doctor --fixafter activation to complete it."checksRun1 leftadvisoryundefined.advisoryundefined.Head of that unit test passed (3 tests, exit 0). Head of the canary cases passed (0 checks and 3 checks, exit 0).
Test
update-doctor-lint.test.ts—checksRun0 and 1 set the advisory, exit stays 0, and the step is not failed. A passing report with an empty warning list does not setadvisory.update-candidate-canary.lint.test.ts—checksRun0 and 3 render! candidate-doctor-lint, finishok, record ledger statussucceeded, and include the deferral sentence in the report.