feat(整理): 问题在整理记录就地处理,识别失败自动叫智能体识别

- 整理记录「需要处理」:列表 attention 筛选与统计同口径(没被后来的整理取代,且有未关闭事项或失败 / 部分完成未忽略),
  记录带 attention(原因类别、精简事项、能否让智能体识别);忽略端点记 attention_cleared_at(迁移 0078)并关闭关联事项
- 识别失败(organize_identity)按 agent.autoIdentifyOrganize 自动派一次识别会话;新能力 organize.assign_identity
  指定作品后复用人工指定的钩子路径自动重新整理,只放行本事项的识别会话与用户对话;整理记录里可手动「让智能体识别」
- GET /attention:整理需要处理条数、等你批准的智能体操作、系统健康问题(铃铛 / 首页 / 运行状态共用)
- 原因码文案不再指向待处理;命令面板「待处理」换成「需要处理的整理记录」

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-06 16:47:18 +08:00
1 parent 414ea7c890
commit 1c1a954703
25 files changed
+1037 -35

No files matched your search

+16
View File
@@ -49,6 +49,22 @@ export const organizeApi = {
body: organization.OrganizationDeleteRequest,
response: organization.OrganizationDeleteResult,
}),
dismissAttention: ep({
method: "post",
path: "/organization-records/{id}/dismiss-attention",
scope: "organize.execute",
summary: "忽略这条整理记录的问题:不再算需要处理,关联的未关闭事项一并关闭",
params: IdParam,
response: organization.PublicOrganizationRecord,
}),
agentIdentify: ep({
method: "post",
path: "/organization-records/{id}/agent-identify",
scope: "organize.execute",
summary: "让智能体识别这条整理记录的作品(没识别出作品的记录),认出来自动重新整理",
params: IdParam,
response: organization.OrganizationAgentIdentifyResult,
}),
create: ep({
method: "post",
path: "/organization-records",