herdr-orchestra 6.23.0 → 6.25.0

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 CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  All notable changes. Versions follow [semantic versioning](https://semver.org).
4
4
 
5
+ ## [6.25.0] - 2026-11-27
6
+
7
+ You choose the model and thinking level of each milestone and of the reviewer, right after the plan. Before, a milestone only had a level (small, medium, high) and went to any coder of that level; to change a model you edited `Workers:` in plan.md by hand, and nothing stopped orch from moving the milestone to another model later.
8
+
9
+ Example: after `/orch-plan` shows the plan, the lead shows the team table (M1 codex-2 gpt-6.2-sol medium, M2 codex-1 gpt-6-luna high, Reviewer gpt-6.2-sol medium) and asks "Keep this team?". You pick "Change a step", then M2, gpt-6.2-sol, low. The lead runs `orch plan model M2 gpt-6.2-sol@low`: M2 is locked to Sol on low thinking, no coder ran that, so `codex-3 (codex: gpt-6.2-sol@low)` joins the team and `orch team up` opens its panel when you say go. Later, "M2 use luna high" in the lead's chat changes it again.
10
+
11
+ ### Added
12
+ - `orch plan team`: one row per milestone and one for the reviewer, with its coder, model, thinking level and whether you chose it; then the models and thinking levels you can pick (your tool's own list, from `codex debug models` for Codex) and the ones never allowed.
13
+ - `orch plan model <Mn|reviewer> <model>@<thinking>` (also `M3 gpt-6.2-sol low`): writes `Model:` on the milestone, or the model on the `Reviewer:` line. A new coder joins `Workers` when none runs that model. `auto` takes a milestone's lock off. It refuses a model the policy blocks (Astra) and a thinking level the tool doesn't have, and says what to do when the milestone is already being built or has landed, or the reviewer's panel is open on the old model.
14
+ - The plan playbook: only after the plan is shown (full and quick runs), the lead shows the table and asks "Keep this team?" in its question picker, then one question at a time: which step, which model, which thinking. Without a picker the developer types `ok` or `M3 sol low`.
15
+ - Registry key `efforts`: the thinking levels a tool accepts (Codex: low, medium, high, xhigh, max).
16
+
17
+ ### Changed
18
+ - A milestone with `Model:` is a lock: only coders on exactly that model take it. orch never moves it to another model by itself: `orch escalate` says NO_ESCALATION, and `orch dispatch --to` a coder on another model or `--tier` is refused. The run playbook has a hard rule for the lead: the developer's model choices stay until the developer changes them.
19
+ - `orch sync` stops when a `Model:` line names a model no coder in `Workers` runs (and names the command that adds one), or a blocked model.
20
+ - `orch plan show` says "locked by you to <model>" on a locked milestone's card.
21
+
22
+ ### Not yet tried
23
+ - With a real lead's question picker and real Codex panels: tested with orch's simulated agents.
24
+
25
+ ## [6.24.0] - 2026-11-27
26
+
27
+ Frontend and backend, in one repo or in two. Before, a run belonged to the one git repo you started it in: frontend and backend in separate repos could not be one run, two runs side by side both called their agents `codex-1`, and in a monorepo every milestone waited for the whole repo's tests.
28
+
29
+ Example: `~/work/shop/` holds two git repos, `frontend/` and `backend/`. The lead writes one plan in `~/work/shop/.orchestrate/plan.md` with `Repos: frontend, backend`, M1 (`Repo: backend`, the endpoint) and M2 (`Repo: frontend`, the screen, `Depends on: M1`). The backend coder builds M1 in `backend-wt/backend-claude-1`, it lands on backend's `feature/discounts` after backend's check; then the frontend coder builds M2 in `frontend-wt/frontend-claude-1`, and it lands on frontend's own `feature/discounts`. `orch finish` opens one PR in each repo.
30
+
31
+ ### Added
32
+ - **A workspace of several repos.** A plan whose header says `Repos: frontend, backend` (folders next to `.orchestrate/`, or `web=apps/web`) gives every milestone a `Repo:`. `orch sync` there writes each repo's own plan and syncs it, so each repo is an ordinary run: its own coders and reviewer (named after the repo: `frontend-claude-1`), worktrees, feature branch, check and PR. Per repo, optionally: `Check <repo>:`, `Setup <repo>:`, `Workers <repo>:`, `Reviewer <repo>:`.
33
+ - **Dependencies across repos.** `Depends on: M1` works when M1 is in another repo (the repo's plan shows `backend:M1`). The waiting repo's event manager stays up and says `waiting for another repo: M2 waits for backend M1`; `orch ready` and `orch status` say it too. It gives up after the usual idle time only when the other repo's event manager is not running.
34
+ - **One lead for every repo.** In the workspace folder, milestone commands (`orch dispatch M2`, `orch answer`, `orch set`, `orch approve`, `orch check M1`) go to that milestone's repo, and the others (`orch start`, `status`, `events`, `team up`, `autopilot`, `finish`, `resume`, `stop`) run in every repo. `orch autopilot` there runs every repo's event manager side by side. Inside one repo, orch works on that repo's run only.
35
+ - **A check per side in a monorepo.** `Check frontend: cd frontend && npm test` in the header and `Side: frontend` on a milestone: that milestone is checked in its coder's folder and when it lands with its side's command only. The plan's whole `Check command` still runs on the finished branch (a side's pass is never reused for it).
36
+ - `orch team <kind> --prefix <name>` starts every name of the team with `<name>-`.
37
+
38
+ ### Fixed
39
+ - **Two runs on one machine could send work to the same pane.** herdr finds agents by name, and every run called them `codex-1`, `reviewer`, `lead`. `orch sync` now refuses a name another going run uses (it names that run's folder and suggests `<repo>-codex-1`), and `orch team <kind>` names the team after the repo while another run is going. One lead shared by the repos of a workspace is fine.
40
+
41
+ ### Changed
42
+ - A plan header key may now end in a word with digits, dots or dashes (`Check web-app:`, `Workers api2:`).
43
+
44
+ ### Not yet tried
45
+ - With real agents and real repos: tested with orch's simulated agents (two repos, a dependency across them, both branches and worktrees, the checks per side). Subagent mode (Pi) stays one folder: plan and run it inside one repo.
46
+
5
47
  ## [6.23.0] - 2026-11-27
6
48
 
7
49
  Subagent mode now belongs to Pi only. Before, `orch setup --mode subagent` saved one machine-wide `"mode": "subagent"`, so every lead got Pi's subagent steps, even Antigravity, Claude Code or Codex.
package/README.md CHANGED
@@ -317,6 +317,21 @@ A subagent run: `/orch-plan` as usual (the plan's team is `Workers: coder (pi)`,
317
317
  - **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.
318
318
  - **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.
319
319
 
320
+ ### Frontend and backend
321
+ **One repo (a monorepo).** Each coder gets its own worktree of the whole repo, and every milestone lands on the one feature branch, so you get one PR. When a side has a quicker check of its own, add `Check frontend: cd frontend && npm test` (one line per side) and `Side: frontend` on its milestones: that milestone is checked with its side's command only, and the plan's whole `Check command` still runs on the finished branch.
322
+
323
+ **Separate repos in one folder (a workspace).** Put one plan in the folder that holds them, with `Repos: frontend, backend` in the header and `Repo: backend` on every milestone (per repo, optionally: `Check backend:`, `Setup backend:`, `Workers backend:`, `Reviewer backend:`):
324
+ ```
325
+ ~/work/shop/.orchestrate/plan.md the one plan (Repos: frontend, backend)
326
+ ~/work/shop/backend/ backend repo, on feature/discounts: M1 lands here
327
+ ~/work/shop/backend-wt/backend-claude-1 the backend coder's worktree
328
+ ~/work/shop/frontend/ frontend repo, on its own feature/discounts: M2 lands here
329
+ ~/work/shop/frontend-wt/frontend-claude-1 the frontend coder's worktree
330
+ ```
331
+ `orch sync` in `~/work/shop` writes each repo's own plan, so each repo is an ordinary run with its own coders (named after the repo), worktrees, feature branch, check and PR. `Depends on: M1` works across repos: the frontend's M2 starts when the backend's M1 has landed. One lead stays in the workspace folder: milestone commands (`orch dispatch M2`) go to that milestone's repo, and `orch start`, `status`, `events`, `team up`, `autopilot` and `finish` run in every repo. Inside one repo, orch works on that repo's run only.
332
+
333
+ **Two runs on one machine.** herdr finds agents by name, so `orch sync` refuses a name another going run already uses, and `orch team <kind>` names the team after the repo (`frontend-codex-1`) while another run is going (`--prefix <name>` to choose).
334
+
320
335
  ### Watch a run: browser, board and Herdr's sidebar
321
336
  Three views show a run while it goes; none of them changes it.
322
337
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 6.23.0
1
+ 6.25.0
@@ -10,6 +10,8 @@
10
10
  # out when the tool has none or it is unverified, and choose the model inside the tool
11
11
  # effort_flag the launch option that sets how hard the model thinks, with {effort} where the level goes. A model
12
12
  # id written `<model>@<level>` (e.g. gpt-6.2-sol@low) starts on <model> with this option
13
+ # efforts the thinking levels the tool accepts, in order; `orch plan team` offers them and `orch plan model`
14
+ # refuses any other
13
15
  # lead_flags optional: options added only to the LEAD's start command (`orch team <kind>`, `orch agents launch
14
16
  # <kind> --role lead`), never to coders or the reviewer, whose panes run unattended
15
17
  # launch_needs parts the launch command must keep for orch to work in that tool; `orch doctor` says when your
@@ -72,6 +74,7 @@ launch_needs = ["sandbox_workspace_write.network_access=true", "sandbox_workspac
72
74
  lead_flags = "-c features.default_mode_request_user_input=true"
73
75
  model_flag = "--model"
74
76
  effort_flag = "-c model_reasoning_effort={effort}"
77
+ efforts = ["low", "medium", "high", "xhigh", "max"]
75
78
  herdr_detect = true
76
79
  interrupt_keys = ["esc"]
77
80
  compact = "/compact"
Binary file