| 1 | usage: valley <verb> [args] |
| 2 | |
| 3 | valley — S1 integrator verbs for a valley project: author, review, approve, and |
| 4 | track changes and the plan graph. |
| 5 | |
| 6 | Authoring 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 | |
| 13 | Reviewing, 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 | |
| 20 | Planning 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 | |
| 24 | Bus 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 | |
| 30 | A change is named by its 32-letter change id, its handle (shortest unique |
| 31 | prefix, at least 4 letters, or <repo>:<handle>), or its branch name. |
| 32 | Runs from any checkout; nix run .#valley bundles git, attest, cue, less, and |
| 33 | natscli (self-update also needs nix). Judgment stays with the human: |
| 34 | nothing here writes main. |
| 35 | |
| 36 | `valley --version` prints the package's version and commit (e.g. 0.1.0-97db597, |
| 37 | with -dirty for uncommitted changes, -unknown when nix knew no commit, or |
| 38 | unstamped for a build without the package's stamp). |
| 39 | Run `valley help <verb>` (or `valley <verb> --help`) for a verb's flags and |
| 40 | rules. See docs/reference.md for the full CLI, ref, and schema reference. |