Register PRD 0004, and stop the fixtures looking like real secrets

Two CI failures, both mine.

`prd/README.md` is generated by `logicsrc prd index --write` and the
scaffold test asserts it is current, so adding a PRD without
regenerating it leaves the repo's own conformance check failing.
Regenerated. The MCP test asserts the next free PRD id against the live
prd/ directory — its comment says it advances with every PRD added — so
it moves to 0005.

ThreatCrush flagged three of the example strings: a PEM header in the
item-model docs and in the conformance fixture, and an `sk_live_`
prefixed token. All placeholders, none real, but the finding is the
scanner working. A fixture only has to exercise the field, and a
real-looking private key header or live-key prefix sitting in the tree
trains both the scanner and the people reading its output to shrug at
exactly the shape that matters. Replaced with obvious placeholders
rather than suppressing the rule.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QRQrfuwuYKKV5UB9kLHuX5
This commit is contained in:
Anthony Ettinger 2026-08-29 10:22:44 +00:00
parent 872d09bc6a
commit 53008e561b
5 changed files with 15 additions and 9 deletions

View file

@ -152,7 +152,7 @@ An SSH deploy key:
"key": {
"keyType": "ssh", "algorithm": "ed25519",
"publicKey": "ssh-ed25519 AAAAC3Nza… deploy@railway",
"privateKey": "-----BEGIN OPENSSH PRIVATE KEY-----\n…\n-----END OPENSSH PRIVATE KEY-----\n",
"privateKey": "<the armoured private key body>",
"passphrase": "", "fingerprint": "SHA256:9Vt…",
"path": "~/.ssh/id_ed25519_railway", "mode": "0600", "expiresAt": ""
},
@ -170,7 +170,7 @@ A connected account:
"account": {
"provider": "stripe", "accountId": "acct_1P…", "handle": "profullstack",
"email": "billing@profullstack.com",
"accessToken": "sk_live_…", "refreshToken": "", "tokenType": "bearer",
"accessToken": "<access token>", "refreshToken": "", "tokenType": "bearer",
"scopes": ["charges:write", "customers:read"],
"expiresAt": "", "environment": "production"
},