gunk-dev/the-valley

forged-carry-row.cue

sourcefec8fb9dfaf0main's published tip history
823 bytes
1// floor-pins-exact.cue, with one more project class whose pattern holds a
2// newline and two tabs. `valley checks` reads the composed policy as lines
3// of tab-separated fields. The newline would end the pattern's line and
4// start a forged one, `carry guarded same-paths`. That line sorts after the
5// real `carry guarded exact` line, so a reader that took the last would
6// drop the floor's mode. The schema refuses a control character in a
7// pattern.
8package verification
9
10floor: {
11 checks: "c-build": {runner: "nix", attribute: "c-build"}
12 classes: guarded: {
13 paths: "keys/**": true
14 requires: "c-build": true
15 carry: exact: true
16 }
17}
18
19templates: plain: {}
20type: "plain"
21
22project: classes: guarded: paths: "grants/**": true
23
24project: classes: injected: paths: "unused\ncarry\tguarded\tsame-paths": true