Skip to content

chore(repo): warn on private-product vocabulary - #77

Merged
evemcgivern merged 1 commit into
mainfrom
chore/private-vocabulary-warnings
Sep 24, 2026
Merged

evemcgivern merged 1 commit into
mainfrom
chore/private-vocabulary-warnings

Conversation

@evemcgivern

Copy link
Copy Markdown
Contributor

The private-terms check only matched names, so worked examples lifted from a private product (fixed in #75) shipped without naming it.

  • Private-list lines prefixed warn: are now warnings: each hit becomes a ::warning annotation on the PR with file and line only (never the term or text, since CI logs are public). Locally the matching line prints. Warnings never fail the build and never run against docs/.
  • privacy-audit used that product's data categories as examples; now generic.
  • CONTRIBUTING explains the warning.

The vocabulary itself lives only in the gitignored local list and the PRIVATE_TERMS secret; nothing in this PR reveals it.

Tested locally: clean tree passes with 0 warnings; a planted line warns (exit 0) and emits the annotation under GITHUB_ACTIONS=true.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FqTSev7LyLprLNwPfVfQA8

The private-terms check matched names only, so two worked examples
lifted from a private product shipped without naming it. Overlay
lines prefixed `warn:` now flag that product's domain vocabulary as a
PR annotation, file and line only, without failing the build: some
of those words are ordinary English.

The privacy-audit skill used the same product's data categories as
examples; it now uses generic ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FqTSev7LyLprLNwPfVfQA8
@evemcgivern
evemcgivern merged commit 0a6da93 into main Sep 24, 2026
4 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