- Use the terminal's own colors and background; the key bar and the Needs-you panel wrap, fixed-width panels shrink on narrow terminals. - Sessions run on threads of the TUI (tui/host.rs), capped by the profile's `workers`; quitting asks for `yes` and suspends them. New `suspend` command keeps the state so a session can be resumed. - `N` opens a new-session form: machine, name, --after, a named branch or worktree (place.rs; never deleted by orch), and a "keep for a PR" option. - `u` resumes suspended sessions and ones whose process died. - `A` allows identical permission requests across sessions, `P` saves an allow rule to the profile with toml_edit (comments kept). - Fix clippy lint in report.rs so tests/all.sh passes; add GLOSSARY.md. Includes the already staged `orch init` work (init.rs, example profile). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1.2 KiB
orch
Runs many hx coding agents in parallel on one repository, each in its own git worktree, and gives one human a single place to steer them.
Language
Session:
One agent run through a machine, on one branch in one worktree. Hosted by the TUI, or by a separate orch session process.
Avoid: Job, run (a "run" is the older single-task orch run)
Machine: A TOML definition of the states a session passes through and the steps in each. Avoid: Workflow, pipeline
Need: A point where a session waits on the human: a permission request, a review, a question, or an escalation. Avoid: Prompt, interrupt (an interrupt is something the human sends)
Named worktree:
A worktree or branch the human picks for a session, such as a ticket branch, instead of the default hx/sN-slug. orch never deletes one it did not create.
Avoid: Custom branch, existing worktree
Host:
The process whose threads run a session. A session has one host; other processes can only steer it through the database.
Avoid: Daemon, worker (a worker is a slot in orch pull)
Allow rule:
An entry in a profile's allow list that lets the agent use a tool without asking.
Avoid: Permission, whitelist