Skip to content

feat(m043): add manifest-driven legacy governance migration - #23

Merged
Kucell merged 8 commits into
mainfrom
feat/M-043-legacy-governance-migration
Oct 8, 2026
Merged

Kucell merged 8 commits into
mainfrom
feat/M-043-legacy-governance-migration

Conversation

@Kucell

@Kucell Kucell commented Oct 6, 2026

Copy link
Copy Markdown
Owner

M-043 — Legacy Governance Migration

Implements generic, manifest-driven migration tooling on top of merged M-041/M-042.

Scope

  • governance-migrate dry-run/apply
  • Git blob SHA drift protection
  • mechanical replace + linked Decision gate recovery
  • explicit decision-required / retain-legacy blocking
  • before-backup evidence + rollback
  • exact Command Effect paths for resource-scoped State Sync
  • focused Node 18/22/24 CI

Real Cortex inventory

  • 134 Decision sources audited
  • 126 Waitpoint sources audited
  • only 10 authoritative sources fail M-042 projection compatibility
  • classification: 5 mechanical / 3 decision-required / 2 retain-legacy

Safety

  • no historical source auto-rewrite in this PR
  • apply requires --gate user
  • source SHA must match approved plan
  • ambiguous records are blocked
  • no release/publish

Governance carrier: Kucell/cortex-agent-agent:mission/M-043-legacy-governance-migration

@Kucell
Kucell force-pushed the feat/M-043-legacy-governance-migration branch from e9ecba9 to 4c46dc7 Compare October 8, 2026 07:47
@Kucell
Kucell merged commit 9f841bb into main Oct 8, 2026
14 checks passed
@Kucell
Kucell deleted the feat/M-043-legacy-governance-migration branch October 8, 2026 07:49
Kucell added a commit that referenced this pull request Oct 23, 2026
对比 PR-Agent / Qodo v2 后确认的最小缺口:cortex 能产出经过机械校验的
review artifact,但没有出口——finding 只活在文件里,没有人在 PR 上看到它。

治理仓侧(.agent gitlink → 19d50601,PR #27):
- vcs-pr github backend 新增 getDiff / listComments / listReviews /
  createComment / submitReview
- CLI 新增 diff / comments / reviews / comment / review
- comment 与 review 归入 GATE_USER_ONLY——发布到别人会读的 PR
- backend 未实现某操作时报 capability_unavailable,不以空列表冒充数据
- agent-review-benchmark 新增 render-pr-comment.js:artifact → PR 评论体
- 新增 CI workflow 覆盖此前未被任何 workflow 触达的两个 skill

主仓侧(L1 分发面 + 测试):
- 同步 _shared / en 两层的 vcs-pr 实现与 SKILL.md
- _shared 的 vcs-pr SKILL.md 此前缺少 update 命令、fail-closed run 关联
  等章节,zh 层项目拿到的是它——已补齐为与 en 层同构
- 同步治理仓 #23 引入的 4 个实现文件与 2 个 schema 漂移
- 新增 tests/review-surface/(双副本:治理仓 + L1 各跑一遍)
- issue-15 测试改为断言新契约:decisions resolve 不再释放 Waitpoint

验证:484/484 全量通过,三道门禁零违规。

Co-authored-by: cortex-agent <cortex-agent@local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant