Commit b9decb2
## Summary
`container/deploy.k9.ncl` was failing `hyperpolymath/k9-validate-action`
with two errors:
- `Missing K9! magic number. First non-empty line must be exactly 'K9!'`
— the file led with the SPDX header.
- `Pedigree block missing 'name' field (in pedigree.metadata.name or
pedigree.name)` — the metadata lived inside a separate `let
component_pedigree = { … }` binding which the validator's line-based
parser couldn't follow; only the eventual `pedigree =
component_pedigree,` line was visible.
## Fix
Restructured to the canonical shape (see
`.machine_readable/svc/k9/boj-server-metadata.k9.ncl`):
- `K9!` magic on line 1
- `pedigree = { metadata = { name, version, … }, security = { leash =
'Hunt, signature = … }, … }` inlined directly into the top-level export
- `deployment` and `scripts` remain in `let`-bindings outside the
pedigree block — the validator only inspects pedigree contents and the
top-level export shape is unchanged
## Important: not the standards#89 sub-issue 2 mask
The K9 Dogfood Gate is documented as "stays red until
http-capability-gateway tier-2 production-wired" (standards#89 sub-issue
2). That's about **gateway wiring** for consumer adapters. This PR fixes
a **contract-shape defect** on a single in-tree file — the file itself
was not a well-formed K9 manifest. The unwired-gateway tracking remains
untouched.
## Test plan
- [ ] CI: Dogfood Gate / `Validate K9 contracts` green
- [ ] Visual check: the other 4 K9 files
(`.machine_readable/svc/k9/*.k9.ncl`) continue to pass
Refs #87.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3240209 commit b9decb2
1 file changed
Lines changed: 58 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 16 | | |
71 | 17 | | |
72 | 18 | | |
| |||
142 | 88 | | |
143 | 89 | | |
144 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
145 | 96 | | |
146 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments