gunk-dev/the-valley

README.md

source07a678c03476main's published tip history
10.9 KiB · Rendered
1# The foundations and research opportunities of the-valley
2
3**A critical literature and systems review, 2026-09-20**
4
5the-valley investigates how software development could work when authors are often agents, project
6state belongs to its operator, and acceptance decisions carry evidence that can outlive a hosting
7service. This report studies those goals against existing systems and academic literature. It
8identifies the distinctions needed to reason about the design, the strongest alternatives, and
9experiments that could establish whether its more ambitious ideas work.
10
11The central question is whether **clear requirements and an opinionated set of end-to-end
12constraints can make established tools work better together**. A good existing solution to a
13requirement is a reason to adopt it. Innovation in an individual subsystem is optional. The project
14succeeds when the complete workflow meets its requirements with acceptable cost and complexity.
15
16Portable acceptance evidence and project knowledge are especially important connections between the
17parts. They let work retain its justification as it moves between authors, tools, and hosts.
18Reliable effect recovery, precise authority boundaries, and honest completion semantics determine
19whether that continuity survives actual use. Their value should be measured in the whole workflow.
20
21This report is independent research material. It lives outside `.the-valley/`, has no knowledge-node
22status, and does not amend the design or roadmap. Its judgments are proposals to consider.
23
24## Principal findings
25
261. **Evidence reuse is a strong idea with exact preconditions.** Equal relevant inputs can justify
27 reuse of a deterministic check. The check definition, dependency model, execution assumptions,
28 and current authority must all be explicit. A familiar check name is insufficient.
292. **Signing and verification establish different facts.** A signature authenticates a claim. It
30 does not prove that a named program ran, that the test was adequate, or that an outcome was
31 attained. The inspected design makes several stronger claims than its mechanisms support.
323. **Replay has three different jobs.** Rebuilding current state, recovering historical decisions,
33 and finishing interrupted effects require different records. Current Git ref enumeration handles
34 only part of the first job.
354. **Existing solutions are candidates to adopt as well as baselines.** Zuul, Gerrit, distributed
36 collaboration systems, and portable build runtimes make important parts of the problem familiar.
37 Each deserves a fit assessment against the requirements before custom work replaces it.
385. **The knowledge graph should be tested through unfamiliar changes.** Recall and retrieval are
39 intermediate measures. The decisive question is whether a fresh contributor can apply the design
40 with fewer conceptual mistakes and less later correction.
416. **A work graph does not define success.** Readiness, accepted attainment, cancellation,
42 abandonment, and continuing obligations need distinct meanings. Scheduling more attempts cannot
43 repair an inadequate acceptance criterion.
447. **The complete system is the unit of success.** The important test is whether shared constraints
45 preserve intent, evidence, authority, and recovery across a useful workflow. Each custom
46 component needs a demonstrated reason to exist. None needs to be novel for the system to be
47 worthwhile.
48
49These findings are developed and qualified in the chapters below. Static implementation findings are
50not reported as demonstrated exploits. Proposed experiments are not reported as results.
51
52## The report
53
54| Chapter | Subject | What it should make clear |
55| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
56| [1. Project and problem map](01-project-and-problem-map.md) | Goals, implemented state, and research questions | The difference between the immediate infrastructure project and the larger outcome engine |
57| [2. Existing systems](02-existing-systems.md) | Forges, portable collaboration, review, queues, and execution | Which alternatives are credible and what each already solves |
58| [3. Verification and integration](03-verification-and-integration.md) | Nix, incremental computation, evidence, concurrency, supply-chain trust | When evidence transfers, what signatures mean, and what witnesses can establish |
59| [4. Events, trust, and durability](04-events-trust-and-durability.md) | Causality, replay, effects, recovery, delegation, and governance | Which facts and obligations must survive failure |
60| [5. Knowledge, agents, and outcomes](05-knowledge-agents-and-outcomes.md) | Design rationale, memory, planning, scheduling, attention, and evaluation | How to distinguish useful understanding and attained outcomes from stored context and activity |
61| [6. Synthesis and research agenda](06-synthesis-and-research-agenda.md) | Judgments, architectural choices, and nine experiments | What to investigate next and which results would change the design |
62| [7. Reading guide and glossary](07-reading-guide-and-glossary.md) | A structured route through the literature | How to deepen understanding and keep related concepts distinct |
63
64The annotated bibliography is divided into [systems and architecture](sources-systems.md),
65[verification](sources-verification.md), [distributed systems and trust](sources-distributed.md),
66and [knowledge and agents](sources-agents.md). Entries identify contribution, relevance,
67limitations, and the material actually read. Source IDs S, V, D, and A are local to those registers.
68When two chapters use the same work, its appearance in two registers does not make it independent
69evidence.
70
71For a first pass, read chapters 1 and 6, then the chapter nearest the next engineering decision. For
72a sustained study, follow chapter 7 and return to the experiments after reading the primary sources.
73For critical design review, start with the guarantee table in chapter 6 and follow each row to its
74supporting analysis.
75
76## Scope and method
77
78The repository snapshot is `5bb3a7736fe49b0cc4914299b142c0c9bafb6870`, whose latest commit is dated
792026-09-01. The working tree was clean before this report was added. The review examined the
80premise, scenario ladder, requirements, architecture, detailed designs, selected knowledge nodes,
81schemas, and relevant implementation paths. It treated proposed nodes as proposals and checked code
82where a claim concerned implemented behavior. It did not inspect the deployed host or external
83private systems referenced by the project.
84
85The external review was organized around the project's questions rather than one discipline's
86terminology. Searches followed these connections:
87
88| Starting concern | Search and reading families |
89| ----------------------------------------- | ------------------------------------------------------------------------------------------------------- |
90| Checks should run once and travel | Functional deployment, incremental builds, safe test selection, attestation, builder trust |
91| Integration should remain fast | Optimistic concurrency, speculative gating, merge trains, collaboration conflicts |
92| One history should explain effects | Logical clocks, provenance, event sourcing, reconciliation, outboxes, sagas |
93| Authority should be bounded and revocable | Complete mediation, capabilities, workload identity, secure metadata updates, human-presence assertions |
94| Agents need durable understanding | Theory building, design rationale, truth maintenance, retrieval, memory, software-agent evaluation |
95| Outcomes should drive useful work | Goal refinement, hierarchical planning, DAG scheduling, stopping criteria, human attention |
96
97Sources were selected for a direct connection to a requirement, a mechanism the project could adopt,
98or a result that challenges an architectural assumption. The review favored original papers,
99author-hosted texts, standards, and official documentation. It used references within discovered
100papers to follow important intellectual predecessors. Product claims are identified as documented
101behavior, not independent evaluations. Recent preprints are labeled and treated cautiously.
102
103This is a **critical narrative review with a scoping survey of systems**, not an exhaustive
104systematic review or meta-analysis. There was no preregistered database protocol, exhaustive
105screening count, independent reproduction of published experiments, or attempt to pool effect sizes
106across unlike studies. Search visibility, available full text, and the repository's own framing
107influence coverage. The source registers make those limits inspectable rather than hiding them
108behind a citation count.
109
110The study deliberately gives less attention to public-forge abuse, commercial procurement, general
111distributed consensus engineering, and broad philosophical claims about model cognition. These are
112either deferred by the project or unnecessary to decide the near-term questions. It also avoids
113claiming that a sampled literature search establishes novelty or that any existing system implements
114the entire proposed combination.
115
116## How to interpret claims
117
118**Repository observation** describes the inspected snapshot. **Established result** describes a
119theoretical construction or finding with the cited work's assumptions. **Documented behavior** is an
120implementation's published contract. **Inference** applies those ideas to the-valley.
121**Recommendation** expresses a design judgment. **Hypothesis** requires measurement. The prose uses
122these distinctions where confusion would materially affect a decision.
123
124An abstract-only source is useful for locating a result and reporting what its authors summarize. It
125does not support detailed claims about methods that were not inspected. Living documentation can
126change after the access date. Versioned papers and documentation are used where available; this
127report does not archive full copies of the external corpus.
128
129The report's validation concerns its own prose, local references, citation coverage, and
130consistency. Its experimental agenda remains future work. Findings can be adopted into project
131decisions later, with their scope and supporting evidence preserved.