gunk-dev/the-valley

self-transparency.md

sourcefa56c705b99emain's published tip history
3.7 KiB · Rendered
1# Recording changes to the system itself
2
3This is a proposed requirement, not a settled invariant. It asks whether every lasting change to
4the-valley or its outputs should have an inspectable record, including changes to the components and
5rules that govern the system.
6
7## Proposed requirement
8
9No actor should be able to make a lasting change to the system or its outputs without leaving the
10required record of that change.
11
12The proposal includes the system's own policy, controllers, and configuration. A change to the
13integrator should be attributable and reviewable. A change to the policy governing integration
14should identify both the previous rule and the authority for changing it.
15
16The motivation is practical. If the system can explain application changes but cannot explain
17changes to its own behavior, part of the causal history is missing. The-valley's ability to improve
18itself depends on retaining that history.
19
20The words “lasting change,” “output,” and “required record” still need precise definitions. A
21temporary adjustment that automatically returns to declared state may need different treatment from
22a persistent configuration change.
23
24## Cases the requirement would cover
25
26- **Integrator changes.** The code deciding whether changes can land must itself have an authorized
27 path for updates.
28- **Policy changes.** The rules admitting a policy amendment must come from already accepted
29 governing state.
30- **Enforced principles.** If a project principle constrains integration, its meaning, enforcement,
31 and amendment history must be inspectable.
32- **Configuration changes.** Changes to protected refs, accepted signers, trust thresholds, and
33 witnesses must be governed and recorded.
34
35Representing principles or configuration as graph nodes is one proposal. The current
36[node schema](../.the-valley/README.md#files-and-metadata) does not implement those node types. The
37requirement concerns how changes are governed and recorded; it does not yet choose their storage
38format.
39
40## What has been decided
41
42The
43[policy adoption decision](../.the-valley/decisions/dcr-9c75283-substrate-adoption-and-the-core.md)
44requires explicit adoption by a valley and physical approval for policy changes. The approval
45mechanism must be available before the core is activated.
46
47Ordinary amendments use accepted state to judge the next state. The
48[bootstrap description](./architecture.md#bootstrap-and-recovery) identifies initial manual setup
49and recovery through a lower administrative layer. These decisions address parts of the problem
50without establishing the complete proposed requirement.
51
52Host root access remains outside the valley's normal enforcement boundaries. The documentation must
53not imply that repository policy prevents an administrator from changing the machine.
54
55## Questions still to resolve
56
57- Which changes need durable records, and what must those records contain?
58- What establishes the first trusted state, and how is that setup recorded?
59- How are emergency repairs authorized and recorded when normal integration is unavailable?
60- Which out-of-band changes can be prevented, which can be detected, and which remain a stated trust
61 assumption?
62- What happens when a change takes effect but writing its evidence fails?
63- Which temporary or low-impact changes can use a lighter process while preserving the required
64 explanation?
65
66The same questions apply when a change crosses a valley boundary. Each receiving valley needs to
67know what it is accepting and under whose authority.
68
69This proposal is related to the
70[outcome-based work model](./architecture.md#work-from-outcomes-and-dependencies): work on the
71system belongs in the same model as work produced by it. It remains open in
72[the question index](./openquestions.md#identity-approval-and-bootstrap).