Skip to content

record-context:引用在被截断的正文上按全文核对,服务开放 verifyCitations(ADR-0160 D9 修订) #39506

Done

Description

@os-bob

属于专题 #39505。

做什么

  • verify-citations.ts:引用没带 anchor、这次返回的正文被截断(目录或 truncated)时,用同一个 door 读这条记录,把正文字段全文加入比对;html / richtext 另加一份去掉标签的。
  • RecordContextService 增加 verifyCitations(citations, door),供 cloud 的工具调用。
  • 修订 ADR-0160 D9:写入专题里已定的 ①;同步修改文件头说明和钉住旧规则的测试。

验收

  • 长正文没带 anchor:原文在全文里,核对通过;不在,核对不过。
  • 被隐藏的正文不会被读取。

Activity

  1. added
    priority:p1
    pm:dispatched
    area:ai
    on Dec 4, 2026
  2. self-assigned this
    on Dec 4, 2026
  3. os-bob commented on Dec 4, 2026

    @os-bob
    ContributorAuthor

    Claim: session 07e67131-392a-47b3-9266-6907acc22e29 · branch claude/issue-39506-citation-verify-full-body

  4. added
    pm:awaiting-merge
    and removed
    pm:dispatched
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aipm:awaiting-mergepriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions