Repository navigation
Description
repo:cloud#1 · os-warren · session_01JQwxbZSA7o5vcLjQjM1myV
Filing gate: ③ maintainer-directed. Source: topic #36996. Key words (maintainer, 2026-11-24 19:17Z, handing the epic to this seat): 「36996 你接手整个专题的任务,现在就开专区派发」.
Grading: area:ai · Feature · p2 (topic child at the epic's level) · reach: n/a (new capability) · evidence: read.
维护者速读
- 做什么:AI 的回答带上引用:哪条记录、正文哪一节、原文摘句。用户点引用就打开这条记录,并停在被引的位置。这张是占位卡,第 5 行落地后拆成具体卡。
- 谁受益:制度问询这类应用的用户,可以核对 AI 说的话出自哪里。
- 不做会怎样:回答的来源无法核对。
- 需要你做的:无。
What
ADR-0160 D9 fixes only the shape, { object, id, anchor?, quote }. This card is a placeholder and cannot be dispatched as it stands. When row 5 merges, the owning seat splits it and closes this card in favour of the split. The anchor and the verbatim check both read get_record_context's output, so it waits for row 5. The expected split:
- spec: the citation schema enters spec with its first reader (ADR-0049), along with which answer member carries the list;
- reader: a check that
quoteis found verbatim in whatget_record_contextreturns to the reading user forobject,idandanchor; - surface: rendering, and opening the record at the anchor (the console; cloud's in-app answer). Blocked-by objectstack-ai/cloud#4978 (row 9a), where the in-app answer comes from.
Expected Metadata-protocol: added once the shape enters spec.
Dispatch note (added 2026-11-25)
Added by the maintainer's session (maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby) after an independent Fable review of rows 5–10, which the maintainer accepted: 「同意你的建议」.
When #37140 closes, triage will move this card from pm:blocked to pm:queue on its own. Do not dispatch it as it stands. The seat that picks it up splits it at that moment, as above, and closes this card.
Blocked-by: #37140
Parent: #36996 (row 10). Reader: the epic's owning seat (repo:cloud#1), which splits it when row 5 merges.
Dedupe (objectstack, is:issue, open and closed): citation in:title 56 (none on record citations; #34894 closed is the dataset sourceLine decision) · "sourceLine" citation 9 (dataset-answer work, all but the epic closed).
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
2026-11-25T04:37Z Line form of the blocker already named in the body (row 9a), so the unlock scan reads it. #37140 is closed; this one is still open:
Blocked-by: objectstack-ai/cloud#4978
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-25T15:38Z
pm:blocked→pm:queue. Its blockers 记录 AI 问询 5:资料包类型 ai_context、渲染服务与 get_record_context 工具(MCP) #37140 and cloud#4978 are both closed.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Split held for three maintainer questions · 2026-11-25T20:10Z · area ai-36996 (topic #36996, maintainer 2026-11-25T12:57Z 「开一个 36996 专题,接手剩余任务」)
维护者速读
context(要改 ADR,受管面);③ 打开主记录。Governing text: ADR-0160 D9 (citation shape
{ object, id, anchor?, quote }; "whether a surface verifies before it renders" left to row 10), ADR-0049 (a key lands with its first reader).Questions (readings on
origin/maina182fbe37; full draft with file:line readings at/mnt/project-files/objectstack-seat5/ai-36996/split-37144/split-draft.md)contextmember, so a citation on such an object cannot be verified. A: amend D9 with optionalcontext(the tool input's spelling; Tier H ADR amendment). B: the verifier tries every pack the caller is served on that object. C: fail closed. Recommend A: one optional key the model already holds; B widens "verbatim in what the tool returned".object/idis the pack's root record; the quote is matched across that answer's related cells; the citation opens the root. B: the child row (needs a pack rooted on the child). Recommend A: matches "whatget_record_contextreturns forobject,id".pm:queue→needs-user-decision; unassigned. The split is filed once the three are ruled.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CXJF9qUdikxm8sBGR8
Decision analysis: the three questions of the citation split · 2026-11-25T23:09Z · model claude-fable-5-1 (the maintainer's standing rule for decisions) · supersedes the option list in the split-held comment above (7173298192); the questions are the same, the analysis is new.
维护者速读
Background
Row 10 of #36996 ships record citations: an answer names the record, the place in its body and the verbatim passage it rests on, and a click opens the record there. ADR-0160 D9 fixed the shape
{ object, id, anchor?, quote }and left three things to row 10: which answer member carries the list, whether a surface verifies before it renders, and how a citation opens the record. Since PR #37291 (merged 2026-11-25T18:35Z) a pack is identified by package + name and an object can have several packs, which D9's shape did not foresee. The split draft with file:line readings is at/mnt/project-files/objectstack-seat5/ai-36996/split-37144/split-draft.md(§1 readings, §2 proposed cards 10a/10b/10c, §4 independent review).Governing text. ADR-0160 D9 (
docs/adr/0160-record-scoped-ai-inquiry.md): "quotemust be found verbatim in whatget_record_contextreturns forobject,idandanchorto the reading user … Shape only … Which member of an answer carries the list, whether a surface verifies before it renders, and how a citation opens the record are row 10's." D4: input{ objectName, recordId, context?, anchor? }; pack selection withcontextomitted and several packs ⇒ refused, candidates listed. D3:anchoris an outline heading of the pack'sbody; "ananchorthat does not resolve is refused". ADR-0049: a key enters spec with its first reader.grep -n "context?: string, anchor?: string" docs/adr/0160-record-scoped-ai-inquiry.md→ 1 hit (D4 input).Protocol declaration, and whether it changes. The citation schema is new spec (
Metadata-protocol: added, ADR :384). Q2 option A changes D9's declared shape (one optional key), which is a Tier H ADR amendment; Q1 and Q3 change no declared shape. None of the options touches the tool input/output of D4.Premises (each with its re-check; all read on
maina182fbe37)git grep -nE "shar|visib" packages/spec/src/ai/conversation.zod.ts→ 0 hits.context.grep -n "object: string, id: string, anchor?: string, quote: string" docs/adr/0160-record-scoped-ai-inquiry.md→ 1 hit.contexton an object with several packs is refused.grep -n "selection.kind === 'several'" packages/services/service-record-context/src/record-context-tools.ts→ 1 hit.grep -n "listContextPacks" packages/services/service-record-context/src/door.ts→ 1 hit.grep -n "pack: z.object" packages/spec/src/ai/record-context-tools.zod.ts→ 1 hit.anchoris a heading slug of the root body only; a related row's text is a cell, with no outline.grep -n "slugOf" packages/services/service-record-context/src/body-outline.ts→ hits;git grep -n "anchor" packages/spec/src/ai/record-context-tools.zod.ts→ input, outline entry, body only.grep -nE "section|anchor" ui/packages/app-shell/src/urlParams.ts→ 0 hits.The problem, one sentence
A user who clicks a citation under an AI answer must land on text that really is in that record and that they are allowed to read, and today nothing says who checks that, which pack the check reads through, or which record a quote from a child row opens.
Options × real cost × workload
context(the pack's face, as the tool input spells it)object/idis the root record; quote matched across the pack's related cells; click opens the rootBusiness translation. Q1-A: the platform signs each citation before it ships, like a bank stamping a statement once at issue. Q1-B: the reader re-checks on every view, a notary at every reading. Q1-C: unsigned statements shown with a warning. Q2-A: a citation is a complete address (record, lens, section, passage) that anyone can re-read in one call. Q2-B: the address omits the lens and the platform tries every lens. Q2-C: objects with more than one lens get no citations. Q3-A: a quote from a policy's version text opens the policy. Q3-B: it opens the version document.
Four axes (business stance)
object,id,context,anchor) plus the quote. Q2-A keeps that symmetry; Q2-B makes verification something only the platform's own verifier can do (an outside reader would need the pack list, which no tool exposes); Q2-C leaves a hole that grows as packages ship packs. Q1-A matches how provenance is shipped on every mainstream assistant (verified at generation, persisted with the message; Perplexity, Notion AI, Copilot all attach sources at answer time, none re-verify per view); Q1-B adds a public endpoint for a benefit no reader has while conversations are per user (P1). Q3-A keepsanchormeaning one thing (a root-body heading); Q3-B would need a second locator kind in the shape. Reading on ① alone: A / A / A.os-decision-facets
① 长远合理性: Q2-A keeps the citation a complete, one-call-checkable address mirroring the tool input; Q1-A and Q3-A keep one verifier and one locator kind; special cases shrink, contract growth is one optional key.
② 实际业务拉动: Q1/Q3 pulled by BrightRule today (one pack per object, text on child rows); Q2 multi-pack pulled by packaged packs (PR #37291), no customer yet; Q1-B and Q3-B have zero pull.
③ 防 AI 犯错: Q1-A drops unverified claims before display; Q2-A makes the model name the pack and refuses a wrong one loudly, Q2-B is a verifier that guesses; Q3-A gives one search space.
④ 创业阶段不扩散: Q2-A is one optional key plus a Tier H amendment, accepted because ① needs it; no endpoint (Q1-B), no child packs (Q3-B), no new gate.
Prior rulings read: citation / 引用 / context pack / D9 / 37144 in the coordinator rulings ledger → 0 hits; GitHub is:issue "record citation" → 226 hits, phrase not honoured, the card’s own dedupe line reads none on record citations; ADR-0160 D9, D4, D3; thread: 裁决 #37144 引用卡三问.
Recommendation and confidence gaps
A / A / A. Q1-A because the conversation has one reader and a dropped claim is safer than a flagged one. Q2-A because a citation is the tool call that re-reads it plus the quote, and that call needs the pack; the Tier H cost is one small ADR amendment (precedent +46/−17). Q3-A because the anchor only exists in the root body and the first application has no child-rooted pack. Not taken: Q1-B (endpoint for no reader), Q1-C (shows unverified claims), Q2-B (a guessing verifier that only the platform can replay), Q2-C (a growing hole), Q3-B (a second locator kind and packs per child).
Gaps: objectstack-ai/cloud#4978 (row 9a) could not be read from this session (HTTP 403), so how the in-app answer stream carries a data part is taken from the open-tree precedent (
BUILD_PROGRESS_FRAME_TYPE) and not from cloud's code. Whether the cloud runtime keeps the turn's tool results in reach after the turn (which would let the verifier match against them first and re-read only on a miss) is unverified; it changes cost, not the ruling.Self-check: 只看①选 A/A/A;②③④ 是否翻转:否。
After the ruling
Ruled:line,needs-user-decision→pm:queue) and tells the topic thread (area ai-36996).domain:skills, reviewers os-zhuang + hotlong), and 10a carriesBlocked-by:it. If Q2 = B or C: no amendment; 10a as drafted with the chosen verifier rule.Metadata-protocol: added, Clause-② yes), 10b (console,Blocked-by:10a) and 10c (cloud runtime, in objectstack-ai/cloud,Blocked-by:10a), closes this placeholder in their favour, and dispatches 10a once the amendment lands.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CXJF9qUdikxm8sBGR8
Ruling recorded · 2026-11-25T23:19Z · decision thread 裁决 #37144 引用卡三问
Ruled: Q1 A · Q2 A · Q3 A — by the maintainer (os-bill), who picked the option 「生成时核·D9加context·开主」 on the decision card at 2026-11-25T23:18Z, after the four-axis analysis in comment 7177223845 (Governing text: ADR-0160 D9, D4, D3; ADR-0049).
维护者速读
The ruling
quoteis not found verbatim in the data member ofget_record_context's answer for itsobject,id,contextandanchoris dropped before the answer is shown; the verified list is persisted with the message, and a surface never re-verifies on display.context: the pack's face, spelt as the tool input'scontextargument takes it. The verifier passes it through. A citation withoutcontexton an object with several packs is not verified (the tool's refusal stands); on an object with one pack it verifies as before. This is a Tier H amendment ofdocs/adr/0160-record-scoped-ai-inquiry.md(reviewers os-zhuang + hotlong), filed as its own S card ahead of 10a.object/idname the pack's root record. The quote is matched across that answer's data member, related-list cells included. The surface opens the root record;anchorkeeps its one meaning, a root-body heading.Execution (area ai-36996, topic #36996)
domain:skills, Tier H) first; 10a carriesBlocked-by:it.Metadata-protocol: added, Clause-② yes), 10b (console: draw verified citations, open the record at the anchor;Blocked-by:10a) and 10c (objectstack-ai/cloud: the in-app runtime writes, verifies and persists citations;Blocked-by:10a) as drafted in/mnt/project-files/objectstack-seat5/ai-36996/split-37144/split-draft.md§2, with the three rulings above folded in; close this placeholder in their favour.needs-user-decision→pm:queuein this same write; the card stays unassigned until the topic thread splits it.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc
Split and closed per ruling 7177410380 (Q1 A · Q2 A · Q3 A, the maintainer on the decision card). The three rulings are folded into each card:
contextand records the three rulings (S, Tier H, reviewers os-zhuang + hotlong). Queued.Metadata-protocol: added, Clause-② yes).Blocked-by: #37363.Blocked-by: #37364.Row 10c, draft card for objectstack-ai/cloud
Filing gate: ③ maintainer-ruled. Split of placeholder #37144 per ruling 7177410380 there (the maintainer, decision card, 2026-11-25T23:18Z: Q1 A · Q2 A · Q3 A). Filed here because the in-app answer runtime is cloud's; for the cloud seat to triage and own.
Grading: Feature · p2 (topic child of #36996, row 10c) · reach: in-app assistant users · evidence: read on the open tree only (no cloud code read).
维护者速读
What
RecordCitationSchema(object,id,context?,anchor?,quote; objectstack-ai/objectstack 10a). The channel is cloud's choice: a structured output or a terminal tool, under theget_record_contextskill guidance.verifyRecordCitationsonce, as the asking user (ruling Q1). Unverified citations are dropped before the answer is shown.data-record-citationspart through the stream's data-part channel, and persists it with the message. A reload redraws the stored list and never re-verifies.contextface that was called (ruling Q2);anchor;Acceptance
get_record_contextcall carries no part.Out of scope: the MCP door; audit.
Governing text: objectstack ADR-0160 D9 as amended by #37363; ruling 7177410380.
Blocked-by: #37364
Parent: #36996 (row 10c; replaces placeholder #37144)
Size: M