Repository navigation
Conversation
This was referenced Oct 23, 2026
xiaoland
force-pushed
the
feat/organization-extraction
branch
from
October 25, 2026 09:23
4e1237b to
9b2768b
Compare
xiaoland
marked this pull request as ready for review
October 25, 2026 09:24
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
原材料删除后,整理结果仍需保留足够的原文依据才能独立使用。本 PR 新增一个提取行为及结果 Resolver:Agent 从本次实际读取中选择引文,写入正文、历史来源名称和必要引文,并通过普通 Relation 关联仍存在的来源。
复用现有 Agent、图事务、配置和自动/显式 Job。逐字校验拒绝编造、歧义和重叠引文;同一完整提案并发重放只产生一个结果;单个产物及来源关系一起提交或回滚。来源编辑、删除或解绑不改写内嵌依据。没有新增表、迁移、HTTP/Peer 协议或采集器依赖。
清理后仅返回结果 ID 与是否新建,删除无消费者的逐条关系回执和未实现的 URL/发言者预留字段。README 与实现说明准确致谢 Hister;未复制源码或资源。
验证
2026-10-25 已 rebase 到当前 main,并转为 Ready for review,当前 head 为
9b2768b。本次仅整理历史,源码树与 rebase 前的远端版本逐文件一致。本地完整pdm run check通过,测试为 90 passed/66 skipped;本轮未设置数据库测试 URL,数据库集成与真实模型证据沿用前次受测结果。 下方此前通过的 CI 证据保留,新 head 的 CI 正在重新执行。当前 PR 分支从最新 main 独立建立,仅包含提取功能和共享引用更新:
39937876871,第二次运行耗时 6 分 17 秒):数据库运行、Preview 运行。模型语义质量仍是 best effort,字符串匹配不能证明正文含义正确。配套与交付
共享合同:InKCre/docs#41 。Web/TypeScript:InKCre/impl-ts#162 。没有同仓父子栈;建议合同先合入,之后分别合入两个实现。
docs/_shared引用已推送的合同 commit4b677be8ab8c8c55c801b51484828a51a172e9b3,引用更新独立成提交。不自动建立 Agent 配置或 Cron,不修改生产环境。新增内置 Job catalog 项需要正常 runtime provision 后可用。结果解码独立于行为是否启用。
风险与回退
新结果类型需要支持它的读取端;模型可能弃权或判断错误。关闭提取配置可停止新增产物并保留 decoder;若整体回退实现,应先保留读取现有提取结果的能力,不删除已保存数据。PR 已转为 Ready for review;合并以最新 head 的必需检查通过为前提。