gunk-dev/the-valley

the-valley

.claude/directory
.github/directory
archive/directory
attest/directory
bin/directory
change/directory
completions/directory
composed/directory
delta/directory
docs/directory
examples/directory
identity/directory
integrator/directory
knot/directory
nix/directory
note/directory
policy/directory
rebase/directory
research/directory
restack/directory
schema/directory
selfupdate/directory
sigverify/directory
status/directory
valleyhook/directory
.gitignorefile566 bytes
AGENTS.mdfile3.7 KiB
CLAUDE.mdfile11 bytes
README.mdfile2.8 KiB
flake.lockfile564 bytes
flake.nixfile5.4 KiB

README.md

Contents

the-valley #

the-valley is a software change, verification, and planning system for teams where humans and autonomous agents build together. Like a valley, it is the low place where streams of work meet and settle into main.

How a change moves #

  1. Author — A person or agent commits work, inspects the checks the change requires (valley checks), and marks it ready (valley ready).
  2. Review — An operator lists ready changes (valley pending) and inspects one (valley review <change>), comparing it with its approved version when available.
  3. Approve — A principal with the request grant approves the change (valley approve <change>, or [a]pprove in valley review), running and signing the required checks and writing an integration request for that commit.
  4. Integrate — When enabled on the host, the integrator checks each request, verifies a ready change's signed check evidence against the verification policy, and records an outcome. When the change passes and integrates cleanly into main, the integrator updates main and signs the transfer so the change is submitted.

Quick tour #

valley plan                     # view the live plan graph (knots)
valley checks                   # list checks required for your diff
valley ready --stamp            # stamp a Change-Id, push, and mark v1 ready
valley pending                  # list ready changes and what each awaits
valley review kqxm              # inspect the diff (and interactively approve)

Configuration and current status #

  • Configuration vs. guarantees: Sealing main against direct SSH pushes, restricting request, and enabling the integrator or identity compiler are host choices (valley.cue, services.valley); push mirrors receive only main and tags, not project storage.
  • Not built yet: Automatic host restacking (authors use valley rebase; restack report validation and valley-restacker once --report-only exist), automatic approval carry across restacks, skipping already-attested checks in valley approve, hardware-key (sk-*) touch-bound approval envelopes, and atomic multi-ref landing transactions.

Documentation #