gunk-dev/the-valley

07-reading-guide-and-glossary.md

sourcef626522c2906main's published tip history
17.9 KiB · Rendered
1# 7. Reading guide and glossary
2
3The most useful way to study this material is to move between a primary source, a concrete failure
4case, and the corresponding part of the-valley. The sequence below is designed to develop judgment
5about mechanisms rather than familiarity with names. The source registers provide direct links and
6state which portions were inspected for this report.
7
8## 7.1 The shortest route through the foundations
9
10For a first sustained pass, prioritize these twelve readings. They span the main intellectual
11dependencies without requiring every product manual first.
12
13| Reading | Source register | Question to carry into the-valley |
14| -------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------ |
15| Parnas, _On the Criteria To Be Used in Decomposing Systems into Modules_ | [S01](sources-systems.md) | Which decisions can a component change without forcing other components to change? |
16| Saltzer, Reed, and Clark, _End-to-End Arguments in System Design_ | [S02](sources-systems.md) | Which desired result can only the application establish? |
17| Dolstra, _The Purely Functional Software Deployment Model_, selected foundations | [V01](sources-verification.md) | What makes an execution input explicit, and what remains an assumption? |
18| Mokhov, Mitchell, and Peyton Jones, _Build Systems à la Carte_ | [V02](sources-verification.md) | Which part chooses what to do, and which part decides whether a result remains valid? |
19| Kung and Robinson, _On Optimistic Methods for Concurrency Control_ | [V11](sources-verification.md) | What must be checked immediately before publishing speculative work? |
20| Torres-Arias et al., _in-toto_ | [V15](sources-verification.md) | How can independently performed steps carry a verifiable relationship? |
21| Lamport, _Time, Clocks, and the Ordering of Events in a Distributed System_ | [D01](sources-distributed.md) | What does an order of events establish about causality? |
22| Helland, _Life beyond Distributed Transactions_ | [D13](sources-distributed.md) | Who resolves uncertainty after an external action and a local crash? |
23| Naur, _Programming as Theory Building_ | [A01](sources-agents.md) | What understanding must a new contributor acquire beyond reading the code? |
24| van Lamsweerde, _Goal-Oriented Requirements Engineering: A Guided Tour_ | [A07](sources-agents.md) | Why should the proposed subgoals be sufficient for the parent goal? |
25| Bainbridge, _Ironies of Automation_ | [A25](sources-agents.md) | What must a human retain in order to supervise exceptions competently? |
26| Kapoor et al., _AI Agents That Matter_ | [A22](sources-agents.md) | Would an apparent gain survive equal budgets, stronger baselines, and held-out evaluation? |
27
28For each reading, write four short notes: the problem it addresses, its assumptions, what it
29establishes, and one thing it does not establish. Then find a local design sentence that becomes
30more precise after reading it. This exercise is more valuable than importing the paper's vocabulary
31into the project unchanged.
32
33## 7.2 Eight deeper study sessions
34
35### Session 1: Ownership and composition
36
37Read Parnas and the end-to-end paper, then compare Radicle, Fossil, SourceHut, and Tangled in
38[chapter 2](02-existing-systems.md). Consult S03–S09 for the original system descriptions.
39
40Draw the authoritative stores for one project under each architecture. Mark what a normal clone
41preserves, what requires another export, and who can decide the accepted branch. Then remove the
42primary host from the drawing. Identify which functions continue and which require recovery.
43
44The test of understanding is the ability to explain why storage ownership, identity independence,
45availability, and decision authority can vary separately. Do not rank systems by a single
46"decentralized" score.
47
48Then choose one end-to-end requirement and assign its responsibilities to existing tools. Construct
49a case in which every tool passes its own checks while the complete workflow fails. Identify the
50missing agreement between them. This gives a concrete reason for a shared constraint, an adapter, or
51a different selection of tools. Use section 6.7 to assess whether that cost is justified.
52
53### Session 2: Computation identity and reuse
54
55Read the Nix foundations, _Build Systems à la Carte_, and the selective-testing work in V27. Use the
56Nix manual and Bazel documents in V04–V08 to connect the abstractions to actual execution controls.
57
58Choose three real checks: a prose formatter, a compiler test, and a network-dependent observation.
59For each, list all the information required to decide whether an old result still applies. Include
60the executable definition and facts about absent or newly introduced inputs.
61
62Construct one conservative invalidation and one unsound reuse rule. Explain why the former wastes
63work while the latter can accept a result for the wrong computation. This prepares the ground for E2
64and E3 in [chapter 6](06-synthesis-and-research-agenda.md).
65
66### Session 3: Claims, trusted builders, and witnesses
67
68Read in-toto, the in-toto Statement format, DSSE, and SLSA's actual build requirements. Compare the
69Sigstore security model, TUF, and transparency guarantees in V15–V22. Read Thompson's compiler paper
70to challenge an overly simple definition of independent verification.
71
72Follow one hypothetical signed check through the system. Ask separately whether its bytes are
73authentic, its check definition is approved, its result can be reproduced, its signer is authorized,
74and its test is adequate. Produce an example in which four answers are favorable and the fifth
75prevents acceptance.
76
77Then use chapter 3's sampling equations with several audit probabilities. State the independence and
78detection assumptions aloud. Explain the difference between reducing the chance of an undetected
79pattern and ensuring that one particular claim will be checked.
80
81### Session 4: Integration under contention
82
83Read Kung and Robinson, Crystal's collaboration-conflict paper, and the Zuul gating guide. Compare
84the GitHub and GitLab mechanisms in chapter 2. Keep the 2026 queue-governance preprint as an
85additional research lead rather than the foundation of the argument.
86
87Work through three changes by hand. Make two textually disjoint changes interact through a shared
88behavioral assumption. Make a third change alter the check definition. For each possible order,
89identify the combined tree, reusable evidence, invalidated evidence, and serial decision work.
90
91The goal is to explain why correct ordering, complete computation dependencies, and adequate checks
92solve different problems. A scheduler cannot discover every omitted semantic dependency merely by
93choosing a better queue order.
94
95### Session 5: History and effect recovery
96
97Read Lamport, the event-sourcing discussion, the controller and Temporal contracts, Helland, and
98Sagas in D01–D13. Inspect the actual JetStream retention and acknowledgement semantics alongside
99those readings.
100
101Draw a failure timeline for "accept source, request deployment, remote deployment succeeds, local
102process crashes." At each interval, write what durable fact exists and what a restarted process can
103know. Design separate procedures for re-enumerating current state, recovering the decision history,
104and resolving the uncertain external result.
105
106A strong answer includes a case where the right recovery state is explicitly unknown. Replacing
107uncertainty with an automatic retry is a policy choice, not an explanation of what happened.
108
109### Session 6: Authority and recursive governance
110
111Read complete mediation, Macaroons, SPIFFE/SPIRE, TUF's update rules, and the WebAuthn distinctions
112in D20–D25. Compare them with the local registry, adoption decision, and self-transparency draft.
113
114Draw the trust boundary around a running agent. Mark every credential and effect path it can reach.
115Then compare that diagram with its recorded delegation. Any extra path is authority the record alone
116does not constrain.
117
118Work through a normal policy amendment, a key compromise, an expired key during failed convergence,
119and a host restore from an old image. Identify who can restore authority and what survives as
120evidence of the exceptional action. Explain the difference between authorization then and
121authorization now.
122
123### Session 7: Understanding, rationale, and memory
124
125Read Naur, gIBIS, Doyle's truth-maintenance work, and selected agent-memory papers in A01–A17. Add
126Dung's argumentation model, A28, when considering objections and conflicting reasons. Read these as
127different problem statements, rather than as interchangeable support for "use a knowledge graph."
128
129Choose a current design decision and write the smallest explanation that would let an unfamiliar
130engineer defend it, identify a condition that would invalidate it, and propose a compatible
131extension. Compare that explanation with a chronological conversation transcript and a retrieved
132summary.
133
134Use the theory-reconstruction experiment to ask what was lost. If the reader gives the right answer,
135change the situation and see whether the understanding transfers. A memorized phrase should not earn
136the same score as a justified new decision.
137
138### Session 8: Outcomes, supervision, and evaluation
139
140Read goal-oriented requirements, HTN planning, scheduling, the automation papers, and the evaluation
141work in A07–A10 and A18–A27. Pair the earlier METR study with the later methodology update. Treat
142benchmark claims as conditional on their tasks, harnesses, and observation periods.
143
144Design an outcome with an incomplete decomposition, an abandoned blocker, two valid alternatives,
145and a prerequisite shared by two roots. Decide who may revise the acceptance criterion. Add a budget
146and a cancellation halfway through a run.
147
148Write a completion report that can say "not attained" even when substantial useful work has been
149done. Then specify the comparison that would show whether automation improved the outcome rather
150than merely increasing activity.
151
152## 7.3 Questions for judging a new paper or tool
153
154Use the same questions when extending this report:
155
156- What exact problem is solved, and which local requirement needs that solution?
157- Which assumptions make the guarantee possible? Who controls the dependencies and evaluator?
158- Is the evidence a proof, a benchmark, a field study, a project description, or a proposal?
159- What is the strongest baseline? Are trust, budgets, caches, and human work held comparable?
160- Which failure cases are excluded? What happens to existing results after revocation or recovery?
161- Does the evaluation measure the desired outcome or a proxy that can improve independently?
162- Could the mechanism be adopted as one component? What durable state or protocol would become tied
163 to it?
164- What observation would make its adoption a mistake for the current pilot?
165
166## 7.4 Working glossary
167
168These definitions state how the report uses the terms. They are reading aids, not additions to the
169project's schema. Follow the relevant chapter for assumptions and primary sources.
170
171| Term | Meaning in this report |
172| ------------------------------ | --------------------------------------------------------------------------------------------------------------------- |
173| Acceptance criterion | A stated procedure or condition used to decide whether requested work counts as achieved |
174| Action cache | A mapping from an identified computation to result metadata |
175| Attestation | An attributable statement about an identified subject; its predicate says what is claimed |
176| Attainment | The requested condition is accepted as holding in a specified scope and environment |
177| Authority | Permission to make a particular decision or perform an action at an enforcement boundary |
178| Canonical state | The project state accepted under the relevant governance rules |
179| Causality | A relationship of influence or dependence; its exact meaning differs between execution order and incident explanation |
180| Complete mediation | Checking authority across every relevant access path within a declared boundary |
181| Content address | An identifier derived from the content it names |
182| Critical path | A duration-dependent chain constraining completion under a specified scheduling model |
183| CRDT | A data type whose defined concurrent operations support convergence under specified assumptions |
184| Delegation | A grant of authority from one actor to another, with a scope that must be enforced |
185| Determinism | The same specified computation and inputs yield the same result |
186| Effect | A change outside a computation's returned value, such as updating a service or sending a message |
187| Effect attempt | One execution attempt toward a logical effect; retries need not represent new intended effects |
188| Evidence transfer | Accepting a prior result as applicable to the candidate state under a stated rule |
189| Hermeticity | Restricting a computation's observations to its specified environment and dependencies |
190| Idempotency | Repetition does not repeat the substantive state change the application seeks to perform |
191| Inclusion proof | Evidence that an entry belongs to a particular committed log view |
192| Input closure | The dependencies required by a computation, under a specified dependency model |
193| Invalidation | A reason that earlier evidence or a derived conclusion can no longer be used as before |
194| Materialized view | Stored results derived from authoritative facts for convenient access |
195| Optimistic concurrency control | Doing work speculatively and validating its assumptions before publishing its effect |
196| Oracle | The procedure used to judge correctness or success in an evaluation |
197| Outcome | A condition someone wants to hold; distinct from the attempt intended to produce it |
198| Provenance | Recorded relationships among inputs, activities, outputs, and responsible actors |
199| Readiness | Satisfaction of the conditions that permit an attempt to begin |
200| Reconciliation | Repeatedly comparing durable desired state with observations and acting on remaining differences |
201| Reproducibility | Ability to recreate specified artifacts from identified source, environment, and instructions |
202| Revocation | Withdrawal of authority or acceptability under a policy; it does not erase past external effects |
203| Saga | A sequence of committed steps with compensating actions for relevant failures |
204| Sound reuse | Reuse that preserves the result of the specified approved computation under its assumptions |
205| Speculative gating | Checking possible combined future states before their final integration order is completed |
206| Theory reconstruction | Acquiring enough project understanding to explain and modify it appropriately |
207| Transactional outbox | Recording a state change and the obligation to publish it within one atomic boundary |
208| Transparency | Making a defined class of actions or claims externally inspectable under an explicit retention and trust model |
209| Trusted computing base | The components and assumptions whose failure can invalidate a stated guarantee |
210| Witness | An independent participant that checks or observes a specified claim; independence must be defined |
211
212The most important distinctions to retain are authenticity versus truth, provenance versus cause,
213readiness versus attainment, current state versus event history, and replay versus repeating an
214external effect. Many attractive designs become easier to assess once those words stop doing each
215other's work.