Update README, add markdownlint and lychee via devenv
- README: list all subcommands, document orch session --resume, name the example machines, drop the missing ORCHESTRATOR.md reference - Add markdownlint-cli and lychee to devenv.nix - Add .markdownlint.json and .markdownlintignore; fix table lint errors in docs/safety.md and docs/cmd-protocol.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f1ab948bb4
commit
5a80bc9fe1
6 files changed
+24
-5
No files matched your search
@@ -9,6 +9,13 @@ git host: tasks come from a folder or any JSON command, results go to a local br
|
||||
orch report [FILE] success rate, tokens, retries, duration per profile and hx version
|
||||
orch bench eval --profile NAME --out A.jsonl run the eval cases; then: orch eval A.jsonl B.jsonl
|
||||
orch audit [ID] every allowed/denied tool call
|
||||
orch TUI: sessions, session detail, goal view
|
||||
orch session --repo DIR --machine M --name N create a state-machine session and run it
|
||||
[--profile P] [--after s1,s2] [--scope S]
|
||||
orch session --repo DIR --resume sN continue an unfinished session from its saved state
|
||||
orch goal [TEXT] [--export] show or set the goal (--export adds the checks)
|
||||
orch check NAME CMD [--owner sN] add an acceptance check (pass = exit 0)
|
||||
orch checks [--owner sN | --main] run acceptance checks here, or on a clean copy of main
|
||||
|
||||
## How a run goes
|
||||
|
||||
@@ -49,9 +56,12 @@ command = "python3 /work/adapters/gitea.py"
|
||||
`orch` without a subcommand opens the TUI: sessions overview (`enter` on a row opens the session detail, `esc` goes
|
||||
back; `t` full test output, `d` diff, `l` event transcript, `o` open the worktree in hx). It reads `.hx/orch.db` of the
|
||||
current directory. `orch session --repo . --machine task --name NAME [--profile P]` creates a session and runs it.
|
||||
Machines are TOML files in `.hx/machines/` or `~/.hx/machines/` (examples in `examples/machines/`). A `computer` step
|
||||
`orch session --repo . --resume s1` continues an unfinished session (for example after a crash or a closed terminal)
|
||||
from its saved state; `--machine`, `--name` and `--after` are not allowed with it. Machines are TOML files in
|
||||
`.hx/machines/` or `~/.hx/machines/`. `examples/machines/` has four: `task` (plan, code, build, test, review, merge),
|
||||
`docs` (write, lint, links), `e2e` (stack-up, e2e, stack-down) and `migration` (up, down, test). A `computer` step
|
||||
with `report = "junit"` writes its JUnit XML to `$ORCH_REPORT` (also available as `{{report}}` in `cmd`); orch parses
|
||||
it into counts and failing tests. See ORCHESTRATOR.md for the whole design.
|
||||
it into counts and failing tests.
|
||||
|
||||
A running session can be steered from the session screen, also when `orch session` runs in another terminal: `i`
|
||||
interrupt (the agent stops, you reply with a hint), `m` message to the agent, `s` force a state, `k` kill (type
|
||||
|
||||
Reference in new issue
Block a user