gunk-dev/the-valley

usage.txt

sourceddfdc45c1aa2main's published tip history
2.0 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 the composed policy requires of a diff
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 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
24Bus and client maintenance:
25 tail watch NATS bus events scroll by
26 replay publish ref-updated events for the current refs of a repo
27 self-update build, test, and install the tip of a branch of the-valley
28 telemetry read a valley host's diagnostics over ssh (observe grant)
29
30A change is named by its 32-letter change id, its handle (shortest unique
31prefix, at least 4 letters, or <repo>:<handle>), or its branch name.
32Runs from any checkout; nix run .#valley bundles git, attest, cue, less, and
33natscli (self-update also needs nix). Judgment stays with the human:
34nothing here writes main.
35
36`valley --version` prints the package's version and commit (e.g. 0.1.0-97db597,
37with -dirty for uncommitted changes, -unknown when nix knew no commit, or
38unstamped for a build without the package's stamp).
39Run `valley help <verb>` (or `valley <verb> --help`) for a verb's flags and
40rules. See docs/reference.md for the full CLI, ref, and schema reference.