feat(hygiene): perf aggregates all Heart dev-loop timing legs#94
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generalizes the hygiene
perfHeart-consult (from PyAutoBrain#93) beyondimport_timeto 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>.jsonexists, 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
perfwith 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