gunk-dev/the-valley

README.md

source701f0334f1eamain's published tip history
3.2 KiB · Rendered
1# the-valley
2
3the-valley is a software change, verification, and planning system for teams where humans and
4autonomous agents build together. Like a valley, it is the low place where streams of work meet and
5settle into `main`.
6
7## How a change moves
8
91. **Author** — A person or agent commits work, inspects the
10 [checks](./docs/concepts.md#checks-and-evidence) the
11 [change](./docs/concepts.md#a-change-ready-approve-submitted) **requires** (`valley checks`), and
12 marks it **ready** (`valley ready`).
132. **Review** — An operator lists ready changes (`valley pending`) and inspects one
14 (`valley review <change>`).
153. **Approve** — A [principal](./docs/concepts.md#principals-and-grants) allowed to approve approves
16 the change (`valley approve <change>`, or `[a]pprove` in `valley review`), running and signing
17 the required checks and writing an integration request for that commit.
184. **Integrate** — When enabled on the
19 [host](./docs/concepts.md#the-host-the-hook-and-the-integrator), the **integrator** checks each
20 request, verifies a ready change's signed check evidence against the verification policy, and
21 records an outcome. When the change passes and integrates cleanly into `main`, the integrator
22 signs the transfer, advances `main`, and stores the signed evidence so the change is
23 **submitted**.
24
25## Quick tour
26
27```sh
28valley plan # view the live plan graph (knots)
29valley checks # list checks required for your diff
30valley ready --stamp # stamp a Change-Id, push, and mark v1 ready
31valley pending # list ready changes and what each awaits
32valley review kqxm # inspect the diff (and interactively approve)
33```
34
35## Configuration and current status
36
37- **Configuration vs. guarantees:** Sealing `main` against direct SSH pushes, choosing which
38 principals may approve, and enabling the integrator or identity compiler are host choices
39 (`valley.cue`, `services.valley`); push mirrors receive only `main` and tags, not
40 [project storage](./docs/concepts.md#records-project-storage-the-plan-graph-and-knots).
41- **Not built yet:** Automatic approval carry across restacks, hardware-key (`sk-*`) touch-bound
42 approval envelopes, and atomic multi-ref landing transactions are not built yet.
43
44## Documentation
45
46- **[Concepts and glossary](./docs/concepts.md)** — Core concepts and every term defined.
47- **[Guide](./docs/guide.md)** — Setup and everyday journeys for authors, reviewers, planners,
48 administrators, and contributors.
49- **[Reference](./docs/reference.md)** — CLI commands, environment variables, ref layout, wire
50 formats, JSON outputs, and CUE schemas.
51- **[Architecture](./docs/architecture.md)** — Component design, policy, identity, and checks.
52- **[Security](./docs/security.md)** — Threat model, trust boundaries, and rollout gates.
53- **[Plan graph](./docs/concepts.md#records-project-storage-the-plan-graph-and-knots)** — The
54 project's plan lives in the plan graph (`valley plan` on `refs/the-valley/knots`), which the
55 host's mirror publisher does not copy to mirrors.
56- **[Archive](./archive/)** and **[Research](./research/)** — Historical nodes and research notes.