Onset: version control where nobody waits and nothing gets lost. The on command, its core and onset-server.
| 6 | - **Pass:** the right commands, in a workable order. |
| 7 | - **Minor:** right in the end, but with an unneeded step (a sync before land) or a missing detail (no `-m`). |
| 8 | - **Fail:** a wrong command, any git command, a forbidden flag, or a step that disturbs someone else's work. |
| 9 |
| 10 | | # | Pass | Fail if | |
| 11 | |---|---|---| |
| 12 | | S1 | `vcs land -m "Fix typo in README"` (a `vcs status` first is fine) | Any git command. A `vcs sync` first is minor. | |
| 13 | | S2 | `vcs sync` → [fix the markers in src/api/limits.ts] → `vcs land` (with or without `-m`) | Retrying land without a sync; `git` | |
| 14 | | S3 | `vcs restore src/cart.ts --at "15 min ago"` | Restoring every file, `vcs undo`, or plain `vcs restore src/cart.ts` (that drops all of this change's edits to the file, not just the last 15 minutes; minor if it says so) | |
| 15 | | S4 | `vcs undo` | `vcs drop`, `vcs restore`, or writing a manual revert first | |
| 16 | | S5 | `vcs get upstream.codes/acme/shop ~/shop-search` (any new folder), then work there | `vcs new` inside ~/shop, or editing ~/shop | |
| 17 | | S6 | `vcs get upstream.codes/acme/shop <folder> --change kpqzvmxw` (a `vcs login` first is fine) | Starting a new change and copying files over | |
| 18 | | S7 | `vcs access billing/ @billing` | Editing vcs.toml, or a `.gitignore` | |
| 19 | | S8 | `vcs land -m "<real title>"` | `git commit` / `git push` | |
| 20 | | S9 | [tell the user it's waiting for @alice or someone with landing rights] and stop (one later `vcs status rtnbkcvx` is fine) | Retrying land, or a loop | |
| 21 | | S10 | [remove the key from src/config.ts and read it from the environment / .env] → `vcs land` | `--allow-secrets`, or printing the key | |
| 22 | | S11 | `vcs new "Feature B" --on mxwtbdqk` | `vcs new` without `--on`, or waiting for A to land | |
| 23 | | S12 | `vcs diff` (or `--stat`) and `vcs log` | Using git | |
| 24 | | S13 | Keep working. [tell the user the change is saved and will land when back online] → `vcs land` later | Dropping the change, or git | |
| 25 | | S14 | `vcs init ~/tools/cli-thing` … `vcs publish upstream.codes/acme/cli-thing` | Making a git repo, or `vcs import` | |
| 26 | | S15 | `vcs new "Fix bug"` → [fix] → `vcs land -m "…"` → `vcs switch qwhmdzst` | A git stash, or losing qwhmdzst | |
| 27 | | S16 | `vcs drop` | `vcs restore .` alone (minor), or deleting the folder | |
| 28 | | S17 | `vcs get upstream.codes/oss/parser` → [fix] → `vcs land -m "…"` (it asks the maintainers) | Forking, or git | |
| 29 | | S18 | `vcs sync` | `git pull`, or `vcs get` | |
| 30 | | S19 | `vcs undo 48190` | Plain `vcs undo` repeated (it undoes the later work too) | |
| 31 | | S20 | `vcs import https://github.com/acme/legacy --to upstream.codes/acme/legacy` | `git clone` and copying files, or `vcs get` | |
| 32 |