Skip to content

Commit 465262d

Browse files
committed
docs(cli): record the console pin's ablation result, and retire an earlier WIP note
Records in the pin's own header what the two ablations measured, so the evidence that this pin discriminates lives beside the pin instead of only in a pull request body: the name half reds 4 of 14 (including TS2578 from a retirement control), and the shape half reds 1 of 14 with 2 x TS2344 while every name and count stays green — the half a names-only pin cannot see. This commit also exists to correct the FIRST commit on this branch. Its body says, in full: "WIP — changeset and gate runs still to come." That was true of the tree it described and is now false of this branch. Both halves have since landed: the changeset is `.changeset/olive-donkeys-repeat.md` (minor, listing every retired name), and the gates derived for this change set have been run. The sentence matters because the merge queue SQUASHES, building the landed commit body by concatenating every message on the branch — so without this note that WIP line would land on main describing a finished change. Nothing on this branch is work in progress. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N
1 parent 2c45a41 commit 465262d

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

packages/cli/test/published-subpath-console.pin.test.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,26 @@
5252
* asserted too — at run time, in the shipped types, and in the compiler. A
5353
* retirement nothing holds down is a retirement that reverts on the next
5454
* refactor that finds the barrel convenient.
55+
*
56+
* ## Measured to discriminate, on both halves
57+
*
58+
* A pin is worth what it reds on, so both halves were ablated — mutation proven
59+
* on disk, `packages/cli` REBUILT, and the mutation proven live in `dist/` via
60+
* `scripts/ablation-dist-preflight.mjs`, before any verdict was read.
61+
*
62+
* NAME half — re-export `decideConsoleMount` from the barrel. 4 of 14 red:
63+
* the run-time keys, the shipped types, the ten-retired assertion, and the
64+
* conformance compile, the last as `TS2578: Unused '@ts-expect-error'` —
65+
* the retirement control reporting that a retired name came back.
66+
* SHAPE half — add one optional member to `ResolveConsoleOptions`, the
67+
* options bag of a KEPT public name. Every name and count is unmoved, so
68+
* 13 of 14 stay green and ONLY the conformance compile reds, with 2 ×
69+
* `TS2344` on the two options-bag `Equals` assertions. This is the half a
70+
* names-only pin cannot see: the surface's leaves are identical and the
71+
* component moved.
72+
*
73+
* Both restored under a trap, then rebuilt and re-checked `--absent` so no
74+
* later run in this worktree measures a mutated `dist/`.
5575
*/
5676

5777
import { spawnSync } from 'node:child_process';

0 commit comments

Comments
 (0)