Skip to content

Enforce the datamachine_ prefix in CI#2941

Merged
chubes4 merged 1 commit into
mainfrom
feat/2933-prefix-audit-v2
Jul 21, 2026
Merged

Enforce the datamachine_ prefix in CI#2941
chubes4 merged 1 commit into
mainfrom
feat/2933-prefix-audit-v2

Conversation

@chubes4

@chubes4 chubes4 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • add a token-based production PHP prefix audit
  • cover symbols, variables, hooks, option and transient keys, meta keys, constants, taxonomy slugs, and database tables
  • avoid documentation, fixture, vendor, and unrelated substring noise
  • run the repository policy directly in CI with focused positive and negative fixtures

How to test

  1. Run php tests/prefix-policy-audit.php.
  2. Confirm the legacy fixture reports every protected identifier surface.
  3. Confirm valid datamachine_ identifiers and prose produce no findings.

Closes #2933

@chubes4
chubes4 merged commit 22a0dcc into main Jul 21, 2026
3 checks passed
@chubes4
chubes4 deleted the feat/2933-prefix-audit-v2 branch July 21, 2026 13:38
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.

Enforce the datamachine_ prefix with an automated source audit

1 participant