Repository navigation
Description
repo:objectstack#8 · sunhaolin · session_017xRBcSSm1UGomShRsemA1N
Filing gate: ② a decision only the maintainer can make (topic child). Source: topic #38346 (opened on the maintainer's words quoted there).
Grading: area:ai · Feature · p3 (dispatched in the topic's order, not by grade) · reach: every source on split.strategy: 'markdown' · evidence: measured on main 600197a against a real 4,224-document corpus (BrightRule, private), and read from the code.
Blocked-by: #38349
维护者速读
- 问题:用知识检索查长文档(制度、合同、手册)时,一条条文或一个小节明明放得下一段,却常被切成两三段,检索命中的只是半条。
- 选项:A 把「放得下的最小章节整节一段」做成默认行为,所有用标题切分的知识源都受益,一个小改动,已有索引重建一次;B 不改代码,只在文档里教作者把合并阈值设成和最大长度一样。
- 推荐:待决策线程按四轴写(本卡只给证据)。
- 不定会怎样:默认配置下,约十五分之一的条文被拆开,作者不知道要改哪个配置。
What
In the markdown strategy each section is split on its own (packages/services/service-knowledge/src/split/splitter.ts, splitMarkdown and withPrefix), and pieces inside a section are merged only while the running piece is shorter than minChars (default 200; mergeShort). A leaf section that fits maxChars but holds several paragraphs of 200+ characters is therefore cut into several passages.
Measured, with every numbered article written as a heading (the shape the docs recipe in #38290 will teach):
minChars |
passages | articles split though the whole article fits 800 chars | mixed passages |
|---|---|---|---|
| 200 (default) | 69,274 | 1,569 of 37,901 | 0 |
800 (= maxChars) |
59,862 | 0.2% (independent re-measure) | 0 |
On documents whose units are NOT headings, minChars = maxChars makes passages coarser (51,435 → 34,353 passages; mixed passages rise from 74% to 86% by the independent re-measure), because a section then holds several units.
Options (for the decision thread)
- A: default behaviour: in
markdown, a leaf section that fitsmaxChars(and the token budget) is one passage;minCharskeeps its meaning for sections that do not fit. One strategy version bump, shared with service-knowledge: the markdown split drops body-less headings and files them under the wrong chapter #38350 when both land in one train. Everymarkdownsource rebuilds once. - B: no code change: document
minChars = maxCharsas the recipe for one-passage-per-unit; the default stays.
Decision owed
Analysis (four axes, facets block, prior-rulings line, workload precedents) is owed by a decision thread, requested through repo:objectstack#8. Not dispatched before a ruling is recorded here.
Reader
repo:objectstack#8, zone knowledge-split, after the ruling and triage's first touch.
Dedupe: minChars 5 (#38290 open, the parent ask; others closed or unrelated) · leaf section one passage 0.
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/services/service-knowledge/src/split/splitter.ts(splitMarkdown,mergeShort) · area:ai · domain:server · Feature · p3 · needs-user-decision (as filed) ·Blocked-by: #38349. Note for the decision thread: the same mechanism as #38290 (the external report asking for one passage per article, also in this topic and in the decision box). Analyse the two together. A ruling here likely answers #38290's option 2, and #38290's measured corpus (28 articles → 10 passages; 84% → 94%) is evidence for this card.Path: none
Recorded 2026-11-28T14:46Z.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8
Decision analysis · 2026-11-28T23:15Z · fable tier (CONTRACT_REVIEW_TIER). An independent subagent of seat 8 wrote it, read on origin/main
bc31d453. Posted unchanged except the opening line and the scratchpad path. The decision thread this card asked for.维护者速读
Background
The
markdownsplit strategy cuts one section per heading, then cuts each section asrecursivedoes, and merges neighbouring pieces only while the running piece is underminChars(default 200). A section that fitsmaxChars(default 800) but holds several paragraphs of 200+ characters therefore becomes several passages.minChars = maxCharsthat drops to 0.2%.markdownversion anyway) and by service-knowledge: no split that keeps one passage per article; short articles are merged and tables lose the note after them #38290 (the external ask, whose docs PR waits on this ruling).19.0.0-next.*in the package changelog; stable18.6.0does not have it.Governing text
packages/spec/src/ai/knowledge-source.zod.ts:96-97: "markdown— one section per heading; each passage carries its heading path". The published spec does not say a fitting section may be cut.:116-118(minChars): "Adjacent pieces shorter than this are merged, up to this length (recursiveandmarkdown). A value above the effectivemaxCharsreads asmaxChars. @default 200".content/docs/protocol/knowledge.mdx:575: "One section per heading …, each cut asrecursivecuts." This is the docs face, and the only text that describes today's behaviour.content/docs/ai/knowledge-rag.mdx:258: "markdowncuts one section per heading".docs/adr/0161-…md:270-271): the split algorithm version "changes when the splitter gives different passages for the same text and settings". K8 item 10 (:317) fixes where thesplitkey lives; the ADR defers strategy rules to service-knowledge: one service-layer splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key #37098 (:111).Protocol declaration
Clause-②: no(no accepted key or value is added, no public surface widens).Metadata-protocol: semantic, because the meaning ofstrategy: 'markdown'and ofminCharsunder it changes for the same written metadata (AGENTS.md Post-Task Checklist step 3: "a changed meaning or default issemantic").minorchangeset on the moved package.packages/spec/src/**docblocks (zod.ts:96-97,:116-121;knowledge-source.metadata-form.ts:96help text), so it touches a governed surface: regenerated spec artifacts, a contract-tier L2 review, and aSkills-docs:line.knowledge.mdx:575and the ADR-0161 wording note follow.Clause-②: no,Metadata-protocol: none. Docs only.Premises (each with a re-check)
splitMarkdownbuilds flat sections (splitter.ts:493-514);withPrefixcallssplitRecursive(body, left, Math.min(minChars, left.maxChars))(:561). Re-check:git show origin/main:packages/services/service-knowledge/src/split/splitter.ts | sed -n 488,565pminChars.mergeShort'sjoinablerequiresinto.text.trim().length < minChars && fits(...)(:237-240). Re-check: same file,sed -n 233,269pminCharsis clamped tomaxChars.:49,:52,:108. Re-check:git grep -n "DEFAULT_SPLIT_M" origin/main -- packages/services/service-knowledge/src/split/splitter.tsstrategy,maxChars,minChars, the token budget, and one globalSPLIT_ALGORITHM_VERSION(knowledge-index-fingerprint.ts:95-103;splitter.ts:65). A mismatch reads asnew-fingerprintand the index is "built anew" (knowledge-service.ts:1277-1281); the next reconcile picks it up as a new generation (:2070-2073). Re-check:git show origin/main:packages/services/service-knowledge/src/knowledge-index-fingerprint.ts | sed -n 88,106pminChars, so every source that adopts it also rebuilds once.git grep -n "SPLIT_ALGORITHM_VERSION = " origin/main -- packages/services/service-knowledgegit show origin/main:packages/services/service-knowledge/CHANGELOG.md | grep -n "^## \|one splitter" | headstrategy: 'markdown'; it appears only in docs, one skill eval and a spec form test. Re-check:git grep -n "strategy: 'markdown'" origin/main -- . ':!**/CHANGELOG.md' ':!**/__tests__/**':497-513), so A has to be stated as "a section whose own text, with its heading path, fits".Local-runs: one
noderun of a copy of origin/main'ssplitter.tsandtoken-estimate.tsin the scratchpad, on a seeded synthetic corpus. It is not the private corpus. Shape: 400 documents, 9,116 articles, article length lognormal with median 96 and about 78% under 200,maxChars800. A was emulated per section: theminChars = 800result where that is one passage, otherwise the default result.Embedded characters moved by under 1% in every cell.
The concrete question
When an author picks "split by heading", should a section that fits in one passage always be one passage, or only when the author also knows to raise a second number?
Options × real cost × workload
maxCharsand the token budget is one passage.minCharsis unchanged for sections that do not fit and forrecursive.markdownsource rebuilds once, in the same rebuild #38350 already forces.semantic, minor changeset, L2 contract review. No comparable landed precedent: the only landed splitter PR is #37287 (+2,553/−233, the whole splitter).minChars = maxChars.Business meaning per option
Four axes
① Long-term soundness. In two years the platform's structural split should behave as the mainstream structure-aware splitters do: the document's own units are the passages, and size limits only cut what does not fit.
MarkdownHeaderTextSplitteremits one document per header section with no size cap. Size control is a separate explicit step (RecursiveCharacterTextSplitter), which leaves a fitting section whole.MarkdownNodeParseremits one node per header section. Its defaultSentenceSplitterfills up to the chunk size (1,024 tokens), so a fitting section is one node.chunk_by_titletreats section boundaries as hard and by default combines within a section up to the maximum size.HierarchicalNodeParserwith auto-merging is the analogue of hit expansion, not of this card.SemanticSplitterNodeParserignores structure and is not a model for a heading strategy.Today's default (stop merging at 200 inside a section) is the outlier. B makes it permanent and turns
minCharsinto a hidden switch with a second meaning. A removes a special case and adds no key.② Business pull. Measured and named.
③ AI authoring errors.
split: { strategy: 'markdown' }gets split articles with no error and no signal. The fix depends on remembering to set a second number to the value of the first.splitter.ts:108softens this (any large number works) but makes the recipe a magic number.④ No spread.
Other weights the brief asked for:
markdownrebuild, service-knowledge: the split algorithm version is global, so a change to one strategy rebuilds every source #38349 confines it tomarkdownsources, and the splitter has no stable release. B is not rebuild-free either (premise 4).os-decision-facets
① Long-term soundness: A shrinks a special case (a heading strategy that cuts fitting sections) and adds no contract; B freezes it and gives
minCharsa second, undeclared job.② Business pull: a named external app and a measured 4.1% of fitting articles split at the default; the answer-quality effect is unmeasured until the phase-1 ablation.
③ AI authoring errors: B fails silently for anyone who omits the recipe and coarsens silently when it is misapplied; A makes the plain declaration correct. Neither is a loud rejection.
④ No spread: A adds no key, value, gate or export; B adds a recipe to maintain and keeps the unit-pattern ask alive.
Prior rulings read: minChars, "leaf section", markdown split passage default → 7 / 16 / 22 issue hits, none a ruling on this default (#37098, #37001, #37292, #37309 are closed and concern the splitter's shape; the "leaf section" hits beyond this topic were not opened); ADR-0161 K7 and K8 item 10 (ownership, key location and fingerprint only; strategy rules deferred to #37098); thread: none
Recommendation
A. On ① alone: it is the mainstream default, it matches the published spec sentence, and it removes a special case without adding surface.
Confidence gaps:
withPrefix.只看①选 A;②③④ 是否翻转:否
Post-ruling execution
needs-user-decision; keepBlocked-by: #38349.withPrefixselects fitsmaxCharsand the token budget, including a parent's text before its first child and the text before the first heading.minCharsis unchanged for sections that do not fit and forrecursive.minChars: 0does not opt out.markdownversion bump (after service-knowledge: the split algorithm version is global, so a change to one strategy rebuilds every source #38349), so pre-release deployments rebuild once.Clause-②: no,Metadata-protocol: semantic, a minor changeset, the spec docblock and form help text edits with regenerated artifacts,knowledge.mdx§3.5, the ADR-0161 wording note, and aSkills-docs:line. It gets an L2 contract-tier review.minChars = maxCharsstep, and keepsminCharsdocumented as a merge threshold for sections that do not fit.给席位的三行小结
Files read: splitter.ts, knowledge-index-fingerprint.ts, knowledge-service.ts (service-knowledge), knowledge-source.zod.ts and knowledge-source.metadata-form.ts (spec), knowledge.mdx, knowledge-rag.mdx and ADR-0161, all at origin/main via
git show. The measurement script stayed in the seat's scratchpad.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8
Ruled · 2026-11-28T23:16Z · A: under
split.strategy: 'markdown', a section that fitsmaxChars(and the token budget) is one passage by default, andminCharskeeps its meaning for sections that do not fit.repo:objectstack#8's session, answering the seat's A/B presentation (fable recommends A, analysis in the comment above): 「service-knowledge: a markdown section that fits maxChars is still cut into several passages #38351 同意」.Blocked-by: #38349: live check, closed as completed (PR fix(service-knowledge): read the split algorithm version per strategy #38375). The block is met.needs-user-decision→pm:queue. Grade, area and domain are unchanged.repo:objectstack#5. Topic Topic: knowledge splitting and retrieval for any content, phases 0–2 (no lost text, one passage per unit, passages that carry their context, hits a model can use) #38346 and its cards were handed to seat 5 by the maintainer (handover record 7247291990 on Topic: knowledge splitting and retrieval for any content, phases 0–2 (no lost text, one passage per unit, passages that carry their context, hits a model can use) #38346).withPrefixselects. That includes a parent's text before its first child, and the text before the first heading.minCharsis unchanged for sections that do not fit, and forrecursive.minChars: 0is not an opt-out.markdownalgorithm version change per release train. service-knowledge: the markdown split drops body-less headings and files them under the wrong chapter #38350 (PR fix(service-knowledge): the markdown split keeps every heading with no body, under its own path #38380) already movedmarkdown1→2 in the unreleased19.0.0-nexttrain. If no release has cut since, A rides that version and does not add a third: read the published changelog at claim.Clause-②: no·Metadata-protocol: semantic. A minor changeset. The spec docblocks and form help text change, with regenerated artifacts. Also owed:knowledge.mdx§3.5, the ADR-0161 wording note and aSkills-docs:line. L2 at contract tier.minChars = maxCharsstep.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
Claim: PM loop round 1 · 2026-11-29T00:56Z
Session:
session_01FEkQ5mCvGQKiCEBneFwp1jAccount:
os-project-managerBranch:
claude/issue-38351-markdown-fitting-sectionWorktree:
objectstack-issue-38351Domain:
domain:serverSeat:
repo:objectstack#5Area:
o5-ai37000File surface:
packages/services/service-knowledge/src/split/**and its tests underpackages/services/service-knowledge/src/__tests__/, thesplitdocblocks inpackages/spec/src/ai/knowledge-source.zod.ts, theminCharshelp text inpackages/spec/src/ai/knowledge-source.metadata-form.tswith the spec artifacts they regenerate,content/docs/ai/knowledge-rag.mdxandcontent/docs/protocol/knowledge.mdxsection 3.5, one minor changeset (stop on breach; explain in the report)Container & model: M, mode:thread (card thread of area o5-ai37000; it dispatches one os-dev subagent), model: default (dispatch-gates --tier at 3579cf1, Model tier — no path-derived mandate; floor sonnet · default opus · ceiling fable; ruling implementation with design judgement on "fits", so not floor), effort: high (the "fits" reading includes the heading-path prefix withPrefix selects and the token budget)
Clause-②: no
Metadata-protocol: semantic
Responsibility: n/a — not a defect card
Ruling-ref: 7247322956 — A, maintainer verbatim 「#38351 同意」: "under
split.strategy: 'markdown', a section that fitsmaxChars(and the token budget) is one passage by default, andminCharskeeps its meaning for sections that do not fit."Thread-read: 7247322956
Premise: holds at 3579cf1 —
withPrefixpasses each section body tosplitRecursive(body, left, Math.min(minChars, left.maxChars))(splitter.ts:652), andmergeShortjoins a piece only while the run is shorter thanminChars(splitter.ts:267), so a fitting section with several 200+ character paragraphs is cut;SPLIT_ALGORITHM_VERSION_BY_STRATEGYreadsmarkdown: 2and.changeset/38350-markdown-bodyless-headings.mdis still pending (not in the published 19.0.0-next.2 changelog), so this card ridesmarkdown: 2and adds no version bumpSerial constraints cleared:
#38349 (PR #38375) and #38350 (PR #38380) merged; #38383 merged; no open PR touches packages/services/service-knowledge/src/split (search, 3579cf13); sibling #38377 (retire SPLIT_ALGORITHM_VERSION, same file, another hunk) is unclaimed with no PR — overlap-check runs before every push, queue only on a real merge-tree conflictFold-or-serial: not folded with #38377 — fold gate ① fails (a behaviour change under a ruling and a constant retirement narrowing are not one defect shape) and gate ② fails (different L2 faces and changeset kinds); #38290 (docs recipe) follows this card's merge.
Pre-claim lane:
packages/services/service-knowledge/src/split⇒ domain:server; spec docblocks and form help text ⇒ domain:spec; docs ⇒ domain:devx (file ownership only); all stay in this seat per area-lease 留道; in lane.Pre-claim deps:
Blocked-by: #38349closed as completed (PR #38375 merged ba33ea2); #38350 merged (PR #38380, 9b783ee).Prior rulings read: this card's ruling 7247322956 (A, with execution reading items 1–6 under the maintainer's veto window); check-prior-rulings on the surface: 24 hits, surface ruling grep 0; the ADR decision hits (ADR-0019, 0006, 0021, 0076, 0079, 0093, 0094) are keyword matches on "section"/"fits" — only ADR-0161 names the splitter in docs/adr (K7: the version changes when passages change, honoured by riding
markdown: 2); no conflict.Skills-docs: follow-up owed — skills/objectstack-ai/SKILL.md (the
markdownandminCharslines); the area files the card before ACCEPT.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
os-dev-report
{ "issue": 38351, "status": "done", "branch": "claude/issue-38351-markdown-fitting-section", "pr": "https://github.com/objectstack-ai/objectstack/pull/38439", "session": "session_01FEkQ5mCvGQKiCEBneFwp1j", "premise_still_valid": true, "summary": "Under split.strategy 'markdown', withPrefix now returns a section as one passage when its emitted passage (the prefix withPrefix selects, unchanged, plus the trimmed text) fits maxChars and the token budget, whatever minChars is; the path-less branch (text before the first heading) takes the same rule, and a parent's text before its first child is covered because it is already its own section. Sections that do not fit go through splitRecursive unchanged and are byte-identical to before (measured: 20,000 random docs, 162,790 sections identical, 7,735 now one passage, 0 other differences). 'Fits' is judged on the emitted passage, not on body vs the bounds left after the prefix: estimateTokens rounds up per text, so the emitted check is the looser of the two by at most one token and is exactly the passage bound the splitter promises (pinned by a test). markdown stays at version 2 (38350's changeset still pending at base d751790c; npm next = 19.0.0-next.2). Spec docblocks, the minChars .describe, the form help text, the regenerated reference page, knowledge.mdx 3.5 and knowledge-rag.mdx restate the ruling; changeset is minor for service-knowledge and spec. Card assignee untouched.", "tests": "head 4723a4fe. Red first, on the unmodified splitter: `vitest run src/__tests__/split.test.ts -t 'fits is one passage'` -> Tests 8 failed | 3 passed (the 3 pin unchanged behaviour). After: `pnpm --filter @objectstack/service-knowledge test` -> Test Files 21 passed (21), Tests 737 passed (737), lock VERDICT command-exit 0; `pnpm --filter @objectstack/service-knowledge typecheck` -> tsc clean, check:test-typecheck OK 0 errors; spec `vitest run src/ai/knowledge-source.metadata-form.test.ts src/ai/knowledge-source.test.ts` -> 2 files, 42 passed; `pnpm --filter @objectstack/spec typecheck` exit 0. Golden headings.markdown unchanged. Corpus (seeded synthetic, 400 docs/shape, maxChars 800): heading-shaped default before 6,814 passages, 0% mixed, 261/6,018 fitting split (4.34%), table+note 209/251 -> after 6,537 passages, 0% mixed, 0/6,018 (0%), 251/251; non-heading (bold units under chapters) before 4,245 passages, 59.22% mixed -> after 3,951 (-6.9%), 59.68% (+0.46 pt). Hypothesis 5 (0.2% residual under the minChars=maxChars recipe) not reproduced: 0 on synthetic.", "gates": "local, head 4723a4fe: `dispatch-gates.mjs --commands` (merge base d751790c, 8 paths) -> 114 commands run, each exit captured before any pipe; 110 exit 0; 4 exit 3 PREREQUISITE NOT MET = NOT MEASURED (check-plugin-teardown-shape --self-test: shallow clone; spec check:skill-examples, check:dual-build-cjs-loads, check:i18n: full workspace build absent); `dispatch-gates.mjs --ran` -> '114 derived famil(ies) accounted for — 110 run, 4 NOT-MEASURED', exit 0. `pnpm --filter @objectstack/spec check:generated` -> 1 of 14 stale (check:docs), fixed with --fix, re-committed; authorable-surface.base.json untouched. `overlap-check.mjs --branch=HEAD` -> VERDICT clean exit 0 (merges cleanly, 0 overlapping PR heads). Local-only check:dev-prereqs scan -> exit 1, workspace not fully built (32 packages without dist) — a reading about this container, not the diff. CI check-runs on PR #38439: NOT MEASURED, reason: report delivered at PR open per os-dev.md, CI not awaited.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/38439/assignees), run 46212764645; plus this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/38351/comments). git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #38377 (edits the same constant block) · noted, not filed — the `markdown: 2` entry comment in SPLIT_ALGORITHM_VERSION_BY_STRATEGY names only the body-less heading change; left untouched here to avoid a hunk conflict; this PR changeset records that version 2 carries both changes" ] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
os-dev-report
Patch round 1 delta (head c645c31).
{ "issue": 38351, "status": "done", "branch": "claude/issue-38351-markdown-fitting-section", "pr": "https://github.com/objectstack-ai/objectstack/pull/38439", "session": "session_01FEkQ5mCvGQKiCEBneFwp1j", "premise_still_valid": true, "summary": "Patch round 1 (CI red on check:i18n, plus L2 FAIL record 7249205899). New head c645c319, two commits on 4723a4fe. Main not merged. Commit 9aeceaa2 is M1: one regenerated file, en.metadata-forms.generated.ts (the minChars helpText leaf only), written by `node scripts/check-i18n-bundles.mjs --write`, the generator check:i18n names in its own failure text. The regen changed no source-hashes file. Commit c645c319 has three parts. S1: the zh-CN, ja-JP and es-ES minChars helpText leaves are re-translated by hand in their *.metadata-forms.generated.ts files. AGENTS.md says translated-locale values in those bundles are hand-written, so editing them is allowed. Those leaves have no entry in the generated source-hashes files, so they are trusted as legacy and no hash is owed. Changeset: '@objectstack/platform-objects': minor added. Precedent 37309 is patch with Metadata-protocol none, and AGENTS.md step 3 says a semantic kind takes at least minor on every package it moves; all three packages are in one fixed group. N2: the zod `markdown` docblock now says 'its text together with the heading path it is given (the whole path, or the innermost heading when the whole path is too long)'. knowledge.mdx 3.5 and knowledge-rag.mdx make the same claim and are aligned the same way. The .describe string and the form help text make no heading-path claim, so they are unchanged and nothing regenerated. N1 is left to #38377. Noted, not fixed (pre-existing): the minChars helpText in ar, de, fr, ko, pt-BR, ru and zh-Hant is an English copy of an older sentence that lacks 'In characters. Needs a strategy.'. The PR body was not edited (os-dev.md: subagents write it only at pr_create), so its 'Local runs' block still reads head 4723a4fe.", "tests": "Reproduced red at 4723a4fe, after building the closure check:i18n names (turbo build of cli, platform-objects and 9 plugins/services under os-verify-lock, Tasks 70 successful, VERDICT command-exit 0): `pnpm check:i18n` exit 1, 'platform-objects DRIFTED (1)', 'check-i18n-bundles: 1 bundle problem(s) · platform-objects: 1 bundle(s) drifted from the schema'. Green at c645c319: `pnpm check:i18n` exit 0, 'platform-objects in sync (32 bundle(s))', 'check-i18n-bundles: OK (10 package(s) — all bundles in sync, no undeclared authoring keys)'. `pnpm check:i18n-stale-fill` exit 0, 'no new stale fills, 1 baselined'. `pnpm --filter @objectstack/platform-objects exec vitest run src/apps/translations`: Test Files 28 passed (28), Tests 625 passed (625). Splitter and service-knowledge results from round 0 still hold: no service-knowledge file changed in this round.", "gates": "At c645c319: `pnpm --filter @objectstack/spec build && check:generated` gave '✓ All 14 generated artifacts are up to date', VERDICT command-exit 0. Re-derived `dispatch-gates.mjs --commands` gives 118 commands; 4 are new (spec check:error-code-provenance, check:i18n-stale-fill, check:optional-error-sink, check:settings-bind-window). Re-run at c645c319: those 4 plus 27 doc, changeset, nul-bytes and closing-keyword families, 31 commands, all exit 0. check:i18n now exit 0. `--ran` over the merged record: '118 derived famil(ies) accounted for — 115 run, 3 NOT-MEASURED' (exit 3, prerequisite not met: check-plugin-teardown-shape --self-test needs a full clone, spec check:skill-examples and check:dual-build-cjs-loads need a full workspace build). The other 84 families were measured at 4723a4fe, and this round touched none of their inputs except bundle and docs files whose families were re-run. `overlap-check.mjs --branch=HEAD`: VERDICT clean exit 0; merges cleanly with origin/main 0c1b2ffe and with PR #38421, which shares the 4 bundle files. CI on c645c319: NOT MEASURED, because the report is delivered at push.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "1 this round — the os-dev-report delta comment on #38351 via post-stamped.mjs over the relay (POST /repos/objectstack-ai/objectstack/issues/38351/comments). git push not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
Execution reading item 4 of ruling 7247322956, "the ADR-0161 wording note": none owed. Recorded by the card thread on area o5-ai37000's reading.
maxChars/minCharskeys and say the version "changes when the splitter gives different passages for the same text and settings".markdownmoved 1 to 2 in this unreleased19.0.0-nexttrain (service-knowledge: the markdown split drops body-less headings and files them under the wrong chapter #38350), and service-knowledge: a markdown section that fits maxChars is still cut into several passages #38351 rides that move under the topic's one-bump-per-train rule (Topic: knowledge splitting and retrieval for any content, phases 0–2 (no lost text, one passage per unit, passages that carry their context, hits a model can use) #38346). The last published release still carriesmarkdown: 1, so the version does change between two releases whose passages differ.main, never a pure note (pm-dispatch execution-duties, ADR rows). So no ADR card is filed and PR feat(service-knowledge): under the markdown split, a section that fits is one passage #38439 touches nodocs/adr/**.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
Delivered: PR #38439 merged as f19ee34;
Fixes #38351closed this card as completed.pm:dispatchedremoved in this stroke.split.strategy: 'markdown', a section that fitsmaxCharsand the token budget (with the heading-path prefix it is given) is one passage, whateverminCharsis; sections that do not fit give the same passages as before. Ridesmarkdown: 2(no second bump). Spec docblocks, form help text, Setup bundles (en regenerated; zh-CN, ja-JP, es-ES re-translated),knowledge.mdx3.5 andknowledge-rag.mdxrestate ruling A (7247322956).Blocked-by: #38351, now unblocked); N1 note on review follow-ups of PR #38375 #38377 (7249429872); service-knowledge: no split that keeps one passage per article; short articles are merged and tables lose the note after them #38290 docs recipe follows this ruling.