Commit b4aec45
fix(k9): add K9! magic + pedigree blocks to satisfy dogfood-gate
The "Validate K9 contracts" job failed on three files:
- container/deploy.k9.ncl — missing K9! magic line; pedigree block had
`name`/`version` only under nested `metadata`, not as direct fields,
and the security block lacked a `leash`/`security_level`.
- coordination.k9 — no K9! magic, no pedigree block.
- session/custom-checks.k9 — no K9! magic, no pedigree block.
Fixes (modelled on the proven-passing hyperpolymath/echidna
container/deploy.k9.ncl):
- Prepend the literal `K9!` magic line (first non-empty line).
- Add SPDX-License-Identifier: MPL-2.0 within the first 10 lines.
- deploy.k9.ncl: add top-level `name`/`version` identity fields inside
the `component_pedigree` block and a `leash = 'Hunt` to the security
block. Check/contract logic unchanged.
- coordination.k9 / custom-checks.k9: add a minimal `pedigree = { ... }`
block (name, schema_version, leash, security_level) ahead of the
existing policy body. Policy content unchanged.
https://claude.ai/code/session_013wg3Mtq2QFhYi4XVw1Z6z71 parent cbefc7e commit b4aec45
3 files changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| 51 | + | |
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
2 | 15 | | |
3 | 16 | | |
4 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
2 | 16 | | |
3 | 17 | | |
4 | 18 | | |
| |||
0 commit comments