Files
Agent-System/.doc/ops/short-term/2026-09-23-agentctl-automation-converge.md
T
WeiCHEN 0a933af95f docs(ops): close out W1 U1r/U2/U3 five-state fields
Record merged tips and mark CURRENT claims done; cleanup remains with
independent maintainers.
2026-09-23 15:05:10 +08:00

2.7 KiB
Raw Blame History

title, task_id, status, created, updated, owner, task_type, task_tier, policy_revision, branch, worktree, base_dev_sha, head_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 head_sha write_scope allowed_environments mutex review_state integration_state deployment cleanup cleanup_owner cleanup_trigger remote_sync
W1-U1r:agentctl automation 归一 agentctl-automation-converge-2026-09-23 done 2026-09-23 2026-09-23 Cursor implementation single agent-governance-2026-09-21-r1 @ 21c1278c04 fix/agentctl-automation-converge-2026-09-23 .worktrees/agentctl-automation-converge-2026-09-23 21c1278c04 dd75f42c98
scripts
.doc
agentctl-automation-converge approved merged not_required pending 独立维护者 合入 local_dev 且无进程占用后复查 not_requested

W1-U1r:agentctl automation 归一

用户目标与授权

  • 用户目标:删除分叉 scripts/agentctl_automation.py,移植部署阶段转移校验与 cleanup Markdown 投影到 agentctl_w4.py。
  • 授权:W1 波次实施计划 U1r;write_scope=scripts(+ short-term/CURRENT);不 push。
  • 交付终点:代码合入 local_dev;五态可审。

移植与丢弃

已移植

  • deployment_set_phase 合法转移边(prepared→deploying→accepting→passed;非法 passed→deploying 拒绝)。
  • project_cleanup_markdown → agentctl_w4.py(供 W2-U5)。

已丢弃(检索证据)

符号 取代方 / 原因
assess_cleanup_entry agentctl.py cleanup_status 8 gate
process_platform_ready W1-B macOS 进程层三值 alive_status
build_command_for_job 无调用方的 *-proxy 占位
automation jobs schema W4 jobs 已 landed
operations / doc_registry 表 活库 .tables 无此二者

DEFAULT_DOC_REGISTRY per-doc 规则不在本包移植,交 U2 策略 JSON。

步骤与验收

  1. worktree + register + CURRENT 认领
  2. 移植 phase 校验与 project_cleanup_markdown
  3. 删除 agentctl_automation.py;rg agentctl_automation 为空;清理 0 字节 .locks/state.db
  4. 补 test_deploy_phase_transition_rejects_illegal_jump;unittest discover 104 ran / 2 skipped / OK
  5. 原子提交 + 候选 validate/integrate

验证与证据

范围 命令 结果
全套治理脚本 python3 -B -m unittest discover -s scripts/tests -p 'test_*.py' -v Ran 104 / OK (skipped=2)

相关链接