docs(agents): 记录微信渠道主分支集成与交付边界
This commit is contained in:
@@ -25,6 +25,16 @@ Accepted / implemented,2026-09-11 集成。产品范围、三端分工、创
|
||||
- 费用上限位于限制分类并独立保存,仍是服务端即时政策。首版不包含自动保存或离线草稿同步;退出工作区仍提示未完成输入。
|
||||
- 实现源 `dca6deab292028c9f3cfd097a8c52ba0d43b35a9`,见[源任务](../30-worklog/tasks/20260912-agent-draft-design-9d82c9b4.md)。最终 65 项相关测试、类型检查、scoped ESLint(无错误)、Vite 构建与 Windows Electron 验收通过;覆盖大小窗口和 Electron 125%/150% 内容缩放。云端使用 Host API fixture,不等于真实收费链路或 macOS/OS DPI 验收。
|
||||
|
||||
## Personal WeChat Publication(2026-09-13 accepted / implemented)
|
||||
|
||||
- Published cloud agents expose a native personal WeChat panel: create/adopt account, local QR rendering, verification, self pairing/invitations, access revocation, enable/pause, route switch, disconnect, safe activity and failed-file retry.
|
||||
- Renderer uses typed Host operations. Main owns credentials, network, per-account durable original operations and file saving. Verification codes never enter the recovery journal; uncertain mutations require explicit recovery.
|
||||
- QR payloads are encoded locally. Account or Provider-generation changes clear transient state. Enable confirmation shows the actual published version, audience and task/daily budget, including zero.
|
||||
- Own WeChat conversations use dedicated Yuxi session endpoints for approval, stop/new session, complete history pagination and automatically refreshed deliverables. The creator cannot browse invited callers' content.
|
||||
- Scheduled result notification requires an explicit paired self target. Execution completion and WeChat delivery status remain distinct; retrying a failed file part does not run the model again.
|
||||
|
||||
Source `2e710db0fb512f276fda8ae8a3939d366b34a972`, [source task](../30-worklog/tasks/20260913-agentbus-channels-ml-3ec75b90.md). Final 81 focused tests, typecheck, production build and 2 Electron scenarios passed, with independent review PASS. Tests use local Host fixtures; real WeChat, billing, packaging and deployment acceptance remain pending.
|
||||
|
||||
## Evidence And Limits
|
||||
|
||||
源:WS `0f1fb8af`、Yuxi `1df0142`、MakeLore `303f262`;本仓库见 [源任务](../30-worklog/tasks/20260910-personal-agent-platform-d15b2559.md)。本批独立 Reviewer 最终 PASS。源验证包含 WS 113 passed / 1 skipped 和预算 PG 4 passed,Yuxi 1985 non-slow unit / 19 HTTP-存储 integration 及归档最后补丁 3 integration,MakeLore 39 unit / Renderer tsc / build / Electron 1 passed。模型授权/供应商及沙盒释放有明确替身;MakeLore Main 全仓保留 61 项既有类型诊断。
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## Active Decisions
|
||||
|
||||
- [个人云智能体与微信渠道](ADR-2026-09-11-personal-cloud-agents.md):2026-09-13 accepted / implemented;共享 SSO、按用户隔离、标准 Worker 路由、创建者计费及持久交付恢复。四端本地实现已集成,真实渠道部署验收待执行。
|
||||
|
||||
- [官方模型能力与原生思考选项](ADR-2026-09-12-official-model-capabilities.md):2026-09-12 accepted / implemented;one-api 官方事实、Works v2 授权投影、受管模型图片输入与 Main-owned reasoningChoice,取代受管模型的静态推测与 Pi 枚举映射。
|
||||
|
||||
- [个人云智能体平台](ADR-2026-09-11-personal-cloud-agents.md):2026-09-11 accepted / implemented,2026-09-12 补充桌面编辑工作区;三端分工、创建者付费、保存与试用版本分离、恢复/资源/独立预算及发布证据边界。
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
## Current Architecture
|
||||
|
||||
个人微信云智能体已按 [已接受渠道决策](../10-decisions/ADR-2026-09-11-personal-cloud-agents.md) 集成:AgentBus 拥有共享身份下的 Worker/ChannelAccount 路由及交付,Yuxi 拥有独立调用者会话和原生执行,Works Square 拥有创建者词元点数,MakeLore Main 拥有桌面授权与恢复。沿用标准 Worker,不增加独立 Adapter 池;付款不授予受邀调用者内容权限。上线验收与本地代码集成分开记录。
|
||||
|
||||
个人云智能体职责见 [已接受决策](../10-decisions/ADR-2026-09-11-personal-cloud-agents.md):Yuxi 拥有云执行,WS 拥有账号和词元点数,MakeLore Main 提供 Host API;Code/Pi、Canvas、Robot 保持既有体系。
|
||||
|
||||
Agents 的 Renderer 使用账号级桌面工作区:`DraftEditor` 分别持有编辑内容和已保存草稿,`CloudChat` 固定当前试用修订与请求身份,`DesktopSplit` 负责分栏和窗口适配。草稿保存不重建试用组件,页内隐藏会话保留运行状态但不写已读/最近位置;新试用由用户明确选择。费用上限经既有 Host API 独立保存,布局偏好仅保存尺寸,不充当离线内容存储。
|
||||
|
||||
@@ -4,6 +4,8 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
|
||||
|
||||
## Integrated Through
|
||||
|
||||
- 2026-09-13:任务 `20260913-merge-agentbus-channels-ml-c4e81f2a` 经用户授权移交主目录后,将渠道源 `2e710db0fb512f276fda8ae8a3939d366b34a972` 从 `03774d0625a5a0d0221dbb9989e88a9406e0fa48` 无冲突快进合入本地 `main`。产品代码与已审查、测试的源完全一致,源任务记录原样导入;个人微信、共享 SSO 与按用户隔离规则见 [渠道决策](../10-decisions/ADR-2026-09-11-personal-cloud-agents.md)。原有 3 份文档改动原样保留;未推送或部署。授权清理的源工作区因 Git 目录非空错误部分移除,残余保留,分支和提交完整。
|
||||
|
||||
- 2026-09-13:续接任务 `20260912-land-model-capabilities-c6fa4309`,将图片附件修复源 `03fc50f7a9009b8e5c43fada8bc3365103dc732c` 从 `1d661f7` 无冲突快进合入本地 main。发送时、Pi 实时消息与历史恢复均保留图片引用,重复投影复用附件文件。产品树与已验证源完全相同,复用其相关回归、真实 Pi 新会话/恢复会话 HTTP、Electron 图片刷新、类型检查与构建证据。三个原有未跟踪记录保持原样;工作区清理等待单独确认,未推送、打包或安装。详见[图片流转](../20-architecture/data-flow.md#code-image-attachment-projection)。
|
||||
|
||||
- 2026-09-12:任务 `20260912-land-model-capabilities-c6fa4309` 经用户授权交接主目录及集成锁,将模型能力源 `26cbb29` 合入本地 main,合并为 `2888aaed`;保留已有知识库和云智能体界面。受管模型采用 Works v2 官方能力,Main 持久化并验证原生 reasoningChoice、冻结供应商控制字段,图片附件与 Pi input 一致。合并后 57 项相关测试、类型检查、Vite 全目标构建、Electron 受管模型用例 1 项通过;源任务验证保持有效。3 份原有未跟踪记录原样保留,未推送、打包、部署或清理工作区。见[官方模型能力决策](../10-decisions/ADR-2026-09-12-official-model-capabilities.md)。
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# Task: 合并个人微信云智能体渠道到主分支
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20260913-merge-agentbus-channels-ml-c4e81f2a
|
||||
- Mode: Integration
|
||||
- Branch: main
|
||||
- Worktree: D:\Datas\OthersProjects\makelore
|
||||
- Base commit: 03774d0625a5a0d0221dbb9989e88a9406e0fa48
|
||||
- Owner: codex
|
||||
- Status: Ready for Integration
|
||||
|
||||
## Scope
|
||||
|
||||
- Integrate reviewed source 2e710db0fb512f276fda8ae8a3939d366b34a972 from codex/20260913-agentbus-channels-ml-3ec75b90-agentbus-channels onto local main; promote accepted channel contracts and preserve unrelated documents.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- Concurrent and Planning Gates Passed: official start/status confirm this Integration owner, branch, base and exclusive lock after explicit user-authorized primary handoff. Read the active record, baseline startup/current-state/architecture/decisions, source outcomes/evidence/promotions and applicable peer context; historical incomplete records remain read-only without a concrete semantic dependency.
|
||||
- Source task records are imported unchanged from committed Ready for Integration branches. The original 3 foreign document changes stay uncommitted and byte-identical.
|
||||
- Plan: fast-forward reviewed source, verify ancestry and product equivalence, promote bounded accepted facts, run documentation checks, commit integration record. No remote push, deployment, paid calls or cleanup.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Local main fast-forwarded without conflicts from 03774d0625a5a0d0221dbb9989e88a9406e0fa48 to 2e710db0fb512f276fda8ae8a3939d366b34a972. Product code/configuration/tests equal the reviewed source. Source task and proposal records were imported unchanged.
|
||||
- Accepted implementation facts are promoted into the channel decision, decision index, system overview and current-state Integrated Through. This adds personal creator routing without altering AgentBus Native's existing organization model.
|
||||
- All 3 original foreign document changes were directly compared and preserved byte-for-byte, uncommitted. No production activity or push occurred; separately authorized cleanup is recorded below.
|
||||
|
||||
## Verification
|
||||
|
||||
- git merge --ff-only, source ancestry and product equality checks passed. Existing independent Standards PASS / Spec PASS and source test evidence remain applicable because no product code changed during merge.
|
||||
- Reviewed only canonical notes and this integration record after the merge; task-aware documentation checks and final commit verification complete the handoff.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- Matching AgentBus/Core+Adapter, Works Square, Yuxi and rebuilt MakeLore releases require coordinated configuration and real shared-SSO/WeChat/attachment/billing/scheduled-notification acceptance. Local integration does not claim production readiness.
|
||||
- User approved cleanup of source task 20260913-agentbus-channels-ml-3ec75b90 at C:\Users\7brot\.codex\worktrees\makelore-agentbus-channels-3ec75b90, branch codex/20260913-agentbus-channels-ml-3ec75b90-agentbus-channels. Official retire failed with Git "Directory not empty" after partial filesystem removal. Git no longer lists the linked checkout, but residual files and the skill registry record remain. Source commit 2e710db0fb512f276fda8ae8a3939d366b34a972 and branch are preserved and fully merged. No manual removal or registry bypass was performed; residual cleanup is blocked pending a supported recovery. Primary checkout is retained.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Accepted source candidates promoted into the canonical channel decision, architecture and current state. Earlier incomplete proposal notes are historical; the final source outcomes and explicit user implementation/merge authorization define this completed scope. Live external acceptance remains pending.
|
||||
Reference in New Issue
Block a user