gunk-dev/the-valley

README.md

source48c28e253996main's published tip history
2.8 KiB · Plain text
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 #