Skip to content

Commit 198e492

Browse files
committed
docs(skills): the objectstack-platform ratchet rows read as a delta from main's values
The two CEILINGS rows keep main's 5828 -> 5981 and 1211 -> 1458 records as they landed and add the follow-up's own line: 5981 -> 5997 (+61 bytes for the reworded reason) and 1458 -> 1469 (+42 bytes for eval 7's wording), each pinned at the measurement. Claude-Session: https://claude.ai/code/session_01JQwxbX1XjSzpntF9n85TgB Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0a60c27 commit 198e492

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

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

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export const CEILINGS = new Map([
431431
// decision tables at 487 lines.
432432
// 5833 -> 5828: A2′ — the release-stamp line left the count (see
433433
// STAMP_LINE_REPIN); the file's count fell by the same 5, headroom unchanged.
434-
// 5828 -> 5997 (card #26302, the objectstack-platform row of the skills gap
434+
// 5828 -> 5981 (card #26302, the objectstack-platform row of the skills gap
435435
// audit): the Seed Data section gains `demoStaff` against `devLogins` — a
436436
// seed deals records to people and cannot create one, so the people are
437437
// declared in `demoStaff` and `os dev` creates the accounts (position and
@@ -447,9 +447,15 @@ export const CEILINGS = new Map([
447447
// sequence's "(see Ports & networking)" aside and the two cheat-sheet port
448448
// comments (the Port resolution paragraph says both). Arithmetic in bytes:
449449
// on `origin/main` the priced text was 23294 bytes (5824 tokens, headroom 4);
450-
// the cuts remove 309 bytes and the section adds 1000, so the LANDED priced
451-
// text is 23985 bytes -> 5997 tokens: the 4 tokens of headroom are absorbed
452-
// and the ceiling moves 5828 -> 5997 (+169). Pinned AT the measurement.
450+
// the cuts remove 309 bytes and the section adds 939, so the LANDED priced
451+
// text is 23924 bytes -> 5981 tokens: the 4 tokens of headroom are absorbed
452+
// and the ceiling moves 5828 -> 5981 (+153). Pinned AT the measurement.
453+
// ceil(($(wc -c < skills/objectstack-platform/SKILL.md) - 20) / 4) == ceil(23924 / 4)
454+
// 5981 -> 5997 (card #26302, the follow-up its contract review ordered): the
455+
// section's opening reason reworded — a `sys_user` row written through
456+
// `data` is not refused, it lands as a directory row with no account — +61
457+
// bytes, so the priced text is 23924 -> 23985 bytes -> 5997 tokens, ceiling
458+
// +16, pinned AT the measurement. Same ruling, same arithmetic rule as above.
453459
// ceil(($(wc -c < skills/objectstack-platform/SKILL.md) - 20) / 4) == ceil(23985 / 4)
454460
['skills/objectstack-platform/SKILL.md', 5997],
455461
// `skills/objectstack-pm-dispatch/SKILL.md` (9708) and its
@@ -760,15 +766,20 @@ export const CEILINGS = new Map([
760766
// is the whole addition; pinned AT the measurement, zero headroom. The
761767
// raising PR's body carries the same arithmetic.
762768
['skills/objectstack-i18n/evals/bundles-locales-coverage.json', 1451],
763-
// 1211 -> 1469 (card #26302): one eval for a demo whose seed names people —
769+
// 1211 -> 1458 (card #26302): one eval for a demo whose seed names people —
764770
// expected: both in `demoStaff` with a declared `position` /
765771
// `permissionSets`, created by `os dev`; NO `role:` alias and NO platform
766772
// set such as `admin_full_access`. Same ruling as the `SKILL.md` row above
767773
// (2026-10-27, tap A: 「A:先削重复,余额按实测提高」); the file's six fixtures
768774
// share no sentence, so there was no duplicate to cut (0 bytes). On
769775
// `origin/main` the file was 4842 bytes (1211 tokens, headroom 0); the
770-
// fixture adds +1031 bytes, so the LANDED file is 5873 bytes -> 1469 tokens,
771-
// ceiling +258, pinned AT the measurement.
776+
// fixture adds +989 bytes, so the LANDED file is 5831 bytes -> 1458 tokens,
777+
// ceiling +247, pinned AT the measurement.
778+
// ceil($(wc -c < skills/objectstack-platform/evals/config-plugins-ops.json) / 4) == ceil(5831 / 4)
779+
// 1458 -> 1469 (card #26302 follow-up): eval 7's expected output says what a
780+
// seeded `sys_user` row becomes instead of "(refused)" — +42 bytes, so the
781+
// file is 5831 -> 5873 bytes -> 1469 tokens, ceiling +11, pinned AT the
782+
// measurement.
772783
// ceil($(wc -c < skills/objectstack-platform/evals/config-plugins-ops.json) / 4) == ceil(5873 / 4)
773784
['skills/objectstack-platform/evals/config-plugins-ops.json', 1469],
774785
['skills/objectstack-query/evals/filters-pagination-search.json', 955],

0 commit comments

Comments
 (0)