| 1 | # The foundations and research opportunities of the-valley |
| 2 | |
| 3 | **A critical literature and systems review, 2026-09-20** |
| 4 | |
| 5 | the-valley investigates how software development could work when authors are often agents, project |
| 6 | state belongs to its operator, and acceptance decisions carry evidence that can outlive a hosting |
| 7 | service. This report studies those goals against existing systems and academic literature. It |
| 8 | identifies the distinctions needed to reason about the design, the strongest alternatives, and |
| 9 | experiments that could establish whether its more ambitious ideas work. |
| 10 | |
| 11 | The central question is whether **clear requirements and an opinionated set of end-to-end |
| 12 | constraints can make established tools work better together**. A good existing solution to a |
| 13 | requirement is a reason to adopt it. Innovation in an individual subsystem is optional. The project |
| 14 | succeeds when the complete workflow meets its requirements with acceptable cost and complexity. |
| 15 | |
| 16 | Portable acceptance evidence and project knowledge are especially important connections between the |
| 17 | parts. They let work retain its justification as it moves between authors, tools, and hosts. |
| 18 | Reliable effect recovery, precise authority boundaries, and honest completion semantics determine |
| 19 | whether that continuity survives actual use. Their value should be measured in the whole workflow. |
| 20 | |
| 21 | This report is independent research material. It lives outside `.the-valley/`, has no knowledge-node |
| 22 | status, and does not amend the design or roadmap. Its judgments are proposals to consider. |
| 23 | |
| 24 | ## Principal findings |
| 25 | |
| 26 | 1. **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. |
| 29 | 2. **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. |
| 32 | 3. **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. |
| 35 | 4. **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. |
| 38 | 5. **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. |
| 41 | 6. **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. |
| 44 | 7. **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 | |
| 49 | These findings are developed and qualified in the chapters below. Static implementation findings are |
| 50 | not 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 | |
| 64 | The annotated bibliography is divided into [systems and architecture](sources-systems.md), |
| 65 | [verification](sources-verification.md), [distributed systems and trust](sources-distributed.md), |
| 66 | and [knowledge and agents](sources-agents.md). Entries identify contribution, relevance, |
| 67 | limitations, and the material actually read. Source IDs S, V, D, and A are local to those registers. |
| 68 | When two chapters use the same work, its appearance in two registers does not make it independent |
| 69 | evidence. |
| 70 | |
| 71 | For a first pass, read chapters 1 and 6, then the chapter nearest the next engineering decision. For |
| 72 | a sustained study, follow chapter 7 and return to the experiments after reading the primary sources. |
| 73 | For critical design review, start with the guarantee table in chapter 6 and follow each row to its |
| 74 | supporting analysis. |
| 75 | |
| 76 | ## Scope and method |
| 77 | |
| 78 | The repository snapshot is `5bb3a7736fe49b0cc4914299b142c0c9bafb6870`, whose latest commit is dated |
| 79 | 2026-09-01. The working tree was clean before this report was added. The review examined the |
| 80 | premise, scenario ladder, requirements, architecture, detailed designs, selected knowledge nodes, |
| 81 | schemas, and relevant implementation paths. It treated proposed nodes as proposals and checked code |
| 82 | where a claim concerned implemented behavior. It did not inspect the deployed host or external |
| 83 | private systems referenced by the project. |
| 84 | |
| 85 | The external review was organized around the project's questions rather than one discipline's |
| 86 | terminology. 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 | |
| 97 | Sources were selected for a direct connection to a requirement, a mechanism the project could adopt, |
| 98 | or a result that challenges an architectural assumption. The review favored original papers, |
| 99 | author-hosted texts, standards, and official documentation. It used references within discovered |
| 100 | papers to follow important intellectual predecessors. Product claims are identified as documented |
| 101 | behavior, not independent evaluations. Recent preprints are labeled and treated cautiously. |
| 102 | |
| 103 | This is a **critical narrative review with a scoping survey of systems**, not an exhaustive |
| 104 | systematic review or meta-analysis. There was no preregistered database protocol, exhaustive |
| 105 | screening count, independent reproduction of published experiments, or attempt to pool effect sizes |
| 106 | across unlike studies. Search visibility, available full text, and the repository's own framing |
| 107 | influence coverage. The source registers make those limits inspectable rather than hiding them |
| 108 | behind a citation count. |
| 109 | |
| 110 | The study deliberately gives less attention to public-forge abuse, commercial procurement, general |
| 111 | distributed consensus engineering, and broad philosophical claims about model cognition. These are |
| 112 | either deferred by the project or unnecessary to decide the near-term questions. It also avoids |
| 113 | claiming that a sampled literature search establishes novelty or that any existing system implements |
| 114 | the entire proposed combination. |
| 115 | |
| 116 | ## How to interpret claims |
| 117 | |
| 118 | **Repository observation** describes the inspected snapshot. **Established result** describes a |
| 119 | theoretical construction or finding with the cited work's assumptions. **Documented behavior** is an |
| 120 | implementation's published contract. **Inference** applies those ideas to the-valley. |
| 121 | **Recommendation** expresses a design judgment. **Hypothesis** requires measurement. The prose uses |
| 122 | these distinctions where confusion would materially affect a decision. |
| 123 | |
| 124 | An abstract-only source is useful for locating a result and reporting what its authors summarize. It |
| 125 | does not support detailed claims about methods that were not inspected. Living documentation can |
| 126 | change after the access date. Versioned papers and documentation are used where available; this |
| 127 | report does not archive full copies of the external corpus. |
| 128 | |
| 129 | The report's validation concerns its own prose, local references, citation coverage, and |
| 130 | consistency. Its experimental agenda remains future work. Findings can be adopted into project |
| 131 | decisions later, with their scope and supporting evidence preserved. |