Files
Agent-System/.doc/ops/short-term/2026-09-24-governance-visibility-p0.md
T

2.2 KiB
Raw Blame History

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
治理可视化 P0 governance-visibility-p0-2026-09-24 done 2026-09-24 2026-09-24 Cursor implementation small agent-governance-2026-09-21-r1 + cursor-governance-2026-09-24-r1 @ a2afa67d feature/governance-visibility-p0-2026-09-24 .worktrees/governance-visibility-p0-2026-09-24 a2afa67d47
scripts
.doc
ab450c1181 agentctl-visibility accepted merged_local_dev not_required pending 独立维护者 合入 dev 且验收通过后 not_requested

治理可视化 P0

用户目标与授权

  • 用户目标:实施治理可视化快赢(人类可读 status/brief、MCP 只读工具、claim archive)并撰写治理控制台 P1 方案。
  • 交付终点:P0 代码合入 local dev;工程工具单测与真实控制台证据;P1 设计文档落盘。
  • 禁止:push、晋升 test/main、跨机协调实施、产品 web/cmd/internal 改动。

范围与非目标

  • 允许:scripts/agentctl.py、scripts/mcp/agentctl-mcp.mjs、新 visibility 模块与单测、.doc/ops/short-term、.doc/test-reports、archive 追加。
  • 非目标:dashboard 前后端、claim new、integrate prepare、pi packet(仅 P1 文档)、跨机协调。

相关问题与经验

  • 关联:R04 CURRENT 膨胀(政策审查)、ISSUE-20260923-coordination-authority(不实施,仅衔接说明)。
  • catalog:R-governance-visibility-p0;overlap 探测无 hard/soft 命中。

步骤与验收

  1. 建场 / register / CURRENT 认领
  2. --format table 渲染
  3. brief
  4. MCP 只读工具 +4
  5. claim archive
  6. 单测 + 真实运行报告
  7. P1 控制台方案文档
  8. validate → queue enqueue → 收口

验证与证据

按验证契约「工程工具验收」:python3 -B -m unittest discover -s scripts/tests -p 'test_*.py' -v + 真实 --format table/brief/claim archive --dry-run 控制台取样。

收口与交接

待实施完成后填写。