gunk-dev/the-valley

dcr-e544f20-access-is-verbs-on-projects.md

source8c4ff6fd0e3bmain's published tip history
4.4 KiB · Rendered
1---
2type: decision
3id: dcr-e544f20
4status: decided
5title: "Access is verbs on projects; infrastructure is a compilation target"
6created: 2026-08-22
7source: design conversation, 2026-08-22
8---
9
10# Access is verbs on projects; infrastructure is a compilation target
11
12The valley's config surface speaks the valley's domain: principals, projects, verbs. Infrastructure
13— unix users, authorized_keys, hook configuration, bus accounts — is what grants compile into, never
14vocabulary the instance writes.
15
16The boundary rule of [[dcr-b87f6e8]]
17([dcr-b87f6e8-identity-is-a-governed-registry.md](./dcr-b87f6e8-identity-is-a-governed-registry.md))
18survives, relocated. Instead of each grant naming its enforcement boundary, the substrate defines a
19closed verb list, and a verb exists only when its gate ships. Same teeth — a capability nothing
20enforces cannot be declared — with no infrastructure in the declaration. A verb a deployment cannot
21enforce fails at compile, loudly.
22
23The verbs:
24
25- **govern** — land changes to the valley's governing path classes; whose approval satisfies the
26 human-approval check those classes require. Valley-scoped. The master verb: it dominates every
27 other grant, no external principal may hold it, genesis anchors it, and a registry render that
28 would orphan it is refused.
29- **push** — write topic branches and the attestation namespace in a project's repositories.
30 Project-scoped: the pre-receive hook enforces per repository, per principal. push subsumes fetch.
31- **fetch** — read a valley's repositories. Valley-scoped until the forced-command gate ships
32 (below), then project-scoped. Prospective only.
33- **observe** — subscribe to the valley's event stream. Project-scoped from its first day: its gate
34 is bus authentication ([[bd-d853d9c]]
35 ([bd-d853d9c-bus-unauthenticated.md](../bugs/bd-d853d9c-bus-unauthenticated.md))), whose subject
36 permissions match the per-project namespace of [[dcr-62ecc36]]
37 ([dcr-62ecc36-signal-contracts.md](./dcr-62ecc36-signal-contracts.md)). The verb ships with that
38 gate, not before.
39- **request** — write the request namespace targeting a project's stream. Project-scoped; its gate
40 is a hook extension checking namespace writes against holders. Who holds request, together with
41 which path classes demand approval statements, is the supervision dial: agent-class principals
42 gaining request under an approval-requiring floor is how unsupervised landing arrives by
43 declaration rather than by accident.
44
45Deliberate absences: there is no **land** — writing a protected ref is the integrator's structural
46privilege, below the grant system entirely — and no **admin** — escalation is govern, through the
47strictest class, or the host owner's root, outside the system.
48
49Gates on the roadmap: project-scoped fetch and push ride a forced-command dispatcher on the ssh path
50— the pattern git hosting standardized on — compiled from the registry like every artifact; when it
51ships, the shared-user constraint of [[dcr-0f5d9b1]]
52([dcr-0f5d9b1-cue-config-host-module.md](./dcr-0f5d9b1-cue-config-host-module.md)) is superseded.
53observe rides bus authentication.
54
55Compilation: fetch and push render to authorized_keys and the dispatcher's grant table; request to
56hook configuration; observe to bus permissions; govern to policy composition. The integrator holds
57no verbs: its power is machinery, and its registry entry exists so its signatures verify.
58
59## Related
60
61- [[dcr-2965320]]
62 ([dcr-2965320-valley-is-its-repository.md](./dcr-2965320-valley-is-its-repository.md)) — the axiom
63 this verb model builds on.
64- [[dcr-b87f6e8]]
65 ([dcr-b87f6e8-identity-is-a-governed-registry.md](./dcr-b87f6e8-identity-is-a-governed-registry.md))
66 — the grant declaration form this node refines.
67- [[dcr-f41f718]]
68 ([dcr-f41f718-declared-verification-policy.md](./dcr-f41f718-declared-verification-policy.md)) —
69 the path classes govern requires approval statements on.
70- [[dcr-62ecc36]] ([dcr-62ecc36-signal-contracts.md](./dcr-62ecc36-signal-contracts.md)) — the
71 per-project namespace observe's bus gate matches.
72- [[dcr-0f5d9b1]] ([dcr-0f5d9b1-cue-config-host-module.md](./dcr-0f5d9b1-cue-config-host-module.md))
73 — the shared-user constraint the forced-command dispatcher supersedes.
74- [[bd-d853d9c]] ([bd-d853d9c-bus-unauthenticated.md](../bugs/bd-d853d9c-bus-unauthenticated.md)) —
75 the bus authentication gate observe ships with.
76- [[dcr-9b5da04]]
77 ([dcr-9b5da04-hosts-serve-isolated-valleys.md](./dcr-9b5da04-hosts-serve-isolated-valleys.md)).