Skip to content

feat(hygiene): perf aggregates all Heart dev-loop timing legs#94

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-perf-timing-legs
Jul 11, 2026
Merged

feat(hygiene): perf aggregates all Heart dev-loop timing legs#94
Jammy2211 merged 1 commit into
mainfrom
feature/hygiene-perf-timing-legs

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Generalizes the hygiene perf Heart-consult (from PyAutoBrain#93) beyond import_time to the whole hygiene-perf timing family: import_time + unit_test_timing (PyAutoHeart#63/#64) + workspace_testmode_timing (4b, coming), each read only when its ~/.pyauto-heart/<leg>.json exists, aggregated into one regression count (red+yellow across present legs). Falls back to the one-shot subprocess import timing when no leg has a reading.

Forward-compatible: new legs light up in perf with no further conductor change (the workspace leg is already in the list, file-guarded).

Tests: existing consult test updated for the aggregated format + a new multi-leg test. PyAutoBrain 38 pass, review CLEAN.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tw3EwV55k6VzxorYng3Kfn

Generalizes the perf Heart-consult from import_time only to the whole hygiene-perf
timing family: import_time + unit_test_timing + workspace_testmode_timing, each
read only when its ~/.pyauto-heart/<leg>.json sidecar exists, aggregated into one
regression count (red+yellow across present legs). Falls back to the one-shot
subprocess import timing when no leg has a reading. This means new legs (4a #63,
4b) light up in perf with no further conductor change.

Tests: existing import_time consult test updated for the aggregated format; new
multi-leg aggregation test. PyAutoBrain 38 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tw3EwV55k6VzxorYng3Kfn
@Jammy2211 Jammy2211 merged commit fcdf6c5 into main Jul 11, 2026
@Jammy2211 Jammy2211 deleted the feature/hygiene-perf-timing-legs branch July 11, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant