| 1 | --- |
| 2 | type: decision |
| 3 | id: dcr-2965320 |
| 4 | status: decided |
| 5 | title: "A valley is its repository" |
| 6 | created: 2026-08-22 |
| 7 | source: design conversation, 2026-08-22 |
| 8 | --- |
| 9 | |
| 10 | # A valley is its repository |
| 11 | |
| 12 | All of a valley's governing state is bytes in its repository: the floor, the identity registry, in |
| 13 | time the host declaration held by the host-owning valley. Project content is governed by those |
| 14 | bytes; compiled artifacts and runtime state are derived from them — pure functions of the integrated |
| 15 | tip, never a second source of truth. |
| 16 | |
| 17 | Access to anything the valley governs is a function of its integrated tip. Changing access is |
| 18 | landing a change. The ability to land changes is itself so governed — tip N's bytes govern what may |
| 19 | become tip N+1 — grounded at genesis and, beneath the machinery, in the host that runs the gates |
| 20 | (the bootstrap treatment in [design/architecture.md](../../design/architecture.md)). |
| 21 | |
| 22 | The bytes declare; keys prove. The registry holds public halves only, so no modification of bytes |
| 23 | manufactures possession: a hijacked registry can grant a new key, visibly and attributably; it |
| 24 | cannot silently become anyone. |
| 25 | |
| 26 | The tip governs in epochs: a landed change takes effect at the next compilation, so access begins |
| 27 | and ends at convergence, never retroactively. |
| 28 | |
| 29 | Write and read are asymmetric. Write access is fully a function of the bytes — every grant a commit, |
| 30 | auditable in history, revocable by another. Read is prospective only: a gate refuses the next fetch, |
| 31 | and nothing un-reads what was read. Governing state accordingly leans public — outside verification |
| 32 | of the machinery's signatures depends on reading the registry. |
| 33 | |
| 34 | Cross-valley access is more bytes: the granting valley lands a change citing another valley's |
| 35 | principal, and the floor constrains outward grants the way it constrains policy. Hosting is state |
| 36 | too: a valley's gates run on a host whose declaration lives in the host-owning valley's repository. |
| 37 | |
| 38 | ## Related |
| 39 | |
| 40 | - [[dcr-b87f6e8]] |
| 41 | ([dcr-b87f6e8-identity-is-a-governed-registry.md](./dcr-b87f6e8-identity-is-a-governed-registry.md)) |
| 42 | — the registry this node's account of access and epochs describes. |
| 43 | - [[dcr-9b5da04]] |
| 44 | ([dcr-9b5da04-hosts-serve-isolated-valleys.md](./dcr-9b5da04-hosts-serve-isolated-valleys.md)) — |
| 45 | the host a valley's gates run on, whose declaration is itself governed state. |
| 46 | - [[dcr-e544f20]] |
| 47 | ([dcr-e544f20-access-is-verbs-on-projects.md](./dcr-e544f20-access-is-verbs-on-projects.md)) — the |
| 48 | verb model this axiom grounds. |