herdr-orchestra 5.10.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/README.md +42 -2
- package/VERSION +1 -1
- package/agents.default.toml +12 -0
- package/bin/orch +1198 -81
- package/extensions/orch-mode.ts +224 -0
- package/install.sh +8 -0
- package/package.json +27 -4
- package/pi/README.md +5 -0
- package/pi/skills/orch-plan/SKILL.md +6 -0
- package/playbooks/plan.md +7 -5
- package/playbooks/run.md +5 -4
- package/playbooks/subagent.md +40 -0
- package/bin/__pycache__/orchcpython-314.pyc +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,81 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes. Versions follow [semantic versioning](https://semver.org).
|
|
4
4
|
|
|
5
|
+
## [6.2.1] - 2026-11-21
|
|
6
|
+
|
|
7
|
+
Fixes `/orch-setup` and `/orch-mode` not working in Pi when an older `orch` is already on the machine.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Old `orch` next to the new Pi package.** If the `orch` command installed on the machine is older than the Pi package (for example 6.1.0 with package 6.2.0), it does not know `orch mode` or `orch setup`, so `/orch-mode` failed with a bare `usage: orch <command>`. Now Pi says at start-up: `this Pi package is 6.2.0 but the orch command on this machine is 6.1.0 ... Type /orch-setup to update it`. `/orch-mode` still saves your choice (and says the old orch does not know modes yet), and `/orch-setup` installs the matching `orch`, switching the active version to the package's.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- README: `pi install git:github.com/arunnarangali/herdr-orchestra@v6.2.1` is listed as a way to install the Pi package straight from GitHub (works without the npm package).
|
|
14
|
+
|
|
15
|
+
## [6.2.0] - 2026-11-21
|
|
16
|
+
|
|
17
|
+
herdr-orchestra is now a Pi package, and runs can use a second mode: everything in one Pi window, with the coder and the reviewer as Pi subagents. Nothing changes for anyone who doesn't pick it: `panes` stays the default, runs from older versions are panes runs, and Claude Code, Codex, OpenCode, Amp, Hermes and Antigravity see the same skills and commands as before.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
- **Pi package.** `pi install npm:herdr-orchestra` gives Pi the `orch-plan` and `orch-run` skills and the `orch-mode` extension. `package.json` has the `pi-package` keyword and a `pi` block; only Pi reads them. The extension shows the mode in Pi's footer (`orch: subagent`), tells Pi the mode on every turn, and adds `/orch-mode [panes|subagent]` and `/orch-setup` (installs the `orch` command from the package, needed once). Pi's YAML reader rejects the `orch-plan` skill's description as written, so Pi loads a copy with the same text in quotes (`pi/skills/orch-plan`); every other agent keeps the original, unchanged, and a test checks the two say the same thing.
|
|
21
|
+
- **Two modes.** `panes` (default): coders and the reviewer in herdr panes, driven by the event manager, as before. `subagent`: one Pi window; the lead starts the `coder` and `reviewer` subagents (the `Agent` tool of `@tintinweb/pi-subagents`), one milestone at a time. `orch mode [panes|subagent]` shows or switches it; the choice is saved in `~/.config/herdr-orchestra/config.json`, and each run keeps the mode it was planned in (`orch_mode` in `.orchestrate/state.json`; a state file without it is a panes run). A run's mode is not switched while a milestone is in progress.
|
|
22
|
+
- **`orch setup [--mode panes|subagent]`**, also `npx herdr-orchestra@latest --mode subagent` and `orch team up --mode subagent`: in subagent mode it writes `~/.pi/agent/agents/coder.md` and `reviewer.md` from the config (model and thinking level; the reviewer cannot edit files) and installs `npm:@tintinweb/pi-subagents`. A denied model is refused; a file you edited yourself is never overwritten. In panes mode it does nothing.
|
|
23
|
+
- **`orch check [Mn]`**: runs the plan's check command in the main folder and prints `CHECK PASS`, or `CHECK FAIL` with the last 30 lines (exit 1). A pass is reused by `orch finish` when the files did not change.
|
|
24
|
+
- **`orch sub next` / `orch sub done Mn`** (subagent mode): the next ready milestone and its task file; save a finished one (orch commits it on the feature branch, holding risky changes for `orch approve` as in panes mode). `orch finish` works the same at the end.
|
|
25
|
+
- **`orch lead run` in subagent mode** prints the new `playbooks/subagent.md` (coder → `orch check` → reviewer → `orch sub done`, then the summary and `orch finish`); `orch lead plan` starts with a short note on the subagent team. The `orch-run` and `orch-plan` skills are unchanged.
|
|
26
|
+
- **`pi` in the agent registry**, so Pi can also be a lead, coder or reviewer in panes mode (herdr detection of Pi is unverified, so orch relies on its done file).
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- In a subagent run, `orch dispatch` and `orch autopilot` refuse with a clear message (there is no event manager), and `orch answer` never starts one.
|
|
30
|
+
|
|
31
|
+
## [6.1.0] - 2026-11-19
|
|
32
|
+
|
|
33
|
+
The website gets a new look: a dark, terminal-style design. Every page keeps the same words, links and features; only the design changed.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- **Terminal-minimal design.** A near-black background, thin 1px lines, square corners, no shadows, and one amber accent colour. Headings, navigation, buttons and labels use a monospace font (JetBrains Mono); explanations stay in Inter. The docs use the same colours and fonts. The site opens in dark mode; light mode is still one click on the theme button.
|
|
37
|
+
- **Diagrams restyled.** The run graph, the event-loop picture and the branch picture use the new colours and square boxes, and animate as before.
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- **"How it works" in four steps, with a live terminal.** On the homepage and the How it works page: the run as four numbered steps (01 plan, 02 say go, 03 run, 04 pull request), a data-flow diagram that lights up the step you are on, and a terminal that replays one run with real `orch` commands and log lines (`orch sync`, `orch plan show`, `orch dispatch`, the event manager's log, a `SAY:` line, `orch finish`). It has Play, Pause, Step and Restart buttons; click a step to jump to it. With reduced motion turned on, the whole log is shown at once.
|
|
41
|
+
|
|
42
|
+
## [6.0.0] - 2026-11-19
|
|
43
|
+
|
|
44
|
+
A major version for a major performance change: how fast work moves from a coder to the reviewer, the branch and the lead. Plans, commands and files work as before; three new defaults change timing (early review, auto dispatch, no repeated branch check), and each can be turned off with one plan line.
|
|
45
|
+
|
|
46
|
+
It also makes a run easier to follow: the plan comes as short cards in plain words (`orch plan show`), the lead says in its chat what each event was and what it did, and `orch story` keeps the whole run as a diary.
|
|
47
|
+
|
|
48
|
+
Coders' finished work reaches the reviewer, the branch and the lead faster. Example: M5 and M6 finish at the same second and your check takes 10 seconds. Before, the event manager ran M5's check and did nothing else meanwhile, then M6's check, then the same check again on the branch for each one: M5 landed about 32 seconds after it was done. Now the checks run in the background, the reviewer already reads M5 while its check runs, and a check that already passed on exactly these files is not run again: M5 lands about 13 seconds after it is done. How the work is checked, reviewed and committed is the same; it is still one event loop that reacts to events.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
- **Checks run in the background.** A check works like `fetch()` in a browser: the event manager starts it, keeps handling the other events (reviews, fixes, new milestones, the lead's answers), and the check's end arrives as one more event. One check runs at a time by default, so two test suites never fight over your machine; `Parallel checks: 2` in the plan header allows two. `orch status` shows `[check running 0m04s in its folder]`.
|
|
52
|
+
- **No double check when nothing changed.** In worktree mode each milestone was checked in the coder's folder, then again on the feature branch. When nothing else landed in between, the branch gets exactly the files that already passed, so the second check is skipped and the log says `SKIPPED_CHECK M5: ...`. If another milestone landed first, the branch check still runs. `Branch check: always` brings back the old behaviour, for a check that depends on more than the files (the branch name, the clock, a running service).
|
|
53
|
+
- **Reviews go first.** A milestone waiting for the reviewer is handled before anything else in each loop, so a free reviewer gets the next review at once.
|
|
54
|
+
- **Early review.** A `Review: yes` milestone goes to the reviewer while its check runs (`Early review: off` to wait for the check). If the check fails, the coder gets one fix job with the check output and the reviewer's blockers together, and that review round does not count against the review limit.
|
|
55
|
+
- **Auto dispatch.** When a milestone lands and that unlocks the next one (M6 depends on M5), M6 starts at once and the lead gets `AUTO-DISPATCHED M6: started by the event manager as soon as M5 landed`, instead of waiting for the lead to wake up and run `orch dispatch M6`. The first milestones of a run still wait for the lead's go. `Auto dispatch: off` makes every milestone wait for the lead, as before.
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
- **The plan in plain words.** Each milestone gets a `Plain:` line: one sentence on what you get, in everyday words. `orch plan show` prints the plan as short cards, for example `M2 Categories list — the screen where you see and add categories` / `Waits for: M1 (needs the category model)` / `Built by: claude-1 (sonnet) · about 40m · reviewed by reviewer`, then the order (`1. M1 and M2 at the same time`, `2. M3 (after M1 and M2)`). After planning, the lead shows you these cards instead of the whole plan file. The coder's task file leaves `Plain:` out.
|
|
59
|
+
- **The lead says what happened.** `orch events` gives each event a `SAY:` line in plain words, for example `SAY: M4 (Totals) is paused: the coder asks: which currency should totals use, INR or multi?`, and tells the lead to write it in its chat, with what it did about it, before it stops. A wake-up no longer ends silently.
|
|
60
|
+
- **The run diary.** `orch story` prints every event in plain words and what the lead did about it (dispatch, answer, defer, fix), in time order: `16:01 what happened: M4 (Totals) is paused ...` / `16:01 the lead did: M4 (Totals) got the answer "INR only" and goes back to claude-1`. It is saved in `.orchestrate/story.md`.
|
|
61
|
+
- **No AI credit on the run's PR.** `orch finish` opens the PR from `.orchestrate/pr-body.md`: the summary without lines like `Co-Authored-By: Claude ...`, `🤖 Generated with [Claude Code]` or a session link (a person's `Co-authored-by` stays; `summary.md` is left as written). orch's own commits never had such lines. A commit an agent made by itself with its own credit is named before the push: `WARN 1 commit(s) on feature/x credit an AI tool`. Without `gh`, finish prints the title and the PR text to use, and the lead is told never to add a credit line.
|
|
62
|
+
- **Wait times.** The log says what a finished milestone waited for, for example `M6 waited 0m03s for M5's check`, `M5 -> claude-1 — it waited 0m40s for the lead's dispatch`, or `(M6 waited 0m12s for the reviewer)`. The summary has a new table, **"Waiting: time milestones sat still"**, with each milestone's waits.
|
|
63
|
+
- Tests (section 47): orch's commits credit only the developer; the PR text has no AI credit lines but keeps a person's co-author; summary.md is unchanged; an agent's own credited commit is named, and only that one; the no-gh message.
|
|
64
|
+
- Tests (section 46): the plan cards, waits and order, the missing-`Plain:` warning, `Plain:` kept out of the coder's task, `plan show` and `story` while the event manager runs, a SAY line for each event and the "before you stop" line, the diary in order with the lead's dispatch, answer and fix, the diary kept across `orch sync`.
|
|
65
|
+
- Tests (section 45): reviews come back while a check still runs; the check-slot wait is logged; status shows the running check; the first milestone to land skips the branch check and the second runs it; `Parallel checks: 2`; `Early review: off`; a failed check and a review blocker become one fix round; auto dispatch and its `AUTO-DISPATCHED` event; the Waiting table.
|
|
66
|
+
|
|
67
|
+
## [5.11.0] - 2026-11-19
|
|
68
|
+
|
|
69
|
+
Fixes a bug where the lead was never given its name, so orch could not wake it. Example: you run the plan and the run in a Claude Code pane, four agent panes are open in the same folder, and the lead never ran the `herdr agent rename` line its playbook asked for. The run went ahead anyway, M4 landed, and the lead only learned the run had finished when you asked. The log said "can't tell which pane is lead" at the start and "exited (code 0)" at the end, which read like a normal finish.
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
- **The lead is named by orch, not by a playbook line.** `orch lead plan`, `orch lead run`, `orch lead whoami`, `orch start` and `orch dispatch` run in the lead's own pane, so they name that pane `lead` themselves (`NAMED this pane (w7:p1) is now \`lead\``). They use the pane id herdr gives the shell (`HERDR_PANE_ID`), never the focused pane, never take the name from another pane that runs an agent, and never rename a coder's or the reviewer's pane.
|
|
73
|
+
- **No run starts without a lead that can be woken.** If herdr has no agent named `lead` and the pane can't be named, `orch start` and `orch dispatch` stop with `NO LEAD` and the exact command, for example `herdr agent rename w7:p1 lead`, and change nothing. (`Lead mode: off` runs are not checked.)
|
|
74
|
+
- **`orch status` shows it:** `!! LEAD NOT FOUND` with the fix, next to the lead line.
|
|
75
|
+
- **The event manager says it loudly.** At its start: `!! LEAD NOT FOUND: the lead (lead) can't be woken`. At ALL_DONE: `ALL_DONE, but the lead (lead) was NEVER WOKEN`. Its last line is now `STOPPED: the event manager finished the run (exit 0) — but the lead \`lead\` was never woken ...: 2 event(s) wait for it`, instead of `exited (code 0)`. A wake-up that herdr answers with `agent_not_found` counts as "lead not found", so the manager no longer waits two more minutes for it.
|
|
76
|
+
|
|
77
|
+
### Added
|
|
78
|
+
- Tests (section 44): dispatch and start refuse without a lead and change nothing; the lead's own pane is named; a shell pane, a coder's pane or a name another pane holds are never used; a wake-up's `--section` asks herdr nothing; the start warning, the ALL_DONE warning and the last log line. The test herdr now answers `agent_not_found` when an agent it has no name for is prompted, as real herdr does.
|
|
79
|
+
|
|
5
80
|
## [5.10.0] - 2026-11-18
|
|
6
81
|
|
|
7
82
|
The lead reads less text, and coders get a cleaner task, with no change to how a feature is built or checked. Example: a quick run ("make the login button blue") used to read the whole 31 KB planning playbook; now it reads about 15 KB. A run with 15 wake-ups no longer has the lead print the 17 KB run playbook again on each one. The check command, acceptance criteria, reviews, risk hold, fix rounds and summary work exactly as before.
|
package/README.md
CHANGED
|
@@ -150,6 +150,7 @@ Version choice, first match wins: `--version` flag › `ORCH_VERSION` env › `.
|
|
|
150
150
|
- a risky change is **held** → you look and run `orch approve Mn`.
|
|
151
151
|
|
|
152
152
|
You can also start the event manager yourself: `orch autopilot` in a spare terminal. It is the only driver of a run: while it runs, other `orch` commands that would change the run are refused (`orch status`, `orch report`, `orch approve` and the lead's `orch events` / `orch dispatch` / `orch answer` still work).
|
|
153
|
+
After each wake-up the lead says in its chat what happened and what it did, one plain line per event; `orch story` keeps the whole run as a diary, and `orch plan show` gives the plan as one short card per milestone.
|
|
153
154
|
4. **If the lead is away** (its pane is closed, or it never reads its events): nothing is lost, the events wait in the queue. Ready work starts by itself after 15 minutes, you get a desktop notification, and `orch events --peek` shows what is open. With `Lead mode: off` in the plan header there is no lead in the run at all: `orch autopilot` dispatches by itself and stops (exit 3) when it needs you.
|
|
154
155
|
5. **When it's done:** read `.orchestrate/summary.md` and do its manual checklist. It holds only what needs your eyes or hands (how the UI looks and behaves, a real device); whatever a command or a look at the code can settle, the run and the lead have already checked and listed with the evidence. Want a change? Tell the lead (for example "the login button should be blue"). It runs `orch fix M1 "the login button should be blue"`: one small follow-up job goes straight to the coder who built M1, with the check and review as before, and no new plan. You can run `orch fix` yourself too. When you are happy, run `orch finish`. It re-runs the check (or reuses it when it already passed on exactly these files; `--recheck` runs it anyway), removes the coders' worktrees and the `../<repo>-wt` folder (a coder folder with changes no milestone has is kept and named), pushes `feature/<name>` and opens a PR into `main` (with `gh`, or prints the compare link).
|
|
155
156
|
|
|
@@ -187,7 +188,7 @@ Model why: one module, a clear contract, an existing endpoint to copy; no design
|
|
|
187
188
|
- **Yours to change.** Add or re-rate models in `~/.config/herdr-orchestra/models.toml` (merged over `models.default.toml`). The default ratings are starting points with their sources, not benchmarks run by this project. A model that is not in the catalog still works; it just has no tier.
|
|
188
189
|
|
|
189
190
|
### Choose your lead
|
|
190
|
-
The agent whose pane you start the plan playbook in becomes the lead.
|
|
191
|
+
The agent whose pane you start the plan playbook in becomes the lead. orch names its pane `lead` by itself (`orch lead plan`, `orch start` and `orch dispatch` run in the lead's own pane and name it), and it writes `Lead: lead (<kind>)` into the plan. If herdr has no agent named `lead`, `orch start` and `orch dispatch` refuse with the exact rename command, so a run never starts with a lead nobody can wake; it never codes or reviews in its own run (`orch sync` rejects that). Give it a high-tier model: planning and coordination are reasoning work. Another pane of the same kind as a coder is fine.
|
|
191
192
|
|
|
192
193
|
| Lead | Start it with |
|
|
193
194
|
|---|---|
|
|
@@ -245,6 +246,45 @@ Full stack: M1 contract (API + types) → M2 backend ∥ M3 UI → M4 integratio
|
|
|
245
246
|
### Review pipelining (worktree mode)
|
|
246
247
|
When a milestone passes its checks it's saved to its hidden ref and the coder is **freed immediately**, so it takes the next ready milestone while the reviewer works. Blockers come back as a **fix job** for the next free coder (preferring the one who built it); fix jobs go before new milestones.
|
|
247
248
|
|
|
249
|
+
### Pi: panes or one window (subagent mode)
|
|
250
|
+
|
|
251
|
+
herdr-orchestra is also a [Pi](https://pi.dev) package:
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
pi install npm:herdr-orchestra
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
You can also install it straight from GitHub (same files, no npm needed): `pi install git:github.com/arunnarangali/herdr-orchestra@v6.2.1`.
|
|
258
|
+
|
|
259
|
+
Pi then has the `orch-plan` and `orch-run` skills and two commands. The first time, Pi says the `orch` command is missing (or older than the package): type `/orch-setup` once and it runs this package's installer. Pi may warn once that `orch-plan` / `orch-run` were found twice (the installer also puts them in `~/.agents/skills` for Codex, Amp and OpenCode); it keeps one copy and works.
|
|
260
|
+
|
|
261
|
+
Runs have two modes. Nothing changes for anyone who never picks the second one.
|
|
262
|
+
|
|
263
|
+
| Mode | Where the coder and reviewer run | Who drives the run |
|
|
264
|
+
|---|---|---|
|
|
265
|
+
| `panes` (default) | herdr panes, as described above | the event manager; the lead dispatches and pauses |
|
|
266
|
+
| `subagent` | inside one Pi window, as Pi subagents ([pi-subagents](https://www.npmjs.com/package/@tintinweb/pi-subagents)) | the lead, one milestone at a time |
|
|
267
|
+
|
|
268
|
+
Switch with `/orch-mode subagent` in Pi, or `orch mode subagent` in a terminal; `/orch-mode` alone shows the mode, and Pi's footer shows it too (`orch: subagent`). The choice is saved in `~/.config/herdr-orchestra/config.json`, and a run keeps the mode it was planned in. Set up subagent mode once:
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
orch setup --mode subagent # or: npx herdr-orchestra@latest --mode subagent, or orch team up --mode subagent
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
It writes `~/.pi/agent/agents/coder.md` and `reviewer.md` (the reviewer cannot edit files) and installs `npm:@tintinweb/pi-subagents`. Pick their models in the config file; with none, they use the lead's model. A model the policy denies is refused, and a file you edited yourself (without orch's line in it) is left alone.
|
|
275
|
+
|
|
276
|
+
```json
|
|
277
|
+
{
|
|
278
|
+
"mode": "subagent",
|
|
279
|
+
"subagent": {
|
|
280
|
+
"coder": { "model": "anthropic/claude-sonnet-4-5", "thinking": "medium" },
|
|
281
|
+
"reviewer": { "model": "openai/gpt-5", "thinking": "high" }
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
A subagent run: `/orch-plan` as usual (the plan's team is `Workers: coder (pi)`, `Reviewer: reviewer (pi)`, `Isolation: shared`), say go, and the lead repeats for each milestone: `orch sub next` (the next milestone and its task file) → the `coder` subagent builds it → `orch check Mn` (failures go back to the same coder) → the `reviewer` subagent when the milestone has `Review: yes` → `orch sub done Mn` (orch commits it on the feature branch; risky changes still wait for `orch approve`). At the end you get the summary and run `orch finish`, as always. It is simpler and needs no herdr, but slower than panes mode: no coders in parallel, and the lead spends more tokens.
|
|
287
|
+
|
|
248
288
|
### Modes
|
|
249
289
|
- **worktree**: each coder works in `../<repo>-wt/<name>`, independent tasks run in parallel, and each task is squash-merged when it passes checks and review. Start each coder inside its own worktree.
|
|
250
290
|
- **shared**: everyone works in your folder, one milestone at a time. Two agents in one folder would overwrite each other's files and mix their changes, so this is only safe sequentially. Use it when every milestone depends on the previous one.
|
|
@@ -323,7 +363,7 @@ Every status change is written to `.orchestrate/events.jsonl`, and `orch report
|
|
|
323
363
|
Optional plan header lines: `Lead mode: events | off` (default `events` when the plan has a `Lead:` line) · `Scope: warn | strict` · `Risk hold: on | off` · `Budget: 3h` (autopilot stops when its running time is used up) · `Estimate: 1h30m` (the lead's estimate for the feature) · `Setup inputs: <globs>` (which files mean "run setup again"; default: lockfiles and manifests). Per milestone: `Why separate` (why it is its own milestone; needed when the plan has more than one) · `Tier`, `Needs`, `Model why` (see [Models and tiers](#models-and-tiers)) · `Estimate: 40m` (dispatch to landed if nothing goes wrong) · `Parallel: allow` lets it run next to a milestone that shares its `Likely files`.
|
|
324
364
|
|
|
325
365
|
### Commands
|
|
326
|
-
`orch status` · `orch resume` · `orch report` · `orch approve Mn` · `orch models [show|check <id>]` · `orch events [--peek]` · `orch dispatch Mn... [--to <worker>] [--tier <tier>]` · `orch answer Mn [--defer AC2] "<answer>"` · `orch defer Mn AC2 "<reason>"` · `orch fix Mn "<change>" [--to <worker>]` · `orch doctor [kind]` · `orch ready` · `orch autopilot` · `orch lead plan|run|check|whoami` · `orch agents [launch <kind> [--model <id>]|sync|check]` · `orch handoff Mn` · `orch needs-fix Mn` · `orch set M3 pending` · `orch park M2 paused "why"` · `orch cooldown claude-1 60` · `orch bench claude-1 off|on` · `orch stop [--now]` · `orch doctor --crash` · `orch cleanup` · `orch finish [--no-push]` · `orch version` · `orch update [--check] [--version vX.Y.Z]` · `orch config [auto-update on|off]` · `orch` (full help)
|
|
366
|
+
`orch status` · `orch resume` · `orch report` · `orch approve Mn` · `orch models [show|check <id>]` · `orch events [--peek]` · `orch dispatch Mn... [--to <worker>] [--tier <tier>]` · `orch answer Mn [--defer AC2] "<answer>"` · `orch defer Mn AC2 "<reason>"` · `orch fix Mn "<change>" [--to <worker>]` · `orch doctor [kind]` · `orch ready` · `orch autopilot` · `orch lead plan|run|check|whoami` · `orch agents [launch <kind> [--model <id>]|sync|check]` · `orch handoff Mn` · `orch needs-fix Mn` · `orch set M3 pending` · `orch park M2 paused "why"` · `orch cooldown claude-1 60` · `orch bench claude-1 off|on` · `orch stop [--now]` · `orch doctor --crash` · `orch cleanup` · `orch finish [--no-push]` · `orch version` · `orch update [--check] [--version vX.Y.Z]` · `orch config [auto-update on|off]` · `orch mode [panes|subagent]` · `orch setup [--mode panes|subagent]` · `orch check [Mn]` · `orch sub next|done Mn` · `orch` (full help)
|
|
327
367
|
|
|
328
368
|
Tunables: `ORCH_CODER_BUDGET_MIN` (45) · `ORCH_REVIEW_BUDGET_MIN` (15) · `ORCH_CHECK_TIMEOUT_MIN` (30) · `ORCH_COOLDOWN_MIN` (60) · `ORCH_MAX_TASKS` (unset: no limit) · `ORCH_GONE_COOLDOWN_MIN` (10) · `ORCH_SEND_RETRY_S` (120) · `ORCH_HERDR_TIMEOUT_S` (30) · `ORCH_MAX_LOST` (4) · `ORCH_UNREACHABLE_MIN` (30) · `ORCH_CONFIRM_S` (30) · `ORCH_DOWN_MIN_S` (120: an event manager silent for longer was down, and that time is not counted) · `ORCH_RISK_MAX_LINES` (1500) · `ORCH_LEAD_WAIT_MIN` (15: ready work the lead hasn't dispatched starts by itself) · `ORCH_LEAD_CONFIRM_S` (30: a wake-up the lead did not pick up is sent again, doubling) · `ORCH_LEAD_REWAKE_S` (300) · `ORCH_LEAD_MAX_WAKES` (3) · `ORCH_LEAD_IDLE_MAX_MIN` (720: how long the event manager waits for an answer) · `ORCH_NO_AUTOSTART=1` (the lead's commands never start the event manager)
|
|
329
369
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
6.2.1
|
package/agents.default.toml
CHANGED
|
@@ -98,3 +98,15 @@ skills_dirs = ["~/.gemini/config/skills"]
|
|
|
98
98
|
invoke = "use the orch-plan skill: <feature>"
|
|
99
99
|
verified = true
|
|
100
100
|
notes = "Antigravity CLI 1.5: --mode accept-edits|auto|plan and --dangerously-skip-permissions. The binary documents ~/.gemini/config/skills/<name>/SKILL.md as the global skills folder."
|
|
101
|
+
|
|
102
|
+
[pi]
|
|
103
|
+
binary = "pi"
|
|
104
|
+
launch = "pi"
|
|
105
|
+
model_flag = "--model"
|
|
106
|
+
herdr_detect = false
|
|
107
|
+
roles = ["lead", "coder", "reviewer"]
|
|
108
|
+
skills_dirs = ["~/.agents/skills"]
|
|
109
|
+
skills_reads = ["~/.pi/agent/skills", "~/.agents/skills"]
|
|
110
|
+
invoke = "/skill:orch-plan <feature>"
|
|
111
|
+
verified = false
|
|
112
|
+
notes = "Pi (pi.dev, npm @earendil-works/pi-coding-agent 1.6): `pi install npm:herdr-orchestra` adds the orch skills and the orch-mode extension (/orch-mode, /orch-setup). Pi also reads ~/.agents/skills, so it may warn once that orch-plan / orch-run are found twice; it keeps the first copy. Docs list `--model`; herdr detection of Pi is unverified, so orch relies on the done file in panes mode. Subagent mode (one Pi window): `orch setup --mode subagent`."
|