Repository navigation
fix: prevent hourly CI from claiming full validation - #157852
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 25, 2026, 3:33 PM ET / 19:33 UTC (Revision 4). ClawSweeper reviewWhat this changesThe branch limits CI’s validation receipt to full-tier runs and makes OpenClaw’s Docs Agent documentation updater use exact-attempt job results for its cadence and review history, with matching docs and tests. Merge readiness⛔ Blocked before merge - 4 items remain Current main still lets reduced hourly CI emit a full-validation receipt. This PR addresses that defect and the previously flagged Docs Agent history problem. A CI owner still needs to accept the resulting change to default automatic docs updates. Priority: P2 Review scores
Verification
How this fits togetherCI selects a validation tier and publishes a receipt after its aggregate checks succeed. Docs Agent consumes that receipt before admitting an automatic documentation write, then uses prior job results to decide when and from which revision to review. flowchart LR
A[Main push or hourly run] --> B[CI validation]
B --> C{Full-tier receipt?}
C -->|Yes| D[Docs Agent admission]
C -->|No| H[Skip automatic write]
G[Manual dispatch] --> D
D --> E[Exact-attempt history]
E --> F[Docs update or skip]
Decision needed
Why: The branch deliberately ends an existing automatic path; choosing its replacement or accepting that operational change requires CI owner intent. Before merge
Agent review detailsSecurityNone. PR surfaceTests +82, Docs +9, Config +26. Total +117 across 5 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the full-tier receipt and successful-review history rules, with an explicitly owned Docs Agent operating cadence and measured test cost recorded before merge. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main selects the reduced main tier for scheduled CI yet can still emit the full-validation receipt consumed by Docs Agent. This read-only review did not dispatch a live run. Is this the best way to solve the issue? Yes for the code boundary: the receipt is constrained at its producer, and history uses exact-attempt writer results. The default Docs Agent operating cadence still needs an owner decision. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b6577e17b2c0. 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
HistoryReview history (3 earlier review cycles)
|
deb14d6 to
aa63cd1
Compare
|
Corrected the remaining scheduled-workflow documentation, including every stale claim that hourly main-tier children qualify for Docs Agent writes. The operating result is explicit: reduced-tier runs do not authorize full-validation writes; default automatic Docs Agent writes stop, while explicit non-bot dispatch and opted-in full main pushes remain available. This receipt-integrity repair does not add a replacement full-tier schedule. Rebased onto @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
aa63cd1 to
a11d068
Compare
a11d068 to
efc4493
Compare
* fix: prevent hourly CI from claiming full validation * docs(ci): clarify Docs Agent admission and cadence * fix(ci): preserve full-validation receipts after schedule migration * fix(ci): exclude skipped docs work from review history * test(ci): replace obsolete docs cadence byte guard with behavior proof
What Problem This Solves
Reduced hourly CI can claim full validation, and Docs Agent runs that skip review can suppress later work or advance its review base past unreviewed changes.
Why This Change Was Made
Require the full validation tier before emitting the receipt. Use exact-attempt writer and agent-step evidence for Docs Agent history: active writers retain cadence protection, while only successful reviews advance the review base. Keep current direct CI scheduling, iOS concurrency, and nightly validation.
User Impact
Hourly main-tier CI no longer authorizes automatic Docs Agent writes. Opted-in full main-push validation and explicit non-bot manual Docs Agent dispatch remain available. With OPENCLAW_CI_ON_PUSH unset, automatic Docs Agent writes are disabled. Skipped attempts cannot hide changes from the next eligible review.
Evidence
7c4866c73b31after main repaired the unrelated team-reports typecheck failure. Hosted CI and ClawSweeper review are running on the final head.