6.0 KiB
Task: Complete personal cloud Agent platform across WS Yuxi and MakeLore
Identity
- Task ID: 20260910-personal-agent-platform-d15b2559
- Mode: Feature
- Branch: codex/20260910-personal-agent-platform-d15b2559-personal-agent-platform
- Worktree: D:\Datas\OthersProjects.codex-worktrees\makelore\20260910-personal-agent-platform-d15b2559
- Base commit:
46fbae9dec - Owner: codex
- Status: Ready for Integration
Scope
-
Resumed 2026-09-10 to finish the remaining-scope assessment, including product maintenance. Budget policy confirmed: optional per-Agent per-root-request and daily Token Points ceilings across all call sources, with no extra limit for existing Agents. The user authorized two bounded implementers and one fresh independent Reviewer for this batch; root owns client/integration/docs and all final Git operations.
-
Complete the native cloud Agent workspace: configuration/preview, conversations/files/approval, publication/user sharing/application API, schedules/activity/cost; all cloud traffic and credentials remain Main-owned.
-
User explicitly requested all remaining first-release modules, not another draft-only slice. Build on the reviewed entry commit recorded above; verify all accepted personal/share/API/scheduled/goal-tool paths before claiming completion.
Intent And Constraints
- Bundled Concurrent Task Gate and Planning Gate passed. All operations are rooted in this owned isolated feature worktree. Peer records were read, with only the completed entry task added since the previous assessment; unrelated and defective peers remain read-only.
- Personal creators only; no organization/department/team wallet or Xiaozhi integration. WS owns identity/module/model eligibility and final Token Points; Yuxi owns cloud Request/Run/scheduler/resources. Existing WS Code/Canvas Gateway continues its own scope; this is the user-approved cloud-module extension recorded in the three-end plan.
- Creator, caller and payer remain distinct. Shared/API callers keep private conversations/files; every real model call charges the creator via existing WS accounting, never falls back to charging the caller. Application subjects are not fake personal accounts.
- Reuse Yuxi configuration, repositories, durable FIFO/Run/worker/approval, workspace and scheduling services; explicit empty capability selection disables it. Publish immutable configurations and freeze accepted requests, including resume/subcalls. Main owns cloud credentials/network, Renderer consumes safe Host API projections.
- Plan: verify and close model delegation/application scope contracts; implement server persistence/execution/finance and real transaction/worker tests; implement all native client surfaces and relevant Electron flows; run repository gates and document honest validation limits. No production data operations, deployment, push or additional subagents are implied.
Outcome
- 已补齐 Main 按账号磁盘保存未确认操作/原输入及最近精确位置,恢复 UI 和排队状态;费用上限/统计、应用调用元数据、聊天日程建议与时间输入及启用确认;个人 MCP/Skill/子智能体、知识维护、归档、版本比较和旧版恢复。Renderer 只使用 typed Host API,凭据不写恢复日志。
- 本批实现与验证已完成;获授权的全新只读 Reviewer completion_review(不继承开发上下文)审查三端完整增量,并复核待审批会话归档及手动日程默认停用两处修复后返回 PASS,无未解决 actionable finding。
- 完整补全结果、行为边界和发布验收范围记录在 WS 同任务 evidence 的
20260910-personal-agent-platform-60a1e3e6__completion-evidence.md。旧__remaining-scope.md已标为历史核对。
Verification
- 本批 39 项 Main/页面/工作流/资源维护单元通过;真实 electron-store 临时磁盘重建 Main 后可读回,跨账号不可读,原操作标识保留且不自动重试。审查修复手动新建任务默认停用,与聊天建议一致;用户须显式勾选启用。
- 最后补丁后 Renderer TypeScript、Vite 完整构建及改动 lint 通过;Electron Playwright 1 passed,覆盖创建/发布、Markdown 对话、恢复、费用、建议及手动新建默认关闭、确认启用。Host 后端明确为替身;截图已查看。
- targeted ESLint 无错误、3 个非阻塞警告。Main 全仓 tsc 保留 61 个既有诊断,cloud Agent 文件没有诊断;不宣称全仓 Main 类型检查通过。
- 没有安装包/系统协议注册、真实账号跨设备或真实三端生产验收。
Follow-ups
- 本批已完成独立审查与补丁验证;结果作为本地 feature 提交交接。三个任务的文档所有权边界检查通过,分支和工作树保留供后续集成。
- 发布环境验收:真实 one-api/付费模型与创建者账单对账,完整服务进程/ARQ/provisioner 沙盒及重启恢复,安装包/OS 协议/跨设备流程,生产配置和迁移回退。
- 费用按预占准入;供应商超预占进入现有 pending_review,不自动超额扣款。异常供应商报告与人工核对保持原账本契约,不能宣称供应商账单绝对封顶。
- 保留隔离分支/工作树用于后续集成。未授权推送、合并、部署或操作生产数据;未执行这些动作。
Promotion Candidates
- Target: 集成 current-state、原个人云平台决策及身份/计费/运行/资源架构。Proposal: 按最终补全源码与验证取代旧功能缺口及“每日预算未定”,记录按 Agent、根 Request、北京时间准入日计费和个人资源所有权。Evidence: 本任务三端代码、HTTP/PG/worker/Electron 结果及本批最终审查。Future impact: 后续功能复用同一运行体系和账本。Semantic conflicts: 原缺口清单仅为历史事实,原费用范围已被本次用户决定补足,不改变其他模块产品方向。Human confirmation: 产品范围已确认;共享文档提取必须走独立 Integration Gate,本 feature 不直接修改 accepted ADR/canonical memory。