gunk-dev/the-valley

sources-systems.md

sourcebda0fd39abcamain's published tip history
12.3 KiB · Rendered
1# Sources: architecture and existing systems
2
3These entries support chapters [1](01-project-and-problem-map.md) and [2](02-existing-systems.md).
4All external sources were accessed on 2026-09-20. "Selected sections" means that the cited mechanism
5was read in the source; it does not mean that the complete manual or paper was reviewed.
6Documentation establishes a project's stated behavior, not independently measured reliability. No
7product in this register was deployed or benchmarked for this report.
8
9## S01 — Information hiding
10
11D. L. Parnas. **On the Criteria To Be Used in Decomposing Systems into Modules**. _Communications of
12the ACM_ 15(12), 1053–1058, 1972. [DOI](https://doi.org/10.1145/361598.361623);
13[paper transcription](https://www.cs.lafayette.edu/~gexia/cs301/resources/parnas.html).
14
15Read: abstract, worked decomposition discussion, criteria, and implementation tradeoffs. The paper
16provides a criterion for replaceable components: hide decisions likely to change. It is conceptual
17design analysis, not evidence that microservices reduce operating cost. Apply it to the-valley's
18evidence, transport, executor, and storage boundaries.
19
20## S02 — End-to-end responsibility
21
22J. H. Saltzer, D. P. Reed, and D. D. Clark. **End-to-End Arguments in System Design**. _ACM
23Transactions on Computer Systems_ 2(4), 277–288, 1984.
24[Author-hosted paper](https://web.mit.edu/saltzer/www/publications/endtoend/endtoend.pdf).
25
26Read: introduction, file-transfer argument, performance discussion, and delivery guarantees. The
27paper explains why application-level knowledge can remain necessary despite reliable lower layers.
28It supports an analogy for the-valley, not a theorem about its architecture. Use it to question
29whether bus delivery, signatures, or check success establish the desired outcome.
30
31## S03 — Radicle
32
33Radicle contributors. **Radicle Protocol Guide**. Living Heartwood protocol guide.
34[Source](https://radicle.dev/guides/protocol).
35
36Read: repository identity, signed refs, canonical branches, storage, collaborative objects, and
37concurrency. It is close prior art for authenticated collaboration objects replicated with Git. The
38guide is a project description, not an independent durability evaluation. Compare its acceptance and
39object models before inventing parallel social-record protocols.
40
41## S04 — Fossil
42
43Fossil contributors. **Fossil Versus Git**. Living project documentation.
44[Source](https://fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki).
45
46Read: introduction and sections on integrated facilities and self-contained deployment. It supplies
47a counterexample to treating many separate programs as the only route to minimalism. Its comparative
48claims are explicitly project-authored and favorable to Fossil. Use the architecture as a baseline;
49measure operating cost independently.
50
51## S05 — Forgejo
52
53Forgejo contributors. **Forgejo CLI**, v15.0 documentation.
54[Source](https://forgejo.org/docs/v15.0/admin/command-line/).
55
56Read: command overview, dump, dump-repo, and restore-repo descriptions. The export model illustrates
57the distinction between owning a forge and representing every durable artifact in Git. Backup
58command documentation alone does not establish a consistent backup or successful restore. This is
59the conventional self-hosted comparison for S1.
60
61## S06 — SourceHut
62
63Drew DeVault. **Announcing the SourceHut project hub**. 2020; page displays April 29, URL April 30.
64[Source](https://sourcehut.org/blog/2020-04-30-the-sourcehut-hub-is-live/).
65
66Read: full announcement. It describes composing independently useful development services under a
67project view. The announcement establishes the design intent, not a present performance comparison.
68Its relevance is separating concern ownership from the coherence of the user interface.
69
70## S07 — b4 and email contribution
71
72b4 contributors. **am, shazam: retrieving and applying patches**. Living end-user documentation.
73[Source](https://b4.docs.kernel.org/en/latest/maintainer/am-shazam.html).
74
75Read: retrieval flow, review trailers, attestation checks, and selected options. It demonstrates
76structured contribution through a transport independent of target-repository write access. Patch
77authentication is not execution attestation. Borrow the separation of proposal, attribution, and
78acceptance rather than assuming the email interface itself is required.
79
80## S08 — Tangled's component model
81
82The Tangled Contributors. **Tangled docs**, overview. Living documentation.
83[Source](https://docs.tangled.org/).
84
85Read: overview of knots, AT Protocol, and the appview. It is useful comparative architecture for
86separating hosting from a collaboration view. The page's displayed update date does not pin all
87linked documentation to that date. No federation or recovery behavior was independently tested.
88
89## S09 — Tangled's execution model
90
91The Tangled Contributors. **Spindles**. Living documentation.
92[Source](https://docs.tangled.org/spindles).
93
94Read: pipeline format, triggers, engines, and caching sections. Nixery and microVM execution make it
95a nearby design, while its workflow format differs from the-valley's runtime constraint. Nix-related
96execution alone should not be interpreted as a portable integration-evidence protocol.
97
98## S10 — Gerrit's change model
99
100Gerrit contributors. **Changes**. Living documentation, page displayed `v3.14.2-892-g1ff12a23c6`
101when accessed. [Source](https://gerrit-review.googlesource.com/Documentation/concept-changes.html).
102
103Read: change identity, patch sets, related changes, and submit strategies. It distinguishes a
104logical review unit from the commits that revise it. It does not establish portability of every
105review artifact. Use it to separate proposal identity, content identity, and integration-attempt
106identity.
107
108## S11 — Gerrit's governed configuration
109
110Gerrit contributors. **Submit Requirements**. Same living documentation family as S10.
111[Source](https://gerrit-review.googlesource.com/Documentation/config-submit-requirements.html).
112
113Read: configuration, testing requirements, and policy-lockout recovery discussion. It shows that
114reviewing the rules that govern review already has practical precedent. Its administrative recovery
115paths are specific to Gerrit; the-valley still needs its own explicit trust and recovery model.
116
117## S12 — Zuul
118
119Zuul contributors. **Project Gating**. `latest` documentation at access date.
120[Source](https://zuul-ci.org/docs/zuul/latest/gating.html).
121
122Read: parallel speculative testing, window behavior, cross-project queues, and dependencies. It is
123the strong comparison for concurrent checks with ordered integration. Performance depends on failure
124and dependency patterns; this report measured none. It prevents an unfair comparison against only a
125serial CI gate.
126
127## S13 — GitHub merge queues
128
129GitHub. **Managing a merge queue**. Living product documentation.
130[Source](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).
131
132Read: merge groups, CI triggers, concurrency settings, and queue-reordering examples. This
133establishes that speculative combined-state validation is available in conventional hosting.
134Availability and plan restrictions may change; the report makes no procurement recommendation or
135benchmark claim.
136
137## S14 — GitLab merge trains
138
139GitLab. **Merge trains**. Living product documentation.
140[Source](https://docs.gitlab.com/ci/pipelines/merge_trains/).
141
142Read: combined-state pipeline model, parallel execution, failure removal, and redundant-pipeline
143cancellation. It provides another established comparison for concurrency without unsafe independent
144merges. Its behavior does not imply the-valley's evidence transfer is unnecessary; the mechanisms
145avoid different kinds of repeated work.
146
147## S15 — Dagger
148
149Dagger contributors. **Introduction**. Documentation displayed `1.0-beta` at access date.
150[Source](https://docs.dagger.io/getting-started/introduction/).
151
152Read: complete introductory page. It states the portable execution-DAG and local/CI reuse model.
153This is a vendor introduction, not a measured performance result or a detailed security contract.
154Its role here is to identify a credible baseline for sharing the development and verification
155runtime.
156
157## S16 — Bazel caching
158
159Bazel contributors. **Remote Caching**. Living documentation.
160[Source](https://bazel.build/remote/caching).
161
162Read: action-cache/content-store distinction, execution flow, and security considerations. It
163clarifies the identities needed for computational reuse. A cache hit still depends on the action
164model and trust in cache writers. The-valley adds an acceptance-policy question to that
165computational question.
166
167## S17 — Bazel hermeticity
168
169Bazel contributors. **Hermeticity**. Living documentation.
170[Source](https://bazel.build/basics/hermeticity).
171
172Read: full substantive page. It describes isolation, declared tool dependencies, and common sources
173of nondeterministic or host-dependent behavior. A documented goal is not proof that an arbitrary
174project meets it. Use these failure classes in executor conformance experiments.
175
176## S18 — Jujutsu
177
178Jujutsu contributors. **Operation log**. Living `latest` documentation.
179[Source](https://docs.jj-vcs.dev/latest/operation-log/).
180
181Read: full substantive page. Repository-operation history is distinct from source-commit history and
182supports inspection and recovery. Its local operational purpose does not establish shared audit
183authority or indefinite retention. It informs the-valley's history model without requiring a VCS
184migration.
185
186## S19 — Pijul
187
188Pijul contributors. **Theory**. Living manual. [Source](https://pijul.org/manual/theory).
189
190Read: graph representation, change dependencies, conflicts, and CRDT discussion. It offers a
191different model of changes and their composition. Its merge properties concern the representation of
192edits, not arbitrary program correctness. Keep that boundary when applying it to verification reuse.
193
194## S20 — Proactive collaboration conflicts
195
196Yuriy Brun, Reid Holmes, Michael D. Ernst, and David Notkin. **Proactive Detection of Collaboration
197Conflicts**. ESEC/FSE, 168–178, 2011.
198[Author-hosted paper](https://people.cs.umass.edu/~brun/pubs/pubs/Brun11fse.pdf).
199
200Read: introduction, speculative-analysis explanation, relationship taxonomy, and selected study
201methods/results. It distinguishes text, build, and test conflicts and presents Crystal. Historical
202repositories and available tests limit transport of measured rates to today's agents. Its mechanism
203motivates earlier interaction warnings, alongside admission control.
204
205## S21 — BulkPR-Bench
206
207Zetong Xiong et al. **BulkPR-Bench: Benchmarking Queue-Level Governance of Interacting Pull
208Requests**. arXiv:2608.02685v1, August 3, 2026.
209[Versioned text](https://arxiv.org/html/2608.02685v1).
210
211Read: abstract, task framing, selected results, and discussion/limitations. The useful distinction
212is between partial relation-level success and whole-queue safety. Constructed pools, fixed
213scaffolding, and limited repeats constrain generalization. Treat as a preprint, irrespective of the
214manuscript's future conference label. It is a candidate evaluation lead, not evidence of production
215reliability.
216
217## S22 — What review accomplishes
218
219Alberto Bacchelli and Christian Bird. **Expectations, Outcomes, and Challenges of Modern Code
220Review**. ICSE, 712–721, 2013.
221[Research publication page](https://www.microsoft.com/en-us/research/publication/expectations-outcomes-and-challenges-of-modern-code-review/).
222
223Read: author-institution abstract and bibliographic record only; an attempted author-hosted PDF was
224unavailable through the browser. The cited findings are limited to that abstract. It reports
225benefits including understanding and knowledge transfer in studied Microsoft teams. The report uses
226it to identify functions to preserve, not to quantify a universal effect.
227
228## S23 — Concurrent agent contributions
229
230George Xu, Arjun Subramanian, and Nithilan Karthik. **AI Agent Pull Requests on GitHub: Frequency,
231Structure, and Merge Conflict Rates**. arXiv:2607.04697v2, July 7, 2026.
232[Versioned text](https://arxiv.org/html/2607.04697v2).
233
234Read: abstract, study framing, discussion, and threats to validity. It studies co-activity and
235textual merge replay. Observation is limited to the selected public dataset and earlier collection
236period; time costs and semantic failures are not measured. Its more sweeping conclusions should not
237be imported as findings. It motivates measuring the actual pilot's conflict distribution.