Skip to content

fix: remove machine and owner identifiers from tracked files - #94

Merged
patterncatalyst merged 3 commits into
mainfrom
fix/host-scrub
Oct 23, 2026
Merged

patterncatalyst merged 3 commits into
mainfrom
fix/host-scrub

Conversation

@patterncatalyst

@patterncatalyst patterncatalyst commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Removes machine and owner identifiers from the current tree only. No history rewrite.

Scrubbed (no values listed)

  • home-path: 281 flagged; 16 scrubbed (checkout path to <repo>, scratchpad paths keep their shape with the account replaced); 265 allowed by value (below).
  • account: 27 scrubbed in 20 files (user).
  • Reader instructions in the sagas README now say cd <repo>/examples/....

Allowed, by value

.host-scrub.toml [allow_match] home-path = ['^/home/default($|/)']: 265 hits in about 60 Containerfiles are the UBI OpenJDK builder image's own default home, a public image default, not this machine. The config holds no host value.

Generator fixes

The s12 manifest tools (_plans/s12-manifest/tools/*.py) hard-coded the checkout path; they now use Path(__file__).resolve().parents[3]. All compile.

CI and docs

  • host-ids job in content.yml runs host_ids.py self-test and check; content-ok needs it, so the existing required check covers it.
  • Publishing rule added to CLAUDE.md.

Verification

  • host_ids.py check: 0 hits; self-test passes.
  • git grep -F for this machine's account, hostnames, home, CPU model, DMI name, kernel (with/without arch), uname -v, machine-id: 0 matches each.
  • validate_site.py 0 errors, deck_text.py --check ok, voice scan ban tier 0 and all-tier totals unchanged.
  • Diff is 27 one-line substitutions; numbers per changed line unchanged.

History still holds these categories (account 20 paths, home-path 14 paths); a rewrite is a separate decision. Not merged.

Home paths and the account name in plan notes, the s12 manifest tools and the saga README become <repo>, ~ or user. The manifest tools now derive the repo root from __file__ instead of a hard-coded checkout path.
scripts/host_ids.py check and self-test run as a host-ids job that content-ok depends on. .host-scrub.toml exempts the UBI builder image's public /home/default by value. CLAUDE.md gains the publishing rule.
@patterncatalyst
patterncatalyst merged commit b477d1c into main Oct 23, 2026
17 checks passed
@patterncatalyst
patterncatalyst deleted the fix/host-scrub branch October 23, 2026 21:15
patterncatalyst added a commit that referenced this pull request Oct 23, 2026
* fix: remove machine and owner identifiers from tracked files

Home paths and the account name in plan notes, the s12 manifest tools and the saga README become <repo>, ~ or user. The manifest tools now derive the repo root from __file__ instead of a hard-coded checkout path.

* ci: add host-ids check and publishing rule

scripts/host_ids.py check and self-test run as a host-ids job that content-ok depends on. .host-scrub.toml exempts the UBI builder image's public /home/default by value. CLAUDE.md gains the publishing rule.

* ci: host_ids.py applies only generic patterns on CI runners (lgtm-host-scrub fix)
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.

1 participant