Repository navigation
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Description
repo:objectstack#8 · sunhaolin · session_017xRBcSSm1UGomShRsemA1N
Filing gate: L1 follow-ups of PR #38375 (the per-PR review follow-ups card, one card for every item the L1 record named). Source: topic #38346.
Grading: area:ai · Task · p3 · reach: package consumers reading the published constant; readers of ADR-0161 K7 · evidence: read in PR #38375's diff at head 49bcd52.
维护者速读
- 做什么:收尾 PR fix(service-knowledge): read the split algorithm version per strategy #38375 留下的两件小事:撤掉一个已经没人读取的公开常量;在知识平台架构决策记录里补一条“切分版本按策略计”的修订记账。
- 为什么:声明了却不生效的东西会误导作者和 AI;决策记录要和代码一致。
- 影响:撤常量属于收窄公开面,按收窄走审批;记账只改文字。
- 要你做的:无。
Items
- Retire
SPLIT_ALGORITHM_VERSION. After PR fix(service-knowledge): read the split algorithm version per strategy #38375 the index fingerprint readsSPLIT_ALGORITHM_VERSION_BY_STRATEGY; the publishedSPLIT_ALGORITHM_VERSION(packages/services/service-knowledge/src/split/splitter.ts, re-exported atpackages/services/service-knowledge/src/index.ts) is read by no runtime code, only by its re-export and a pin test. Stage posture: a retirement takes effect at once, no alias. A narrowing of the package's published surface:Clause-②: no, one contract-review-tier review before the queue, a changeset that names it. Touchessrc/index.ts, which PR feat(service-knowledge): each source's sync state is one durable record, the same on every node #38307 (card service-knowledge: each source's sync state is one durable record, the same on every node — last build, pending and failed syncs — listed in Setup, and the reconcile clears the failures it repaired #37736) edited; it has landed, so no queue is owed, re-check with the overlap tool at claim. - ADR-0161 K7 revisions row. K7's components table says "Split algorithm version | a constant the splitter exports; it changes when the splitter gives different passages for the same text and settings". PR fix(service-knowledge): read the split algorithm version per strategy #38375 reads it per resolved strategy (the strategy is part of the settings). Record it as a row on the open "ADR revisions, week of …" card (or open next week's if none): ADR-0161, K7 components table, what it says, what is true now, landing PR fix(service-knowledge): read the split algorithm version per strategy #38375 (
carrier:PR fix(service-knowledge): read the split algorithm version per strategy #38375).
Reader: repo:objectstack#8, zone knowledge-split, after triage's first touch.
Dedupe: review follow-ups of PR #38375 0 · SPLIT_ALGORITHM_VERSION 0 open.
Metadata
Metadata
Assignees
Labels
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/services/service-knowledge/src/split/splitter.tsandsrc/index.ts(retireSPLIT_ALGORITHM_VERSION), plus one ADR-0161 K7 revisions row · area:ai · domain:server · Task · p3 · pm:queue · size XS. Rationale: the review follow-ups card of PR #38375 (merged at 2026-11-28T17:23Z), the one card per PR that L1 follow-ups take. The retirement narrows a published constant that no runtime code reads (stage posture: at once, no alias). It needs a changeset and one contract-review-tier review. The ADR row isdocs/adr/**: under the file-surface split it is its owndomain:skillscard, unless the #38367 ruling says otherwise. The dev lands the code half and reports the ADR half for the seat to file.Path: none
Recorded 2026-11-28T17:42Z.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5omA3kZCsWzBMMqF11
Claim: PM loop round 1 · 2026-11-29T00:57Z
Session:
session_01FEkQ5omA3kZCsWzBMMqF11Account:
os-project-managerBranch:
claude/issue-38377-retire-split-algorithm-versionWorktree:
objectstack-issue-38377Domain:
domain:serverSeat:
repo:objectstack#5Area:
o5-ai37000File surface:
packages/services/service-knowledge/src/split/splitter.ts,packages/services/service-knowledge/src/split/index.ts,packages/services/service-knowledge/src/index.ts,packages/services/service-knowledge/src/__tests__/index-fingerprint.test.ts, the package's API-surface baseline and ADR-0087 changeset disposition if a gate names them, one changeset.changeset/38377-retire-split-algorithm-version.md(stop on breach; explain in the report). Item 2 (the ADR-0161 K7 revisions row) is not in this file surface: it goes on the open weekly ADR revisions card at landing (carrier:PR #38375).Container & model: S, mode:subagent, model: default (dispatch-gates --tier at 3579cf1, "Model tier — no path-derived mandate"; a removed published export with a narrowing declaration carries judgement, so not floor), effort: medium (XS retirement of one constant, gates judge it)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7243233288
Premise: holds at 3579cf1 —
SPLIT_ALGORITHM_VERSIONis declared atsplitter.ts:68, re-exported bysrc/split/index.tsandsrc/index.ts:23, and read elsewhere only bysrc/__tests__/index-fingerprint.test.ts:53; the fingerprint readsSPLIT_ALGORITHM_VERSION_BY_STRATEGYsince PR #38375 (merged)Serial constraints cleared:
check-handover --inflight clear for the four paths at 3579cf13; PR #38307 (card #37736, edited src/index.ts) merged; sibling #38351 edits another hunk of splitter.ts: no open PR at this read, overlap-check before every push, queue only on a real merge-tree conflict; not folded with #38351 (landing tiers differ: this card is a narrowing)Pre-claim lane:
packages/services/service-knowledge⇒ domain:server (file ownership only); in lane.Pre-claim deps: none named by the card; PR #38375 and PR #38307 merged.
Prior rulings read: check-prior-rulings on the surface: 0 ruling hits (无裁决); card-term hits are generic ADR text (review, follow-ups), none on this constant; #38367 (open, ADR text and gate in one PR) touches only item 2, which this PR does not carry.
Narrowing: removes a published export of
@objectstack/service-knowledge; PR body and changeset declareClause-②: no (narrowing); full dogfood run at the final head; one contract-review-tier review on the final head; lands through the seat (four pieces), not by this area.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5omA3kZCsWzBMMqF11
os-dev-report
{ "issue": 38377, "status": "done", "branch": "claude/issue-38377-retire-split-algorithm-version", "pr": "https://github.com/objectstack-ai/objectstack/pull/38452", "session": "session_01FEkQ5omA3kZCsWzBMMqF11", "premise_still_valid": true, "summary": "Card item 1 only: SPLIT_ALGORITHM_VERSION is deleted from splitter.ts with both re-exports (split/index.ts, src/index.ts), at once with no alias. The per-strategy table docblock no longer links the retired symbol: it says every entry started at 1, the one split version the fingerprint read before the table. The fingerprint pin keeps INDEX_FINGERPRINT_VERSION and ASSEMBLY_RULE_VERSION, and a new case pins the absence on the split barrel and the package entry, with a positive control. The patch changeset carries Clause-②: no (narrowing), Metadata-protocol: none, a BREAKING banner, a FROM/TO table and the ADR-0087 not-required (runtime-export-retired) marker. Area-ordered addition: the markdown: 2 entry comment now names both changes version 2 carries; the second is true only once PR #38439 merges. Item 2 (ADR-0161 K7 revisions row) is carried by the lander (carrier: PR #38375); no docs/adr edit. Owed before the queue: one contract-review-tier L2 on the final head f76ba9c9, which the area routes.", "tests": "At final head f76ba9c9, under os-verify-lock: pnpm --filter @objectstack/service-knowledge test gave Test Files 21 passed (21), Tests 727 passed (727). typecheck: tsc --noEmit clean, and check:test-typecheck OK (0 files, 0 errors in debt). VERDICT command-exit 0. The first run at 0c4609e7 was after building the closure with turbo --filter='@objectstack/service-knowledge...': Tasks 20/20, same counts. Ablation, on disk: appending export const SPLIT_ALGORITHM_VERSION = 1 to src/index.ts turned the new case red (1 failed, 8 passed; expected ... to not have property SPLIT_ALGORITHM_VERSION). Restored with git checkout HEAD, porcelain clean.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 0c4609e7: 63 commands, all run, --ran reconciliation 63 derived / 63 run / 0 unrun. 60 exited 0. Three did not. (1) check-adr-0087-registration --base origin/main: exit 1 at 0c4609e7, because the FROM column spelled an import statement. Fixed. Exit 0 at 4fa2f8ee: verified @objectstack/service-knowledge#SPLIT_ALGORITHM_VERSION; the accepted operand spelling is the bare export name in the FROM column. (2) check-plugin-teardown-shape --self-test: exit 3, shallow clone. After git fetch of fixture commit 621a4876: exit 0, 48 cases. (3) check:dual-build-cjs-loads: exit 3, PREREQUISITE NOT MET (needs a full build). NOT MEASURED locally, CI runs it. Re-run at 4fa2f8ee: changeset-no-major, empty-changeset, changeset-gate-self-tests, nul-bytes, doc-authoring, issue-citations all exit 0. nul-bytes exit 0 again at f76ba9c9. check-platform-checklist --changed-from origin/main: exit 0, 0 anchored files. overlap-check before each push: VERDICT clean; at f76ba9c9 it also merges cleanly with #38439. CI check-runs: NOT MEASURED, not converged when this report was written.", "dogfood_battery": "4fa2f8ee · os-verify-lock VERDICT command-exit 0 (held 40m00s) · Test Files 495 passed | 3 skipped (498) · Tests 4183 passed | 68 skipped (4251) · no failures. The final head f76ba9c9 adds one code-comment commit (area-ordered addition) and was not re-run.", "mcp_calls": "0", "api_writes": "3: git push (not REST); relay pr_create = POST /repos/objectstack-ai/objectstack/pulls + POST /issues/38452/assignees (one stroke, read back identical, 7223 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/38377/comments (this report). Labels: 0 writes (changeset present, so no skip-changeset; the order named no labels).", "deviations": [ "Area-ordered addition: the markdown: 2 entry comment in SPLIT_ALGORITHM_VERSION_BY_STRATEGY names both changes; comment only, no value changed; true only after PR #38439 merges.", "Dogfood measured at 4fa2f8ee, not the final head f76ba9c9; the difference is one code comment.", "The ADR-0087 marker is an HTML comment inside the changeset file, as the gate requires; it is not in the PR body." ], "files_changed": [ ".changeset/38377-retire-split-algorithm-version.md", "packages/services/service-knowledge/src/__tests__/index-fingerprint.test.ts", "packages/services/service-knowledge/src/index.ts", "packages/services/service-knowledge/src/split/index.ts", "packages/services/service-knowledge/src/split/splitter.ts" ], "line_budget": "changed lines vs merge base: 38 added / 17 removed at 0c4609e7, plus a 2-line comment at f76ba9c9; under the 3000 threshold", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: PR #38439 (sibling card #38351) · noted, not filed: the PINNED docblock in index-fingerprint.test.ts describes markdown version 2 by the heading change alone; it goes stale when #38439 merges.", "carrier: PR #38375 lander · noted, not filed: card item 2, the ADR-0161 K7 revisions row on the weekly ADR revisions card." ] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mCvGQKiCEBneFwp1j
Scope note for this card, from the contract review of PR #38439 (card #38351), nit N1, record 7249205899 (accepted there, carried here):
packages/services/service-knowledge/src/split/splitter.ts, theSPLIT_ALGORITHM_VERSION_BY_STRATEGYblock: the comment on themarkdown: 2entry names only the body-less heading change (service-knowledge: the markdown split drops body-less headings and files them under the wrong chapter #38350). service-knowledge: a markdown section that fits maxChars is still cut into several passages #38351 also changesmarkdownpassages and rides the same version 2 (one bump per release train, 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 rule). When this card edits that block, themarkdown: 2comment should name both changes.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5omA3kZCsWzBMMqF11
os-dev-report
{ "issue": 38377, "status": "done", "round": "patch (delta)", "branch": "claude/issue-38377-retire-split-algorithm-version", "pr": "https://github.com/objectstack-ai/objectstack/pull/38452", "session": "session_01FEkQ5omA3kZCsWzBMMqF11", "head": "987b09ca62488a70776dd499d7fdf6fa9fb8d495", "summary": "Area-ordered patch: the PINNED docblock in index-fingerprint.test.ts now names both changes markdown version 2 carries: the body-less heading as its own passage, and a section that fits the bounds as one passage whatever minChars is (true once PR #38439 merges). Comment only. The PR body was rewritten through the relay: the additions bullet names both comment edits, and the PINNED acceptance note is removed. The two red checks on f76ba9c9 are not code failures. Run 46215468376 (Lint & Type Check, pull_request) was cancelled by the workflow's same-PR concurrency group (lint.yml concurrency, cancel-in-progress: true) when 987b09ca was pushed: commit at 02:25:46Z, lanes cancelled 02:26:26-39Z. The two aggregator jobs then failed because their lanes concluded cancelled. Nothing to fix; CI is re-running on 987b09ca.", "files_changed_this_round": [ "packages/services/service-knowledge/src/__tests__/index-fingerprint.test.ts" ], "diff_since_dogfood_head": "git diff --stat 4fa2f8ee..987b09ca: index-fingerprint.test.ts | 3 ++-, splitter.ts | 2 ++; 2 files changed, 4 insertions(+), 1 deletion(-). Both hunks are comment lines only (the PINNED docblock; the markdown: 2 entry comment). No assertion, value, snapshot or non-test source changed.", "tests": "At 987b09ca, under os-verify-lock: turbo build of the service-knowledge dependency closure (Tasks 19/19), then pnpm --filter @objectstack/service-knowledge exec vitest run --maxWorkers=2 src/__tests__/index-fingerprint.test.ts gave Test Files 1 passed (1), Tests 9 passed (9). VERDICT command-exit 0.", "gates": "overlap-check at 987b09ca: VERDICT clean exit 0 (merges cleanly with origin/main d751790c and with PR #38439). check:nul-bytes exit 0. Pre-push check:commit-card-trailers ok. CI before (f76ba9c9, run 46215468376): Lint & Repo Gates failed at its lane-aggregation step, first error line: lint lane `lint-ci-engine` concluded `cancelled` -- expected `success`. TypeScript Type Check failed the same way, first error line: type-check lane `typecheck-consumers` concluded `cancelled` -- expected `success`. No lane failed; all were cancelled. CI after (987b09ca): lanes in_progress when this report was written, so NOT MEASURED.", "dogfood_battery": "The 4fa2f8ee battery stands: VERDICT command-exit 0, Test Files 495 passed | 3 skipped (498), Tests 4183 passed | 68 skipped (4251). The diff since then is comments only, so it was not re-run.", "mcp_calls": "0", "api_writes": "2 this round: git push (not REST); relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/38452 (PR body, trailer-signed, read back identical at 7529 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/38377/comments (this delta report).", "deviations": [ "Area-ordered addition, round 2: the PINNED docblock comment; its clause is true only after PR #38439 merges.", "Worktree rebuilt with a plain git worktree add on the existing local branch: dev-worktree.sh --resume-from refused because the local branch survived the earlier worktree removal. The branch tip matched origin at f76ba9c9." ], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5omA3kZCsWzBMMqF11
os-dev-report
{ "issue": 38377, "status": "done", "round": "patch 3 (delta)", "branch": "claude/issue-38377-retire-split-algorithm-version", "pr": "https://github.com/objectstack-ai/objectstack/pull/38452", "session": "session_01FEkQ5omA3kZCsWzBMMqF11", "head": "42214359722832dd0e4e1216a1c7d931f86f3bf9", "summary": "L2 nit N2 (record 7249553146): the 38377 changeset gains one sentence after the BREAKING paragraph. It says this retirement replaces the earlier note in this same release that SPLIT_ALGORITHM_VERSION keeps its name and its value. The 38349 changeset is not edited, and nothing else in the tree is touched. Two PR body lines called 987b09ca the final head, which became false with this push, so the body was rewritten through the relay. That rewrite only re-anchors those head references, adds the new gate readings and names the new sentence in What changes.", "diff_stat": "git diff --stat 987b09ca..HEAD: .changeset/38377-retire-split-algorithm-version.md | 2 ++; 1 file changed, 2 insertions(+)", "files_changed_this_round": [ ".changeset/38377-retire-split-algorithm-version.md" ], "tests": "none run, by order (changeset text only)", "gates": "At 42214359, exit codes captured before any pipe: check-adr-0087-registration --base origin/main exit 0 (1 declared-breaking changeset, disposition verified). check-changeset-no-major --base origin/main exit 0 (no major bump). check-empty-changeset --base origin/main exit 0. pnpm check:nul-bytes exit 0. overlap-check exit 0 (origin/main merges cleanly; #38439 merges cleanly). CI on 42214359: NOT MEASURED, in progress.", "dogfood_battery": "not re-run, by order; the 4fa2f8ee battery stands (VERDICT command-exit 0, Test Files 495 passed | 3 skipped, Tests 4183 passed | 68 skipped). The diff since then is comments plus changeset text.", "mcp_calls": "0", "api_writes": "3 this round: git push (not REST); relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/38452 (PR body, trailer-signed, read back identical at 7920 bytes); post-stamped POST /repos/objectstack-ai/objectstack/issues/38377/comments (this delta report).", "deviations": [ "The PR body was rewritten because two lines naming 987b09ca as the final head became false; only head references, the new gate readings and one What-changes clause changed." ], "security_findings": "none", "out_of_scope_findings": [] }