| 1 | # Sources: events, trust, and durability |
| 2 | |
| 3 | This register supports [Events, trust, and durability](04-events-trust-and-durability.md). All links |
| 4 | were checked on 2026-09-20. “Sections” means the named portions were examined; it does not imply a |
| 5 | full reading of the paper, specification, proofs, implementation, or linked references. None of the |
| 6 | systems below was deployed or benchmarked for this report. Source annotations identify both what is |
| 7 | useful and what the source does not establish for the-valley. |
| 8 | |
| 9 | ## D01 — Logical causality |
| 10 | |
| 11 | **Leslie Lamport. 1978. |
| 12 | [Time, Clocks, and the Ordering of Events in a Distributed System](https://lamport.azurewebsites.net/pubs/time-clocks.pdf). |
| 13 | Communications of the ACM 21(7), 558–565.** |
| 14 | |
| 15 | Read: sections on partial ordering, logical clocks, and total ordering, including the |
| 16 | clock-condition distinction. Establishes the difference between causal precedence and a chosen total |
| 17 | order. Essential for interpreting “one history.” It does not supply a model of incident |
| 18 | responsibility or establish completeness of observed events. Read before designing causal references |
| 19 | across valleys. |
| 20 | |
| 21 | ## D02 — Event sourcing and replay |
| 22 | |
| 23 | **Martin Fowler. 2005. [Event Sourcing](https://martinfowler.com/eaaDev/EventSourcing.html). |
| 24 | Author's architecture essay, explicitly marked draft.** |
| 25 | |
| 26 | Read: definition, reconstruction discussion, external updates, external queries, and code changes. |
| 27 | Useful for distinguishing replayable domain state from repeating real-world effects. This is a |
| 28 | primary design account, not a formal correctness result or current product specification. Its |
| 29 | external-system discussion is particularly relevant to the actuator proposal. |
| 30 | |
| 31 | ## D03 — Ref history and expiration |
| 32 | |
| 33 | **Git project. [git-reflog](https://git-scm.com/docs/git-reflog). Living command documentation, |
| 34 | accessed 2026-09-20.** |
| 35 | |
| 36 | Read: description and expiration options. Documents the operational log of ref updates and its |
| 37 | retention controls. Useful when assessing whether repository state can reconstruct earlier ref |
| 38 | transitions. A reflog's existence on one host is not evidence that the project's backup or |
| 39 | synchronization path retains it. The report does not recommend changing global reflog policy without |
| 40 | an explicit history contract. |
| 41 | |
| 42 | ## D04 — Ref transactions |
| 43 | |
| 44 | **Git project. [git-update-ref](https://git-scm.com/docs/git-update-ref). Living command |
| 45 | documentation, accessed 2026-09-20.** |
| 46 | |
| 47 | Read: expected old values, `--stdin`, transaction commands, and concurrent-reader warning. Supplies |
| 48 | the relevant existing primitive for coordinating target, evidence, and journal refs. Its caveat |
| 49 | about readers observing a subset matters to the proposed landing protocol. Further |
| 50 | implementation-specific fault testing is required; this documentation alone does not establish |
| 51 | arbitrary power-loss guarantees for every ref backend. |
| 52 | |
| 53 | ## D05 — Stream storage contracts |
| 54 | |
| 55 | **NATS project. |
| 56 | [Streams](https://github.com/nats-io/nats.docs/blob/master/nats-concepts/jetstream/streams.md). |
| 57 | Official documentation repository, accessed 2026-09-20.** |
| 58 | |
| 59 | Read: publication acknowledgement, retention, discard policy, and configuration table. Documents the |
| 60 | choices behind a “durable stream.” The official repository was archived on 2026-08-24; the |
| 61 | historical documentation is linked because former documentation URLs redirected during research. |
| 62 | Check these guarantees against the deployed server and CLI versions before implementation. No |
| 63 | deployment-specific performance claim is inferred. |
| 64 | |
| 65 | ## D06 — Deduplication and acknowledgements |
| 66 | |
| 67 | **NATS project. |
| 68 | [JetStream Model Deep Dive](https://github.com/nats-io/nats.docs/blob/master/using-nats/jetstream/model_deep_dive.md). |
| 69 | Official archived documentation, accessed 2026-09-20.** |
| 70 | |
| 71 | Read: message deduplication, acknowledgement modes, exactly-once semantics, and starting positions. |
| 72 | Explains the actual scope of the transport mechanisms. Particularly useful for resisting the |
| 73 | inference that acknowledging a message also commits a remote effect. This describes the documented |
| 74 | mechanism and default duplicate window, not every newer server feature or configuration. |
| 75 | |
| 76 | ## D07 — Consumer recovery state |
| 77 | |
| 78 | **NATS project. |
| 79 | [Consumers](https://github.com/nats-io/nats.docs/blob/master/nats-concepts/jetstream/consumers.md). |
| 80 | Official archived documentation, accessed 2026-09-20.** |
| 81 | |
| 82 | Read: consumer model, delivery guarantees, redelivery, and push/pull overview. Establishes that |
| 83 | consumers maintain delivery and acknowledgement state. Relevant to deciding what replay restores and |
| 84 | what a restarted subscriber must remember. It does not establish that application processing is |
| 85 | idempotent or that an external action and acknowledgement are atomic. |
| 86 | |
| 87 | ## D08 — Reconciliation |
| 88 | |
| 89 | **Kubernetes project. [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/). |
| 90 | Living documentation, accessed 2026-09-20.** |
| 91 | |
| 92 | Read: controller pattern, API-server control, direct external control, and desired/current-state |
| 93 | discussion. Provides the operational precedent for the implemented polling integrator and proposed |
| 94 | standing-demand controller. This is a conceptual description rather than a proof that any particular |
| 95 | controller converges. It supports borrowing the pattern without adopting the Kubernetes platform. |
| 96 | |
| 97 | ## D09 — Durable workflow history |
| 98 | |
| 99 | **Temporal project. [Events and Event History](https://docs.temporal.io/workflow-execution/event). |
| 100 | Living documentation, accessed 2026-09-20.** |
| 101 | |
| 102 | Read: event and activity-event definitions, persisted history, history limits, and recovery |
| 103 | discussion. Explains what Temporal retains to recover an execution. Useful as a comparison for any |
| 104 | custom operation journal. The chapter deliberately avoids relying on exact current limits as a |
| 105 | design constant. It does not evaluate Temporal's operational cost in this project's deployment. |
| 106 | |
| 107 | ## D10 — Activity failures and cancellation |
| 108 | |
| 109 | **Temporal project. [Activity Execution](https://docs.temporal.io/activity-execution). Living |
| 110 | documentation, accessed 2026-09-20.** |
| 111 | |
| 112 | Read: lifecycle, timeouts, retries, cancellation, and external asynchronous completion discussion. |
| 113 | Makes the boundary between durable orchestration and fallible activity execution explicit. Relevant |
| 114 | to deployment and agent attempts. It does not promise exactly-once behavior in an arbitrary external |
| 115 | service or that cancellation reverses an effect already accepted there. |
| 116 | |
| 117 | ## D11 — Transactional outbox |
| 118 | |
| 119 | **Microsoft / Azure Samples. 2026. |
| 120 | [Azure Cosmos DB design pattern: Transactional Outbox](https://learn.microsoft.com/en-us/samples/azure-samples/cosmos-db-design-patterns/transactional-outbox/). |
| 121 | Published 2026-07-06; accessed 2026-09-20.** |
| 122 | |
| 123 | Read: pattern explanation, transaction boundary, relay, and duplicate-consumer discussion. Shows the |
| 124 | local atomicity requirement behind reliable publication. The concrete implementation is Cosmos DB |
| 125 | specific; the report transfers the pattern, not its product guarantees, to a possible Git journal. |
| 126 | Example code and its crash demonstration were not executed. |
| 127 | |
| 128 | ## D12 — Compensating long operations |
| 129 | |
| 130 | **Hector Garcia-Molina and Kenneth Salem. 1987. |
| 131 | [Sagas](https://sigmodrecord.org/?download_id=11106&smd_process_download=1). ACM SIGMOD, 249–259.** |
| 132 | |
| 133 | Read: abstract and introductory long-transaction and reservation examples. Establishes the |
| 134 | motivation for committed subtransactions with compensation. Useful for deployments and coordinated |
| 135 | releases that cannot remain one atomic transaction. This chapter uses the conceptual distinction; it |
| 136 | does not claim to have reviewed the full recovery algorithm or proved that a proposed deployment |
| 137 | compensation preserves an invariant. |
| 138 | |
| 139 | ## D13 — Independent transaction scopes |
| 140 | |
| 141 | **Pat Helland. 2007. |
| 142 | [Life beyond Distributed Transactions: an Apostate's Opinion](https://www.cidrdb.org/cidr2007/papers/cidr07p15.pdf). |
| 143 | CIDR.** |
| 144 | |
| 145 | Read: message-versus-method discussion and §5 on retries, idempotence, and substantive behavior. A |
| 146 | strong engineering account of obligations that reappear when transactional scope is local. Relevant |
| 147 | even at small scale because a local process and remote actuator already cross a transaction |
| 148 | boundary. Its large-scale framing is not evidence that the-valley needs large-scale infrastructure. |
| 149 | |
| 150 | ## D14 — A provenance vocabulary |
| 151 | |
| 152 | **Luc Moreau and Paolo Missier, editors; W3C Provenance Working Group. 2013. |
| 153 | [PROV-DM: The PROV Data Model](https://www.w3.org/TR/prov-dm/). W3C Recommendation, 30 April 2013.** |
| 154 | |
| 155 | Read: overview, attribution, association, delegation, influence, and bundles. Useful for separating |
| 156 | production claims and authority. Representation does not establish truth or enforce permissions. |
| 157 | Also registered as A04. |
| 158 | |
| 159 | ## D15 — Operational correlation |
| 160 | |
| 161 | **OpenTelemetry project. [Tracing API](https://opentelemetry.io/docs/specs/otel/trace/api/). Living |
| 162 | specification, accessed 2026-09-20.** |
| 163 | |
| 164 | Read: span context, identifiers, sampled flags, recording, and links. Useful for correlating |
| 165 | execution detail with retained project decisions, including operations with multiple predecessors. A |
| 166 | tracing API is not a durable audit-store contract. The report does not equate possession of a trace |
| 167 | ID with authenticated provenance or assume all spans are recorded. |
| 168 | |
| 169 | ## D16 — Ownership and local operation |
| 170 | |
| 171 | **Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan. 2019. |
| 172 | [Local-First Software: You Own Your Data, in spite of the Cloud](https://martin.kleppmann.com/papers/local-first.pdf). |
| 173 | Onward! DOI: 10.1145/3359591.3359737.** |
| 174 | |
| 175 | Read: motivation, seven-ideals framing, and selected storage/synchronization comparison sections. A |
| 176 | close conceptual predecessor to repo-carried project knowledge and provider independence. It is a |
| 177 | design and research agenda, not evidence that CRDTs solve every governance conflict. The report does |
| 178 | not claim a complete review of the prototypes or their usability results. |
| 179 | |
| 180 | ## D17 — Convergence guarantees |
| 181 | |
| 182 | **Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. 2011. |
| 183 | [Conflict-free Replicated Data Types](https://perso.lip6.fr/Marc.Shapiro/papers/2011/CRDTs_SSS-2011.pdf). |
| 184 | SSS 2011, 386–400.** |
| 185 | |
| 186 | Read: introduction and §2 system model, strong eventual consistency, and state-based convergence |
| 187 | conditions. Clarifies which assumptions support automatic merging. Relevant to collaborative |
| 188 | metadata and federation. The cited model assumes non-Byzantine processes; convergence alone does not |
| 189 | establish authorization or arbitrary application invariants. Graph constructions and omitted |
| 190 | companion proofs were not independently checked. |
| 191 | |
| 192 | ## D18 — Git-backed decentralized collaboration |
| 193 | |
| 194 | **Radicle project. [Radicle Protocol Guide](https://radicle.dev/guides/protocol). Living protocol |
| 195 | guide, accessed 2026-09-20.** |
| 196 | |
| 197 | Read: identity, delegates, signed references, collaborative objects, and concurrency. Relevant to |
| 198 | portable governance; compatibility with the-valley remains untested. Also registered as S03. |
| 199 | |
| 200 | ## D19 — Integrated project memory |
| 201 | |
| 202 | **Fossil project. |
| 203 | [Fossil Versus Git](https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki). Living project |
| 204 | documentation, accessed 2026-09-20.** |
| 205 | |
| 206 | Read: features, packaging, and export limitations. Relevant to operational simplicity; |
| 207 | project-authored comparisons are not independent benchmarks. Also registered as S04. |
| 208 | |
| 209 | ## D20 — Enforcement boundaries |
| 210 | |
| 211 | **Jerome H. Saltzer and Michael D. Schroeder. 1975. |
| 212 | [The Protection of Information in Computer Systems: Basic Principles](https://web.mit.edu/Saltzer/www/publications/protection/Basic.html). |
| 213 | Proceedings of the IEEE 63(9), 1278–1308. Author-hosted transcription.** |
| 214 | |
| 215 | Read: design principles, especially complete mediation, least privilege, and separation of |
| 216 | privilege. The foundational test for whether the registry and actuator constrain real access paths. |
| 217 | The paper is much broader than the selected excerpt. It does not supply a ready-made delegated-agent |
| 218 | protocol or remove the need to define a trusted computing base. |
| 219 | |
| 220 | ## D21 — Attenuated delegation |
| 221 | |
| 222 | **Arnar Birgisson, Joe Gibbs Politz, Úlfar Erlingsson, Ankur Taly, Michael Vrable, and Mark |
| 223 | Lentczner. 2014. |
| 224 | [Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud](https://theory.stanford.edu/~ataly/Papers/macaroons.pdf). |
| 225 | NDSS.** |
| 226 | |
| 227 | Read: introductory construction and examples, caveat verification, holder-of-key discussion, and |
| 228 | revocation/versioning. Highly relevant to monotonic delegation. The bearer-token default differs |
| 229 | from the registry's stated credential policy. Formal security arguments, implementation details, and |
| 230 | performance results were not independently audited. The recommendation concerns the semantics before |
| 231 | the token format. |
| 232 | |
| 233 | ## D22 — Workload authentication |
| 234 | |
| 235 | **SPIFFE project. [SPIFFE Overview](https://spiffe.io/docs/latest/spiffe-about/overview/). Living |
| 236 | documentation, accessed 2026-09-20.** |
| 237 | |
| 238 | Read: standards overview, short-lived identity documents, and Workload API description. Identifies |
| 239 | an existing interface for workload authentication across heterogeneous infrastructure. It is not an |
| 240 | authorization policy for projects or delegated agent tasks. The ecosystem table was not used as a |
| 241 | product-selection ranking, and no individual implementation's feature coverage was verified. |
| 242 | |
| 243 | ## D23 — Identity issuance machinery |
| 244 | |
| 245 | **SPIFFE / SPIRE project. |
| 246 | [SPIRE Concepts](https://spiffe.io/docs/latest/spire-about/spire-concepts/). Living documentation, |
| 247 | accessed 2026-09-20.** |
| 248 | |
| 249 | Read: server/agent architecture, registration entries, node attestation, and workload attestation. |
| 250 | Supplies a concrete comparison for the deferred certificate-issuance service. Potentially compatible |
| 251 | with registry-derived policy, but that integration is a report proposal. Security depends on the |
| 252 | chosen attestors, host boundary, and issuance policy; those have not been selected or tested here. |
| 253 | |
| 254 | ## D24 — Trust succession |
| 255 | |
| 256 | **The Update Framework project. |
| 257 | [Specification](https://theupdateframework.github.io/specification/latest/), version 1.0.36 |
| 258 | (2026-08-05).** |
| 259 | |
| 260 | Read: §§5.2–5.3, trusted roots and updates. Relevant to succession; initial trust remains separate. |
| 261 | Also registered as V20. |
| 262 | |
| 263 | ## D25 — Human authentication properties |
| 264 | |
| 265 | **W3C Web Authentication Working Group. 2026. |
| 266 | [Web Authentication: An API for accessing Public Key Credentials, Level 3](https://www.w3.org/TR/webauthn-3/). |
| 267 | W3C Recommendation, 25 August 2026.** |
| 268 | |
| 269 | Read: scope, single/multi-device terminology, backup eligibility, authenticator flags, and |
| 270 | assertion-binding structure. Corrects overly broad equations between passkeys, non-exportability, |
| 271 | presence, and approval. The standard is large; this is a targeted reading. No approval envelope, |
| 272 | authenticator policy, or browser implementation was validated for the-valley. |
| 273 | |
| 274 | ## D26 — What a clone preserves |
| 275 | |
| 276 | **Git project. [git-clone](https://git-scm.com/docs/git-clone). Living command documentation, |
| 277 | accessed 2026-09-20.** |
| 278 | |
| 279 | Read: ordinary, bare, and mirror cloning options, especially custom-ref coverage. Important for |
| 280 | backup acceptance tests because attestations and requests live outside ordinary branch names. This |
| 281 | documents command behavior rather than the repository's actual backup completeness. Neither a |
| 282 | successful clone nor a configured mirror demonstrates a verified disaster recovery. |
| 283 | |
| 284 | ## D27 — Replication and agreement |
| 285 | |
| 286 | **Diego Ongaro and John Ousterhout. 2014. |
| 287 | [In Search of an Understandable Consensus Algorithm (Extended Version)](https://raft.github.io/raft.pdf). |
| 288 | USENIX ATC extended paper.** |
| 289 | |
| 290 | Read: leader election, log replication, commitment/safety discussion, and membership-change |
| 291 | explanation. Provides the right scope for claims about agreed replicated state. It is not a |
| 292 | prescription to add Raft to this project. The report did not re-prove safety or use the paper as |
| 293 | evidence for protection against malicious administrators or backup deletion. |
| 294 | |
| 295 | ## D28 — Actual cause and model assumptions |
| 296 | |
| 297 | **Joseph Y. Halpern and Judea Pearl. 2005. |
| 298 | [Causes and Explanations: A Structural-Model Approach. Part I: Causes](https://www.cs.cornell.edu/home/halpern/papers/actcaus.pdf). |
| 299 | British Journal for the Philosophy of Science 56(4), 843–887; author manuscript dated 24 |
| 300 | October 2005.** |
| 301 | |
| 302 | Read: abstract, introduction, and structural-model discussion, especially variable selection and |
| 303 | counterfactual interpretation. Useful for distinguishing causal explanation from provenance. This is |
| 304 | one influential formal account, not a claim that causation has a single settled definition. Later |
| 305 | examples, proofs, and competing revisions were outside this chapter's reading. |
| 306 | |
| 307 | ## Repository evidence |
| 308 | |
| 309 | The primary local evidence was the [requirements](../../design/requirements.md), |
| 310 | [architecture](../../design/architecture.md), [roadmap](../../design/roadmap.md), |
| 311 | [open questions](../../design/openquestions.md), and |
| 312 | [self-transparency draft](../../design/self-transparency.md). The implementation reading covered |
| 313 | event and identity schemas, ref replay, publication, the integrator's landing and evidence paths, |
| 314 | and registry rendering and installation. The chapter links those files at the corresponding |
| 315 | findings. |
| 316 | |
| 317 | The [signal contracts](../../.the-valley/decisions/dcr-62ecc36-signal-contracts.md), |
| 318 | [identity registry](../../.the-valley/decisions/dcr-b87f6e8-identity-is-a-governed-registry.md), |
| 319 | [valley repository](../../.the-valley/decisions/dcr-2965320-valley-is-its-repository.md), |
| 320 | [agent provenance](../../.the-valley/ideas/ida-45178f6-agent-identity-is-provenance.md), |
| 321 | [delegation](../../.the-valley/ideas/ida-a8243d2-agent-runs-act-under-delegated-authority.md), |
| 322 | [actuator](../../.the-valley/ideas/ida-f1b39e8-outbound-effects-pass-through-an-actuator.md), and |
| 323 | [production-DAG](../../.the-valley/ideas/ida-b48bded-production-dags-and-events.md) nodes informed |
| 324 | the interpretation of intended behavior. An idea node is evidence of a proposal, not evidence that |
| 325 | its mechanism exists. |