You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
performance:goal: frame targets at the event level when work runs in parallel #4439
Claude Code runs all hooks for an event in parallel, so the user waits for the slowest one, not the sum (hooks docs; total_duration_ms is wall-clock). Per-hook targets hid this: whether the codex Stop hook mattered depended on its excess over the next-slowest Stop hook, not on its own 186-379 ms.
Proposal
When the subject is one of several parallel units (hooks on one event, parallel jobs), goal records the event-level metric alongside the unit's: the event's wall time, the unit's marginal cost (its excess over the next-slowest unit), and the event-level target. Summed CPU stays a separate, secondary figure.
Issue stays closed. This comes from the 2026-09-29 audit of the unattended Cursor run (report: .work/audit/REPORT.md).
What the audit found. The event-level fields added by #4887 were never consumed by snapshot or verify, and total_duration_ms had no verification record. Evidence: .work/audit/units/4441/pr-4887.diff.
What happens next. Draft PR #5283 wires the Event, Unit and Scaling fields into snapshot and verify and records total_duration_ms with its verification record. Refs #4439. The PR is not merged.
Activity
fix(performance): verify deployed version; goal parallel/MSYS account…
docs(performance): move parallel-units and growing-state procedures f…
docs(performance): consume goal's Scaling, Event and Unit in snapshot…
kyle-sexton commentedon Sep 29, 2026
Issue stays closed. This comes from the 2026-09-29 audit of the unattended Cursor run (report: .work/audit/REPORT.md).
What the audit found. The event-level fields added by #4887 were never consumed by snapshot or verify, and
total_duration_mshad no verification record. Evidence:.work/audit/units/4441/pr-4887.diff.What happens next. Draft PR #5283 wires the Event, Unit and Scaling fields into snapshot and verify and records
total_duration_mswith its verification record. Refs #4439. The PR is not merged.fix(performance): deliver the missing scope of #4436, #4437 and #4438 …