feat: report apply cycle estimates#398
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 3, 2026, 11:22 PM ET / 03:22 UTC. Summary Reproducibility: not applicable. this is a feature PR rather than a bug report. The changed behavior is source-reviewable and partially shown by PR-body CLI output, but dashboard proof remains incomplete. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the additive telemetry after maintainer acceptance and after-fix proof shows both the JSON cycle fields and the dashboard alert pill for a scheduled close cursor window. Do we have a high-confidence way to reproduce the issue? Not applicable; this is a feature PR rather than a bug report. The changed behavior is source-reviewable and partially shown by PR-body CLI output, but dashboard proof remains incomplete. Is this the best way to solve the issue? Yes, subject to proof and maintainer acceptance. Reusing the existing proposed-item selector, cursor advance accounting, and apply-health marker is a narrow maintainable path, and current main has no duplicate supported cycle-estimate path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against baf9ddb48ab1. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
402155a to
57a82e6
Compare
57a82e6 to
e603afe
Compare
e603afe to
e0283a8
Compare
|
Land-ready proof for exact head
Known proof gap: the alert-only dashboard pill still needs a post-deploy live visual check. Parser, render, workflow wiring, and cursor behavior are covered before merge; I will verify the deployed system after landing. |
What Problem This Solves
After #375, ClawSweeper rotates close-apply candidates, but maintainers still cannot quickly tell how long it may take to revisit the current apply-ready close queue. A cursor can be advancing correctly while the open issue/PR count still rises, and without a cycle estimate that looks too similar to being stuck.
Why This Change Was Made
cycleobject to apply-health JSON for scheduled close cursor windows.basis: not_close_cursorinstead of mixing them into close-cycle estimates.nullin the dashboard API instead of normalizing them to zero.cycle ~...pill only on the existing problem-focused pruning alert when a scheduled close-cycle estimate exists.User Impact
Maintainers get an operational estimate for the close-apply rotation without adding a noisy always-on dashboard metric. When pruning needs attention, the alert can show whether the current queue looks like a few cursor windows or many, while normal/healthy dashboard states remain quiet.
Evidence
Rebase proof on current main:
Result: passed. The focused test run reported 77 tests, all passing.
Codex review after rebase:
Result: no actionable correctness issues found. The review specifically checked that the cycle telemetry remains wired through the workflow, summary generation, dashboard API, and UI after merging the lane and skip-action changes.
Prior full local check before the rebase:
Result: passed. The full check reported 1134 passing tests, 1 skipped, coverage lane 100%, and format clean. After the rebase, the focused proof above was rerun against the combined code.
Direct CLI proof used
pnpm run --silent workflow -- summarize-apply-report ...with--candidate-count 1200 --scheduled-interval-minutes 15:window_size=5,estimated_full_cycle_windows=240,estimated_full_cycle_minutes=3600, labelroughly 60h.window_size=300,estimated_full_cycle_windows=4,estimated_full_cycle_minutes=60, labelroughly 1h.Screenshot Proof
No new dashboard card or warning state is added. The existing pruning alert is the visual surface; this PR only adds a small
cycle ~...detail pill when that alert is already visible and a scheduled close-cycle estimate exists.Risk Notes