What a contributor (human or agent) does to push a change and request its integration into a protected ref.
A push that is:
All four are produced by one atomic git push — native git verbs plus one helper for attestation
composition, no git wrapper command.
flake.nix check derivations, locally and
hermetically, via one helper (e.g. nix run .#attest); if any fails, nothing is published.refs/the-valley/attestations/<tree digest>/<signer key hash>.refs/the-valley/integration-requests/<target>/<change>, pointing at the change's head. The
target segment names the protected branch and the last segment names the change; the delta is the
merge base with that branch's tip up to the head. Nothing else is encoded, because a change is a
diff targeting a stream and every part of that is already in git
(ida-93e4f91,
integration.md).git push --atomic of the topic branch plus its attestation refs; all land
or none do.post-receive hook emits one bus event per updated
ref; it is a pure projection, no policy and no verification.The bare repo's pre-receive hook enforces exactly one structural invariant, with two parts: only
the integrator's key may write protected refs, and attestation refs are create-only. Everything else
is open to anyone with push access. All complex policy lives in the integrator
(architecture.md, The one structural git invariant).