2.7 KiB
2.7 KiB
title, task_id, 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 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| W3 G2/G3 例外清退 | g2-g3-exception-clearance-2026-09-22 | done | 2026-09-22 | 2026-09-22 | Cursor | implementation | multi_stage | agent-governance-2026-09-21-r1 @364ed7f1 | feature/g2-g3-exception-clearance-2026-09-22 | .worktrees/g2-g3-exception-clearance-2026-09-22 | 364ed7f1a3 |
|
db632aeea2 |
module-boundaries-g2-g3 | pending | pending | not_required | pending | 独立维护者 | 合入 dev 且 arch-check 绿、无进程后 | not_requested |
W3 G2/G3 例外清退
用户目标与授权
- 用户目标:清退
module-boundaries.yaml中 2026-10-12 到期的 U5 path 例外,以及projectinstance→task_runs(U8)sql_write。 - 交付终点:代码迁出敏感字面量/写入;YAML 删除对应 exception;
arch-check --mode blockPASS;本 worktree 本地提交;不 push。 - 禁止:push、未授权环境写、仅改 expires。
步骤与验收
- coordinator / bizdev / storage:去掉
data/dev回退字面量 - agent Targets / bizdev / coordinator / docgov / docrevision(reconcile) / server route:
workspace.DeliverableKey/WorkspacesDirName - G3:
projectinstanceterminate 经taskrun.CancelOpenByProject;allowlistprojectinstance→taskrun - 删除全部 U5 path + U8 sql_write 例外;baseline
path 12→3、sql_write 5→4
验证与证据
| 范围 | 命令 | 实际 |
|---|---|---|
| arch-check block | ./scripts/arch-check.sh --mode block |
PASS(path=3 U4 残留;sql_write=4 U3) |
| 相关包 short | go test -short taskrun/projectinstance/coordinator/docrevision/archtest |
PASS |
| server short 全量 | go test -short ./internal/server/ |
FAIL TestFinalizeTaskRun_HashesViaWorkspaceCapability(macOS /var 符号链接宿主债;与本批无关) |
| docgov DB 集成 | TestDocGov_CreateOrGetDocument_OptionalDutiesNullFK |
FAIL FK project_id(环境/种子债;本批未改 CreateOrGet) |
Remaining(非本批 blocker)
- U4 path×3:
docrevision/projection.go、server/document_revision_access.go、document_revision_handlers.go(到期 2026-09-28) - U3 sql_write×4:docduty / docrevision document_records(G1 残留)
收口
integration_state=pending;不 push。- 本地 tip 见
head_sha(提交后回填)。