Skip to content

docs(adr): ADR-0161 dated note — an adapter embeds a search's question once, and its refusals stay ahead of the embed - #38812

Merged
os-zhuang merged 3 commits into
mainfrom
claude/project-thread-cxx7uu-adr
Dec 1, 2026
Merged

os-zhuang merged 3 commits into
mainfrom
claude/project-thread-cxx7uu-adr

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Warren · project thread

Part of #38676

Update, head a28863cef9. PR #38809 (card #38438) landed first, at 2026-12-01T03:58Z, and took the seventh and eighth **Amended** lines of ADR-0161. This head merges main into the branch (merge commit a28863cef9, no rebase): main's lines are kept as they are, this PR's header line follows them, and its ordinal reads "a ninth dated note". That one word is the only change to this PR's text (delta report 7300564224 on #38676); the net diff against main is still this note alone, +17 / -0. The gate readings and the overlap paragraph further down are of the earlier head f3cd7dba76; the 21 derived gates were re-run at a28863cef9, all exit 0.

This is phase 0 of the card's cause 3 and nothing else: the dated note in ADR-0161. The card stays open for phase 1, the patch round on PR #38798, which waits for this note to merge.

Clause-②: yes (widening) — the two optional adapter-contract members the note registers
Metadata-protocol: none

The two lines above are the claim's (comment 7296290387 on the card) and cover both phases. This pull request changes no contract file: the widening is what the note registers and PR #38798 builds.

维护者速读

  • 用户能看到什么变化:用户无感;只是在知识平台边界那份架构决策记录里追加一条 2026-12-01 的说明,把你当天选定的「写进约定,一次提问只转一次」和它的附带条件写成文字,不改任何代码。
  • 为什么做:这是「知识检索慢」那张卡最后一项(补查时把同一个问题重复转成向量)的前置一步;平台和存储驱动之间的约定是一份封闭清单,要先在决策记录里登记这两项,已经做好的改动才能合并。
  • 出错会怎样:说明里若有和你的裁决不一致的句子,接下来改代码的人会照着错的文字去做;它只是一处文档追加,可以直接撤回,不影响任何在运行的系统。
  • 要你做什么:请审阅并批准这条说明;其中标了菱形记号的两处是说明自己定的写法,可以一并接受,也可以划掉。

What changes

