| 1 | # Recording changes to the system itself |
| 2 | |
| 3 | This is a proposed requirement, not a settled invariant. It asks whether every lasting change to |
| 4 | the-valley or its outputs should have an inspectable record, including changes to the components and |
| 5 | rules that govern the system. |
| 6 | |
| 7 | ## Proposed requirement |
| 8 | |
| 9 | No actor should be able to make a lasting change to the system or its outputs without leaving the |
| 10 | required record of that change. |
| 11 | |
| 12 | The proposal includes the system's own policy, controllers, and configuration. A change to the |
| 13 | integrator should be attributable and reviewable. A change to the policy governing integration |
| 14 | should identify both the previous rule and the authority for changing it. |
| 15 | |
| 16 | The motivation is practical. If the system can explain application changes but cannot explain |
| 17 | changes to its own behavior, part of the causal history is missing. The-valley's ability to improve |
| 18 | itself depends on retaining that history. |
| 19 | |
| 20 | The words “lasting change,” “output,” and “required record” still need precise definitions. A |
| 21 | temporary adjustment that automatically returns to declared state may need different treatment from |
| 22 | a 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 | |
| 35 | Representing 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 |
| 37 | requirement concerns how changes are governed and recorded; it does not yet choose their storage |
| 38 | format. |
| 39 | |
| 40 | ## What has been decided |
| 41 | |
| 42 | The |
| 43 | [policy adoption decision](../.the-valley/decisions/dcr-9c75283-substrate-adoption-and-the-core.md) |
| 44 | requires explicit adoption by a valley and physical approval for policy changes. The approval |
| 45 | mechanism must be available before the core is activated. |
| 46 | |
| 47 | Ordinary amendments use accepted state to judge the next state. The |
| 48 | [bootstrap description](./architecture.md#bootstrap-and-recovery) identifies initial manual setup |
| 49 | and recovery through a lower administrative layer. These decisions address parts of the problem |
| 50 | without establishing the complete proposed requirement. |
| 51 | |
| 52 | Host root access remains outside the valley's normal enforcement boundaries. The documentation must |
| 53 | not 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 | |
| 66 | The same questions apply when a change crosses a valley boundary. Each receiving valley needs to |
| 67 | know what it is accepting and under whose authority. |
| 68 | |
| 69 | This proposal is related to the |
| 70 | [outcome-based work model](./architecture.md#work-from-outcomes-and-dependencies): work on the |
| 71 | system belongs in the same model as work produced by it. It remains open in |
| 72 | [the question index](./openquestions.md#identity-approval-and-bootstrap). |