Skip to content

feat: accept setup-based profiling evidence - #11

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/profiling-setup-contract
Oct 5, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/profiling-setup-contract

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

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.py and fixtures: valid/empty feeds, incompatible selections, corrupt fields and last-good snapshot preservation through ingestion/rendering.
  • REFERENCE.md and AGENTS.md: producer grammar and reader-first migration contract.

Validation

  • 184 tests passed (python -m pytest tests -q).
  • ruff check . and ruff format --check . passed.
  • bin/pyauto-pulse check --offline passed against existing snapshots, receipts, dashboard and Brain state contract.
  • Production registry, snapshots, dashboards and historical evidence remain unchanged.

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.

@Jammy2211 Jammy2211 added the pending-release Merged library/organ change not yet in a release label Oct 5, 2026
@Jammy2211
Jammy2211 merged commit caa500f into main Oct 5, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/profiling-setup-contract branch October 5, 2026 08:46
@Jammy2211 Jammy2211 removed the pending-release Merged library/organ change not yet in a release label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: accept setup-based profiling evidence

1 participant