Commit 53cc0fb
feat(ci,pushback): wire dna-spec-validate into CI workflow + pushback protocol (SPEC-19 Stage 5)
template/workflows/dna.yml:
- Add dna-spec-validate step after dna-verify (script-only per invariant 9;
the dna-spec-validator subagent stays human-review-time until headless
Claude Code lands).
- Wire DNA_SPEC_VALIDATE_BASE=origin/${{ github.base_ref }} so the cross-
spec ownership check uses the PR's base for the merged-branch filter
(matches dna-verify's DNA_VERIFY_BASE pattern).
- New per-gate skip knob vars.DNA_SKIP_SPEC_VALIDATE.
- Header comment updated to document spec-validate (mechanical) + spec-
validator (judgmental, NOT in CI yet).
- Summary block lists the new step + the new judgmental subagent in the
PR-reviewer-responsibility callout.
template/skills/dna-spec-validate/run.sh:
- cross-spec-ownership now respects DNA_SPEC_VALIDATE_BASE env var (was
hardcoded to "main"). Default still "main" for local dev. Honors the
contract documented in the script header since Stage 1.
template/AGENT.md:
- Critical Pushback Protocol gains a row: "human asks to skip
/dna-spec-validate → refuse, cite Article 8 + invariant 4". The
validator's whole purpose is catching drift mechanical layers cannot
see; bypassing it allows the build to proceed on a false contract.
E2E verification (all green):
- refresh-target.sh against team-project-scheduler: 3 ADDED files
detected and synced (run.sh, SKILL.md, dna-spec-validator.md);
workflows/dna.yml DRIFT resolved with --force.
- 10/10 regression fixtures green.
- All 4 dogfood specs (001-004) PASS in blocking mode.
- workflow YAML parses.
- Target now has all 3 new artifacts; target's run.sh IDENTICAL to kit.
This closes SPEC-19. The kit is ready for Denis-team handoff with the
spec-projection layer fully gated (mechanical floor in CI; judgmental
ceiling in dev loop).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 96751ed commit 53cc0fb
3 files changed
Lines changed: 41 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
| 553 | + | |
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
33 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
83 | 98 | | |
84 | 99 | | |
85 | 100 | | |
86 | 101 | | |
87 | 102 | | |
88 | 103 | | |
| 104 | + | |
89 | 105 | | |
90 | | - | |
| 106 | + | |
0 commit comments