Skip to content

Replace personal identifiers with role names; add keyed privacy gate - #72

Merged
dmmdea merged 2 commits into
mainfrom
chore/replace-personal-identifiers
Sep 28, 2026
Merged

dmmdea merged 2 commits into
mainfrom
chore/replace-personal-identifiers

Conversation

@dmmdea

@dmmdea dmmdea commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Intent

Remove personal and operator-private identifiers from the working tree and add a gate that keeps them out without publishing its own list.

What changed

  • Machine names, personal names, handles and business names in comments, tests, fixtures and docs now use role names (the reference workstation, the laptop node, the operator, acme) or placeholders; LAN literal in a test moved to a documentation range. The copyright holder lines in NOTICE now name the project contributors.
  • New scripts/ci/privacy-gate.py: HMAC-SHA256 digests of normalized terms (key from env, a local key file, or the PRIVACY_GATE_KEY repo secret; never committed) plus key-free shape rules. Scans every tracked file, every path (flagged components printed as ***) and non-merge commit messages in the PR range. Never echoes matched values. A self-test plants an invented term and must fail. New CI job privacy-gate on a free ubuntu runner.
  • docs/privacy-gate.md explains how to add a term without committing it.

How tested

Gate self-test (8 cases) and the gate over the tree: clean. A planted real term in a tracked file failed the gate, then was removed. go build, go vet and go test ./... -count=1: pass.

Risk

Low. Comments, tests, fixtures, docs and CI only; no runtime identifier changed. Module path and repo URL untouched; history not rewritten.
Tier: standard (no reviewer); typed tier scoring not run.

🤖 Generated with Claude Code

dmmdea and others added 2 commits September 28, 2026 18:14
…y gate

Scrub machine names, personal names, handles and local path shapes from comments,
tests, fixtures and docs and use role-based wording and placeholders instead. Adds
scripts/ci/privacy-gate.py: HMAC digests of normalized terms (key kept outside the
repo) plus shape rules over the whole tree, filenames and commit messages, never
echoing matched values, with a planted-term self-test and a CI job for it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@dmmdea
dmmdea merged commit 169756b into main Sep 28, 2026
2 checks passed
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