Integration uses optimistic concurrency control (OCC) over content-addressed evidence
([[dcr-439b771]]). A change lands without running checks on the server if the change merges cleanly
and its required pure checks transfer by input-closure digest equality. When a landed change
modifies a foundational dependency—such as flake.lock, root schemas, or shared libraries—it
invalidates the input closures of all concurrently pending changes. Under high change frequency or
multiple concurrent agents, contributors repeatedly experience check staleness and are forced to
re-attest locally, leading to optimistic concurrency starvation (livelock).
The integrator evaluates integration requests sequentially at the commit point
(integration.md). For each pure check, it compares the input-closure
digest recorded in the author's attestation against the input-closure digest recomputed over the
candidate merge tree (attest inputs).
In a Nix-native repository, input closures are deep and sensitive. When a foundational file like
flake.lock or a common build helper is modified:
request-stale) and refuses to advance the ref.If several contributors or automated agents submit changes during an active development window:
main.Because re-attestation happens decentralized on contributor nodes rather than in a centralized queue, the system exhibits classic OCC livelock under contention. If re-attestation latency exceeds the inter-arrival time of changes to shared dependencies, pending changes starve indefinitely.
Today the project operates at $N=1$ human developer plus sequential agent dispatches. Changes are serialized before integration requests are pushed, and concurrent submissions against the same ref are rare. The defect is structural to the OCC design and becomes acute as soon as multiple agents work concurrently or external contributors submit changes.