gunk-dev/the-valley

usage.txt

source9ee95920e399main's published tip history
2.1 KiB
1usage: valley <verb> [args]
2
3valley — S1 integrator verbs for a valley project: author, review, approve, and
4track changes and the plan graph.
5
6Authoring and updating changes:
7 ready mark a branch head ready as a new version of its change
8 unready pause a ready change by marking it a draft
9 withdraw mark a ready or draft change withdrawn
10 rebase rebase a change and its stack onto origin/main
11 checks print the checks a diff requires, or ask the worker to build them
12
13Reviewing, approving, and inspecting changes:
14 pending list what needs an approval, in landing order, and what moves
15 review page through a change or stack to approve, rebase, or reject
16 approve run required checks and file an integration request
17 status read a change's integration request and last outcome
18 changes print every recorded change as valley-changes/v1 JSON
19
20Planning and running work:
21 plan show the project's plan graph as a milestone tree
22 knot read and write knots in the plan graph at refs/the-valley/knots
23 flow run valley-flow, the client that launches and follows agent runs
24
25Bus and client maintenance:
26 tail watch NATS bus events scroll by
27 replay publish ref-updated events for the current refs of a repo
28 self-update build, test, and install the tip of a branch of the-valley
29 telemetry read a valley host's diagnostics over ssh (observe grant)
30
31A change is named by its 32-letter change id, its handle (shortest unique
32prefix, at least 4 letters, or <repo>:<handle>), or its branch name.
33Runs from any checkout; nix run .#valley bundles git, attest, cue, less, and
34natscli (self-update also needs nix). Judgment stays with the human:
35nothing here writes main.
36
37`valley --version` prints the package's version and commit (e.g. 0.1.0-97db597,
38with -dirty for uncommitted changes, -unknown when nix knew no commit, or
39unstamped for a build without the package's stamp).
40Run `valley help <verb>` (or `valley <verb> --help`) for a verb's flags and
41rules. See docs/reference.md for the full CLI, ref, and schema reference.