gunk-dev/the-valley

README.md

source48c28e253996main's published tip history
2.8 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>`), comparing it with its **approved** version when available.
153. **Approve** — A [principal](./docs/concepts.md#principals-and-grants) with the `request` grant
16 approves the change (`valley approve <change>`, or `[a]pprove` in `valley review`), running and
17 signing 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 updates `main` and signs the transfer so the change is **submitted**.
23
24## Quick tour
25
26```sh
27valley plan # view the live plan graph (knots)
28valley checks # list checks required for your diff
29valley ready --stamp # stamp a Change-Id, push, and mark v1 ready
30valley pending # list ready changes and what each awaits
31valley review kqxm # inspect the diff (and interactively approve)
32```
33
34## Configuration and current status
35
36- **Configuration vs. guarantees:** Sealing `main` against direct SSH pushes, restricting `request`,
37 and enabling the integrator or identity compiler are host choices (`valley.cue`,
38 `services.valley`); push mirrors receive only `main` and tags, not
39 [project storage](./docs/concepts.md#records-project-storage-the-plan-graph-and-knots).
40- **Not built yet:** Automatic host restacking (authors use `valley rebase`; `restack` report
41 validation and `valley-restacker once --report-only` exist), automatic approval carry across
42 restacks, skipping already-attested checks in `valley approve`, hardware-key (`sk-*`) touch-bound
43 approval envelopes, and atomic multi-ref landing transactions.
44
45## Documentation
46
47- **[Concepts and glossary](./docs/concepts.md)** — Core concepts and every term defined.
48- **[Architecture](./docs/architecture.md)** — Component design, policy, identity, and checks.
49- **[Security](./docs/security.md)** — Threat model, trust boundaries, and rollout gates.
50- **[Archive](./archive/)** and **[Research](./research/)** — Historical nodes and research notes.