Repository navigation
Description
maintainer · os-project-manager · session_01FEkQ5oW6SeQkzCccNxEc83
Filing gate: ③ maintainer-directed (topic child). Source: topic #38346. Key words (maintainer, 2026-11-29, this session): 「相关任务都加入知识专题」; on scope, earlier in the same session: 「哪些是平台的通用功能值得修改的」「你的评估不能只考虑当前的规章制度,要考虑客户可能开发的各种元数据应用」.
Grading: area:ai · Bug · Impeded (workaround: the vector leg still answers; a caller can put spaces between the words of the question) · reach: end users, daily, on every source searched in Chinese, Japanese or Korean, on both shipped stores · evidence: read from the code on main 3511432; the effect on answers is inferred from an evaluation, not measured (see below).
维护者速读
- 问题:用中文整句提问时(中间没有空格),检索的「关键词」那一路把整句当成一个词去匹配,基本匹配不到任何段落,混合检索实际只剩向量一路。带具体数字、金额、例外条款的问题最吃亏。
- 做什么:把连续的中日韩文字切成重叠的二字、三字片段再去匹配(常见片段权重自动变低),两个存储(本地 libSQL、PostgreSQL)一起改;不改索引,不需要重建。
- 谁受益:所有用中文提问的知识检索,不限制度库:合同、工单、客户纪要、手册都一样。
- 证据强度:机制是读代码确认的;对答题正确率的影响是推断,验收里要求用评测集实测前后对比。
What happens
Hybrid search exists (#37974): a vector leg and a keyword leg merged by reciprocal rank fusion. The keyword leg's terms come from keywordTerms, which splits the query only at white space and punctuation:
packages/plugins/knowledge-turso/src/sql.ts:395(keywordTerms;MAX_KEYWORD_TERMS = 16at line 383)packages/plugins/knowledge-pgvector/src/sql.ts:146(the same function; the split is at line 149)
A question written without spaces, which is how Chinese, Japanese and Korean are written, is therefore ONE term holding the whole sentence:
- turso: a term of three characters or more is matched as one FTS5 phrase in the trigram index (
turso-adapter.ts, the Search section at lines 315-341). A passage matches only when it contains the whole question as a contiguous string. - pgvector: a term holding a Han, kana or Hangul character is matched by
ILIKEover the rows in scope (pgvector-adapter.ts:187-194). Same condition: the whole question, contiguous.
So for 「出差住宿费2000元以下需要审批吗」 the keyword leg ranks no passage, and the answer is the vector leg alone. Short keyword-style queries with spaces (「出差 住宿标准」) work as designed, which is what #37974's acceptance exercised.
Why it matters (inferred, not measured)
In a policy Q&A evaluation over this stack (1,923 documents / 67,379 passages on the libSQL store; 132 questions plus 31 deliberately tricky ones; a small model answering over MCP, a separate model grading blind; one run), the misses clustered on exception clauses and exact figures, for example a clause of the form 「2000元以下除外」. Those are the passages a keyword match finds and an embedding ranks low. The evaluation did not isolate the keyword leg, so this is a reading of the failures, not an ablation. Tooling: objectstack-ai/brightrule#88.
The defect is independent of the content: any source searched with unsegmented CJK questions (contract terms, ticket text, visit notes, manuals) has the same vector-only behaviour.
Ask
- In
keywordTerms(both adapters, kept identical): a run of Han, kana or Hangul characters inside a term is split into overlapping 2- and 3-character pieces; Latin and digit runs inside the same term (2000,X-200) stay whole terms as today. The existing matching already fits: a 3-character piece goes to the trigram index orILIKE, a 2-character piece toLIKE/ILIKE, and the per-term inverse document frequency already damps pieces most passages hold. - The term cap (
MAX_KEYWORD_TERMS = 16) is re-decided for pieces: a 20-character question yields about 37 of them. The dev proposes the selection rule (for example: all digit and Latin terms first, then pieces by position, up to a measured cap) with the query cost on the 67,379-passage table in the report. - Optional, only if the measurement in the acceptance shows it helps: each leg ranks at most
topKpassages before fusion (adapter Search sections), andsearch_knowledgeasks fortopK5 by default (knowledge-tools.ts:75-78), so fusion sees at most 5 + 5 candidates. Ranking a larger per-leg pool than the returnedtopKis a separate change to the same files; report the measurement, and split it off if it changes the adapter contract.
No index change and no fingerprint change: this is query-side only.
Acceptance
- Unit pins in both adapters: an unspaced Chinese question produces pieces; a mixed term keeps its digits and codes whole; a query of spaced terms produces exactly today's terms (no change for Latin-script text).
- Contract-suite case on both stores: a passage holding 「2000元以下除外」 is ranked by the keyword leg for an unspaced full-sentence question that contains those words among others.
- A before/after run on an evaluation set with unsegmented questions (the BrightRule set is available; at least 3 runs per side), reported with intervals. If the gain is inside the noise, say so in the report: the fix is still correct, the grade of the follow-ups changes.
- p95 search latency on the measured table before and after, in the report.
Reader
repo:objectstack#5 (the seat holding #38346), after triage's first touch for domain:* and queue state.
Related, not children: #37974 (hybrid search, closed), #37000 (knowledge platform topic).
Dedupe (open and closed): keywordTerms 0 · knowledge keyword leg CJK 4 (none on this) · knowledge hybrid Chinese trigram 2 (#37974 closed, the feature this defect sits in; #37000 the topic).
Activity
objectstack-fleet commentedon Nov 29, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/plugins/knowledge-turso/src/sql.tsandpackages/plugins/knowledge-pgvector/src/sql.ts(keywordTerms,MAX_KEYWORD_TERMS), with both adapters' unit pins and a contract-suite case · area:ai · domain:server · Bug · p2 · pm:queue · size M. Rationale: hybrid search (#37974, shipped) splits keyword terms only on white space and CJK punctuation, so an unspaced Chinese question stays one term and the keyword leg finds nothing. The vector leg still answers (the workaround), so Impeded × end users daily ⇒ p2 (fleet grade, unchanged). A child of topic #38346 (now seat 5's), never folded. Ask 3 (a larger per-leg pool before fusion) splits off if it changes the adapter contract. The acceptance eval needs the named corpus.Recorded 2026-11-29T00:48Z.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pfJqySEaVD3CKvevm
Claim: PM loop round 1 · 2026-11-29T02:10Z
Session:
session_01FEkQ5pfJqySEaVD3CKvevmThread session:
session_01FEkQ5pfJqySEaVD3CKvevmAccount:
os-project-managerBranch:
claude/project-thread-buhir9Worktree:
objectstack-issue-38411Domain:
domain:serverSeat:
repo:objectstack#5Area:
o5-ai37000File surface:
packages/plugins/knowledge-turso/**,packages/plugins/knowledge-pgvector/**(sql.tskeywordTerms/MAX_KEYWORD_TERMS, the adapters' Search sections only if Ask 3 is measured to help, unit pins, contract wiring),packages/services/service-knowledge/src/testing.ts(the shared adapter contract suite: one keyword-leg case),.changeset/38411-*.md(stop on breach; explain in the report).packages/services/service-knowledge/src/knowledge-tools.tsis NOT in it: Ask 3 splits off if it needs that file or changes the adapter contract.Container & model: M, mode:thread, model: default (dispatch-gates --tier at da184da, "Model tier — no path-derived mandate"; two adapters and a shared contract case with a selection rule to design, so not floor), effort: high (M, two stores, measurement owed)
Clause-②: no
Metadata-protocol: none
Responsibility:
objectstack: keywordTerms in packages/plugins/knowledge-turso/src/sql.ts and packages/plugins/knowledge-pgvector/src/sql.ts splits only at white space and punctuation, so a platform card carries the fix | the vector leg still answers (the workaround: a caller puts spaces between words), no platform path ranks an unspaced CJK question by keyword | end users of any knowledge source searched in Chinese, Japanese or Korean, on both shipped stores; used today by the BrightRule policy Q&A evaluation the card citesThread-read: 7248374903
Premise: holds at da184da —
keywordTermssplits atquery.split(/[\s,;:!?()… -〿!-/…]+/u)with nothing for a Han/kana/Hangul run (tursosql.ts:395, pgvectorsql.ts:146),MAX_KEYWORD_TERMS = 16(tursosql.ts:383); turso matches a term of three characters or more as one FTS5 trigram phrase (turso-adapter.ts:335–341), pgvector matches a term holding a Han, kana or Hangul character byILIKE(pgvector-adapter.ts:187–194); both callkeywordTerms(query)(turso :711, pgvector :589). An unspaced question is one term, matched only as one contiguous string.Serial constraints cleared:
check-handover --inflight at da184dac on the adapter globs: clear. Adding service-knowledge/src/testing.ts: 2 directory-level hits, both false overlaps by their own File surface lines: #38419 (seat repo:objectstack#1, claim 7248951490) names knowledge-service.ts + a new test file; #38418 (seat repo:objectstack#1, claim 7248940952) names knowledge-sync-state.ts + a new test file; neither names testing.ts. #38369 (this area's card thread, branch claude/project-thread-mu3i0t) touches capability-composition.ts, knowledge-service-plugin.ts, knowledge-service.ts only (git diff --stat origin/main...). overlap-check before every push touching service-knowledge.Pre-claim lane:
packages/plugins/knowledge-turso/**,packages/plugins/knowledge-pgvector/**,packages/services/service-knowledge/src/testing.ts⇒ domain:server (file ownership only); card thread of area o5-ai37000 by the seat's order (card-38411.md).Pre-claim deps: none named (no
Blocked-by:, no "after #N" on the card or its thread).Prior rulings read: knowledge-turso,knowledge-pgvector,keyword,unspaced,chinese,hybrid,search → 134 hits; ADR-0029 D9.7, ADR-0061 D2, ADR-0061 D3, ADR-0076 D3, ADR-0079 D10, ADR-0098 Decision §5, ADR-0138 D6; thread: none. ADR-0061 keeps knowledge/vector a separate subsystem (out of its scope); ADR-0098 is the record pinyin companion column; neither decides knowledge keyword tokenisation. 0 ruling comments on the card; no conflict.
Measurement: the card's eval item (a before/after on the BrightRule set, at least 3 runs per side) needs a running environment with BrightRule installed and model credentials, neither present in this container (objectstack-ai/brightrule is publicly readable). The dev measures model-free what this container can (keyword-leg retrieval on the BrightRule synthetic corpus and questions, before/after, with intervals; p95 latency on a table of the card's size) and reports the model-graded run as NOT MEASURED with that reason; the seat is told.
objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pfJqySEaVD3CKvevm
os-dev-report
{ "issue": 38411, "status": "done", "branch": "claude/project-thread-buhir9", "pr": "https://github.com/objectstack-ai/objectstack/pull/38469", "session": "session_01FEkQ5pfJqySEaVD3CKvevm", "premise_still_valid": true, "summary": "Clause-② is YES (widening), not the claim's `no`: `@objectstack/service-knowledge/testing` gains an OPTIONAL `KnowledgeAdapterContractOptions.implements.keywordLeg` member. No zero-surface placement exists: knowledge-memory and the service stubs run the same suite with no keyword leg, and the spec contract has no capability flag. The PR body and changeset both declare `Clause-②: yes (widening)`; the seat owes the claim amendment and the review that declaration brings. `keywordTerms` in knowledge-turso and knowledge-pgvector (one body, identical in both) cuts a Han/kana/Hangul run into overlapping 3- and 2-character pieces and keeps figures and codes whole; Latin-script queries get exactly today's terms. Selection rule: MAX_KEYWORD_TERMS stays 16, by measurement, filled with words, codes and figures first, then 3-character pieces and runs of 2, then 2-character pieces. Keyword-leg recall@5 on the 67,421-passage libSQL table (218 zh questions): 0.028 [0.009, 0.050] to 0.495 [0.427, 0.564]; keyword-leg p95 from 113–132 ms to 491–516 ms; hybrid p95 (1024-wide exact scan) from 410 to 837 ms; pgvector keyword-leg p95 from about 0.6 s to about 3.0 s. The PR body opens `Part of #38411` per the seat's amendment, because the model-graded BrightRule eval is NOT MEASURED. The worktree was based on origin/main 1afd9c13; main had moved past da184dac when work started.", "tests": "Head b5117701. Every run went through os-verify-lock.sh. knowledge-turso: `pnpm --filter @objectstack/knowledge-turso exec vitest run --maxWorkers=2` gave Test Files 4 passed, Tests 284 passed (the contract case ran on :memory: and file:). knowledge-pgvector against a LIVE PostgreSQL 16 + pgvector 0.6.0 started in this container (OS_TEST_POSTGRES_URL set, OS_EXPECT_LIVE_DIALECT_MATRIX=1): Test Files 11 passed, Tests 108 passed. service-knowledge: 21 files, 726 tests passed. knowledge-memory: 3 files, 66 tests passed. Ablation (base sql.ts swapped in and blob-hash verified, restore hash verified, no dist involved because the tests import src by relative path): turso VERDICT command-exit 1 with 4 failed / 280 passed (the piece pin and the contract case, both store kinds; the Latin pin stayed green); pgvector live VERDICT command-exit 1 with 3 failed / 105 passed (the contract case and two pins). Reverse type check: the turso typecheck against the pre-change service-knowledge dist refused keywordLeg (TS2353), and after the rebuild it is green. Measurement: keyword-leg retrieval, 3 runs per side on both stores and both tables, rankings identical on every run; the full numbers and commands are in the PR body's ## Measurement.", "gates": "Local at b5117701: typecheck of knowledge-turso, knowledge-pgvector, service-knowledge and knowledge-memory, VERDICT command-exit 0. `node scripts/pm/dispatch-gates.mjs --commands` derived 70 families, each run with its exit code captured before any pipe: 66 exit 0 (check:nul-bytes and check:published-files among them). `--ran` reconciliation: '70 derived, 66 run, 0 NOT-MEASURED, 4 UNRUN', exit 1. The 4: check-plugin-teardown-shape --self-test and check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (shallow clone; no dist for the whole tree); check:query-options-erasure and check:type-check-debt exit 124 at my 240 s per-gate timeout (repo-wide ESLint and tsc). All 4 are NOT MEASURED locally and carried by CI's Lint & Repo Gates / TypeScript Type Check. Control-byte self-scan of the changed files: no hits. overlap-check: VERDICT clean exit 0 before each push. CI check-runs on b5117701 at report time: every gate job in_progress (Check Changeset, Lint · *, Type Check · *, Governed Surface Queue Guard, PR-body guards); skipped: Queue verdict, Borrowed queue verdict, opt-in harnesses. CI convergence is the PM's to read.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes — pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /repos/objectstack-ai/objectstack/issues/38469/assignees), and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/38411/comments via post-stamped.mjs). Plus two git pushes (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — pgvector keyword-leg cost with pieces: p95 about 0.6 s to about 3.0 s on 67k passages, because a common piece (公司 is held by 67,125 rows) makes nearly every row a candidate and each piece is evaluated with ILIKE on it. A Search-section change outside this claim (match a caseless term by LIKE) measured identical rankings at p50 550 to 190 ms, p95 3.0 to 2.0 s. The seat decides whether to split it off; dedupe words: pgvector ILIKE caseless, keyword leg latency, knowledge pieces LIKE", "carrier: none · noted, not filed — libSQL: a 2-character piece costs one scan of the rows in scope (about 23 ms at 67k). Scoring 2-character pieces only among index-recruited candidates is a Search-section change that moves document frequency, so it needs its own measurement", "carrier: none · noted, not filed — pre-existing: the separator class includes U+3005 々 and U+3006 〆, so 人々 splits at 々 (observation only)" ], "deviations": [ "Acceptance item 3 is not met as written. NOT MEASURED: BrightRule model-graded eval, reason: it needs a running BrightRule environment and model credentials, absent here. The model-free keyword-leg retrieval (3 runs per side, identical rankings, bootstrap intervals over questions) stands in for it.", "NOT MEASURED: fused hybrid recall (no real embedder; a lexical fake would measure the fusion of two lexical legs). NOT MEASURED: Ask 3 (it needs fused ranking, and it reaches knowledge-tools.ts, outside this claim).", "Clause-② is yes (widening), not the claim's no, under H2: an optional new member on an exported interface.", "PR assignee was set to os-project-manager, the claim's Account:, per os-dev.md rule 2. The dispatch said not to assign, and os-dev.md prevails where they conflict. No reviewers were requested.", "Worktree: dev-worktree.sh refused because a harness-created local branch claude/project-thread-buhir9 already existed (at da184dac, no commits of its own, no worktree on it). I attached ../objectstack-issue-38411 to that branch with git worktree add, fast-forwarded it to origin/main 1afd9c13, and pinned the base with --pin-base.", "Environment: installed the apt package postgresql-16-pgvector (0.6.0) for the live pgvector run. The first cluster, in the scratchpad, died when /tmp/claude-0 was reset to mode 700. The second ran under /var/lib/postgresql/os-dev-38411-pgdata on a random port and was stopped and removed. The worktree and the large scratch databases were removed after the PR opened.", "Commit trailers are the model-free pair (AGENTS.md and the dispatch), not the harness reminder's model-named Co-Authored-By.", "test:repo was not run locally: the diff touches no repo-project test.", "4 of 70 derived gate families are UNRUN locally (see gates)." ], "files_changed": [ ".changeset/38411-cjk-keyword-pieces.md", "packages/plugins/knowledge-pgvector/src/__tests__/contract.live-postgres.test.ts", "packages/plugins/knowledge-pgvector/src/__tests__/keyword-terms.test.ts", "packages/plugins/knowledge-pgvector/src/sql.ts", "packages/plugins/knowledge-turso/src/__tests__/acceptance.test.ts", "packages/plugins/knowledge-turso/src/__tests__/contract.test.ts", "packages/plugins/knowledge-turso/src/sql.ts", "packages/services/service-knowledge/src/testing.ts" ] }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pfJqySEaVD3CKvevm
Claim amended: 2026-11-29T03:57Z (claim 7249261679)
Session:
session_01FEkQ5pfJqySEaVD3CKvevmBranch:
claude/project-thread-buhir9(PR #38469)Clause-②: yes
Metadata-protocol: none
Why:
@objectstack/service-knowledge/testing(a published export) gains an optionalKnowledgeAdapterContractOptions.implements.keywordLegmember. No placement without an exported member exists: knowledge-memory and the service stubs run the same shared suite with no keyword leg. OneTIER_DEFAULTcontract review (the lane seat's own) is owed at the final head; no other contract member changes.File surface (amended): the claim's surface, with
packages/plugins/knowledge-pgvector/src/pgvector-adapter.ts's Search section now in it for one change only: a keyword piece with no cased letter is matched byLIKEinstead ofILIKE(identical rankings measured; the dev's report 7250349386 puts pgvector keyword-leg p95 at 67k passages from about 3.0 s to about 2.0 s). Ask 3 stays out (NOT MEASURED, it needs a real embedder and reachesknowledge-tools.ts).Closing keyword: the PR reads
Part of #38411(seat, 02:14Z): the BrightRule model-graded before/after stays open on this card for the maintainer's evaluation session.objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pfJqySEaVD3CKvevm
os-dev-report
{ "issue": 38411, "status": "done", "branch": "claude/project-thread-buhir9", "pr": "https://github.com/objectstack-ai/objectstack/pull/38469", "session": "session_01FEkQ5pfJqySEaVD3CKvevm", "premise_still_valid": true, "summary": "Round 2 on the same claim and branch, head cde0bbe2 (confirmed by git ls-remote). pgvector now matches a keyword term the tsvector does not serve by LIKE when it holds no cased letter (containsOperator: lower(t) === upper(t); a Han, kana or Hangul piece, a figure) and by ILIKE otherwise. Nothing else in the Search section changed, libSQL is untouched, and Ask 3 stays out. Measured on the 67k passages, keyword leg alone, live PostgreSQL 16 + pgvector 0.6.0, 3 runs per side: rankings are identical on every run and identical to b5117701's; P@5 is 0.495 (the libSQL hit set). Latency: before pieces, p50 132-150 / p95 617-691 ms; pieces with ILIKE (b5117701), p50 538-563 / p95 2,883-3,085 ms; pieces with LIKE (this head), p50 187-195 / p95 1,832-1,925 ms. The changeset gained one sentence. knowledge.mdx described both keyword legs and the contract, so it is updated: the optional keywordLeg case, the CJK pieces, and LIKE/ILIKE on pgvector. The edit is 8 lines added and 3 removed; overlap-check is clean against origin/claude/project-thread-mu3i0t and against #38468/#38470, which share the file. Both plugin READMEs are updated; the turso README said a Chinese question is one term, which this change made false. The PR body was patched through relay issue_patch and read back identical. It has the 维护者速读 with the trade-off numbers in short Chinese bullets, the new pgvector table, the round-2 Tests block, and the Acceptance notes naming the trigram/GIN index as a follow-up card to be filed by the seat. CI root cause: every red step on b5117701 (job 141221631158) and 923c0092 (jobs 141222136228, 141222139195) is an aggregator reading a cancelled lane, e.g. '##[error]type-check lane `typecheck-workspace` concluded `cancelled` -- expected `success`'. Each later push to the branch cancelled the run in flight. 923c0092 also held one real defect: TS2353 in the new statement pin (recipeHash is not a member of the search options' index). It was fixed in 81be16f5; `pnpm --filter @objectstack/knowledge-pgvector typecheck` under the verify lock gave VERDICT command-exit 0. The CI run on cde0bbe2 was in progress when this report was written; its conclusion is the seat's to read. pg_trgm: a GIN trigram index on passage content WOULD be an index change. It needs a second DDL beside keywordIndexDdl (packages/plugins/knowledge-pgvector/src/sql.ts:121; tsvector expression at :108), created through ensureKeywordIndex (packages/plugins/knowledge-pgvector/src/pgvector-adapter.ts:1029, called at :593), plus a pg_trgm extension dependency handled like CREATE EXTENSION IF NOT EXISTS vector (pgvector-adapter.ts:968). It would NOT be a fingerprint change: computeIndexFingerprint (packages/services/service-knowledge/src/knowledge-index-fingerprint.ts:88) hashes only the embedding model, variant, dimensions and split, and an older table gets the keyword index at its first search without a rebuild.", "tests": "Round 2, code identical between 81be16f5 and cde0bbe2 (the last commit touches knowledge.mdx only); every run went through os-verify-lock.sh. knowledge-pgvector LIVE (PostgreSQL 16 + pgvector 0.6.0 under /var/lib/postgresql, OS_TEST_POSTGRES_URL set, OS_EXPECT_LIVE_DIALECT_MATRIX=1), with the contract keywordLeg case: 'Test Files 11 passed (11)', 'Tests 110 passed (110)', 'VERDICT command-exit 0'. New pins in keyword-terms.test.ts: containsOperator returns LIKE for 元以下/出差/コー/휴가/42 and ILIKE for ab/X-200/É. A statement pin runs adapter.search('出差 ab') against a recording pool and reads, from the ranking SQL, the operator in front of each bound pattern: %出差% gets content LIKE, %ab% gets content ILIKE. Ablation: pgvector-adapter.ts reverted to b5117701, blob hash verified, then restored and verified again. The statement pin went red, 'Tests 1 failed | 4 passed (5)', 'VERDICT command-exit 1'. Round 1 (b5117701): knowledge-turso 4 files / 284 tests; service-knowledge 21 / 726; knowledge-memory 3 / 66; their inputs are unchanged since.", "gates": "Local at cde0bbe2. knowledge-pgvector typecheck: VERDICT command-exit 0 (the TS2353 fix). dispatch-gates --commands derived 101 families for 12 files: 70 at b5117701 plus 31 brought in by knowledge.mdx. The 31 docs families and 8 reruns of families reading round-2 files ran at cde0bbe2; the rest carry their b5117701 reading over unchanged inputs. `--ran` reconciliation: '101 derived, 101 run, 0 NOT-MEASURED, 0 UNRUN'. Exit codes captured before any pipe: 96 exit 0. Five are NOT MEASURED: check:skill-examples exit 3 PREREQUISITE NOT MET (client SDK dist missing; no skill touched); check-plugin-teardown-shape --self-test PREREQUISITE NOT MET (shallow clone); check:dual-build-cjs-loads PREREQUISITE NOT MET (no tree-wide dist); check:query-options-erasure and check:type-check-debt timed out at 240 s (CI's Lint & Repo Gates and TypeScript Type Check carry them). overlap-check before the push: 'VERDICT clean exit 0' against origin/main, #38468 and #38470; clean against origin/claude/project-thread-mu3i0t. CI check-runs on cde0bbe2 at report time: completed success are Auto Label, Check Documentation Links, Check PR Size, Governed Surface Queue Guard, and PR-body guards (claim · duplicate · Part-of · single-writer path). Still in progress, so NOT MEASURED here: the Lint lanes, the Type Check lanes, Check Changeset, Spec property liveness, and Flag docs affected by code changes.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "4 relay strokes in total. Round 1: pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST .../issues/38469/assignees) and the round-1 os-dev-report comment (POST .../issues/38411/comments). Round 2: issue_patch on the PR body (PATCH /repos/objectstack-ai/objectstack/issues/38469, read back identical, 18048 bytes) and this os-dev-report comment (POST .../issues/38411/comments via post-stamped.mjs). Git pushes, which are not REST: 923c0092, 81be16f5, cde0bbe2.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — pgvector keyword-leg tail after the LIKE fix: p95 about 0.6 s before pieces, about 1.9 s now. What remains is one substring scan per piece over nearly every row, plus the per-candidate tsvector. Levers: compute the tsvector only when a word term needs it (Search section), or a pg_trgm GIN index (an index change, not a fingerprint change; see summary). The coordinator says the follow-up card is to be filed by the seat; dedupe words: pgvector trigram GIN keyword leg, knowledge keyword latency CJK pieces, pg_trgm passage content", "carrier: none · noted, not filed — libSQL: a 2-character piece costs one scan of the rows in scope (about 23 ms at 67k). Scoring 2-character pieces only among index-recruited candidates is a Search-section change that moves document frequency, so it needs its own measurement", "carrier: none · noted, not filed — pre-existing: the separator class includes U+3005 々 and U+3006 〆, so 人々 splits at 々 (observation only)" ], "deviations": [ "Acceptance item 3 is not met as written. NOT MEASURED: BrightRule model-graded eval, reason: it needs a running BrightRule environment and model credentials, absent here. The model-free keyword-leg retrieval (3 runs per side, identical rankings, bootstrap intervals over questions) stands in for it.", "NOT MEASURED: fused hybrid recall (no real embedder; a lexical fake would measure the fusion of two lexical legs). NOT MEASURED: Ask 3 (it needs fused ranking, and it reaches knowledge-tools.ts, outside this claim).", "Clause-② is yes (widening), not the claim's no, under H2: an optional new member on an exported interface.", "PR assignee was set to os-project-manager, the claim's Account:, per os-dev.md rule 2. The dispatch said not to assign, and os-dev.md prevails where they conflict. No reviewers were requested.", "Worktree: dev-worktree.sh refused because a harness-created local branch claude/project-thread-buhir9 already existed (at da184dac, no commits of its own, no worktree on it). I attached ../objectstack-issue-38411 to that branch with git worktree add, fast-forwarded it to origin/main 1afd9c13, and pinned the base with --pin-base.", "Environment: installed the apt package postgresql-16-pgvector (0.6.0) for the live pgvector run. The first cluster, in the scratchpad, died when /tmp/claude-0 was reset to mode 700. The second ran under /var/lib/postgresql/os-dev-38411-pgdata on a random port and was stopped and removed. The worktree and the large scratch databases were removed after the PR opened.", "Commit trailers are the model-free pair (AGENTS.md and the dispatch), not the harness reminder's model-named Co-Authored-By.", "test:repo was not run locally: the diff touches no repo-project test.", "4 of 70 derived gate families are UNRUN locally (see gates).", "Round 2: the 维护者速读 keeps its fixed four lines. The coordinator's trade-off numbers and levers follow as short Chinese bullets under a 取舍数字 lead-in, so the four-line rule holds; the seat can fold them in when it finalises the comment.", "Round 2 surface beyond the four named items: both plugin READMEs (the turso one became false under this change) and content/docs/protocol/knowledge.mdx (added to the surface by the coordinator).", "Round 2: the PR body now ends with the relay-required `signed:` trailer line. issue_patch refused a body without it; line 1 is still the attribution comment, followed by the Requested-by line and Part of #38411.", "Three pushes in round 2 (923c0092, 81be16f5, cde0bbe2): each cancelled the CI run in flight, which produced the cancelled-lane reds the coordinator flagged." ], "files_changed": [ ".changeset/38411-cjk-keyword-pieces.md", "content/docs/protocol/knowledge.mdx", "packages/plugins/knowledge-pgvector/README.md", "packages/plugins/knowledge-pgvector/src/__tests__/contract.live-postgres.test.ts", "packages/plugins/knowledge-pgvector/src/__tests__/keyword-terms.test.ts", "packages/plugins/knowledge-pgvector/src/pgvector-adapter.ts", "packages/plugins/knowledge-pgvector/src/sql.ts", "packages/plugins/knowledge-turso/README.md", "packages/plugins/knowledge-turso/src/__tests__/acceptance.test.ts", "packages/plugins/knowledge-turso/src/__tests__/contract.test.ts", "packages/plugins/knowledge-turso/src/sql.ts", "packages/services/service-knowledge/src/testing.ts" ], "head": "cde0bbe28a47e3cbeac3947796bdf287315b24b0" }objectstack-fleet commentedon Nov 29, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5pfJqySEaVD3CKvevm
Claim amended: 2026-11-29T04:28Z (claim 7249261679, amendment 1 above)
File surface (amended): adds
content/docs/protocol/knowledge.mdx(it describes both keyword legs and the contract suite; the docs-drift check named it) and both plugin READMEs (packages/plugins/knowledge-turso/README.mdsaid a Chinese question is one term, which PR #38469 makes false). overlap-check clean against #38468, #38470 andclaude/project-thread-mu3i0t, which shareknowledge.mdx.Follow-up: #38473 (pgvector trigram GIN index for the keyword leg's CJK pieces, p3 Feature,
Blocked-by: #38469).