merge: candidate dm-migration-2026-09-24-r2 into dev

This commit is contained in:
weichen
2026-09-24 15:57:06 +00:00
3 changed files with 85 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@
| owner | task | branch | worktree | mutex | status |
|---|---|---|---|---|---|
| Cursor | dm-migration-2026-09-24-r2 | feature/dm-migration-2026-09-24 | .worktrees/dm-migration-2026-09-24 | dm-migration | done |
| Cursor | governance-console-p1-impl-2026-09-24 | feature/governance-console-p1-impl-2026-09-24 | .worktrees/governance-console-p1-impl-2026-09-24 | agentctl-console | done |
| Cursor | governance-console-p1-design-2026-09-24 | feature/governance-console-p1-design-2026-09-24 | .worktrees/governance-console-p1-design-2026-09-24 | agentctl-console-design | done |
| Cursor | governance-visibility-p0-2026-09-24 | feature/governance-visibility-p0-2026-09-24 | .worktrees/governance-visibility-p0-2026-09-24 | agentctl-visibility | done |
@@ -0,0 +1,72 @@
---
title: "Development-Manager 治理系统迁移"
task_id: "dm-migration-2026-09-24-r2"
status: done
created: 2026-09-24
updated: 2026-09-24
owner: Cursor
task_type: implementation
task_tier: multi_stage
policy_revision: "agent-governance-2026-09-23-fav-constraint-restored @ edbe59247872ef5861bafd30068955e22288c6ff"
branch: feature/dm-migration-2026-09-24
worktree: .worktrees/dm-migration-2026-09-24
base_dev_sha: "edbe59247872ef5861bafd30068955e22288c6ff"
write_scope: [".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"]
allowed_environments: []
mutex: dm-migration
review_state: pending
integration_state: pending # DM 仓已自管;AS 侧仅文档合入
deployment: not_required
cleanup: pending
cleanup_owner: Cursor
cleanup_trigger: DM 验收通过且 AS 侧 CURRENT 收口完成
remote_sync: not_requested
---
# Development-Manager 治理系统迁移
## 用户目标与授权
- 用户目标:将 Agent-System 内管理/规范系统复制式迁移到独立仓库 Development-Manager(`/home/weichen/projects/Development-Manager`),关联远端 [weichen/Development-Manager](https://git-home.u1680832.nyat.app:30319/weichen/Development-Manager.git);自举自治;新增项目登记表实现单机统一管理;为后续中心服务端演进预留。
- 交付终点: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. [x] P0 任务登记 / CURRENT 认领 / 本文件落盘
2. [x] P1–P5 DM 建仓、代码/文档迁移、projects 登记、自举
3. [x] P6 验证 + 测试报告
4. [x] P7 push 远端 + AS CURRENT 收口
## 验证与证据
| 范围 | 命令与环境 | 预期 | 实际 | 证据 |
|---|---|---|---|---|
| DM 治理 unittest | `python3 -B -m unittest discover -s scripts/tests` @ DM | 全绿 | 待跑 | 测试报告 |
| 双 daemon | 两侧 `daemon status` | 均 ok | 待跑 | 测试报告 |
## 相关链接
- 计划:`~/.cursor/plans/development-manager_治理系统迁移方案_ea32becd.plan.md`
- 远端:https://git-home.u1680832.nyat.app:30319/weichen/Development-Manager.git
- 主产物路径:`/home/weichen/projects/Development-Manager`
## 交付摘要
- 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
@@ -0,0 +1,12 @@
# Development-Manager 迁移(Agent-System 侧指针报告)
本报告为指针:完整验收证据在 Development-Manager 仓。
- 主报告:`/home/weichen/projects/Development-Manager/.doc/test-reports/2026-09-24-dm-migration-test-report.md`
- 远端:https://git-home.u1680832.nyat.app:30319/weichen/Development-Manager.git
- tip:`dev`/`main` @ `0a58b9090366a856b677cf2b42abb93e4df02a0d`
- 核心 unittest:221 OK
- 双 daemon 并存:PASS
- Agent-System 管理系统:**未移除**(过渡期双轨)
层级:工程工具 / 文档迁移;产品 PI 全链路 NOT REQUIRED。