Skip to content

Commit 3fbae96

Browse files
committed
docs(skills): the Splitting block says a changed split rebuilds the source's index
The block's last sentence said a changed `split` re-splits a document only when it next changes. The resolved split is part of the index fingerprint, so a changed `split` rebuilds the source's whole index and its searches are refused until the rebuild finishes; the sentence now says that. One more restatement is cut ("and refused"), and the token row moves to its measurement, 7248. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
1 parent 924f830 commit 3fbae96

3 files changed

Lines changed: 19 additions & 13 deletions

File tree

‎.changeset/38442-skill-markdown-fitting-section.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Metadata-protocol: none
1111

1212
- The `markdown` bullet says that a section that fits `maxChars` together with its heading path is one passage, and that a section that does not fit is cut as `recursive` cuts.
1313
- The `minChars` sentence says that pieces shorter than `minChars` are merged in `recursive` text and in a `markdown` section that does not fit, and that a section that fits stays whole whatever `minChars` is. An author no longer sets `minChars` equal to `maxChars` to keep a short clause, or a table with its note, in one passage.
14+
- The block's last sentence said that a changed `split` re-splits a document only when it next changes. That was wrong. It now says that changing `split` rebuilds the source's whole index, and that the source's searches are refused until the rebuild finishes.
1415

15-
Cut in the same block, with no fact dropped: "For documents with headings" (the bullet's "one section per heading" says it), "once `split` is written" (the signature and the omitted-`split` clause say it) and "never truncated" (the `whole` bullet's "removed from the index and reported" says it).
16+
Cut in the same block, with no fact dropped: "For documents with headings" (the bullet's "one section per heading" says it), "once `split` is written" (the signature and the omitted-`split` clause say it) "never truncated" (the `whole` bullet's "removed from the index and reported" says it) and the "and refused" of "Retired and refused" (the `400 UNKNOWN_KEY` and the parse error beside it say it).
1617

1718
The same block names the `knowledge.chunk_target` setting by its settings-page label "Longest passage", the label that setting takes in this release.

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -544,23 +544,27 @@ export const CEILINGS = new Map([
544544
// 28800 -> ceil(28800 / 4) = 7200; the row moves +52, the measured remainder
545545
// only. Pinned AT the measurement.
546546
// ceil(($(wc -c < skills/objectstack-ai/SKILL.md) - 27) / 4) == ceil(28800 / 4)
547-
// 7200 -> 7240 (2026-11-29, the fitting `markdown` section): the Splitting
547+
// 7200 -> 7248 (2026-11-29, the fitting `markdown` section): the Splitting
548548
// block taught "one section per heading" and a `minChars` merge for every
549549
// strategy; under `markdown` a section that fits `maxChars` with its heading
550550
// path is one passage, and `minChars` merges only in `recursive` text and in
551-
// a section that does not fit. Raise path the standing ruling
551+
// a section that does not fit. Its last sentence said a changed `split`
552+
// re-splits a document only when it next changes; a changed `split` rebuilds
553+
// the source's whole index and its searches are refused until the rebuild
554+
// finishes, and the block now says so. Raise path the standing ruling
552555
// 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B). PAID DOWN
553556
// FIRST, in the same block: "For documents with headings" (the bullet's "one
554557
// section per heading" says it), "once `split` is written" (the signature
555558
// and the omitted-`split` clause say it), "never truncated" (the `whole`
556-
// bullet's "removed from the index and reported" says it); the settings label
557-
// also became "Longest passage". Arithmetic in priced bytes (stamp line
558-
// excluded), against `main`'s 28800 (the row's 7200, headroom 0): the file is
559-
// 28827 -> 28985 bytes, so the LANDED priced text is 28958 ->
560-
// ceil(28958 / 4) = 7240; the row moves +40, the measured remainder only.
561-
// Pinned AT the measurement.
562-
// ceil(($(wc -c < skills/objectstack-ai/SKILL.md) - 27) / 4) == ceil(28958 / 4)
563-
['skills/objectstack-ai/SKILL.md', 7240],
559+
// bullet's "removed from the index and reported" says it), and the "and
560+
// refused" of "Retired and refused" (its `400 UNKNOWN_KEY` and "parse error"
561+
// say it); the settings label also became "Longest passage". Arithmetic in
562+
// priced bytes (stamp line excluded), against `main`'s 28800 (the row's
563+
// 7200, headroom 0): the file is 28827 -> 29017 bytes, so the LANDED priced
564+
// text is 28990 -> ceil(28990 / 4) = 7248; the row moves +48, the measured
565+
// remainder only. Pinned AT the measurement.
566+
// ceil(($(wc -c < skills/objectstack-ai/SKILL.md) - 27) / 4) == ceil(28990 / 4)
567+
['skills/objectstack-ai/SKILL.md', 7248],
564568
// -12 (was 6331): the `http.server` decision-table row dropped a trailing
565569
// clause that taught `contributes.routes` as a key that "parses but serves
566570
// nothing". The key is retired — an authored entry is now REFUSED, carrying

‎skills/objectstack-ai/SKILL.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,10 @@ the **Longest passage** setting (`knowledge.chunk_target`, else 800); the
340340
embedder's input limit can lower it. Adjacent pieces shorter than `minChars`
341341
(default 200) are merged in `recursive` text and in a `markdown` section that
342342
does not fit; a section that fits stays whole whatever `minChars` is. Changing
343-
`split` re-splits a document only when it next changes.
343+
`split` rebuilds the source's whole index, and its searches are refused until
344+
the rebuild finishes.
344345

345-
Retired and refused: the `knowledge.chunk_overlap` setting (`400 UNKNOWN_KEY`;
346+
Retired: the `knowledge.chunk_overlap` setting (`400 UNKNOWN_KEY`;
346347
passages never overlap) and `KnowledgeChunk.metadata` (parse error; a passage
347348
takes its document's `metadata`).
348349

0 commit comments

Comments
 (0)