One file, add-only. docs/adr/0161-knowledge-platform-boundary-platform-owns-assembly-sync-split-record-return-knowledge-source-is-a-governed-type.md gains its ninth dated note: 17 lines added, none changed and none removed (659 lines to 676 on main after #38809). Three commits carry it, the third being the merge of main, a28863cef9: f00518e716, the note, and f3cd7dba76, a review pass over it (Acceptance notes).

Ruling. The maintainer chose option A for cause 3 on 2026-12-01T00:22Z: ruling record 7296268226 on the card, given on analysis 7290428149. He ruled by choosing an option of a decision card, and the note quotes the card's words unchanged: the option 「写进约定,一次提问只转一次」 and the condition 「附带条件:存储驱动原本会给出的拒绝提示(比如“需要重建索引”)要保持在前面,不能被转向量的报错盖掉。」 Nothing of the ruling is opened again here.

Three insertions, in the form the six earlier notes of this record use. Line numbers are at head a28863cef9.

Lines Where What is added
27 Header, after the **Amended** line of the eighth note A ninth **Amended** line, dated 2026-12-01: the two members, the texts the note is read with, the ruling record, the chosen option and the condition.
166 K1, under the note of 2026-11-30 on rerank A cross-reference: the "Embedding calls" row, and "compute a vector" in the second sentence of the list, are read with the new note.
483 to 496 K8, under "Rules for every member" The note itself: an opening paragraph, nine bullets and a last paragraph.

What the note decides:

  • Two optional members, and the list stays closed beyond them (K8 rules 3 and 5). IKnowledgeAdapter.embedQuery?(query: string), which answers a promise of a number[], and AdapterSearchOptions.queryVector?. No capability flag: the method's presence is the signal.
  • The type of the second member. A function of no arguments that answers a promise of a read-only number[]. It is not the vector itself. For one search the knowledge service makes one such function for each adapter instance that has embedQuery. The first call of the function calls that instance's embedQuery; every later call in that search answers the same promise, a rejected one too. An adapter calls it at the point of its search where it embeds the query today. This is the per-search memoised provider the analysis recommends, and the one choice the ruling record leaves to the note.
  • The three readings that M1 of contract review 7290045524 left open.
    1. The adapter still embeds, with its own embedder and query prefix. The service computes no vector: it carries one back to the instance that made it, inside one search. The "Embedding calls" row of K1, the second sentence of the list under it and item 15 of K8 stand as written.
    2. One vector serves every source a search binds to that adapter instance. An adapter whose query embedding depends on the source does not implement the method.
    3. A handed vector is checked by its width. The model is judged on the index fingerprint, as K7 has it.
  • The condition, as an outcome. An adapter's refusals are answered as on main, code, status and remedy, and no question is sent to an embedding provider for a source the adapter refuses. The ruling record's case: a source that needs a rebuild behind a failing embedder answers KNOWLEDGE_REBUILD_REQUIRED 409 with 0 embedder calls. The function gives this by construction, because an adapter asks for the vector only after everything it decides first.
  • What the members land with. PR perf(knowledge): embed the search question once per search, the refill round included #38798, after this note merges: both members with their first readers in one PR and one case in the contract test suite (rule 1). Each is optional (rule 2), and an adapter without embedQuery is searched as before.
  • Not in the note. A vector handed by a caller of the service or by a tool argument, a memo an adapter keeps past one search, a source or context argument on embedQuery, and a form that embeds several questions at once.

No file under packages/, content/, skills/ or ui/ changes, and no other ADR does. The note declares; it builds nothing.

Why

K8 rule 5 of this record: "The list is closed. A member that is not in the table needs a dated note on this record first." PR #38798 built the two members before the record named them, and its contract review is FAIL on that point (M1). The ruling puts the record before the code: this note first, then the patch round on #38798.

Tests

The diff touches no package, so there is no build closure to make and no package test or type-check owed. What was measured, at head f3cd7dba76:

  • The premise holds. Read on main at 0fc9eab900, the commit this branch starts from. A refilled search still embeds the question twice:
    • packages/services/service-knowledge/src/knowledge-service-search.ts:232 is the first searchRound call and :245 is the refill's.
    • :957, inside searchRound, calls adapter.search once for each source.
    • packages/plugins/knowledge-turso/src/turso-adapter.ts:741 and packages/plugins/knowledge-pgvector/src/pgvector-adapter.ts:657 embed the query inside that call.
    • No line under packages/, content/ or docs/ names embedQuery or queryVector (git grep exit 1).
    • origin/main has since moved one commit, to d97aaaea9a (docs(skills): the objectstack-api entry file becomes a router #38802: one skill file, one ratchet script and a changeset). It changes none of the files read here, so each reading holds there too, and this branch merges with it cleanly. The branch was not merged with it.
  • Quotations. A script compared every quoted span of the added lines with its source, read over REST or from the ADR at the base. 9 spans in corner brackets: each is a verbatim substring of ruling record 7296268226. 27 spans in double quotation marks: each is verbatim in that record, in analysis 7290428149, in review 7290045524 or in the ADR at the base. 0 mismatches. (The nested title "What "capabilities" became" counts as two spans.)
  • Bytes. The added lines hold no raw control byte, no HTML comment and no model identifier.
  • What an adapter decides ahead of its embed, the list in the note's bullet on the condition, read in both stores on main at 0fc9eab900: an empty organization set, a scope with no ids and a topK of zero answer no hits; the store and the embedder are present and the store is ready; the source has an active generation; that generation holds the searched fingerprint and the embedder's width, or the refusal is KNOWLEDGE_REBUILD_REQUIRED (409, with its remedy); the mode is one the adapter runs; and keyword never embeds. Each is ahead of the embed in turso-adapter.ts (lines 699 to 741) and in pgvector-adapter.ts (lines 581 to 657).
  • PR perf(knowledge): embed the search question once per search, the refill round included #38798 as it stands, read at head 4561e81d0e: queryVector is the vector itself there, a read-only number[], and embedQuery has the signature the note writes.
  • Anchors. Every code citation in the note is a path with a symbol, never a line number, and check:adr-symbol-anchors reads all of them (its verdict line is below).

No ablation: the diff changes no behaviour a test pins.

Acceptance notes

The committed note took the function, not a plain array. A plain array has to exist before search is called, so the service would have to embed ahead of every decision the adapter makes. A refused source would then cost an embedding call, and a failing embedder would answer in place of the adapter's own refusal. That is the shape review 7290045524 graded S2, and it cannot meet the condition. The function can, and the note names it as the means it takes.

The review pass, commit f3cd7dba76. Two sentences of the note changed; nothing it decides moved.

  1. The opening said that every statement without a diamond is the ruling record's, the analysis's, what follows from the means, or a reading of main. Some rest on review 7290045524, on this record's own rules, on PR perf(knowledge): embed the search question once per search, the refill round included #38798 at its head or on the body of the card. The sentence now lists them.
  2. The signature of embedQuery is the one PR perf(knowledge): embed the search question once per search, the refill round included #38798 declares at head 4561e81d0e. The bullet on the two members now says so.

Two things are marked with a diamond, for the approver to accept with the note or strike.

  • a. The means, and with it the member's type. Three points go with it and are the note's wording: the name queryVector is kept though the member is now a function; the service hands the function on every search call of that search and does not judge whether a call will embed; and a rejected promise is shared like a fulfilled one, so one failed embedding call refuses each source that asked for the vector in that search.
  • b. One sentence added to the third reading: a caller that reaches an adapter's search directly and hands the member answers for the function, and the adapter does not verify it.

Wording that is the note's and not a quotation, each resting on a text named beside it:

  • The suite case is the one review 7290045524 asks for under S1, rewritten with the function in the vector's place.
  • "The condition has its own pin in each of the two stores": the ruling record says "a pin". Each store orders its own decisions ahead of its embed, so the note asks for the case in each.
  • The English beside the card's Chinese words is a reading aid. The Chinese is quoted unchanged.

Overlap with an open draft on this file. node scripts/pm/overlap-check.mjs --repo=objectstack-ai/objectstack, run at f3cd7dba76 against origin/main at d97aaaea9a, printed VERDICT overlap exit 1: origin/main merges cleanly, and draft #38809 (the weekly ADR revisions, second part, opened 2026-12-01T00:50Z by another seat's thread) conflicts with this branch in this file. Both insert header lines after line 24, and both call their first line "a seventh dated note" (#38809 adds a seventh under K7 and an eighth under Consequences). Its two notes and this one touch no common passage. Whichever lands second merges main, keeps both sets of header lines and corrects its ordinals. Which lands first is the seats' to settle; it is put as a question in the report on the card.

What the note asks of PR #38798, none of it done here.

  • queryVector changes type there, from the vector to the function, and the service stops calling embedQuery ahead of search.
  • One case in the contract test suite, and a pin in each of the two stores for the ruling record's case.
  • The docblocks cite the note and no longer say that the knowledge service embeds.

Text of ADR-0161 that the note is read beside. Listed for the seat, not changed.

  • "What "capabilities" became" lists the methods whose absence is the capability signal (listing, dropping, status, the start and end of a build). embedQuery joins them by this note; the paragraph is left as written.
  • The K2 row for §3.4 of the protocol page says what the contract carries. Its last column gives the rewrite to "each card that adds a member", so perf(knowledge): embed the search question once per search, the refill round included #38798 rewrites it with its code.

Not done here. No changeset: docs/adr/ is published by no package. The two earlier note pull requests on this record, #38714 and #38764, each carry the skip-changeset label, hung in the stroke that opened them. This one is opened with no label, as its dispatch order says, so that label is owed by the seat, and Check Changeset has no exemption until it is hung.

Verification

Read first, by risk. One file changes, so these are its three places of most risk.

  1. Line 476, the bullet marked with a diamond, "The means, and with it the member's type". It is the one decision the note makes, and it sets what the patch round on PR perf(knowledge): embed the search question once per search, the refill round included #38798 must build.
  2. Line 480, the bullet "The condition, as an outcome". It states the maintainer's condition and what holds when the embedding call itself fails.
  3. Line 479, the last two sentences of "The third reading": the note's own sentence on a caller that reaches an adapter directly.

Two-minute check. One click: open the "Files changed" tab. Expected: one file, +17 −0, three hunks, every changed line an addition.

Landing. docs/adr/** is a governed surface. This is opened as a draft. The hand-off is the seat's and the approval is the maintainer's. Nothing here requests a reviewer, marks it ready or arms auto-merge.

CI. NOT MEASURED: the check-runs of this pull request, reason: it did not exist when this body was written. The report on the card carries the reading taken after it opened.

Gates, run locally on head f3cd7dba76. node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 21 commands from the diff. All 21 ran in the foreground, each exit code was captured before any pipe, and all 21 are exit 0. The reconciliation:

Run reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 21 derived famil(ies) accounted for — 21 run, 0 NOT-MEASURED (a DERIVED zero — all 21 recorded an exit code and none of them is 3).
The 21 commands and their exit codes
node scripts/check-adr-links.mjs :: exit 0
node scripts/check-adr-links.mjs --self-test :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:adr-index :: exit 0
pnpm check:adr-symbol-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-prior-rulings :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:watch-hint-literal :: exit 0
Verdict lines of the gates that read the ADR
✅ check-adr-links: 1284 relative link destination(s) under docs/adr/ resolve
✅ check-adr-symbol-anchors: 4608 anchors across 165 records resolve — 1727 symbol (1698 declaration, 29 literal), 2829 file-level, 52 cross-repo, 6 exempt, 132 continuation. [cut here: the rest of the line is a note on what the count is not]
adr-index --report: OK — docs/adr/README.md is current, every record parsed, self-test 60 assertions green. Report-only: this line never reds the step.
check-nul-bytes: OK (scanned 29077 text file(s) -- 29077 tracked, 0 untracked-not-ignored; skipped 101 binary; no raw ASCII control bytes).
✓ check-closed-ceremony-text: 6688 shipped file(s) read; none says the ownership ceremony is closed.
✓ comment-mask corpus sweep [scripts/js-comment-mask.mjs]: 24511 files, 0 disagree, 0 unparseable, 211.2s (comparator self-test: 26 cases pass).
One gate first read NOT MEASURED, then green

pnpm --filter @objectstack/lint run check:doc-formula-expressions first answered exit 3, PREREQUISITE NOT MET: two workspace packages it imports were not built in this worktree. That is a run that measured nothing, not a red gate. The two packages were built under the shared verify lock, with the command the gate printed, and the gate was run again at the same head:

os-verify-lock: VERDICT command-exit 0 · held the lock 100s (1m40s) · waited 0s
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0

Left to CI, not run locally. The repo-wide lint, the type-check lanes, the test shards, and the families dispatch-gates prints outside the derived list. The commit trailer gate ran in the pre-push hook on the pushed range and is green.

Human Minimum

  • 1. No schema and no code changes.
  • 2. No new name is declared in code. The two member names are the ones PR perf(knowledge): embed the search question once per search, the refill round included #38798 and the analysis use.
  • 3. No formatter ran. pnpm lint is NOT MEASURED locally: the repo-wide scan is CI's, and the diff is one Markdown file.
  • 4. One card, one branch off main at 0fc9eab900, one pull request for this phase.
  • 5. Nothing publishes, so no changeset; both declaration lines are filled in above.
  • 6. packages/spec is not touched.
  • 7. No edit to content/docs/references/, to a CHANGELOG.md or to content/docs/releases/.
  • 8. Title, body and comments are in English. The card's Chinese words are quoted unchanged, and the 维护者速读 section is in Chinese as the fleet's rule asks.
  • The Before Submitting list is done for what a docs-only diff reaches; pnpm lint is as item 3 says.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQwxbXfgA45f3y5YpDPT5h

…n once, and its refusals stay ahead of the embed

A seventh dated note under K8 ("Rules for every member"), its line in the
header's amendment list, and one cross-reference under K1. Add-only: 17 lines
added, none changed and none removed.

The note registers exactly two optional adapter-contract members,
IKnowledgeAdapter.embedQuery and AdapterSearchOptions.queryVector, and the
list stays closed beyond them. It records the maintainer's ruling of
2026-12-01 (ruling record 7296268226 on the card) and settles the three
readings contract review 7290045524 left open: the adapter still embeds, with
its own embedder and query prefix, and the service computes no vector; one
vector serves every source a search binds to an adapter instance; a handed
vector is checked by its width.

It states the ruling's condition as an outcome: an adapter's refusals are
answered as on main, and no question is sent to an embedding provider for a
source the adapter refuses. The means it names: the second member is a
function that answers a promise of the vector, and the adapter calls it at
the point where it embeds today.

It declares and builds nothing: no file under packages/ changes.

Claude-Session: https://claude.ai/code/session_01JQwxbXfgA45f3y5YpDPT5h
Co-authored-by: Claude <noreply@anthropic.com>
…ed statements rest on

Review pass on the seventh dated note. Two sentences change; the diff against
main stays add-only (17 lines added, none changed and none removed).

- The note's opening says what is not marked with a diamond rests on the
  ruling record, the analysis, or a reading of main. It also rests on contract
  review 7290045524 (the suite case, the reading that the method takes no
  source), on this record's own rules, on PR #38798 at its head and on the
  body of the card. The sentence now lists them.
- The signature of IKnowledgeAdapter.embedQuery is the one PR #38798 declares
  at head 4561e81. The members bullet now says so, so that an approver does
  not read an unmarked shape with no source.

Nothing the note decides moves: the two members, the type of the second, the
three readings, the condition and the means are as committed.

Claude-Session: https://claude.ai/code/session_01JQwxbXfgA45f3y5YpDPT5h
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Dec 1, 2026
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Dec 1, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-warren · session_01JQwxbXfgA45f3y5YpDPT5h

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: f3cd7dba76c65ba209c5fea2f2d9a1857bbcddfa
Local-runs: none
Scope: docs/adr/0161-knowledge-platform-boundary-platform-owns-assembly-sync-split-record-return-knowledge-source-is-a-governed-type.md + none
Security-touching: no
Rule-change-verified: none

Rendered by an isolated review sub-agent of this seat's thread; the seat adopts it as written. PR #38812, card #38676 (cause 3, phase 0 of ruling 7296268226). Read: the card body and its comments (ruling 7296268226, analysis 7290428149, dev report 7297417901), contract review 7290045524 on PR #38798, this PR's body, file list (one file) and net diff against main (merge base 0fc9eab900, +17 / -0, three hunks), and the check-runs on this head. Read to judge the note, never reviewed: PR #38798 at 4561e81d0e, the two stores' search and searchRound on main at d97aaaea9a, and the ADR-0161 hunks of draft #38809 at 128528c50c.

① Derived judgments

  • IKnowledgeAdapter.embedQuery?(query: string), answering a promise of number[]: a new optional method on a published contract. Additive. Right; the signature is the one PR perf(knowledge): embed the search question once per search, the refill round included #38798 declares at 4561e81d0e.
  • AdapterSearchOptions.queryVector?, a function of no arguments answering a promise of a read-only number[]: a new optional key. Additive against main. Right. It is the means the ruling names as recommended and leaves to the note, marked ◆ for the approver. It differs from the type on perf(knowledge): embed the search question once per search, the refill round included #38798's head (the vector itself); nothing published carries that type, so no break follows. It is the first function-valued key on AdapterSearchOptions; nothing in the two stores or the service clones or serialises the options (read on main).
  • Accept set: nothing moves (no Zod schema, metadata key, tool argument, settings key, capability flag, or change to IKnowledgeService.search). Metadata-protocol: none is right.
  • Behaviour the note decides, each right: at most one embedQuery call per adapter instance per search, made only through the function; a rejected promise is shared, so one failed call refuses every source that asked for the vector in that search (the analysis says the same; inside the ◆ bullet); the service hands the function on every search call and does not judge whether a call embeds, replacing perf(knowledge): embed the search question once per search, the refill round included #38798's service-side keyword and ranks-nothing guards; an adapter's refusals ahead of its embed are answered as on main, with no embedding call for a source refused there.
  • knowledge-memory implements neither member and is searched as before. Right.
  • Gates on this head, read 2026-12-01T01:34Z: 53 check-runs, 25 success, 27 skipped, 1 failure, none running. The failure is the first Check Changeset run (01:13:49Z), before skip-changeset was added at 01:23:43Z; the later run of the same check (01:23:46Z) reads skipped.

② Semver level

  • No package moves; no changeset owed; skip-changeset is right.
  • Clause-②: yes (widening) is right for this PR though the diff changes no contract file: it is copied from claim 7296290387, which covers both phases, and the note decides a widening of a published contract. A bare no measured from the file list would have put an add-only ADR note on the low-risk arm, where the ruling puts it at Tier H. The (widening) arm is right: both members optional, nothing narrows. The semver level of the widening is perf(knowledge): embed the search question once per search, the refill round included #38798's. Metadata-protocol: none is right.

③ Boundary flags

④ Design judgment

docs/adr/0161-…md (hits)

No must-fix, no should-fix.

Against ruling 7296268226: held. Exactly the two members, list closed beyond them (rules 3 and 5); the condition as an outcome in the ruling record's words with its case (KNOWLEDGE_REBUILD_REQUIRED 409 with 0 embedder calls); the means named and marked ◆; "There is no fall-back to B or C." quoted. All 9 corner-bracket spans are verbatim in the ruling record; all 27 double-quoted spans are verbatim in the ruling record, analysis 7290428149, review 7290045524 or the record on main.

Against the three readings of M1 in 7290045524: each settled in the analysis's own sentence. The adapter embeds with its own embedder and prefix where it embeds today, the service holds a promise and reads no vector, and the K1 row, the list's second sentence and item 15 stand unamended. One vector per adapter instance; an adapter whose query embedding depends on the source does not implement the method (embedder and queryPrefix are instance-level in both stores on main). Width only, with the model judged on the fingerprint ahead of the embed, the order in both stores; the gap for a call from outside the service is closed by the second ◆ sentence, the approver's to accept or strike.

Against the condition: held by construction and checked in code. In both stores on main, every decision the note lists (empty organization set, scope with no ids, topK zero, store and embedder present, ready(), active generation, fingerprint and width refusals, mode check and keyword) is ahead of the embedder.embed line. Tried and held: a healthy and a rebuild-required source on one instance; a failed embed on the first source then a rebuild-required second (still 409); a generation switch between rounds; turso's retry; the shared rejection through pgvector's searchRefusalOf once per source.

Against the first consumer, PR #38798 at 4561e81d0e: both shapes buildable as written. The service's binding.question slot becomes a closure over the slot and the round's query; each store reads it at the embed line; the ruling's pin holds with a failing embedder; the pgvector bench pin stays at one embed; the "no built index now costs one embed" note of report 7289640633 disappears.

Against the record's own rules: rule 1 (first readers and one suite case in one PR), rule 2 (optional), rule 3 (stop clause), rule 4 (a request parameter, no configuration), rule 5 (this note), item 15 (prefix stays the adapter's). The six earlier notes' conventions are followed; the diff is add-only.

N1 (nit) — the suite case asks that the adapter "makes no embedding call of its own for the query", but runKnowledgeAdapterContract sees no embedder: phase 1 chooses a spy on the instance's embedQuery or a harness option counting embedder calls.
N2 (nit) — "it refuses the search" for a vector of another width does not say whether the refusal is coded; both stores throw uncoded there on main (503 through the service). Phase 1 asserts a rejection, not a code, or says it adds one.
N3 (nit) — two unmarked statements ask more than their sources: "The condition has its own pin in each of the two stores" (the ruling says "a pin"), and the reading of the note of 2026-11-29's cost bar. Both ask more, never less.
N4 (nit) — the member keeps the name queryVector while its type is a function; an adapter written against #38798's head fails loudly at its width check. Inside the first ◆; the approver's.

The ◆ items await the approver, and this PR stays Tier H. This record approves nothing.

Implemented-by: claude/project-thread-cxx7uu-adr
Reviewed-by: session_01JQwxbXfgA45f3y5YpDPT5h

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-warren · session_01JQwxbXfgA45f3y5YpDPT5h

席位核对

ACCEPT at head f3cd7dba76c65ba209c5fea2f2d9a1857bbcddfa · Tier H (docs/adr/**; Clause-②: yes (widening) keeps it off the low-risk arm) · Part of #38676

  1. Shape: one file, ADR-0161: a seventh **Amended** header line dated 2026-12-01, one cross-reference under K1, one dated note under K8 "Rules for every member"; +17 / -0, no existing line edited. Part of #38676, no closing keyword binds any card; phase 1 (PR perf(knowledge): embed the search question once per search, the refill round included #38798) keeps the card open.
  2. Premise: read on main at 0fc9eab900 by the dev (report 7297417901): two searchRound calls in knowledge-service-search.ts (:232, :245), each store embeds inside search (turso :741, pgvector :657), and neither member name exists under packages/, content/ or docs/. The note records ruling 7296268226 (A, with its condition) and nothing beyond it; the corner-bracket quotations are verbatim in the ruling record (dev's check, 9 of 9; the L2 re-checked them).
  3. Gates: check-runs on this head all completed; the one red is the first Check Changeset run, started before skip-changeset went on (the later run of the same check is skipped by the label). Local: 21 of 21 derived gate families exit 0 at this head (report 7297417901).
  4. Accepted deviations: L2 nits N1–N4 (7297709290); Clause-②: yes (widening) on a docs-only PR, copied from claim 7296290387 because the note decides a contract widening; the branch is not merged with the moved main (the ADR file is identical at d97aaaea9a).
  5. Out of scope and where it went: what the note asks of PR perf(knowledge): embed the search question once per search, the refill round included #38798 (the function type for queryVector, the contract-suite case, a pin per store for the 409-with-zero-embeds case, the docblocks, §3.4 of the protocol page) is phase 1 of claim 7296290387; L2 N1 and N2 go to that patch round as acceptance.
  6. Landing: L2 PASS 7297709290 on this head. Lands behind docs(adr): ADR revisions, week of 2026-11-29, second part (four dated notes across three records) #38809 (card ADR revisions, week of 2026-11-29: rolling checklist of ADR text out of step with main (one governed PR) #38438, os-support-ai), which claimed ADR-0161 first; the two conflict in the header list only. After docs(adr): ADR revisions, week of 2026-11-29, second part (four dated notes across three records) #38809 merges: merge main, renumber line 25, a delta contract review of that head, then the maintainer's merge.

Contract review → comment 7297709290

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-warren · session_01JQwxbXfgA45f3y5YpDPT5h

维护者速读

Seat opinion: approve as is; land after #38809.

ACCEPT → the ## 席位核对 comment above · Contract review → comment 7297709290

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Dec 1, 2026
@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 1, 2026 01:39
@os-zhuang
os-zhuang marked this pull request as ready for review December 1, 2026 02:33
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Dec 1, 2026
main at 00f97b3 carries f5d6ca3, which added a seventh and an
eighth dated note to ADR-0161, both of 2026-12-01, and their two
header lines at the place this branch added its own.

The conflict is in the header list of that one file. Every line main
has is kept as main has it. This branch's header line stands after
main's two, in date order as the list runs, and its ordinal moves from
"a seventh dated note" to "a ninth dated note": main's list now ends
at "an eighth dated note". Nothing else of this branch's text changes.
The cross-reference under K1 and the note under K8 merged without
conflict and are byte-identical to the branch's previous head.

Claude-Session: https://claude.ai/code/session_01JQwxbXfgA45f3y5YpDPT5h
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-warren · session_01JQwxbXfgA45f3y5YpDPT5h

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: a28863cef94c50d7495f1c18705d04a1d8cc535d
Local-runs: none
Scope: docs/adr/0161-knowledge-platform-boundary-platform-owns-assembly-sync-split-record-return-knowledge-source-is-a-governed-type.md + none
Security-touching: no
Rule-change-verified: none

Delta record, rendered by an isolated review sub-agent of this seat's thread; the seat adopts it as written. It follows PASS record 7297709290 on head f3cd7dba76 and covers the new head only: a merge of main (parents f3cd7dba76 and 00f97b30dc, which carries PR #38809 as f5d6ca3815) and one changed word in this PR's header line. Read: card #38676 and every comment (ruling 7296268226, claim 7296290387, delta report 7300564224), this PR's body as rewritten at 04:19:33Z, its file list, the net diff against main, the diff f3cd7dba76..a28863cef9, and the check-runs on this head. Read to judge, never reviewed: the two notes #38809 added, in full, and what main changed under the knowledge packages since 0fc9eab900.

① Derived judgments

② Semver level

  • Unchanged: no package moves, no changeset owed, skip-changeset on. Clause-②: yes (widening) and Metadata-protocol: none stay right for the reasons of 7297709290.

③ Boundary flags

  • Stale PR body: answered; rewritten at 04:19:33Z with an update paragraph, "ninth", "659 lines to 676" and lines 27, 166, 483–496, each matching the head. Left over and harmless, outside the governed diff: "the six earlier notes" and "This is opened as a draft".
  • The K1 cross-reference names "the dated note of 2026-12-01 under "Rules for every member" in K8" while three notes carry that date: still names one note by its place (lines 341, 483, 601 are three places), and both headings carry card 38676. N5 below.
  • No install or rebuild after the merge: the derived gates read sources and the docs lanes are green. Answered.
  • The open question of 7297709290 (landing order) is settled by events: docs(adr): ADR revisions, week of 2026-11-29, second part (four dated notes across three records) #38809 landed, the queue removed this PR at 03:58:12Z on the conflict, and this head is the re-merge that record said needs a record of its own.
  • No enqueue, no approval in this record. Security and SQL push-down as in 7297709290.

④ Design judgment

docs/adr/0161-…md (hits)

No must-fix, no should-fix.

The ordinal is right: nine **Amended** lines (19–27): a dated note (37097), second (37324), third (38368), fourth (38502), fifth (38692), sixth (38760), seventh (38438, K7), eighth (38438, Consequences), ninth (38676); nine Note (date, card) headings. No other sentence of this PR's text carries a note ordinal.

Against #38809's K7 note (split algorithm version kept per strategy): no contradiction, no new ambiguity. This note reads K7 only for where the model is judged ("on the fingerprint the service expects of the index"). Several sources of one instance where one needs a rebuild: answered source by source, fingerprint compared ahead of the embed, the refused source asks for no vector.

Against #38809's Consequences note (a per-source sync state across searches): no contradiction; this note holds one promise "for the length of one search" and lists a memo kept past one search under "Not in this note". #38809's header lines say "It decides nothing and adds no contract member" of their own notes; the line after them registers two; read in order they do not conflict.

Sentences naming other notes, re-read on this head, each still true and naming one note: "the note of 2026-11-30 on #38760", "The note of 2026-11-29 under K1", "What "capabilities" became", "the rules above", "every earlier note are left as written".

The earlier PASS's reasoning holds: the text is the same one word apart, and the six cited paths are byte-identical between 0fc9eab900 and 6f82fd055d; "Until #38798 lands, main has neither member" is still true. #38817 (4d9d12acce) codes the stand-in embedder's refusal SERVICE_UNAVAILABLE 503 in knowledge-service-plugin.ts (not cited by the note); the note's "refused with the code and the wording it has on main" now has a code to keep there, and phase 1 must pass the embedder's error through embedQuery unwrapped for that test to stay green. The note asks no less.

Earlier ids N1–N4 of 7297709290 stand; none closed or reopened.

N5 (nit) — the K1 cross-reference names its note by date and place alone; this record's later references add the card where a date carries several notes ("on #38676" would follow that form). The place already names one note; leave it.

The two ◆ items still await the approver, and this PR stays Tier H. This record approves nothing.

Implemented-by: claude/project-thread-cxx7uu-adr
Reviewed-by: session_01JQwxbXfgA45f3y5YpDPT5h

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-warren · session_01JQwxbXfgA45f3y5YpDPT5h

席位核对

ACCEPT (delta) at head a28863cef94c50d7495f1c18705d04a1d8cc535d · Tier H · Part of #38676 · supersedes the ACCEPT on f3cd7dba76 (7297727661)

  1. What changed since the last ACCEPT: main merged in after docs(adr): ADR revisions, week of 2026-11-29, second part (four dated notes across three records) #38809 landed (dequeued 2026-12-01T03:58:12Z on MERGE_CONFLICT). The only hand-resolved line is the header ordinal of our **Amended** line, "seventh" → "ninth", now that docs(adr): ADR revisions, week of 2026-11-29, second part (four dated notes across three records) #38809's notes sit above it. The K1 cross-reference and the K8 note are byte-identical to the accepted head; still add-only against main.
  2. Review: delta contract review PASS → comment 7300685095, at CONTRACT_REVIEW_TIER (verify-review-tier: every assistant turn served at that tier).
  3. Gates: every check-run on this head has completed with no failure (success or skipped by label/path).
  4. Accepted deviations: unchanged from 7297727661.
  5. Landing: pm:awaiting-merge stays; review requested from os-zhuang stands. Needs a maintainer re-enqueue — the seat does not enqueue a governed PR.

Contract review → comment 7300685095

@os-zhuang
os-zhuang added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 13a0d3f Dec 1, 2026
50 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-cxx7uu-adr branch December 1, 2026 04:50
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
… notes across three records) (objectstack-ai#38809)

<!-- claude-projects-attribution: {"github_login":"os-support-ai"} -->
_Requested by **Yibo Wang** · [project
thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBHuLciv5hYVYUu4pypDP48J)_

Fixes objectstack-ai#38438

Clause-②: no
Metadata-protocol: none

This pull request carries the card's last four rows. The first seven
landed with the first pull request of this card, objectstack-ai#38774, merged
2026-11-30.

## 维护者速读

- 用户能看到什么变化:用户无感;只在三份设计记录里补了四条带日期的说明,写明主线现在实际怎么做,原有的决定文字一个字没动。
- 为什么做:属于「每周设计记录修订」滚动清单(11 月 29 日这一周);上一张合并请求已带走七行,这次补齐剩下四行,这份清单就此收口。
- 出错会怎样:最坏是某条说明写得不准,照着设计记录干活的人会被带偏;纯文档、只增不删,可以直接撤回,不影响任何功能。
- 要你做什么:请审这四条说明并批准一次(设计记录须由你本人批)。

## What changes

Three ADR files gain four notes dated 2026-12-01. Every diff line is an
addition: 43 lines added, 0 removed. No original decision text is
rewritten, and no decision changes. Each note follows the note
convention its own record already uses, and each says that the passage
it is read with is left as written.

Each row's "what is true now" was read against the code on `main` before
its note was written. All four rows hold. Where a row's wording did not
match the tree, the note says what `main` does; the last column says so
and the list under the table gives the detail.

| ADR · section | Was (the record's words) | Now (what the note records)
| Source PR | Row on the card · result |
|:---|:---|:---|:---|:---|
| ADR-0161 · Consequences, the bullet "A stored fingerprint and recipe
hash are the only index state the service relies on" | "The service
keeps none of its own" | The service keeps a sync state for each source:
its last build, and the record syncs that failed and are not yet
repaired. Where the knowledge plugin can keep it, it is one durable
record per source; otherwise the last build is kept in the process and
failed syncs are not counted. Whether an index is due for a build is
still read from the stored fingerprint and recipe hash, so the bullet's
first sentence stands for that decision. The K8 note of 2026-11-28
already names this state | objectstack-ai#38307 | Card body row · **written, corrected
to the tree** (the in-process case) |
| ADR-0161 · K7, the components table, row "Split algorithm version" |
"a constant the splitter exports; it changes when the splitter gives
different passages for the same text and settings" | The version is kept
per split strategy, and the fingerprint reads the entry for the strategy
the source resolves to. A change to one strategy's passages starts a new
generation only for the sources that resolve to it. The single exported
constant is retired, with no alias | objectstack-ai#38375, objectstack-ai#38452 | Card body row ·
**written, corrected to the tree** (no version value is written) |
| ADR-0085 · the note of 2026-11-27, and the note of 2026-11-30 under it
| "Neither key is in the spec yet", and in the later note "The second
half stands: `fieldTabs` is not in the spec" | `fieldTabs` is in the
spec, an optional list of `{ key, groups }` entries on `ObjectSchema`,
so both keys are built. The parse refuses a group the object does not
declare, a group two tabs name, a group that places a related list, and
a repeated `key`. The tabs are drawn on every tier of the standard
record page: the full page, the side preview and a phone. Only the
standard record page reads the key, and an object extension does not
carry it | objectstack-ai#38742 | 7282251133 · **written** |
| ADR-0084 · the table "What the amendment replaces", row "Entries that
are not a type", and three sentences that count four entries | "The
organization's own flows retire when the door that moves loose items
ships."; "The menu also holds four entries that open no type's list";
"Of the four entries that are not a type, the cross-package directory is
to leave the menu"; "The four entries that are not a type are 高级 on a
package" | The door has shipped and the flows have retired, the entry
and the package-less scope it opened alike. Four changes carried it,
each named with what it did. The three sentences count the rows of the
table under "Entries that are not a type" as it was first written. The
note names the entries of a package's menu that open no type's list
today: 概览 Overview, the default sharing overview, Diagnostics and 全部类型
All types | objectstack-ai#38185, objectstack-ai#38389, objectstack-ai#38545, objectstack-ai#38598 | 7283216315 · **written,
corrected to the tree** (names and no count; a third sentence; the
change that built the door) |

Every prerequisite of the four rows is merged on `main`: objectstack-ai#38307, objectstack-ai#38375,
objectstack-ai#38452, objectstack-ai#38742, objectstack-ai#38185, objectstack-ai#38389, objectstack-ai#38545 and objectstack-ai#38598, and objectstack-ai#38679 and
objectstack-ai#38401, which two of the notes point back to. The newest comment on the
card when this was opened is the claim amendment, 7296007044; a row
added after it is not in this pull request.

### Where a note differs from its row

- **ADR-0161, Consequences.** The row says the service keeps a sync
state per source. On the tree that state is a durable record only where
the knowledge plugin can keep it, with its object registered and a data
engine bound. Otherwise the last build is kept in the process and failed
syncs are not counted. The note says both. It also says what the row
asks for: the stored fingerprint and recipe hash are still what a build
is decided from, at boot and on reload alike.
- **ADR-0161, K7.** The row says no fingerprint value moves. That is
true of the change that brought the table in, and the note says so in
those terms. It is not true of every entry since: one strategy's entry
has been raised on `main` for a change to its own passages. So the note
writes no version value, and says that an entry raised since was raised
for its own strategy.
- **ADR-0161, the header.** This record lists every dated note in its
header, one "Amended" line each. The two notes add two such lines, the
seventh and the eighth. That is the record's own convention and it is
why the file gains 17 lines for two notes.
- **ADR-0085.** The first pull request of this card wrote a note dated
2026-11-30 that says "The second half stands". That sentence was true
for one day. The new note is placed under it and names both sentences it
is read with; neither older note is edited. It does not repeat what the
2026-11-30 note says of `pinOverview`. The three tiers are read from the
code: the list of field tabs is built with no regard to the tier. No
test names the three tiers one by one.
- **ADR-0084.** The row asks for the entry count as it now stands. The
note names the entries and writes no number, since a count in a record
goes stale with the next entry. The row names two sentences that count
four entries with no note beside them: the one that opens "Entries that
are not a type", and "Of the four entries that are not a type, the
cross-package directory is to leave the menu", in the note of 2026-11-26
under "The two tiers". The note reads both. It also reads a third, which
the row does not name and which has no note either: "The four entries
that are not a type are 高级 on a package", under the same heading, quoted
as it renders (the record links part of it). So the note says three. As
first pushed, the note said two and left out the sentence the row asks
about; the contract review found it, and `128528c5` corrects the note.
The row names three pull requests. The note names four and says which
did which part: the door itself was built by objectstack-ai#38185. The note stays in
step with the two ADR-0084 notes of the first pull request, which it
does not touch.

## Tests

Docs only. No package source is touched, so no package test and no type
check is owed for the change. No tested behaviour changed, so there is
no ablation.

Checked on the committed text:

- Each phrase a note quotes from its ADR is in that file as it stands on
`main`. A script compared them. One quotation, in the ADR-0084 note,
reads as the sentence renders.
- Each path a note cites exists on the tree, and each of the seven
symbols a note anchors is a declaration in the file named. `pnpm
check:adr-symbol-anchors` judges the same and is green.
- A probe on the spec source: `ObjectSchema` accepts `fieldTabs` with a
declared group. It refuses a group the object does not declare, a group
two tabs name, and a repeated `key`. `ObjectExtensionSchema` refuses
`fieldTabs` as an unrecognised key, with its guidance.
-
`ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.test.ts`
reads ADR-0084's type table from disk. It was run under the verify lock
on the final commit `128528c5`: `Test Files 1 passed (1)`, `Tests 21
passed (21)`. It read the same on `808e249f`, the first commit of the
notes.

The local gate set is the `dispatch-gates --commands` derivation for
this change set, 21 commands, run on the final commit `128528c5`. Each
exit code was captured before any pipe. Reconciliation: `Run
reconciliation — 21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN`. The same
21 were derived and run on `808e249f` and on `f7bae5cfb`, with the same
result. On `128528c5` the derivation warns that the branch is one commit
behind `main` and that one file it derives from changed there. The
branch does not merge `main` again while this pull request is open and
mergeable, so the list was derived a second time on a throwaway tree of
`main` (`d97aaaea9a`) plus this branch: the same 21 commands, and no
warning.

<details><summary>ADR gates on 128528c (all exit 0)</summary>

| Command | Exit | Verdict line |
|:---|:---|:---|
| `pnpm check:adr-symbol-anchors` | 0 | `check-adr-symbol-anchors: 4606
anchors across 165 records resolve — 1726 symbol (1697 declaration, 29
literal)`, 0 line anchors survive. Seven of the symbol anchors are new
with this change. |
| `node scripts/check-adr-links.mjs` | 0 | `check-adr-links: 1284
relative link destination(s) under docs/adr/ resolve` |
| `node scripts/check-adr-links.mjs --self-test` | 0 | |
| `pnpm check:adr-anchors` | 0 | `check-adr-anchors: OK (135 anchored
file(s), every governing ADR still referenced` |
| `pnpm check:adr-index` | 0 | `adr-index --report: OK —
docs/adr/README.md is current, every record parsed` |
| `pnpm check:doc-authoring` | 0 | |
| `pnpm check:nul-bytes` | 0 | `check-nul-bytes: OK (scanned 29077 text
file(s)`, no raw control bytes |
| `pnpm check:closed-ceremony-text` | 0 | |
| `pnpm check:pm-governed-merges` | 0 | |
| `pnpm --filter @objectstack/lint run check:doc-formula-expressions` |
0 | run after building the build closure of `@objectstack/lint` under
the verify lock |

</details>

<details><summary>The other derived families on 128528c (all exit
0)</summary>

`node scripts/check-closing-keyword-parity.mjs` and its `--self-test`,
`node scripts/check-comment-mask-corpus.mjs` (`24511 files, 0 disagree,
0 unparseable`), `node scripts/ci/plan-test-core-shards.mjs
--self-test`, `pnpm check:ci-filter-parity`, `pnpm
check:cross-package-test-inputs`, `pnpm check:driver-memory-census`,
`pnpm check:gitlink-declared`, `pnpm check:pm-prior-rulings`, `pnpm
check:refd-timer-probe`, `pnpm check:watch-hint-literal`.

Before the last push: `node scripts/check-commit-card-trailers.mjs
--range origin/main..HEAD` exit 0, three commit messages, no card
relation and no model identifier in the trailer pair.

</details>

<details><summary>The overlap check answers exit 1 against one open pull
request, objectstack-ai#38812; the reading is below</summary>

`node scripts/pm/overlap-check.mjs` on `128528c5`:

- Against `main` (`d97aaaea9a`): `origin/main: merges cleanly`.
- Against the open pull request objectstack-ai#38812 (a draft opened after this one,
head `f3cd7dba76`, one file, 17 lines added to ADR-0161): `VERDICT
overlap exit 1`, with the conflict named in the ADR-0161 file. No other
open pull request shares a file with this branch.

What the conflict is made of, measured on the two heads:

- Both add to the header list of dated notes in ADR-0161, at the same
place, under its sixth line. This branch adds two lines, "a seventh
dated note" and "an eighth dated note". objectstack-ai#38812 adds one line, and it
also says "a seventh dated note".
- That is the only conflict hunk. The notes themselves sit apart and
merge: this branch's under K7 and under Consequences, the other's under
K8 with a cross-reference at K1.

So this overlap is real, and it is more than text: the two pull requests
number their notes from the same count. Whichever lands second has to
merge `main`, keep all three header lines, and renumber its own. See the
acceptance notes.

An earlier reading, on `f7bae5cfb`, answered 1 against the approvals
trunk, objectstack-ai#38497. That pull request has since ended without a merge
(2026-12-01T01:02Z), and the check no longer lists it.

</details>

Not run locally: the repository test project behind `test:repo`, and
every package suite. CI runs them on the pull request and on the merge
group. Every other family CI runs is read from this pull request's check
runs, not re-run here.

## Acceptance notes

- **Changeset.** None, and the pull request carries `skip-changeset`.
`docs/adr/**` ships in no package.
- **Governed surface.** `docs/adr/**` lands on the maintainer's
approval. This pull request stays a draft; the seat arranges the review
at the tier this surface owes and hands it over.
- **Why this one ends the card.** The card says it ends when its pull
request merges. Seven rows landed with the first pull request and these
four are the rest, so every row is carried. The card is open and is not
waiting on a decision.
- **Claim binding.** The claim amendment, 7296007044, names this branch
on a line spelled `Branch (round 2):`, which the guard "The card this PR
closes must claim this branch" does not read. The seat restated the
claim in the shape the guard reads (comment 7296908473 on the card), and
the guard is green on this pull request.
- **Landing order against objectstack-ai#38812.** Both pull requests add header lines
to ADR-0161 at the same place, and both call their note the seventh; the
overlap check answers 1 for that file. Whichever lands second merges
`main`, keeps all three header lines and renumbers its own. If this one
lands second, its two lines become the eighth and the ninth. If objectstack-ai#38812
lands second, its line becomes the ninth. The seats set the order: this
pull request first, by claim stamp (seat 2's `Notify: serial · objectstack-ai#38676
behind objectstack-ai#38438`, mailbox objectstack-ai#38766 comment 7297489558); objectstack-ai#38812 renumbers its
line after this lands.
- **Seen and left alone.** Outside the four rows, and not changed here.
- ADR-0084's table "What the amendment replaces" has a row on the
cross-package directory that says "In force until it moves". The
amendment of 2026-11-26 moved that entry to Setup, and the menu model on
this tree has no entry kind for it. A candidate row for the next weekly
card.
- The items the first pull request of this card listed under this
heading stand as listed there.

## Verification

### Read first

1.
`docs/adr/0161-knowledge-platform-boundary-platform-owns-assembly-sync-split-record-return-knowledge-source-is-a-governed-type.md`,
the note of 2026-12-01 under the list of Consequences. The highest-risk
hunk: it says a sentence of the record no longer describes `main`, and
it draws the line between the state a build is decided from and the
state that only reports. Check the sentence pair "Where the knowledge
plugin can keep it" and "Otherwise", and the bullet "What decides a
build is unchanged".
2. `docs/adr/0084-application-builder-information-architecture.md`, the
amendment of 2026-12-01 under the table "What the amendment replaces".
It says which of four pull requests did which part, it names the three
sentences that count four entries, and it names a package's menu entries
where the record counts them. Check the four attributions, the three
quoted sentences and the four names.
3. `docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md`,
the note of 2026-12-01. It answers a sentence that the note of the day
before wrote, and its claim of three tiers is read from code with no
test that names them. Check the tier sentence and the list of what the
parse refuses.

### Two-minute check

Run `git diff --numstat origin/main...HEAD` on this branch. Expect three
rows under `docs/adr/`, each with `0` in the removed column, and 43
added lines in total (2, 24 and 17). Then run `pnpm
check:adr-symbol-anchors` and expect exit 0 with a line that contains
`anchors across 165 records resolve`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01WGufzhPdWmTd47Fi2bKYZS)_

<!-- signed: repo:objectstack@os-support-ai · os-support-ai ·
session_01WGufzhPdWmTd47Fi2bKYZS -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants