Skip to content

Commit 5713292

Browse files
committed
docs(pm): say why the never-shipped id specimen lands no identifier
The C7 battery proves the refusal binds a SHAPE by feeding it an id nobody has shipped. Spelling it is safe precisely because it identifies no model, and that is the same device the pre-push trailer rule's own battery uses -- worth one comment, so a later reader greps `claude-` and finds the answer beside the case instead of filing it. Claude-Session: https://claude.ai/code/session_01DAcomhvR9kKizeYgg89Vo8 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 837456f commit 5713292

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎scripts/pm/check-clause2-carriers.mjs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4700,6 +4700,9 @@ export function selfTest() {
47004700
t('⭐ the constant\'s VALUE — a literal model identifier — is REFUSED, though it is what this row once required', typeof identityRow === 'string');
47014701
t('…and the refusal ⛔ never quotes the token back, so a refusal is not a second violation', !says(identityRow, CONTRACT_REVIEW_TIER) && says(identityRow, 'NOT quoted back here'));
47024702
t('…and it names `AGENTS.md`\'s rule, which is WHY the accepted token changed', says(identityRow, 'AGENTS.md') && says(identityRow, 'a comment, a changeset, a doc or a code comment'));
4703+
// ⛔ The specimen below is a model NOBODY has shipped, so it identifies no
4704+
// model and spelling it lands no identifier -- the same device
4705+
// `check-commit-card-trailers.mjs` uses to prove its own rule binds a SHAPE.
47034706
const shapeRow = c7ServedTierBelow(bare({ prComments: [SERVED('claude-example-9-9')] }));
47044707
t('⛔ a model id nobody has shipped binds too — the refusal reads a SHAPE, never a list', typeof shapeRow === 'string' && !says(shapeRow, 'claude-example-9-9'));
47054708
t('⇒ the two refusals differ exactly on quoting: a safe token is echoed, an identifier is never', says(belowRow, BELOW) && !says(identityRow, CONTRACT_REVIEW_TIER));

0 commit comments

Comments
 (0)