maintenance: firewall allowlist +2 by the rule, --only selector, smoke-block identity leg - #199
Merged
Merged
Conversation
…e-block identity leg The repos_sync.py third of PyAutoMind#198 (tenant-firewall drift): - FIREWALL_ALLOWLIST: extend the _intake.py entry with autofit_workspace (measured-noise docstring — the names are the evidence) and add tests/test_intake_reconcile_ranking.py (assertions pin resolution against the live body map). Net +1 entry / +1 token, vs +8 entries for the rejected allowlist-all clear; both audited with negative probes (a wrong token in these files still fails). - check_heart: validate the new smoke: block in Heart's config the same way the repos: groups are checked (soft-skip while absent, so this merges ahead of the PyAutoHeart extraction PR). - --only <label>: run a single check leg, so an organ's PR CI gate fails only on the leg that PR can cause. Unknown labels fail loudly naming the valid set.
This was referenced Aug 17, 2026
Merged
Jammy2211
pushed a commit
that referenced
this pull request
Aug 17, 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.
The
repos_sync.pythird of #198 (tenant-firewall drift: refactor-first clear + PR-time gates). Merge FIRST — the PyAutoBrain/PyAutoHeart gate PRs invoke the--onlyselector from a Mind checkout ofmain, so they go green only after this lands.Changes
FIREWALL_ALLOWLIST+2 by the decision rule ("derivable or arbitrary → refactor; genuine branded fact → declare the surface"):agents/conductors/intake/_intake.pyentry withautofit_workspace— the_upstream_noisedocstring cites measured noise counts ("autofit_workspace in 26 files") as the evidence for rejecting a file-spread threshold; the names ARE the finding, and the code itself derives its repo sets from the body map;tests/test_intake_reconcile_ranking.py— its assertions pin resolution against the live body map (slug == "PyAutoLabs/PyAutoFit";_upstream_noisefilters viaKNOWN_REPOS), so synthetic names would test nothing.check_heartsmoke-block leg: validates the newsmoke:block in Heart'sconfig/repos.yaml(workspace directories, chain entries,import_nameskeys) against the manifest — closing the same identity-unchecked gapversion_skew:had. Soft-skips while the block is absent, so this PR merges cleanly ahead of the PyAutoHeart extraction PR.--only <label>selector (repeatable): run a single check leg, so an organ's PR CI gate fails only on the leg that PR can cause. Unknown labels fail loudly, naming the valid set.Verification
python3 scripts/repos_sync.py --checkagainst the Mind/Brain/Heart branch trio →check tenant firewall (organ code): OK, all other legs unchanged, exit 0.--only "tenant firewall (organ code)"→ OK, exit 0; unknown label → exit 1 naming valid labels.smoke:block flagged by the newcheck_heartleg.Merge order (from the #198 sequencing note)
--onlyon Mindmain).Closes nothing on its own; #198 tracks the arc.
Generated by Claude Code