Files
Agent-System/.doc/ops/short-term/2026-09-23-modular-decouple-residual.md
T

2.5 KiB
Raw Blame History

title, task_id, continues, status, created, updated, owner, task_type, task_tier, policy_revision, branch, worktree, base_dev_sha, write_scope, allowed_environments, head_sha, mutex, review_state, integration_state, deployment, cleanup, cleanup_owner, cleanup_trigger, remote_sync
title task_id continues status created updated owner task_type task_tier policy_revision branch worktree base_dev_sha write_scope allowed_environments head_sha mutex review_state integration_state deployment cleanup cleanup_owner cleanup_trigger remote_sync
模块解耦残余重构(巨型文件 + W4 + Sysadmin 二期) modular-decouple-residual-b-2026-09-23 modular-decouple-residual-2026-09-23 in_progress 2026-09-23 2026-09-23 Cursor implementation multi_stage AGENTS+module-dev-standards+validation-contract @ 2fae990965 feature/modular-decouple-residual-2026-09-23 .worktrees/modular-decouple-residual-2026-09-23 2fae990965
internal
scripts
web
.doc
3337bf4a42 modular-decouple-residual pending pending not_required pending 独立维护者 全部批次合入 local_dev 且无进程占用后 remove not_requested

模块解耦残余重构

用户目标与授权

  • 用户目标:按计划完成巨型文件拆分(9 批)+ W4 治理收口 + Sysadmin 二期;门禁+合入本机 dev;不 push;不触红线。
  • 授权来源:用户确认「模块解耦残余重构实施计划」(全部残余 / 门禁+合入)。
  • 禁止:FAV live、SWBOOT-10、D7 物理删、PI 叙事 flag、tier 升级、语义摘要接线;不改行为的顺手修 bug。

分批清单

批 目标 状态 tip
A bizdev/service.go 拆分 landed dca33c70
B projectinstance/store.go landed 943becfb
C intent/recognizer.go landed dca33c70
D server/handlers.go landed 4c077169
E projectworkflow/store.go landed dca33c70
F docgov/engine.go landed 39e115b4
G docrevision/service.go landed 9da7f352
H squad/workspace.go landed dca33c70
I freedoc/service.go landed dca33c70
W4 projection + deploy/recover + Darwin tests done 12322b69
Sysadmin system:* + 设置审计 done d49c8f8c

每批验收

./scripts/arch-check.sh --mode block
go vet ./...
go test -short ./internal/<pkg>/...

新生产文件 ≤800 行;无新增跨模块 import。

相关链接

  • 计划:用户确认的模块解耦残余重构实施计划
  • 承接框架:../remediation/2026-09-23-modular-refactor-implementation-undertaking-plan.md
  • 原 W4:./2026-09-22-governance-automation.md(并入本任务,旧基线不续写)