blog: scrub internal codename + admin URL from pre-commit-agent post

The redaction-pattern example ironically named the real classified codename and a
real internal admin URL in a public post. Genericized both to placeholders
(<internal-codename>, admin.<internal-domain>) — the example still illustrates the
pattern format without leaking. Rebuilt HTML.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 22:04:08 +01:00
parent 6cba781083
commit f762ad52a3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -21,11 +21,11 @@ We built a pre-commit hook with two layers: a regex blocklist that's instant and
A text file of patterns, each tagged with scope and message:
```
public|\bCosmos\b|Classified codename — use "advanced colonist AI"
public|\b<internal-codename>\b|Classified codename — use the public-facing alias
all|github\.com/(tinqs-ltd|tinqs)/|GitHub repos deleted — use tinqs.com
all|sk-[a-zA-Z0-9]{20,}|Possible API key leaked
all|AKIA[A-Z0-9]{16}|AWS access key leaked
public|admin\.arikigame\.com|Internal admin URL in public content
public|admin\.<internal-domain>|Internal admin URL in public content
```
The scope field controls where patterns apply. `all` means every file. `public` means only public-facing content — blog posts, website, marketing pages. We *want* classified codenames in internal architecture docs. We just don't want them in blog posts.