Repository navigation
feat: not-Heart-gated repos + Stage 3 quarantine (#343, #344) - #345
Merged
Merged
Conversation
…LE (#343) Human ruling, M2 gate 2026-11-13: profiling, inference, assistants, visualization, Scientist, Broca and Cortex are not Heart-gated; their PR checks decide. - config/repos.yaml: `not_heart_gated:` (16 names resolved from the body map); every name must be unpolled and in `excluded:` (loader refuses otherwise). pyautolabs.github.io stays out: no CI. - `readiness --dev`: a touched repo on the list is gate-deferred — listed in `gate_deferred`, shown as "not Heart-gated: PR checks decide", never STALE or blocking. An all-deferred scope does not judge the snapshot age. - Witness test: a branch touching a not-Heart-gated repo reads GREEN, gate-deferred and shown, when the in-scope polled repos are green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tive (#344) Human ruling, M1 gate 2026-11-12. - config/stage3_quarantine.yaml (repo-tracked, schema in its header) and heart/quarantine.py, its one reader: an entry names workspace, script, a filed bug task (Repo#N / Owner/Repo#N / issue URL), filed date and an expiry at most 7 days later; at most 3 active (a fourth is refused); workspace scripts only. `check` exits 1 on a refused entry; `skip-list` gives Stage 3 the ACTIVE entries for one workspace. - readiness: an active entry is YELLOW with the list (`stage3_quarantine`); an expired or refused entry, or an unreadable file, is RED. Quarantine never turns RED into GREEN. A pass on the retry is carried as `stage3_flaky` (shown, not a tier). - validate: the stage report, fold and validation_report carry `flaky` and `quarantined`. - workspace-validation.yml (mode=release): resolve the quarantine per workspace and pass --retry-failed / --quarantine to the Hands runner (only when the runner has them, so merge order cannot break Stage 3). - Witness tests: retry pass recorded flaky; retry fail red; quarantined YELLOW; missing bug ref refused; expired entry red again; fourth entry refused. Tests read no live quarantine (conftest). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… shown (#344 review) - MUST-FIX: readiness now judges the ingested rehearsal's own `quarantined` list, not only the live file. Each skipped script is at least YELLOW, named; RED when its entry is no longer active (removed or expired) — only a fresh rehearsal that ran the script clears it. The stage report carries the `quarantine_entry` that skipped each script. - Flaky passes become `flaky_reasons` ("flaky: passed on retry — ..."), rendered in the readiness block and shown at a dev ship; not a tier. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Programme M2 finish. Closes #343. Closes #344.
#343, repos Heart does not poll (human ruling 2026-11-13):
not_heart_gated:list inconfig/repos.yaml. The loader refuses any polled name.readiness --devlists those repos asgate_deferredand shows them, with "PR checks decide".#344, Stage 3 retry and quarantine (human ruling 2026-11-12):
config/stage3_quarantine.yamlandheart/quarantine.py: each entry needs a bug ref and expires after at most 7 days, with at most 3 active. Workspace scripts only.quarantinedlist is judged. A skipped script whose entry is gone reads RED, so a quarantine can never turn RED into GREEN.flaky_reasons.workspace-validation.ymlpasses the quarantine and retry flags to the Hands runner.REL-3 was re-checked against GitHub and holds (evidence
m2_decision_sheets/evidence/rel3_recheck/).Test plan
Gate
pyauto-heart readiness --dev --repos …). No RED override was needed: this is the first ship through the M2.1 scoped gate.Tier: glance. Merge mode: auto-merge on green if the Witness passes, with a post-merge summary.
🤖 Generated with Claude Code