Files
Agent-System/.doc/ops/short-term/2026-09-24-dm-migration.md
T

3.4 KiB
Raw Blame History

title, task_id, status, created, updated, owner, task_type, task_tier, policy_revision, branch, worktree, base_dev_sha, write_scope, allowed_environments, mutex, review_state, integration_state, deployment, cleanup, cleanup_owner, cleanup_trigger, remote_sync
title task_id status created updated owner task_type task_tier policy_revision branch worktree base_dev_sha write_scope allowed_environments mutex review_state integration_state deployment cleanup cleanup_owner cleanup_trigger remote_sync
Development-Manager 治理系统迁移 dm-migration-2026-09-24-r2 done 2026-09-24 2026-09-24 Cursor implementation multi_stage agent-governance-2026-09-23-fav-constraint-restored @ edbe592478 feature/dm-migration-2026-09-24 .worktrees/dm-migration-2026-09-24 edbe592478
.doc/ops/short-term/2026-09-24-dm-migration.md
.doc/test-reports/2026-09-24-dm-migration-test-report.md
.doc/ops/CURRENT.md
dm-migration pending pending not_required pending Cursor DM 验收通过且 AS 侧 CURRENT 收口完成 not_requested

Development-Manager 治理系统迁移

用户目标与授权

  • 用户目标:将 Agent-System 内管理/规范系统复制式迁移到独立仓库 Development-Manager(/home/weichen/projects/Development-Manager),关联远端 weichen/Development-Manager;自举自治;新增项目登记表实现单机统一管理;为后续中心服务端演进预留。
  • 交付终点:DM 仓可用、治理测试绿、双 daemon 并存、迁移溯源完整;Agent-System 管理系统暂不移除。
  • 禁止项:不移除 AS 管理系统;不默认 force;push 仅在用户确认后(本任务用户已授权按方案实施含 push)。
  • 架构决策:阶段 A 单机统一管理;阶段 B(不实施)中心服务端 + 分布式客户端;git 历史全新初始提交。

范围与非目标

  • 允许:DM 仓新建与治理工具链/文档副本;AS 侧本任务文档、测试报告、CURRENT 认领行。
  • 非目标:产品 Go/React 代码;AS 治理删除;阶段 B C/S 实现。

相关问题与经验

  • catalog:R-dm-migration 已登记;overlap status=none。
  • 注:member-permissions-doc-2026-09-24 因持有 .doc 整目录硬冲突已 close=done(其文档已提交于 feature 分支,待另轨合入)。

步骤与验收

  1. P0 任务登记 / CURRENT 认领 / 本文件落盘
  2. P1–P5 DM 建仓、代码/文档迁移、projects 登记、自举
  3. P6 验证 + 测试报告
  4. P7 push 远端 + AS CURRENT 收口

验证与证据

范围 命令与环境 预期 实际 证据
DM 治理 unittest python3 -B -m unittest discover -s scripts/tests @ DM 全绿 待跑 测试报告
双 daemon 两侧 daemon status 均 ok 待跑 测试报告

相关链接

交付摘要

  • DM 路径:/home/weichen/projects/Development-Manager
  • 远端:https://git-home.u1680832.nyat.app:30319/weichen/Development-Manager.git (dev/main @ 0a58b909)
  • 双 daemon:dm-coordinator + AS agentctl-coordinator 并存 ok
  • 核心测试:221 OK(见 DM .doc/test-reports/2026-09-24-dm-migration-test-report.md)
  • 过渡约束:AS 内嵌治理暂不移除;新治理开发进 DM