Repository navigation
fix(ci): publish review-coverage inventory on audit dispatches - #944
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 29, 2026, 2:20 PM ET / 18:20 UTC. ClawSweeper reviewWhat this changesThe PR changes the sweep workflow so a manually dispatched audit with Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep this PR open for normal review. The one-file workflow change is a narrow, source-consistent fix for the post-deploy audit-dispatch gap, but the PR currently offers only test claims rather than after-fix evidence from a real Priority: P2 Review scores
Verification
How this fits togetherThe sweep workflow receives scheduled and operator-dispatched audit requests, then gathers review coverage data and publishes the signed live-item inventory used by the Worker-backed coverage endpoint. That inventory lets the dashboard measure reviewed items against the full eligible GitHub fleet rather than only canonical records already stored by ClawSweeper. flowchart LR
A[Scheduled audit] --> C[Audit workflow]
B[Operator audit dispatch] --> C
C --> D[Coverage summary decision]
D --> E[Signed live-item inventory]
E --> F[Worker coverage endpoint]
F --> G[Review coverage dashboard]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the existing scheduled behavior, add the manual-audit condition as proposed, and attach redacted evidence from a real Do we have a high-confidence way to reproduce the issue? Yes, in source: a manual audit dispatch with Is this the best way to solve the issue? Yes. Reusing the established audit-dashboard input and retaining the existing scheduled condition is the narrowest maintainable fix; the remaining requirement is direct evidence that the dispatch path publishes the intended inventory. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 970af34736a6. 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
|
…penclaw#944) Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
/api/review-coverage reports inventory_status=missing and falls back to the record-only denominator (1,865 records / 75%) instead of the true live-item basis (~5,915), because the inventory publication step is gated on the exact cron string '37 */6 * * *' — operator dispatches of the audit lane skip it, so after a deploy the corrected metric from #943 stays blind for up to six hours. Extends the condition to workflow_dispatch runs with audit_dashboard=true. Workflow tests 80/80, autoreview clean.