Repository navigation
fix(doctor): inspect packaged and full protocol UI freshness - #117003
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 31, 2026, 3:13 PM ET / 19:13 UTC. ClawSweeper reviewWhat this changesThe PR makes the Control UI freshness diagnostic detect missing packaged assets without source-only protocol files and checks the whole Gateway protocol source directory for source-build staleness. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 5 items remain Keep this draft PR open for a focused correction: it newly detects missing packaged Control UI assets, but the legacy Priority: P2 Review scores
Verification
How this fits together
flowchart LR
A[OpenClaw installation] --> B[Doctor UI freshness detection]
B --> C{Control UI assets present?}
C -->|No| D[Missing-assets issue]
C -->|Yes| E[Protocol source history check]
D --> F[Structured health finding]
D --> G[Legacy interactive doctor output]
E --> F
F --> H[Operator recovery guidance]
G --> H
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +122. Total +122 across 2 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Make missing-assets wording conditional on Do we have a high-confidence way to reproduce the issue? Yes—source tracing provides a high-confidence path: a packaged root without Is this the best way to solve the issue? No—the detection change is appropriate, but it is incomplete because the existing legacy output path still owns part of the operator-facing recovery message. A shared conditional formatter is the narrowest maintainable repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 652a47e6449d. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…w#117003) Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
openclaw doctorsilently missed missing bundled Control UI assets in published installations because it first required Gateway protocol source files that published packages intentionally exclude. Source checkouts also missed stale built assets whenever a nested protocol schema or package entrypoint changed without touching the singleschema.tsbarrel.Why This Change Was Made
pnpm ui:buildinstruction.packages/gateway-protocol/srcowner.User Impact
Two independent read-only diagnostics become truthful: broken published Control UI installations are reported with a recovery action, and source-built UI assets are flagged when any consumed Gateway protocol source changed after they were built. Healthy packages remain quiet and no assets, protocol, configuration, or persisted state are modified.
Evidence
36b80ada3ceae2de21b3d8710b883d778e4c4578; immutable clean candidate:f2ec9d10ffa9364ee3a2fffa279681d9271706f0.Explicit Exclusions
No generated UI asset changes, protocol/schema modifications, config or public CLI contracts, authentication/security changes, persistence/SQLite, plugin SDK, dependency changes, or service lifecycle mutation.