Repository navigation
feat: accept setup-based profiling evidence - #11
Merged
Merged
Conversation
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.
Summary
Pulse currently reads a runtime-history feed, which cannot express the setup-specific compile, breakdown, memory and recommendation evidence needed by the planned profiling browser. This adds a v2 catalogue reader while retaining v1 and keeping the production registry pinned to v1 until the producer migrates.
Selections must name a record with the same scientific setup, metric, units, method, hardware, precision, measured software stack and validation status. Missing cells remain explicit; incompatible records cannot become reference measurements. Hazards and recommendations link to scoped evidence. This is phase 1 of the full profiling refactor; dashboard navigation and script migration follow in dependent phases.
Closes #10.
Scripts Changed
pulse/catalogue.py: stdlib-only validation of setups, multi-axis records, selections, coverage, hazards and recommendations.pulse/summary.py: version dispatch, v1 compatibility and malformed-version rejection.tests/test_catalogue.pyand fixtures: valid/empty feeds, incompatible selections, corrupt fields and last-good snapshot preservation through ingestion/rendering.REFERENCE.mdandAGENTS.md: producer grammar and reader-first migration contract.Validation
python -m pytest tests -q).ruff check .andruff format --check .passed.bin/pyauto-pulse check --offlinepassed against existing snapshots, receipts, dashboard and Brain state contract.Heart
The authoritative readiness query reports RED:
release validation FAILED (stage integrate).Live user authorization (2026-10-05), in response to the explicit Pulse #10 development-only override request: “I authorize”. This authorizes commit, push, and opening this pending-release PR despite that exact RED reason. Applicable gates passed: 184 tests, Ruff lint/format, and offline snapshot/dashboard/state checks. No separate independent review was required or claimed on this human-approved path. Merge remains a separate human action with green required CI; no release, rehearsal, or baseline acceptance is authorized.