Record the adoption unit run and positive/negative evidence
governance / governance (pull_request) Successful in 23s

Why: Phase 6 requires one positive executor run and the negative cases (missing config, bad receipt, out-of-scope path, unknown side effect) before adoption becomes active.
Evidence: .task/evidence/governance-adoption/ (SELF): governance check, agent-exec validate and adoption cases; this commit passed the generated pre-commit hook (admit).
Impact: task card and evidence logs only.
Refs: .task/feature-governance-adoption.md
This commit is contained in:
weichen
2026-10-17 07:15:37 +00:00
parent 1ada9955d5
commit 18f617d4e8
4 changed files with 43 additions and 0 deletions
@@ -0,0 +1,19 @@
command: scripts/dm governance check --repo .
cwd: /home/weichen/projects/Agent-System-Core-wt-feature-governance-adoption
head: 1ada9955d57af1dcfb750db2f01a1bcc40fd3ac4
exit: 0
utc: 20261017T071536Z
---
ok gitlink deps/development-guidelines
ok gitlink deps/development-manager
ok agent-execution
ok file AGENTS.md
ok file PROJECT.md
ok file policy/guidelines-adoption.md
ok file .task/templates/task-card.md
ok executable scripts/agent-exec
ok executable scripts/hooks/pre-commit
ok executable scripts/dm
ok executable scripts/task
ok adoption status
ok fixtures
@@ -0,0 +1,7 @@
command: scripts/agent-exec validate --repo .
cwd: /home/weichen/projects/Agent-System-Core-wt-feature-governance-adoption
head: 1ada9955d57af1dcfb750db2f01a1bcc40fd3ac4
exit: 0
utc: 20261017T071536Z
---
validate: ok
@@ -0,0 +1,13 @@
command: python3 /tmp/gov-neg/adopt_cases.py .
cwd: /home/weichen/projects/Agent-System-Core-wt-feature-governance-adoption
head: 1ada9955d57af1dcfb750db2f01a1bcc40fd3ac4
exit: 0
utc: 20261017T071536Z
---
[object] Agent-System-Core-wt-feature-governance-adoption HEAD=1ada9955d57af1dcfb750db2f01a1bcc40fd3ac4
PASS positive-run-apply: run exit=0 terminal=success apply exit=0 head=f6303ea75059
PASS missing-config: run exit=2 terminal=invalid-config validate exit=2
PASS bad-receipt: apply exit=4 head_unchanged=True msg=apply: no local integrity record: changed paths do not match the transport diff
PASS out-of-scope-path: run exit=5 terminal=scope-expansion transport=False
PASS unknown-side-effect: run exit=4 terminal=failed-unknown transport=False
[verdict] ALL PASS cases=5
+4
View File
@@ -27,6 +27,7 @@
| 单元 ID | 预期范围 | 角色 | 候选顺序 | attempt | CLI/模型 | 终态 | transport | fallback | 源码外收据路径 | | 单元 ID | 预期范围 | 角色 | 候选顺序 | attempt | CLI/模型 | 终态 | transport | fallback | 源码外收据路径 |
|---|---|---|---|---|---|---|---|---|---| |---|---|---|---|---|---|---|---|---|---|
| governance-adoption-Agent-System-Core-r1 | 13 个允许路径(治理文件 + 两个 gitlink) | dde4f359 | implementation | cursor→antigravity→pi | run 9a7ec135(dm-server 42e675f,attempts=1) | cursor / not-observable | success | 98cfc6408d49(apply 快进) | 否 | /tmp/gov-receipt-Agent-System-Core-r1.json | | governance-adoption-Agent-System-Core-r1 | 13 个允许路径(治理文件 + 两个 gitlink) | dde4f359 | implementation | cursor→antigravity→pi | run 9a7ec135(dm-server 42e675f,attempts=1) | cursor / not-observable | success | 98cfc6408d49(apply 快进) | 否 | /tmp/gov-receipt-Agent-System-Core-r1.json |
| governance-adoption-Agent-System-Core-repin-r1 | 9 个允许路径(治理文件 + 两个 gitlink) | a160b03c | implementation | cursor→antigravity→pi | run e64b5afe(dm-server pinned,attempts=1) | cursor / not-observable | success | 1ada9955d57a(apply 快进) | 否 | /tmp/gov-receipt-Agent-System-Core-repin-r1.json |
## 同步记录 ## 同步记录
@@ -45,3 +46,6 @@
| 20261017T061900Z | `scripts/dm governance check --repo .` | 98cfc6408d49 | 0 | SELF | ok fixtures;[输出](evidence/governance-adoption/00-20261017T061900Z.log) sha256:ae4439e39cad7e8d | | 20261017T061900Z | `scripts/dm governance check --repo .` | 98cfc6408d49 | 0 | SELF | ok fixtures;[输出](evidence/governance-adoption/00-20261017T061900Z.log) sha256:ae4439e39cad7e8d |
| 20261017T061900Z | `scripts/agent-exec validate --repo .` | 98cfc6408d49 | 0 | SELF | validate: ok;[输出](evidence/governance-adoption/01-20261017T061900Z.log) sha256:89ea92d2c3d1f9e4 | | 20261017T061900Z | `scripts/agent-exec validate --repo .` | 98cfc6408d49 | 0 | SELF | validate: ok;[输出](evidence/governance-adoption/01-20261017T061900Z.log) sha256:89ea92d2c3d1f9e4 |
| 20261017T061900Z | `python3 /tmp/gov-neg/adopt_cases.py .` | 98cfc6408d49 | 0 | SELF | [verdict] ALL PASS cases=5;[输出](evidence/governance-adoption/02-20261017T061900Z.log) sha256:64f13535108476f9 | | 20261017T061900Z | `python3 /tmp/gov-neg/adopt_cases.py .` | 98cfc6408d49 | 0 | SELF | [verdict] ALL PASS cases=5;[输出](evidence/governance-adoption/02-20261017T061900Z.log) sha256:64f13535108476f9 |
| 20261017T071536Z | `scripts/dm governance check --repo .` | 1ada9955d57a | 0 | SELF | ok fixtures;[输出](evidence/governance-adoption/03-20261017T071536Z.log) sha256:f46b6a39dd69f693 |
| 20261017T071536Z | `scripts/agent-exec validate --repo .` | 1ada9955d57a | 0 | SELF | validate: ok;[输出](evidence/governance-adoption/04-20261017T071536Z.log) sha256:4a0c76e79c70e3bb |
| 20261017T071536Z | `python3 /tmp/gov-neg/adopt_cases.py .` | 1ada9955d57a | 0 | SELF | [verdict] ALL PASS cases=5;[输出](evidence/governance-adoption/05-20261017T071536Z.log) sha256:3eb026a392f8336b |