Repository navigation
Commit aa596c8
k9: deploy template render, Hunt capability grant, push-time K9 lane, K9-aware layout docs (#167)
## Why
#166 was squash-merged at `85e71b2`. Two follow-up
commits that fix four of its Codex review findings were pushed after the
merge, so they missed it. The review threads were resolved as "fixed in
dc04df7 / 882dd75", but `main` does not have those fixes. This PR lands
them.
The branch carries a merge of the #166 squash. Its diff against `main`
is exactly those two commits: 7 files, +226/−147.
## What
**`dc04df7`: deploy template, Hunt grant, push coverage**
- **`panel-clades/container/deploy.k9.ncl.in`**
- Replaced with the K9 contract v1.0.0 template ported from
rsr-template-repo and adapted to this layout (`container/`,
`compose.toml`). It has the `K9!` envelope, a capability grant,
`side_effects`, and a signature block.
- `just container-init` now renders it to `container/deploy.k9.ncl` once
no `{{…}}` token is left. It never overwrites an existing file.
- Before this, nothing created the `deploy.k9.ncl` that the docs use.
- **`.machine_readable/svc/k9/template-hunt.k9.ncl.in`**
- Grants `net.fetch`, `fs.write` and `process.spawn`, which its
`allow_*` flags request (K9-S007).
- Adds the Ed25519 presence block (K9-S009).
- **`dogfood-gate.yml`**
- Runs the standards K9-DEED lane on pushes to `main`/`master`, so a
direct push is checked again.
- Pull requests still run the lane once, in `fork-governance.yml`.
- `actions.lock` records the call.
**`882dd75`: layout docs**
- **`layouts/README.adoc`** validates presets with `k9-validate.sh`, and
evaluates the Nickel body with `tail -n +2 <preset> | nickel export`,
run from `layouts/`.
- The `K9!` envelope is not Nickel, so the old direct `nickel typecheck
layouts/*.k9.ncl` no longer works.
## Verification (local, standards `1fdc61c`)
- **K9 corpus:** 106 pass, 1 routed (`coordination.k9`), 0 fail.
- **Templates:**
- A Hunt template copy with its TODOs filled passes `--strict --layer
L2`.
- The deploy template, rendered via `just container-init` with sample
values, passes L2.
- **Layouts:** `logic-and-proofs` exports. A preset whose pane sizes do
not sum to 100 is still rejected.
- **Workflows:**
- Every workflow parses.
- The duplicate-key check is clean.
- The lock gate, the lock validator and `update-actions-lock.sh
--verify-local` pass.
- **Build checks:** the panel-clades Justfile parses, and
`gen-budgets.sh --check` reports current.
## Known, not in this PR
- `governance / Allowlist Preflight` stays red until standards'
allowlist gains `"metadatastician/*"`.
- Fork-PR comment posting is being fixed upstream in standards. Once
that merges, panll adds the `fork-governance-publish.yml` caller.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01BCQeL169ZnUirUVaDXQLA3)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 86ddcee commit aa596c8
7 files changed
Lines changed: 226 additions & 147 deletions
File tree
- .github/workflows
- .machine_readable/svc/k9
- layouts
- panel-clades
- container
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
48 | 61 | | |
49 | 62 | | |
50 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | | - | |
60 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
63 | 76 | | |
64 | 77 | | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
68 | | - | |
| 81 | + | |
69 | 82 | | |
70 | 83 | | |
71 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
532 | 552 | | |
533 | 553 | | |
534 | 554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
157 | | - | |
158 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
0 commit comments