| 1 | --- |
| 2 | type: idea |
| 3 | id: ida-a5214da |
| 4 | status: adopted |
| 5 | title: Formats and interfaces are tailored to the-valley |
| 6 | created: 2026-08-02 |
| 7 | source: design conversation, 2026-08-02 |
| 8 | --- |
| 9 | |
| 10 | # Formats and interfaces are tailored to the-valley |
| 11 | |
| 12 | The formats and interfaces this design defines are shaped for its own use. Where an external format |
| 13 | fits, it is adopted; where it does not, the design defines its own rather than contorting itself to |
| 14 | fit an ecosystem it does not otherwise participate in. |
| 15 | |
| 16 | ## Where this already holds |
| 17 | |
| 18 | - The host declaration ([`schema/valley.cue`](../../schema/valley.cue)) and the event vocabulary |
| 19 | ([`schema/events.cue`](../../schema/events.cue)) are CUE documents that are deliberately not Nix. |
| 20 | Installers are their consumers: the NixOS module in this repo is one, and another installer reads |
| 21 | the same files. |
| 22 | - The attestation vocabulary of [[dcr-0de694f]] |
| 23 | ([decisions/dcr-0de694f-phase2-attestation-shape.md](../decisions/dcr-0de694f-phase2-attestation-shape.md)) |
| 24 | is the project's own. Its predicate types and digest schemes are named for this project, so no |
| 25 | external tool would read one of its statements regardless of encoding. Its statement borrows the |
| 26 | digest-set and versioned-predicate ideas from an external line of specifications while taking none |
| 27 | of its wire format. |
| 28 | - [[ida-b9f646c]] |
| 29 | ([ida-b9f646c-nix-backend-not-substrate.md](./ida-b9f646c-nix-backend-not-substrate.md)) holds the |
| 30 | same shape one level down: an implementation is a backend, never the contract. |
| 31 | |
| 32 | ## The boundary |
| 33 | |
| 34 | A tailored format is not a closed one. Two things bound it. |
| 35 | |
| 36 | Federation crosses group boundaries. [[ida-8482624]] |
| 37 | ([ida-8482624-federation-groups.md](./ida-8482624-federation-groups.md)) holds that a group — the |
| 38 | organization that owns a set of repos and shares one trust domain — may import another group's |
| 39 | attestations and decide by its own policy how much they count, and it leaves federated identity |
| 40 | mapping open. Whatever crosses that boundary is understood by two parties who did not agree in |
| 41 | advance, so the boundary is where an external format earns its place. |
| 42 | |
| 43 | The _Open source_ constraint of [requirements.md](../../design/requirements.md#constraints) holds |
| 44 | that the substrate must be inspectable and forkable. A format nobody outside can implement from its |
| 45 | specification would satisfy the letter of that and defeat it in practice. So a tailored format |
| 46 | carries an obligation: it is specified well enough to be implemented independently. |
| 47 | |
| 48 | ## Open |
| 49 | |
| 50 | - Where the line falls between a format the valley defines and one it adopts. |
| 51 | - What a federated boundary requires, which is undesigned. |