| 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. |
| 8 | package verification |
| 9 | |
| 10 | floor: { |
| 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 | |
| 19 | templates: plain: {} |
| 20 | type: "plain" |
| 21 | |
| 22 | project: classes: guarded: paths: "grants/**": true |
| 23 | |
| 24 | project: classes: injected: paths: "unused\ncarry\tguarded\tsame-paths": true |