Skip to content

Commit 55cd08e

Browse files
committed
test(pm): pin the un-retiring-through-a-wrapper case on a value that closes on its line
Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent e92b06a commit 55cd08e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/pm/check-widening-tells.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6415,7 +6415,7 @@ export function selfTest() {
64156415
t('⛔ DARK CONTROL — the same re-declared line with NO tombstone removed beside it still fires: the silence is bought by the removal, never by the wrapper', slotTells(block(REWRAPPED_BODY))[0]?.tell === 'T1' && slotTells(block(REWRAPPED_BODY)).length === 1);
64166416

64176417
// -- the three pins the triage named --------------------------------------
6418-
t('⛔ PIN — un-retiring THROUGH the wrapper fires: the same key and the same wrapper around a LIVE schema is a spelling an author may now write', slotTexts(block(RETIRED_BODY, '+ body: retiredComponentSlot(z.array(z.unknown()).optional()),')) === 'body: retiredComponentSlot(z.array(z.unknown()).optional()),');
6418+
t('⛔ PIN — un-retiring THROUGH the wrapper fires: the same key and the same wrapper around a LIVE schema is a spelling an author may now write', slotTexts(block(RETIRED_BODY, '+ body: retiredComponentSlot(z.array(z.unknown())),')) === 'body: retiredComponentSlot(z.array(z.unknown())),' && slotTexts(block(RETIRED_BODY, '+ body: retiredComponentSlot(z.array(z.unknown()).optional()),')) === 'body: retiredComponentSlot(z.array(z.unknown()).optional()),');
64196419
t('⛔ PIN — a genuinely new key inside a wrapper call, beside the pair, fires at its OWN line', slotTexts(block(RETIRED_BODY, '+ fresh: componentSlot(z.array(z.unknown())),', REWRAPPED_BODY)) === 'fresh: componentSlot(z.array(z.unknown())),');
64206420
t('…and the mirror order reads the same, so the patch order cannot decide which line is reported', slotTexts(block(RETIRED_BODY, REWRAPPED_BODY, '+ fresh: componentSlot(z.array(z.unknown())),')) === 'fresh: componentSlot(z.array(z.unknown())),');
64216421
t('⛔ PIN — a RENAMED key fires: a tombstone removed under one name pays nothing for a tombstone re-declared under another', slotTexts(block(RETIRED_BODY, '+ panel: retiredComponentSlot(retiredKey(')) === 'panel: retiredComponentSlot(retiredKey(');

0 commit comments

Comments
 (0)