feat: release-ci readiness profile — the nightly gate's CI evidence scope#47
Merged
Merged
Conversation
…cope Phase 2 of PyAutoLabs/PyAutoBuild#127 (design §5): `pyauto-heart readiness --profile release-ci` evaluates the same gates over a CI-assembled snapshot; gaps in dev-box-local evidence (the local test_run cache and the never-observed slices) are reported as na_reasons — listed, never silently green, non-gating — while present adverse evidence and the required set (library CI, the release-validation report, verify_install) gate exactly as before. Default profile verdict unchanged; profile verdicts are a live compute and never persist to release_ready.json. Also fixes the inner `profile` rebinding in the validation gate (now vr_profile). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Author
|
Phase-2 PR set for PyAutoLabs/PyAutoBuild#127: PyAutoLabs/PyAutoBrain#63 (driver) · PyAutoLabs/PyAutoBuild#129 (cron removal) · #47 (release-ci profile) · PyAutoLabs/PyAutoMind#43 (digest watchdog). Merge Brain and Build the same day (Build-first leaves no scheduled path; Brain-first double-schedules nothing — the driver dispatches, the old cron rehearses — but same-day is tidiest); Heart and Mind are independent. |
This was referenced Jul 9, 2026
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.
Phase 2 of PyAutoLabs/PyAutoBuild#127 (design §5): the
release-cireadiness profile — how the scheduled-nightly driver gets an honest GREEN in CI, where dev-box-local evidence does not exist.pyauto-heart readiness --profile release-cievaluates the same gates over the CI-assembled snapshot. Gaps in dev-box-local evidence (the localtest_runcache; never-observedversion_skew/script_timing/manifest_drift/profiling_drift/repo_stateslices) are reported in a newna_reasonslist — listed, never silently green, non-gating.test_runstays YELLOW under every profile), and the required set — libraryci_status, the release-validation report (fresh, passing, SHA-matched,releaseprofile),verify_install— gates exactly as before. STALE/YELLOW still do not pass for releases.main.release_ready.json(its existing consumers see no change). Rider: fixes the innerprofilevariable rebinding in the validation gate (vr_profile) that would have clobbered the new parameter.Validation
Full suite: 244 passed (7 new release-ci tests: local gaps → GREEN with na_reasons; missing required evidence still blocks; adverse local evidence still counts; SHA drift still blocks; default-path regression).
API Changes
readiness.compute()gains an optionalprofile="default"keyword (default behaviour unchanged); verdict dicts gain additiveprofile/na_reasonskeys.pyauto-heart readiness --profile {default,release-ci}.Scripts Changed
None.
Companion PRs: PyAutoBrain (the driver that consumes this via the vitals faculty), PyAutoBuild (cron removal), PyAutoMind#43 — links in a comment.
🤖 Generated with Claude Code