feat(agentctl): governance visibility P0 — table/brief/archive + MCP reads

Add human-readable --format table, one-page brief, claim archive via docs
apply CAS, and four MCP readonly tools. Includes P1 console design doc
and engineering-tool test evidence.
This commit is contained in:
weichen
2026-09-24 13:25:57 +00:00
parent a2afa67d47
commit 0d1840da96
20 changed files with 1407 additions and 28 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ class CodegraphGovernanceTest(unittest.TestCase):
self.root.mkdir()
(self.root / 'scripts').mkdir()
for name in ('agent-worktree.sh', 'agent_worktree.py', 'agentctl.py',
'agentctl', 'agentctl_w4.py', 'agentctl_catalog.py'):
'agentctl', 'agentctl_w4.py', 'agentctl_catalog.py',
'agentctl_visibility.py'):
shutil.copy2(SOURCE / name, self.root / 'scripts' / name)
(self.root / 'configs').mkdir(parents=True, exist_ok=True)
shutil.copy2(SOURCE.parent / 'configs' / 'agent-governance.json',