Repository navigation
Releases
v6.17.0
A compact that ended quickly always gets its line in orch story now. Nothing else about compacting changed.
Example: claude-1 finishes M1, gets /compact, and is idle again before the event manager looks at it. The next job (M5) was sent at once, and the line claude-1's chat after M1 is now a short summary (/compact) was never written (about 1 run in 10 in the tests). Now whichever step sees the compact end first writes that line, exactly once.
Fixed
- The "compact is over" line could go missing. When the next job reached the agent before the event manager noticed the compact had ended,
orch send/orch reviewdropped the compact silently. Both now write the story line (<agent>'s chat after Mn is now a short summary), and the event manager writes it only when it is the one that ends the compact. The work itself was never affected: the agent was idle and got its job. - The test for it no longer depends on timing: section 60 checks the story lines, and a new check sends the next job before the event manager looks (it failed on 6.14.0).
v6.14.0
A coder's and the reviewer's chat no longer keeps growing from milestone to milestone. When one is done with a milestone, orch types its tool's /compact into its pane while it is idle, so the tool swaps the long chat for a short summary. Every job orch gives an agent is already written down in files (task.md, task.json, fix and review files), so the next milestone loses nothing it needs.
Example: claude-1 builds M2 and M2 lands. claude-1 is idle, so orch sends /compact. When herdr shows it idle again, it gets Read .orch-task/M4/task.md .... orch story reads the event manager did: claude-1 finished M2: orch sent /compact so its chat does not keep growing.
Added
/compactbetween milestones, on by default for Claude Code, Codex and AGY. orch sends it only while herdr shows the agent idle and it holds no job: as soon as its milestone lands, or just before it starts a different milestone (then that milestone waits until the compact is done). Never in the middle of work, never for a fix or review round of the same milestone, and never for the lead.- While it compacts, the agent shows as
compactinginorch status,orch status --json,orch viewandorch board, and gets no new work. It is free again once herdr shows it idle forORCH_COMPACT_SETTLE_S(10 s). Still working afterORCH_COMPACT_MAX_S(5 min): orch stops waiting and says so. orch config compact on|off(andORCH_COMPACT=0|1) turns it on or off for this machine.orch configshows it.- Registry keys
compact(the command,/compact) andcompact_min_version. AGY added/compactin 1.2.15: an older or unreadableagy --versionmeans no compacting, said once inorch story, andorch doctor agyshows it. OpenCode, amp, Pi and Hermes stay off until their command is checked;compact = "/compact"in youragents.tomlturns it on for a kind,compact = ""turns it off. - Restart recovery: what each agent's chat holds and a compact in progress are kept across
orch syncandorch resume. A compact that was cut short by a restart does no harm: the agent just gets its next job. - Docs: Compact between milestones, the new keys and variables in Configuration, the command in Commands.
Not yet tried
- With real Claude Code, Codex and AGY windows. It was tested with orch's simulated agents and herdr. The command name was checked in each tool's docs (AGY: from 1.2.15).
v6.13.0
The views no longer pass an old run off as the current one, and orch says when a plan file has a name it does not read.
Example: a developer saves the new plan as .orchestrate/csv-import.md and opens orch view. Before, the page still showed last week's plan.md milestones as if they were live. Now a note at the top reads "This is the last run (Categories): all its milestones landed 2 d ago. No run is going now" and ".orchestrate/csv-import.md is not used: orch only reads .orchestrate/plan.md. Rename or copy it to plan.md, then run orch sync."
Added
- Notes about old runs and unread plans in
orch view(a bar at the top),orch board,orch status(anote:line) andorch status --json(anoticeslist). They appear only when no run is going: the last run landed everything (old_run),plan.mdchanged after the last run (plan_unsynced), or a.orchestrate/*.mdfile that orch does not read is newer than the run (other_plan). Files orch writes itself (summary, story, pr-body, manual-tests) are never counted. While a milestone is being worked on there are no notes. orch syncpoints out a plan it does not read. With noplan.mdit names the other.mdfile and says to rename it; with a newer file besideplan.mdit warns and still loadsplan.mdas before.
Not changed
- orch still reads only
.orchestrate/plan.md, and one repo still has one run at a time.
v6.12.1
Fixed
- The run board key is now
prefix+a, notprefix+o.prefix+ois Herdr's own "open notification target" key, so Herdr kept its key and ignored ours.orch view plugin link,orch view herdr-configand the docs now giveprefix+a, which no Herdr default key uses. If you added the old lines to Herdr's config, changeprefix+otoprefix+aand restart Herdr.
v6.12.0
The website's run diagrams are now interactive. Nothing in orch changed.
Example: on the home page, pick the orch resume tab in the Herdr window and press step. The computer goes off for 1h49m in the middle of M2; the timers stop at 0:18:04, the coders' worktrees keep their files, and orch resume names the panes again and re-sends the work. Without that, M2 would read 2:07:04 against a 40-minute budget.
Added
- Herdr window, two modes.
orch autopilotplays one run: the lead plans and dispatches M1 and M2, two coders build in their own worktrees, the reviewer reads each diff without editing, and the event manager merges.orch resumeplays a restart mid-milestone. Play/Pause, Step and Replay; nothing loops. - Stage inspector under the run loop and the event loop diagram:
PLAN_READY,DISPATCHED,CODING,REVIEW_AUDIT,GATE_HOLD,MERGED. Click or tab to a state, or to a node in the diagram, to see the command (orch plan show,orch dispatch,orch answer,--defer,orch approve), the role it wakes, the exact text that role gets, and the line it adds toorch story. - Role mapper on the Agents page: pick the lead, the coders and the reviewer from the kinds in
agents.default.toml, and copy the matchingagents.tomlroles andplan.mdteam lines (models frommodels.default.toml). - Timeline scrubber in "How it works": drag it or use ← → to step through the run log. The pane states, the active and not-counted time, and the milestones on the branch diagram follow it. The example run now has a laptop sleep in the middle (14:22 to 16:11), logged as orch logs it.
Changed
- Site motion: state changes take 150 ms or less, no blinking cursors or endlessly moving lines.
astro checkpasses with no errors (the run loop diagram had 23 type errors).
v6.11.0
You can now watch a run as a picture: in your browser, in a Herdr pane, and in Herdr's own sidebar. Every view shows each milestone with a one-line description of what it is for, not only its id.
Example: run orch view and your browser shows the milestones as a graph. M6 Docs page · Help page that explains the CSV import is red, and clicking it shows the coder's question and the command orch answer M6 "...". Herdr's sidebar meanwhile reads codex-1 · M2 building instead of just codex-1.
Added
orch view: the run in your browser, live and view only. The run ring (how many milestones are with the lead, coders, checks, reviewer, or waiting for you), a milestone graph with arrows for "needs this first", coloured by where each milestone is, with its plain description under it. Click a milestone for its question, the exact command to answer it, its steps and files. Also the agents (model, tier, what they hold), time and cost (against the lead's estimates, why a milestone took longer, tokens and cost per model), a replay slider that plays the run back fromevents.jsonl, and an optional browser alert when a milestone starts to need you. It updates by itself (Server-Sent Events) and never writes or locks the run. Listens on 127.0.0.1 only.orch view --bg,stop,status,--port,--no-open.- Phone view. On a narrow screen the graph becomes a list and the milestone that needs you sits at the top.
orch view --lanopens it to your phone on the same Wi-Fi, with a secret token in the link; without the token the page refuses. Off unless you ask. orch board: the same run as text for a Herdr pane, split or popup: the milestones as a tree with their descriptions, the agents, the last events. Arrow keys pick an agent, Enter jumps to its pane,wstarts the browser view.--onceprints it once.- Agent names in Herdr's sidebar. The event manager tells Herdr what each agent does (
codex-1 · M2 building,reviewer · reviewing M7 (round 1),codex-3 · free) and puts a run line on the Space (orch: 3/7 landed · 1 needs you). Display only: Herdr still finds agents by their real name. Sent on a separate thread, only on changes, so it never slows the run (tested with a Herdr that takes 4 seconds per call). Names fade an hour after the last change;orch finishgives every agent its own name back. Needs Herdr 0.6.3+ (the extra rows 0.7.4+).ORCH_SIDEBAR=0turns it off. orch view herdr-configprints the sidebar rows (each agent's milestone description, the run line) and a popup key for Herdr's config.orch view plugin link|unlinklinks a small Herdr plugin shipped with orch that opensorch boardas a popup (Herdr 0.7.4+).orch view plugin linknow prints the key lines to paste into Herdr's config (prefix+o, which is unused in Herdr's default keys; Herdr keeps its own key if yours clashes).orch status --json: one stable run summary ("view": 1) that both views read, documented indocs/contracts.md.orch statusprints the browser view's link (or how to start it), and the lead's "needs you" events carry aSEE:link straight to that milestone while the view runs.orch doctorsays which views your Herdr supports.- Docs: Watch a run, and the new commands in Commands.
Not yet tried
- The sidebar names, the plugin popup and the Enter-to-jump key with a real Herdr. They follow Herdr 0.9.5's documented commands (
pane report-metadata,workspace report-metadata,plugin link,agent focus) and were tested with the simulated Herdr. The browser page was checked in Chromium (desktop and phone size).
v6.10.0
No agent ever pushes to main. This is now a hard rule, in words and in code: the lead, the coders and the reviewer (on any tool: Claude, Codex, Pi, OpenCode, AGY…) never push to main, master or the repo's default branch, and never merge a PR, in any situation, even when the developer asks. Work stays on the run's branch, orch finish pushes only that branch and opens a PR, and a person merges it by hand.
Example: mid-run you type "just push this to main". Before, an agent might have done it. Now the lead answers "I can't push to main, even when asked; the work is on feature/csv-import, orch finish pushes that branch and opens a PR, and you merge it", and if any agent still runs git push origin HEAD:main, git refuses it with orch guard: REFUSED push to main.
Added
- Pre-push guard.
orch start(andorch lead plan/orch lead run) installs.git/hooks/pre-push, which every coder's worktree shares. It refuses any push that would changemain,master, the remote's default branch, or a branch added withgit config --add orch.protected <branch>: a plain push,HEAD:main, a force push,--all, deleting main. A pre-push hook that was already there is kept (aspre-push.orch-orig) and still runs after the guard. Hooks kept inside the project (husky viacore.hooksPath) are not written to: orch says so, andorch guard --printgives the script. orch guard [status|--print]installs the guard by hand, or reports it. Withghinstalled,statusalso asks GitHub whethermainis protected and, if not, says where to turn on "Require a pull request before merging" (the one lock a--no-verifypush orgh pr mergecan't get around).ORCH_GUARD_GITHUB=0skips that question.orch doctor(with no agent named) reports the guard and fails when it is missing.
Changed
orch syncrefuses a plan whoseBranch:is a protected branch (main,master, the default branch);orch startandorch finishrefuse to work on or push one.- The rule is in every agent-facing text: the
orch-plan,orch-runandorch-explainskills and commands (Claude, OpenCode, Pi), the plan, run and subagent playbooks (a new hard rule the lead gets at every wake-up, with the one-line refusal to give when someone asks to push to main), each coder's task file, the reviewer's prompt and the Pi coder and reviewer subagents. Agents are also told never to get around the guard (--no-verify, editing.git/hooks).
Not yet tried
- With real agents. The guard was tested with real git pushes to a local remote (every refused form, worktrees, a kept hook, husky); the agents' refusal is in their instructions and was tested with simulated agents only.
v6.9.0
A new skill, orch-explain, makes any agent explain a concept, a code flow, a bug fix or an architecture change simply and visually.
Example: in Claude Code type /orch-explain how does orch fix work. The answer comes in four parts: 2–3 plain bullets with an everyday analogy, a small table of the parts involved, an ASCII flowchart under 65 characters wide (so it fits a narrow herdr pane), and a 3-row "why it matters" table, all using one example such as Turn T1.
Added
orch-explainskill (skills/orch-explain/SKILL.md), installed next toorch-planandorch-run: one copy per agent throughorch agents sync, recorded for--uninstall, checked byorch agents check. OpenCode gets a/orch-explaincommand; Pi loads it from the package (/skill:orch-explain). Unlike the other two it is not a thin wrapper: the playbook is in the skill itself and it needs no run.- An
orch-explaincopy in a folder orch no longer uses (such as OpenCode's oldcommand/) is recognised as orch's own and removed, like oldorch-plan/orch-runcopies, so no agent lists it twice.
v6.8.0
An all-Codex team (Codex as the lead, the coders and the reviewer) now runs without getting stuck and without an approval check on every orch command.
Example: before, a Codex lead typing orch start got "cannot create branch" (Codex's sandbox makes .git read-only), and orch team up or waking the lead failed (the sandbox blocks herdr's socket). Codex then asked its auto-review before running each one again. Now every Codex pane orch opens starts with two settings that open just those two things, so the commands work the first time.
Fixed
- Codex panes can reach herdr and the repo's
.git. The Codex launch command is nowcodex --approve-for-me -c sandbox_workspace_write.network_access=true -c 'sandbox_workspace_write.writable_roots=["<repo>/.git"]'. The first setting lets herdr's socket through (it also allows the internet); the second lets git make branches, worktrees and commits. Checked with the real codex-cli 0.172 (codex sandbox): without them git and the socket are refused, with them both work.orch team up, the "start it yourself" hints after a restart andorch agents launch codexall use it; a launch command may say{git_dir}and orch fills in the repo's.gitfolder. - A blocked lead is told how to fix it.
orch lead plan,orch lead runandorch lead checkwarn when the pane they run in can't reach herdr (Codex's sandbox with the network off) or can't write.git, and print the Codex command to restart with. - The Codex models were out of date. orch knew only
gpt-6-lunaandgpt-6-sol, which Codex now calls legacy, and had no high Codex model, so every Codex plan warned.
Added
- Thinking levels in a model id.
gpt-6.2-sol@lowmeans gpt-6.2-sol on low thinking (-c model_reasoning_effort=low). New registry keyeffort_flag. The Codex levels: small =gpt-6-luna@high, medium =gpt-6.2-sol@low, high =gpt-6.2-sol@medium(the lead and the reviewer). Astra stays blocked. - orch asks Codex for its models. When
codexis installed,orch modelsrunscodex debug models(at most every 6 hours, cached;ORCH_MODELS_TTL_S,ORCH_MODELS_DISCOVER=0turns it off) and puts the newest Luna and Sol into the levels above, skipping models Codex hides or calls legacy. When Codex adds a new Sol, the next plan uses it without anyone editing a file. The family and thinking level of each tier are in[discover.codex]inmodels.default.toml, and your ownmodels.tomlcan change them. If Codex can't be asked, the shipped entries are used. orch team <kind>prints the command to start your own lead pane on the strongest level.orch doctorsays when your own launch command drops a part orch needs (new registry keylaunch_needs).
Not yet tried
- A full run with real Codex windows. The sandbox settings and model names were checked against the real Codex 0.172; the run itself was tested with simulated agents.
v6.7.2
The website docs now have a Pi page: Pi: setup and use. It walks through every step in order: install Pi, add the package (pi install git:github.com/arunnarangali/herdr-orchestra), type /orch-setup once, check with orch version, pick panes or subagent with /orch-mode, then /skill:orch-plan <feature> and say go. It also shows the config file for the subagents' models and max_turns, a table of the Pi commands, and what to do when something is off. No change to how orch works.
Added
- Docs: Pi page (
site/src/content/docs/docs/pi.md), in the sidebar under Agents. Installation, Agents and roles, Modes, Configuration and Commands now point to it, and Commands listsorch mode,orch setup,orch sub nextandorch sub done.
Changed
- README: the GitHub install line for Pi no longer pins the old v6.2.1 tag, and links to the new docs page.