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/<commit-sha>, fetchable and lookupable by SHA.refs/the-valley/integration-requests/<name>, pointing at the topic commit; without it, the topic branch is just a backup.git push --atomic of topic branch + attestation ref + request ref; all three 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 rule: 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).