Repository navigation
fix(repair): expose bounded reconciliation samples - #1420
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 7:28 AM ET / 11:28 UTC. ClawSweeper reviewWhat this changesThe PR exposes a bounded, allowlisted publication-reconciliation sample in the repair client and adds a one-item default inspection bound to the manual queue-maintenance workflow. Merge readiness⛔ Blocked before merge - 1 item remains This maintainer-authored PR is a coherent, focused repair-workflow improvement. The introduced parser matches the current Worker sample contract, and no blocking correctness or security defect was found. Priority: P3 Review scores
Verification
How this fits togetherThe repair client translates private exact-review queue Worker responses for operator maintenance commands. The manual workflow supplies bounded dry-run or apply controls to that client and prints reconciliation diagnostics. flowchart LR
A[Manual workflow input] --> B[Maintenance command]
B --> C[Repair client]
C --> D[Private queue Worker]
D --> E[Reconciliation response]
E --> F[Bounded allowlisted sample]
F --> G[Operator output]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the Worker-defined allowlist and 20-row ceiling, while making the safer one-candidate default explicit for manual maintenance runs. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds repair diagnostics and a manual workflow input rather than addressing a user-reported runtime failure. Is this the best way to solve the issue? Yes. The Worker already supplies a bounded sample; parsing only its explicit fields and exposing the existing CLI bound is the narrowest maintainable path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 956e5d7b7241. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
ClawSweeper rank-up moves resolved without changing the reviewed head:
The disposable proof workflow did not execute reconciliation or mutate publication state. |
Related: #1396
What Problem This Solves
Resolves a problem where maintainers could see that publication reconciliation had eligible work, but the repair CLI discarded the Worker's bounded candidate sample and the manual workflow always inspected 100 candidates.
Why This Change Was Made
The repair client now converts at most 20 reconciliation rows into an explicit allowlist and rejects malformed rows without spreading unknown response fields. The manual workflow adds a numeric
max_itemsinput with a default of one and forwards it to the existing CLI.This does not change Worker selection, queue policy, reconciliation mutation behavior, dashboard status, Bay, or publication counts.
User Impact
Maintainers can inspect one exact publication reconciliation candidate before choosing a separately fenced action. Normal review and publication behavior is unchanged.
OpenClaw Bay Impact
OpenClaw Bay is unaffected. This is a private signed repair response and a manual workflow input; no public observer route or Bay projection changes.
Documentation Impact
Reviewed
AGENTS.md,CONTRIBUTING.md, anddocs/README.md. No documentation change is required because the existing private maintenance workflow remains manual, non-cancelling, and dry-run by default; the workflow UI now exposes its bound directly.Evidence
0501b18c44ce26f30e218c94dfbc98ae150a65ac(signed)v26.7.0git diff --check: passedReal Behavior Proof
0501b18c44ce26f30e218c94dfbc98ae150a65acof the changed repair client, invoked with the workflow's forwardedmax_items=1argument against the production exact-review queue.execute=false,passes=1, andmax_items=1.Maintain exact review queuerun using the repository-managed production URL and signing secret; the proof workflow asserted the checked-out SHA before execution.apply=false,changed=0, exactly one sample, and exactly the eight allowlisted fields. The exact item identity is retained privately for the post-merge identity-fenced operator action.