gunk-dev/the-valley

dcr-9c75283-substrate-adoption-and-the-core.md

sourceedde5dd8af83main's published tip history
3.0 KiB · Rendered
1---
2type: decision
3id: dcr-9c75283
4status: decided
5title: Substrate law is inert until adopted; a minimal core is the one exception
6created: 2026-08-23
7source: design conversation, 2026-08-22/23
8---
9
10# Substrate law is inert until adopted; a minimal core is the one exception
11
12The substrate ships definitions that bind no one: the schema, the templates, the defaults are inert
13artifacts. A valley's floor is its landed act of adoption — only through that act does substrate
14content become the valley's law, embedded at the valley's own tip. Adoption is drift-free by
15construction: a substrate update changes what a future adoption means, never what a valley already
16embedded.
17
18Two repositories wear two hats each, and the hats are directory-shaped. The substrate's repository
19defines policy for everyone (inert) and carries a project layer binding itself alone (active). A
20valley's repository carries the floor (active for every project the valley owns) and its own project
21layer (active for itself alone). Four authorities, two repositories, and every activation is a
22landed change in the valley whose law it becomes — including the loop where the adopting valley's
23floor comes back to govern the substrate's repository as an ordinary project.
24
25The one exception is the core: a deliberately minimal mandate — the governing path classes require
26human approval — that composes unconditionally for every valley, active by deployment rather than
27adoption. A valley with no floor composes to the core alone and is landable from birth, growing its
28law deliberately; a floor written empty cannot dissolve govern. The core is the piece of law that
29belongs to the substrate itself rather than to any valley that houses it, and it is what anchors the
30bootstrap loop: no valley, including the one hosting the substrate, can legislate away the gate on
31its own registry.
32
33Deployment is a drift channel, and it is accepted for the core alone: a security floor's rare
34changes should reach every valley without waiting on adoption. The core stays tolerable exactly as
35long as it stays small.
36
37The whole arrangement is a rapidly iterating proof of concept, and the discipline matches that
38stage: compatibility windows, coordinated migrations. When the system hardens, the substrate commits
39to its adopters with semantic versioning on config and code — a breaking change to the schema or the
40core announces itself in the version, and conformance vectors are the contract's test
41([[ida-4557af7]]
42([ideas/ida-4557af7-spec-driven-iteration.md](../ideas/ida-4557af7-spec-driven-iteration.md))).
43
44## Related
45
46- The layering this refines, and its absence semantics: [[dcr-f41f718]]
47 ([dcr-f41f718-declared-verification-policy.md](./dcr-f41f718-declared-verification-policy.md))
48- The identity schema as precedent: a substrate floor mandates properties, never names:
49 [[dcr-b87f6e8]]
50 ([dcr-b87f6e8-identity-is-a-governed-registry.md](./dcr-b87f6e8-identity-is-a-governed-registry.md))
51- The bootstrap section of [design/architecture.md](../../design/architecture.md)