Repository navigation
fix: remove machine and owner identifiers from tracked files - #31
Merged
Merged
Conversation
Adds scripts/host_ids.py, a host-ids job in validate.yml and the publishing rule in CLAUDE.md.
Replaces the per-path allows with allow_match regexes for the guest's public values and refreshes scripts/host_ids.py.
…he guest image's kernel-devel build
…m 34, scrub on exit)
patterncatalyst
added a commit
that referenced
this pull request
Oct 23, 2026
* fix: remove machine and owner identifiers from tracked files * fix(scripts): scrub run logs of machine identifiers after each runner pass * ci: check tracked files for machine and owner identifiers Adds scripts/host_ids.py, a host-ids job in validate.yml and the publishing rule in CLAUDE.md. * fix: use allow_match for guest values; scrub archless host kernels Replaces the per-path allows with allow_match regexes for the guest's public values and refreshes scripts/host_ids.py. * fix: host_ids.py catches quoted and line-start kernel builds; allow the guest image's kernel-devel build * fix: validation fixes (fake fixture values, CLAUDE.md wording, diagram 34, scrub on exit)
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.
Removes machine- and owner-identifying details from the current tree. History is not rewritten; that is a separate step.
Scrubbed (hits before the change: 106, after: 0)
<repo>and~)git diff --numstatand a word diff).Allowed in
.host-scrub.toml(no values in the file)fedoraaccount home (deploy-to-vm.shtarget path and the transcripts that show it).systems-targetVM, confirmed from guest-side output (uname -ron the VM, lab-ready log). Host kernels in the same files were scrubbed before allowing.Generators
scripts/test-all-examples.pynow runshost_ids.py scruboverbuild-logs/after each run, since chapter transcripts are pasted from those logs.uname(2)output; it is unchanged.CI
scripts/host_ids.pycopied in, newhost-idsjob invalidate.yml(sameactions/checkout@v5; the workflow has no summary job), publishing rule added toCLAUDE.md.Verification
python3 scripts/host_ids.py check: 0 hitspython3 scripts/validate.py: OKhost_ids.py self-test: passed