Repository navigation
docs(skills): objectstack-ai teaches that a markdown section that fits maxChars is one passage - #38466
docs(skills): objectstack-ai teaches that a markdown section that fits maxChars is one passage#38466objectstack-fleet[bot] wants to merge 4 commits into
Conversation
…s maxChars is one passage The Splitting (`split`) block of skills/objectstack-ai/SKILL.md follows the splitter as landed in f19ee34: under `split.strategy: 'markdown'` a section that fits `maxChars` with its heading path is one passage, and `minChars` merges only the pieces of `recursive` text and of a `markdown` section that does not fit. Three restatements are cut in the same block. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
…gest passage" The settings label of `knowledge.chunk_target` is renamed to "Longest passage" by a sibling change; the skill's Splitting block names the setting by that label. This line is true once that change is on main. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
…urement (7200 -> 7240) Backup of the row move the Splitting-block wording owes under the standing skills ratchet path (cut restatement first, raise by the measured remainder). Held on a no-PR branch: the row file is outside the claim's file surface. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Contract-review-claim: session_01FEkQ5oQLfL8thb6wtUHnTb · head 924f830 · 2026-11-29T04:05Z Face: governed rules text ( |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Final green head for L1: 924f830. CI on this head: 31 success and 18 expected skips, none failed; mergeable clean. 3 files: the skill's Splitting block, the token-ratchet row 7200 → 7240 (widening record 7250198232, standing ruling 6513306068), and a patch changeset on |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-ai37000) · read 2026-11-29T04:11Z · Head-sha: This is the first L1 record on this PR, a full review. Checklist (l1-face
My readings
Accepted (no action): the stray backup branch Owed before landing: #38468 lands first, and the contract review on this head (running) comes back. Then the seat lands it (Tier H). |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Contract reviewServed-tier: PR #38466 (card #38442), three files: Check-runs on the head: 49 runs, every one ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Holds:
S1 (should-fix) — N1 (nit) —
Open on this head: S1. The delta review reads the S1 fix and the measured row, nothing else. Implemented-by: VERDICT: FAIL |
…ource'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
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Contract-review-claim: session_01FEkQ5oQLfL8thb6wtUHnTb · head 3fbae96 · 2026-11-29T04:33Z Face: delta on the round-1 FAIL (7250515767), governed rules text ( |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Contract review (delta)Served-tier: Delta on the round-1 FAIL (record 7250515767, head Check-runs on the head: 49 runs; 31 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1: closed. SKILL.md:342-344 now reads "Changing
The reading that broke in round 1 no longer breaks. An author who takes "Retired and refused:" is now "Retired:" (SKILL.md:346). No fact is dropped: the same sentence still gives The whole block read once more on the head (SKILL.md:325-348): the signature line, the three strategy bullets, the N1 (nit), from round 1: unchanged and still accepted as written. N2 (nit) —
N3 (nit) — No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Final green head for delta L1: 3fbae96. CI on this head: 31 success and 18 expected skips, none failed. The rework closes S1 of the CONTRACT_REVIEW_TIER FAIL 7250515767: the split sentence now says a changed split rebuilds the source's whole index and its searches are refused until the rebuild finishes; one more cut ("Retired and refused:" → "Retired:"); the token-ratchet row moves 7240 → 7248 at the measurement (widening record 7250198232, standing ruling 6513306068); net skill lines +2, at budget. Delta contract review at CONTRACT_REVIEW_TIER: claim 7250728152, record 7250761688 PASS on this head (S1 closed; N1–N3 nits accepted). Dev report: card #38442 comment 7250701882. Landing order: after PR #38468 (#38290), which renames the settings label the skill names. Tier H ( |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-ai37000) · read 2026-11-29T04:38Z · Head-sha: This is a delta from my ACCEPT 7250510810 at
Owed: nothing from L1. #38468 lands first, then the seat lands this one (Tier H). |
Requested by Leehom · project thread
Fixes #38442
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
skills/objectstack-ai/SKILL.md, the Splitting (split) block only. The words follow the splitter as merged in f19ee34 (thesplitdocblock inpackages/spec/src/ai/knowledge-source.zod.tsandcontent/docs/protocol/knowledge.mdx§3.5), ruling A on #38351 (record 7247322956).markdownbullet. Adds: "A section that fitsmaxCharswith that path is one passage; one that does not is cut asrecursivecuts."minCharssentence. Was "Adjacent pieces shorter thanminChars(default 200) are merged." Now: "… are merged inrecursivetext and in amarkdownsection that does not fit; a section that fits stays whole whateverminCharsis." No step that setsminCharsequal tomaxCharsis taught (item 6 of the ruling). No new example.splitre-splits a document only when it next changes.", which is false: the resolved split is part of the index fingerprint (content/docs/protocol/knowledge.mdx§3.5, "A split change is a new index"). Now: "Changingsplitrebuilds the source's whole index, and its searches are refused until the rebuild finishes."knowledge.chunk_target. ⚠ That line is true only once PR docs(knowledge): one passage per unit recipe, and the settings page names chunk_target the longest passage #38468 (the PR of service-knowledge: no split that keeps one passage per article; short articles are merged and tables lose the note after them #38290; it renames the label to "Longest passage (characters)") is onmain: this PR lands after PR docs(knowledge): one passage per unit recipe, and the settings page names chunk_target the longest passage #38468. Onmaintoday the label still reads "Target chunk size".splitis written" (the signature and the omitted-splitclause say it); "never truncated" (thewholebullet's "removed from the index and reported" says it); the "and refused" of "Retired and refused" (the400 UNKNOWN_KEYand the parse error beside it say it).scripts/check-skills-token-ratchet.mjs, theskills/objectstack-ai/SKILL.mdrow only: 7200 to 7248, pinned at the measurement, with the arithmetic in the row's comment (commits 924f830 and 3fbae96)..changeset/38442-skill-markdown-fitting-section.md,@objectstack/skillspatch.skills/**ships as@objectstack/skills(its build copies the tree intodist/), so the diff publishes and takes noskip-changeset.Size readings (lines, bytes, ratchet tokens)
skills/objectstack-ai/SKILL.mdskills/*/SKILL.mdTokens are the ratchet's own count,
ceil((bytes - 27 stamp-line bytes) / 4).The token ratchet: restatement cut first, the row raised by the measured remainder
Headroom on
mainwas 0 (7200 of 7200). The four cuts above pay 79 bytes; the new teaching costs 269; the remainder is +190 bytes, +48 tokens. The row moves 7200 to 7248 under the standing ruling 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B), by the measured remainder only. Arithmetic in priced bytes (the 27-byte stamp line excluded): 28800 onmain, 28990 here,ceil(28990 / 4) = 7248.File surface: the claim named the skill file only. The row and the changeset were added by the seat's widening record 7250198232 on the card.
Tests
Prose and one ratchet row: no behaviour changes, so no test and no ablation. Local gates on head 3fbae96, the 67 commands
dispatch-gates.mjs --commandsderives, each exit code read before any pipe:check-skills-token-ratchet.mjs("skills/objectstack-ai/SKILL.md 7248 / 7248 (+0)", "ratcheted (authored) 200939 / 200939 (+0)") and its--self-test("111 cases pass"),check:ratchet-remedy-authority,check:pm-dispatch-gates,check-self-test-wired.mjs,@objectstack/spec check:skill-docs,check:skill-links,check:skill-identifier-liveness,check:skill-compatibility,check:skill-frame-sync,check:pm-skill-id-lint,check:doc-authoring,check:nul-bytes,check:published-files,check-empty-changeset.mjs,check-changeset-no-major.mjs,check-adr-0087-registration.mjs.@objectstack/lint check:doc-formula-expressions,check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content.dispatch-gates.mjs --ran: 67 derived, 67 run, 0 unrun.--self-test(above). The one test file that names the script,packages/spec/scripts/platform-catalog.test.ts, names it in a comment and does not exercise it; not run.Acceptance notes
markdownbullet): done. Item 2 (theminCharssentence): done. Item 3 (no new example; duplicates cut first): done: the cuts come first and the measured remainder raises the row (section above).maxChars" is the card's wording. The block's next paragraph already says the embedder's input limit can lowermaxChars, which is the token budget of the spec text; nothing the spec and the protocol page do not say is taught.claude/issue-38442-skill-markdown-fitting-section-wipcould not be deleted from the dev container (403) and waits for a hand with delete rights.Verification
skills/objectstack-ai/SKILL.mdlines 325-346 (the whole diff of the skill), besidecontent/docs/protocol/knowledge.mdx§3.5, themarkdownrow. Riskiest hunks: theminCharssentence and the split-change sentence after it (beside §3.5, "A split change is a new index").node scripts/check-skills-token-ratchet.mjsexits 0 and prints "skills/objectstack-ai/SKILL.md 7248 / 7248 (+0)".🤖 Generated with Claude Code