gunk-dev/the-valley

README.md

source9b67d021e86fmain's published tip history
3.2 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>).
  3. Approve — A principal allowed to approve 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 signs the transfer, advances main, and stores the signed evidence 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, choosing which principals may approve, 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 approval carry across restacks, hardware-key (sk-*) touch-bound approval envelopes, and atomic multi-ref landing transactions are not built yet.

Documentation #

  • Concepts and glossary — Core concepts and every term defined.
  • Guide — Setup and everyday journeys for authors, reviewers, planners, administrators, and contributors.
  • Reference — CLI commands, environment variables, ref layout, wire formats, JSON outputs, and CUE schemas.
  • Architecture — Component design, policy, identity, and checks.
  • Security — Threat model, trust boundaries, and rollout gates.
  • Plan graph — The project's plan lives in the plan graph (valley plan on refs/the-valley/knots), which the host's mirror publisher does not copy to mirrors.
  • Archive and Research — Historical nodes and research notes.