Skip to content

Commit 2a2e7d6

Browse files
committed
docs(skills): actions.md pays 26 bytes of restatement before its token row moves
The label line above the Add to Campaign example restated the block's own type; the row moves by the measured remainder (2808 -> 2982). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzgwLiKcfujYUug7sPs
1 parent d41ddfa commit 2a2e7d6

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,18 +1313,20 @@ export const CEILINGS = new Map([
13131313
// another passage (the 85 bytes above were what there was), so the same ruling's second
13141314
// half carries it: the file is 11106 -> 11231 bytes -> 2808 tokens, zero headroom before,
13151315
// ceiling +31, pinned AT the measurement.
1316-
// 2808 -> 2988: an action body refuses by code. One paragraph under the `ctx` section (which
1316+
// 2808 -> 2982: an action body refuses by code. One paragraph under the `ctx` section (which
13171317
// action may declare `refusals`; that the catalogue, the throws and the checks are a hook's,
13181318
// taught in objectstack-data and only pointed at here; the bundle key the sentence is translated
13191319
// at; that an authored `errorMessage` replaces the sentence in the console's toast), and the
1320-
// Add Line example declares one entry and throws its code where it threw a sentence. NOTHING
1321-
// TO PAY DOWN in this file: the entry above spent its last restatement and a re-read for this
1322-
// change found none, so the same ruling's second half carries it, as it did there. The file is
1323-
// 11231 -> 11952 bytes -> 2988 tokens, zero headroom before, ceiling +180, pinned AT the
1324-
// measurement. Same ruling as the lines above (2026-10-27, tap A): 「A:先削重复,余额按实测提高」
1325-
// (ruling record 6513306068).
1326-
// ceil($(wc -c < skills/objectstack-ui/rules/actions.md) / 4) == ceil(11952 / 4)
1327-
['skills/objectstack-ui/rules/actions.md', 2988],
1320+
// Add Line example declares one entry and throws its code where it threw a sentence. PAID DOWN
1321+
// FIRST by 26 bytes of true restatement in this file: the label line "**Script-typed action**:"
1322+
// above the Add to Campaign example (the block's own `type: 'script'` says it, under the H2
1323+
// "Examples"). Two reads of the file found no other passage restating another, so the same
1324+
// ruling's second half carries the rest. Arithmetic: the text adds 721 bytes, the cut removes
1325+
// 26, so the file is 11231 -> 11926 bytes -> 2982 tokens, zero headroom before, ceiling +174,
1326+
// the measured remainder only, pinned AT the measurement. Same ruling as the lines above
1327+
// (2026-10-27, tap A): 「A:先削重复,余额按实测提高」 (ruling record 6513306068).
1328+
// ceil($(wc -c < skills/objectstack-ui/rules/actions.md) / 4) == ceil(11926 / 4)
1329+
['skills/objectstack-ui/rules/actions.md', 2982],
13281330
// 6090 -> 6252 (#19715, card item 4): a 5-line table of contents at the top,
13291331
// anchors to the file's existing headings, nothing else changed. +162 tokens,
13301332
// zero headroom to absorb any of it, ceiling +162. Maintainer ruling

‎skills/objectstack-ui/rules/actions.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ export const ConvertLeadAction = defineAction({
7272
});
7373
```
7474

75-
**Script-typed action**:
76-
7775
<!-- os:check -->
7876
```typescript
7977
import { defineAction } from '@objectstack/spec/ui';

0 commit comments

Comments
 (0)