You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
service-knowledge: a knowledge hit's title is read from a hard-coded title field #36994
Filing gate: ① product defect. Source: topic #36990.
Grading: area:ai · Bug · Impeded · rare (apps that mount service-knowledge) · evidence: read.
维护者速读
问题:命中结果的标题只取名为 title 的字段;对象的名称字段叫别的名字时,命中没有标题。
修法:按对象定义找出它的名称字段再取值。
需要你做的:无。
What
knowledge-service.tsrecordToDocument: pick the field with resolveDisplayField(schema) (packages/spec/src/data/display-name.ts), then read record[field]. Empty or withheld (credential / internal) → title undefined.
Do not call resolveRecordDisplayName: its Record #<id> floor is a UI label, not index content.
No object definition → fall back to title as today.
Acceptance
Name field is a formula / autonumber; name field withheld; no object definition.
Container run per AGENTS.md.
Blocked-by: #36991 (same file), #36839 (its readability check uses the same resolution)
Parent: #36990. Reader: the server lane for service-knowledge.
Dedupe: knowledge hit title 179 (none on this mechanism).
Triage: state pm:blocked. Grade, area and type stay as the maintainer filed them. The card's own Blocked-by: names #36991 and #36839, which is still open, so it waits as blocked. The unlock scan moves it to pm:queue when that closes. Topic order per the parent's table.
Note for whoever picks this card up (2026-11-24T19:15Z), raised in the L1 review of PR #37075 (seat comment 7141806791). Area: a4-K.
recordToDocument (packages/services/service-knowledge/src/knowledge-service.ts) sets the document title from the record whenever the value is a string and not withheld, whether or not the source lists that field among its content fields. Under epic #37000's rule that embedding is egress and a source lists its content fields explicitly, the title is a field that leaves without being listed. PR #37075 does not change this (it keeps reindex and event sync on the same builder). When this card moves the title to the object's display field, decide in the same change whether the title is sent only when the source lists it, or is declared as always sent; otherwise it belongs to the epic's row 3 (the '*' retirement).
Claim: PM loop round 1 (epic #37000 owner seat; folded member of the #36993 chain, one PR)
Session: session_01JQwxbW5anP6GDaVi5LKi2U
Thread session: session_01JQwxbWqwmAwx7eD4Xf3dv1
Account: os-warren
Branch: claude/project-thread-u4piwu
Worktree: objectstack (the card thread's own checkout)
Domain: domain:server
Seat: repo:cloud#1
File surface: packages/services/service-knowledge/src/knowledge-service.ts (recordToDocument), its tests, content/docs/protocol/knowledge.mdx, .changeset/ (stop on breach; explain in the report)
Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack's own service-knowledge recordToDocument reads a hard-coded title field (packages/services/service-knowledge) | no platform path covers it | every app that mounts service-knowledge with an object whose name field is not called title
Thread-read: 7145057613
Premise: holds (blockers #36991 closed, #36839 merged as PR #36850)
Serial constraints cleared: see the chain head's claim on #36993 (PR #37287 shares knowledge-service.ts; overlap-check before each push)
Ownership: maintainer 2026-11-25 13:49Z in the project chat, 「#4 只负责在手任务,你接手专题剩余任务」. Folded into draft PR #37301 with #36993.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: state
pm:blocked. Grade, area and type stay as the maintainer filed them. The card's ownBlocked-by:names #36991 and #36839, which is still open, so it waits as blocked. The unlock scan moves it topm:queuewhen that closes. Topic order per the parent's table.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL
Note for whoever picks this card up (2026-11-24T19:15Z), raised in the L1 review of PR #37075 (seat comment 7141806791). Area: a4-K.
recordToDocument(packages/services/service-knowledge/src/knowledge-service.ts) sets the documenttitlefrom the record whenever the value is a string and not withheld, whether or not the source lists that field among its content fields. Under epic #37000's rule that embedding is egress and a source lists its content fields explicitly, the title is a field that leaves without being listed. PR #37075 does not change this (it keeps reindex and event sync on the same builder). When this card moves the title to the object's display field, decide in the same change whether the title is sent only when the source lists it, or is declared as always sent; otherwise it belongs to the epic's row 3 (the'*'retirement).objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-24T21:31Z
where, and a restored record never re-enters the index #36991 and security(knowledge): search hits skip the API-exposure decision and field-level read rules every other row-serving door applies, now that the MCP door serves search_knowledge #36839.pm:blocked→pm:queue. Grade and area unchanged.objectstack-fleet commentedon Nov 25, 2026
repo:cloud#1 · os-warren · session_01JQwxbW5anP6GDaVi5LKi2U
Claim: PM loop round 1 (epic #37000 owner seat; folded member of the #36993 chain, one PR)
Session:
session_01JQwxbW5anP6GDaVi5LKi2UThread session:
session_01JQwxbWqwmAwx7eD4Xf3dv1Account:
os-warrenBranch:
claude/project-thread-u4piwuWorktree:
objectstack(the card thread's own checkout)Domain:
domain:serverSeat:
repo:cloud#1File surface:
packages/services/service-knowledge/src/knowledge-service.ts(recordToDocument), its tests,content/docs/protocol/knowledge.mdx,.changeset/(stop on breach; explain in the report)Container & model:
M,mode:thread,model: default (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack's own service-knowledge recordToDocument reads a hard-coded title field (packages/services/service-knowledge) | no platform path covers it | every app that mounts service-knowledge with an object whose name field is not called titleThread-read: 7145057613
Premise: holds (blockers #36991 closed, #36839 merged as PR #36850)
Serial constraints cleared:
see the chain head's claim on #36993 (PR #37287 shares knowledge-service.ts; overlap-check before each push)Ownership: maintainer 2026-11-25 13:49Z in the project chat, 「#4 只负责在手任务,你接手专题剩余任务」. Folded into draft PR #37301 with #36993.
objectstack-fleet commentedon Nov 25, 2026
repo:cloud#1 · os-warren · session_01JQwxbW5anP6GDaVi5LKi2U
ACCEPT → PR #37301 comment 7166003818 (L1 round 2, head 4621738). Lands after CI is green on that head.