docs: 集成智能体通俗文案并记录验证结果

This commit is contained in:
brother7 committed 2026-10-13 10:31:28 +08:00
1 parent 821fd6ffbe
commit 2ba39079a8
3 files changed
+60

No files matched your search

@@ -1,5 +1,11 @@
# Data Flow
## Makelore capability presentation
Yuxi 统一维护的平台文案 → 能力目录 name/description 及工具 display_name/display_description → Main 现有白名单/字节代理 → 技能选择、实时和历史共用的工具卡片。客户端保存原 key,卡片标题使用通俗名称,展开显示说明和原始工具标识;原参数、结果、状态不变,客户端不维护第二份词典。
平台只改 builtin 技能文案,个人上传、导入及同名覆盖保留作者内容。实时和历史由各 Run 的冻结配置判定工具来源;未收录、缺来源以及配置 MCP 后无法确认来源的文件/待办/子任务工具保留原名。Yuxi 与客户端需配套更新;原执行规则不变。见[源记录](../30-worklog/tasks/20261013-capability-copy-febf9c28.md)。
## Personal agent conversation process
Yuxi 按 Run 发出消息与工具 SSE → Main 原样代理 → Renderer 按 Run、线程、消息及工具身份累计。思考与 Markdown 正文分开,过程及工具输入/结果可折叠;工具开始后显示实际执行参数。Redis 数字游标抑制重放,终态历史按 Run/消息身份替换实时内容;历史读取失败或滞后保留当前片段。正式、预览、分享及渠道历史复用 CloudMessageBody。重新打开从 Yuxi 已保存记录恢复,Main 仅投影展示字段,不发送原始内部 metadata;完整历史过程要求配套 API 与客户端版本。见[实现证据](../30-worklog/tasks/20261012-agent-reasoning-39afbc21.md)。
@@ -4,6 +4,8 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
## Integrated Through
- 2026-10-13:通俗能力文案源 `821fd6ffbe5eb694852b78dc5d50257dc63261ff` 无冲突快进合入本地 `main`,配套 Yuxi 源为 `069fee1aa29e0bd90226bedb03554e318bca96fc`。Yuxi 统一维护平台工具与内置技能的名称/说明,目录保留原 key,实时和历史工具卡片共用展示文案;个人上传、导入及同名覆盖保留作者文本。冻结配置无法证明 MCP 是否覆盖文件/待办/子任务工具时保留原名,原执行规则和模型说明不变。Reviewer 发现的同名 MCP 误标已修复并复核 PASS;最终后端非 slow unit 2276 通过/1 跳过、65 项相关后端测试、3 项 HTTP/PostgreSQL、108 项客户端测试、2 项 Electron 场景及类型、lint、构建、工程校验通过。原有 3 份外来记录保持未跟踪和原内容。仅本地合并,未推送、部署或验证真实模型。见[源记录](tasks/20261013-capability-copy-febf9c28.md)与[集成记录](tasks/20261013-integrate-capability-ml-b2185884.md)。
- 2026-10-12:将个人智能体对话过程源 `70a3212bceb4128b34b7c9f58913d3cfea5b016e` 无冲突快进合入本地 `main`,配套 Yuxi 源为 `01f938733914427ba23b9bd3905146aeffe0278a`。客户端按 Run/消息展示独立思考、工具输入/结果/失败和流式 Markdown,重放去重并由终态历史替换;Yuxi 复用原生解析、工具记录和状态确认可见性,工具开始后的实际执行参数为展示依据。独立 Reviewer PASS,2270 项后端非 slow unit 通过/1 跳过、116 项客户端测试、2 项 HTTP/PostgreSQL、1 项 Electron 场景及类型、lint、构建通过。原有 3 份外来记录保持未跟踪、未改动;未推送或部署,真实模型和配套线上版本仍待验收。见[源记录](tasks/20261012-agent-reasoning-39afbc21.md)与[集成记录](tasks/20261012-integrate-agent-rendering-928ad75c.md)。
- 2026-10-12:按用户要求,将头像源 `235af24d6cf29b7e13b6be29fec9426fd4c6600c` 无冲突快进合入本地 `main`,配套 Yuxi 源为 `288ab7f84a9d02ca2b092c10da9f7b4ee7d66206`。智能体支持上传、替换、移除、未保存预览与列表/分享/版本展示,复用 Yuxi `Agent.icon` 和公开图片存储;Main 持有上传凭据并解析展示地址,发布头像由快照固定。独立 Reviewer 无阻断发现;98 项客户端测试、Renderer 类型检查、相关 lint、构建及 Electron 流程通过。Main 全量类型检查仍有既有错误,真实 OSS 和安装包未验收。3 份原有记录保持未提交;未推送或部署。见[源记录](tasks/20261012-agent-avatars-840d7fd7.md)和[本次集成](tasks/20261012-integrate-agent-avatars-a1f8e70c.md)。
@@ -0,0 +1,52 @@
# Task: Integrate Makelore readable capability copy
## Identity
- Task ID: 20261013-integrate-capability-ml-b2185884
- Mode: Integration
- Branch: main
- Worktree: D:\Datas\OthersProjects\makelore
- Base commit: 23aa927441d90d7b71a482c91168a2ad26f53d6d
- Owner: codex
- Status: Ready for Integration
## Scope
- Integrate the reviewed readable capability-copy source task 20261013-capability-copy-febf9c28 into local main.
- Promote accepted server-owned presentation and client rendering facts to current state and data flow.
## Intent And Constraints
- User explicitly approved commit/merge, one fresh read-only Reviewer, and official ownership handoff from the completed rendering integration task.
- Keep the 3 adopted foreign project records unchanged and untracked. Do not include unrelated deletion, optional-purpose or other task work.
- Preserve runtime identities, model instructions, permissions and selections; custom/imported/personal capability copy remains author-owned.
- Local integration only; no push, deployment, database migration or package installation.
- Concurrent and Planning Gates passed. Both main heads equal the source bases; peer scopes and promotion candidates have no unresolved semantic conflict.
## Outcome
- Official release/adoption handoff completed with exclusive integration ownership.
- Source `821fd6ffbe5eb694852b78dc5d50257dc63261ff` fast-forward merged into local main; paired Yuxi source is `069fee1aa29e0bd90226bedb03554e318bca96fc`. No conflict or additional product change.
- Promoted source facts to current-state Integrated Through and data-flow: one server-owned copy map, original resource identity, custom Skill provenance, per-run live/history projection and raw-name fallback when MCP provenance is uncertain.
- Source records remain unchanged after their commits. No push or deployment performed.
## Verification
- Final backend non-slow unit suite after the review fix: 2276 passed, 1 skipped.
- Source evidence: 65 focused backend tests; 3 real HTTP/PostgreSQL scenarios; 108 client unit tests; 2 Electron scenarios; typecheck, changed-source lint, frontend/docs build and engineering contracts passed. Engineering verifier tests: 62 passed in WSL.
- Fresh independent Reviewer found implicit tool/MCP name ambiguity; source now preserves raw names for those tools on MCP-configured runs without changing runtime rules. Reviewer rechecked the final patch and independently passed 65 backend and 62 client tests; final verdict PASS.
- Source ancestry confirmed. Direct byte comparison confirms all 3 adopted records are unchanged and still untracked. Final product/test/public-doc tree equals the reviewed source; whitespace and task-aware documentation drift checks passed.
## Follow-ups
- User explicitly approved cleanup of both source worktrees. Official retire passed eligibility checks but Git partially deleted the directories and removed its linked-worktree registration before reporting filesystem errors: Yuxi "Filename too long"; Makelore "Directory not empty" (even with command-local core.longpaths).
- Residual directories remain at C:/Users/7brot/.codex/worktrees/yuxi-20261013-capability-copy-febf9c28 and C:/Users/7brot/.codex/worktrees/makelore-20261013-capability-copy-febf9c28. Source branches and commits remain preserved. Skill ownership/reservation entries remain because retire did not reach its final registry cleanup.
- Inspected residual paths and dependency junction targets. Proposed bounded residual deletion plus official release-missing recovery was rejected before execution by automatic approval ("blocked by policy", no further reason). No recovery deletion or release-missing ran; cleanup is blocked, not reported as complete. Do not blindly retry retire against the now-unregistered partial directories.
- Reusable workflow lesson: Windows Git worktree deletion can leave an unregistered partial checkout when dependency junctions or long paths prevent removal. Future skill repair should address this recoverable partial-retirement state; this task does not modify the skill.
- Production paired-version and real-model acceptance remain outside this local task.
## Promotion Candidates
- Accept the source proposal: one Yuxi-maintained presentation map supplies catalog and live/history tool labels. Original keys and model instructions remain unchanged; each run's frozen configuration controls known platform labels.
- Evidence: source task's HTTP/PostgreSQL, stream/native comparison, Main projection and Electron results.
- No source-of-truth conflict identified. User approved the feature and main-branch integration.