Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 7:06 AM ET / 11:06 UTC. ClawSweeper reviewWhat this changesAdds an Merge readinessThis PR remains necessary: current Priority: P1 Review scores
Verification
How this fits togetherThe Workboard plugin stores cards and dispatches eligible work through its gateway and operator commands. Archived cards are intentionally excluded from dispatch; diagnostics and CLI/chat renderers are the surfaces that tell operators why a card will not run. flowchart LR
A[Stored Workboard card] --> B[Archive metadata]
B --> C[Dispatch eligibility]
B --> D[Diagnostic computation]
D --> E[Gateway diagnostics]
B --> F[CLI and chat card details]
C --> G[Skipped from dispatch]
E --> H[Operator explanation]
F --> H
Decision needed
Why: The implementation is a focused repair, but the diagnostic-kind union is shared between the bundled plugin, Control UI, and gateway consumers; maintainer intent is needed to accept that public-facing additive contract. Before merge
Agent review detailsSecurityNone. PR surfaceSource +21, Tests +81, Docs +1. Total +103 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the transient diagnostic at the Workboard diagnostic owner, retain the direct archive markers in CLI/chat output, and merge only after a maintainer accepts the additive diagnostic contract and required checks are green. Do we have a high-confidence way to reproduce the issue? Yes—current Is this the best way to solve the issue? Yes, conditionally—the patch records the skipped state where diagnostics are computed and exposes the same authoritative archive fact in direct text surfaces without changing dispatch semantics or persisted metadata. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 92c7400a54a3. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (14 earlier review cycles; latest 8 shown)
|
977f4d2 to
b216e4a
Compare
b216e4a to
4085056
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
744c4cf to
a54422f
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
a54422f to
b3b4186
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
An archived card with an active status (ready/running/blocked/etc.) was silently excluded from dispatch with no signal on any surface — workboard show rendered it normally, dispatch returned count:0 with empty startFailures, and computeCardDiagnostics returned [] for archived cards. Operators could only find it by reading the database directly. Add an archived_but_active diagnostic kind to WORKBOARD_DIAGNOSTIC_KINDS and an unarchive action. In computeCardDiagnostics, when a card has archivedAt set but status is not done, emit the warning so workboard show and store.diagnostics report it. Done+archived cards stay silent (no diagnostic) as before. The diagnostic is transient — refreshDiagnostics still skips archived cards, so their stored metadata is not rewritten. Fixes openclaw#116359 Co-Authored-By: Claude <[email protected]>
a6d1639 to
b552c06
Compare
Unrelated to workboard diagnostic changes; sqlite session/transcript flip-proof e2e failed with array mismatch on an untouched path. Co-Authored-By: Claude <[email protected]>
|
Maintainer decision: accepted. archived_but_active is an additive Workboard-only diagnostic; it changes no public SDK/protocol, configuration, defaults, persisted shape, or SQLite schema. Built-in consumers share the same diagnostic-kind list, required CI passed, and operator proof covers CLI/chat visibility, dispatch exclusion, and lifecycle safety. |
* origin/main: fix(sqlite): skip slow-lock diagnostic when busyTimeoutMs is zero (#115990) fix(canvas): serve Content-Length on Canvas document HEAD responses (#117964) fix(workboard): diagnose archived cards still in an active status (#116359) (#117290) feat(diagnostics): configure OTEL metric name prefixes (#116687) fix(ui): respect UTC when filtering pending usage sessions (#118004)
…enclaw#116359) (openclaw#117290) * fix(workboard): diagnose archived cards still in an active status An archived card with an active status (ready/running/blocked/etc.) was silently excluded from dispatch with no signal on any surface — workboard show rendered it normally, dispatch returned count:0 with empty startFailures, and computeCardDiagnostics returned [] for archived cards. Operators could only find it by reading the database directly. Add an archived_but_active diagnostic kind to WORKBOARD_DIAGNOSTIC_KINDS and an unarchive action. In computeCardDiagnostics, when a card has archivedAt set but status is not done, emit the warning so workboard show and store.diagnostics report it. Done+archived cards stay silent (no diagnostic) as before. The diagnostic is transient — refreshDiagnostics still skips archived cards, so their stored metadata is not rewritten. Fixes openclaw#116359 Co-Authored-By: Claude <[email protected]> * fix(workboard): expose archived active cards * ci: re-trigger after sqlite flip-proof e2e flake Unrelated to workboard diagnostic changes; sqlite session/transcript flip-proof e2e failed with array mismatch on an untouched path. Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: ruel225 <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Vincent Koc <[email protected]>
* origin/main: fix(sqlite): skip slow-lock diagnostic when busyTimeoutMs is zero (openclaw#115990) fix(canvas): serve Content-Length on Canvas document HEAD responses (openclaw#117964) fix(workboard): diagnose archived cards still in an active status (openclaw#116359) (openclaw#117290) feat(diagnostics): configure OTEL metric name prefixes (openclaw#116687) fix(ui): respect UTC when filtering pending usage sessions (openclaw#118004)
What Problem This Solves
Archived nonterminal Workboard cards are correctly excluded from dispatch, but current behavior gives operators no reason for the skip: dispatch starts nothing, diagnostics are empty, and text detail output does not mark the card as archived.
Fixes #116359
Root Cause
The archive safety change in ee9bc9a added the correct dispatch exclusion and an unconditional archived-card early return in
computeCardDiagnostics. That commit is present inv2026.7.2-beta.5andv2026.7.2-beta.6. The exclusion was recorded nowhere operators could see.Canonical Fix
archived_but_activediagnostics for every archived non-donecard.openclaw workboard showandlist --include-archivedtext output.archived: yes (excluded from dispatch)in/workboard show.refreshDiagnosticsfrom rewriting archived metadata.actions: []; this PR does not invent an unsupportedunarchiveaction contract.This is the best owner-boundary repair: diagnostics record the exclusion reason where it occurs, while direct text surfaces expose the authoritative archive fact. It does not misclassify a non-attempt as
startFailures, add storage/config/schema changes, or create a second recovery path.Evidence
Reviewed head:
b552c068c70a18adfe363b0a7e7361a5f1f0aafc, rebased ontomain98c0d9deca5dff8346677c2a5ae5824301cb3516.This base includes PTY observability fix #117405 (
deabae48d3375dfb426e29e19ca625ba9cf2fcdc).git range-diffreports both Workboard commits unchanged from the previously reviewed stack. Fresh exact-head evidence:(archived),/workboard showreportsarchived: yes (excluded from dispatch), and diagnostics emitarchived_but_activewithactions: [](run_519928b1e73e).checks-node-compact-large-2gateway startup timing test, which exceeded its 120-second timeout after printing the expected proof sequence on both the initial attempt and the single failed-job retry. This PR does not touchsrc/gateway; the test is identical to currentmain, and the same shard passed on main run 30736871812. The required CI gate therefore remains red pending CI-owner resolution.Scope And Compatibility
Source: +22/-1 across four production files. Tests: +81. Docs: +1. The sole public contract change is one additive diagnostic kind. Built-in persistence and UI normalizers consume the same shared kind list in this change. There is no SQLite schema, persisted-shape, config, default, protocol-version, migration, or changelog change.
The contributor commit remains authored by @ruel225. The missing renderer idea from #116524 is credited here via @sloptop-the-terrible; that sibling PR should remain open until this canonical fix lands.