herdr-orchestra 6.8.0 → 6.9.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 +10 -0
- package/README.md +15 -5
- package/VERSION +1 -1
- package/agents.default.toml +2 -2
- package/bin/__pycache__/orchcpython-314.pyc +0 -0
- package/bin/orch +5 -4
- package/claude-commands/orch-explain.md +17 -0
- package/install.sh +4 -4
- package/opencode-commands/orch-explain.md +17 -0
- package/package.json +3 -2
- package/skills/orch-explain/SKILL.md +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes. Versions follow [semantic versioning](https://semver.org).
|
|
4
4
|
|
|
5
|
+
## [6.9.0] - 2026-11-25
|
|
6
|
+
|
|
7
|
+
A new skill, `orch-explain`, makes any agent explain a concept, a code flow, a bug fix or an architecture change simply and visually.
|
|
8
|
+
|
|
9
|
+
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`.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **`orch-explain` skill** (`skills/orch-explain/SKILL.md`), installed next to `orch-plan` and `orch-run`: one copy per agent through `orch agents sync`, recorded for `--uninstall`, checked by `orch agents check`. OpenCode gets a `/orch-explain` command; 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.
|
|
13
|
+
- An `orch-explain` copy in a folder orch no longer uses (such as OpenCode's old `command/`) is recognised as orch's own and removed, like old `orch-plan` / `orch-run` copies, so no agent lists it twice.
|
|
14
|
+
|
|
5
15
|
## [6.8.0] - 2026-11-24
|
|
6
16
|
|
|
7
17
|
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.
|
package/README.md
CHANGED
|
@@ -59,8 +59,8 @@ It installs:
|
|
|
59
59
|
| What | Where |
|
|
60
60
|
|---|---|
|
|
61
61
|
| `orch` CLI (scheduler + autopilot) | `~/.local/bin/orch` |
|
|
62
|
-
| `orch-plan`, `orch-run` skills, one copy per agent (an agent never lists them twice) | `~/.agents/skills/` or the agent's own skills folder |
|
|
63
|
-
| `/orch-plan`, `/orch-run` OpenCode commands | `~/.config/opencode/commands/` |
|
|
62
|
+
| `orch-plan`, `orch-run`, `orch-explain` skills, one copy per agent (an agent never lists them twice) | `~/.agents/skills/` or the agent's own skills folder |
|
|
63
|
+
| `/orch-plan`, `/orch-run`, `/orch-explain` OpenCode commands | `~/.config/opencode/commands/` |
|
|
64
64
|
|
|
65
65
|
Updating replaces the skills, it never adds a second copy: the installer picks one folder per agent and removes orch's older copies from the rest (your own skills are left alone). `orch agents check` says `DUPLICATE` if an agent would still see a skill twice.
|
|
66
66
|
| every installed version, side by side | `~/.local/share/herdr-orchestra/` |
|
|
@@ -71,7 +71,7 @@ Install once — you don't need to run the installer again when you add an agent
|
|
|
71
71
|
orch agents sync
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
It finds every installed agent (binary on `PATH`), copies the `orch-plan` / `orch-run` skills and slash commands into that agent's folders, and records them so `--uninstall` still removes exactly what was installed. `orch agents` prints a hint when a new agent is missing its skills.
|
|
74
|
+
It finds every installed agent (binary on `PATH`), copies the `orch-plan` / `orch-run` / `orch-explain` skills and slash commands into that agent's folders, and records them so `--uninstall` still removes exactly what was installed. `orch agents` prints a hint when a new agent is missing its skills.
|
|
75
75
|
|
|
76
76
|
## Updates
|
|
77
77
|
|
|
@@ -202,7 +202,17 @@ The agent whose pane you start the plan playbook in becomes the lead. orch names
|
|
|
202
202
|
| Antigravity (`agy`) | "use the orch-plan skill: <feature>" |
|
|
203
203
|
| **any agent** | "Run `orch lead plan` and follow it. Feature: <feature>" |
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
### Explain something simply
|
|
206
|
+
`orch-explain` makes any agent explain a concept, a code flow, a bug fix or an architecture change in plain words, in four parts: a short summary with an everyday analogy, a table of the parts involved, an ASCII flowchart under 65 characters wide (it fits a narrow pane), and a 3-row "why it matters" table, with one example used all the way through. It needs no run and no `orch` command.
|
|
207
|
+
|
|
208
|
+
| Agent | Ask it |
|
|
209
|
+
|---|---|
|
|
210
|
+
| Claude Code, OpenCode | `/orch-explain how does the event manager wake the lead` |
|
|
211
|
+
| Codex | `$orch-explain how does orch fix work` |
|
|
212
|
+
| Pi | `/skill:orch-explain <topic>` |
|
|
213
|
+
| any other | "use the orch-explain skill: <topic>" (or just "explain X simply") |
|
|
214
|
+
|
|
215
|
+
The orch-plan and orch-run skills and slash commands are thin wrappers: the playbooks themselves live in `orch` (`orch lead plan`, `orch lead run`), so every agent follows the same, versioned instructions. They are printed in parts so the lead reads only what it needs: `orch lead plan` prints research and the quick-or-full decision, then `orch lead plan quick` (a quick run's rules) or `orch lead plan full` (steps 3 to 10); on a wake-up, `orch events` prints the rules and steps for those events, so the run playbook is read once.
|
|
206
216
|
|
|
207
217
|
### Agent registry
|
|
208
218
|
`orch agents` shows every known kind: installed or not, roles, whether herdr can watch it, and its launch command. Defaults ship in `agents.default.toml`; add or fix kinds in `~/.config/herdr-orchestra/agents.toml` (merged key by key):
|
|
@@ -259,7 +269,7 @@ pi install npm:herdr-orchestra
|
|
|
259
269
|
|
|
260
270
|
You can also install it straight from GitHub (same files, no npm needed): `pi install git:github.com/arunnarangali/herdr-orchestra` (add `@vX.Y.Z` to pin a release). Step-by-step setup: the [Pi page](https://herdr-orchestra.vercel.app/docs/pi/) of the docs.
|
|
261
271
|
|
|
262
|
-
Pi then has the `orch-plan` and `orch-
|
|
272
|
+
Pi then has the `orch-plan`, `orch-run` and `orch-explain` 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.
|
|
263
273
|
|
|
264
274
|
Runs have two modes. Nothing changes for anyone who never picks the second one.
|
|
265
275
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.9.0
|
package/agents.default.toml
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
# orch presses them when a milestone is paused or moved while the coder still works, before the
|
|
18
18
|
# STOP note: a typed message is only read after the current step (agy queues it)
|
|
19
19
|
# roles any of "lead", "coder", "reviewer"
|
|
20
|
-
# skills_dirs global SKILL.md folders the installer may put the
|
|
20
|
+
# skills_dirs global SKILL.md folders the installer may put the orch-plan / orch-run / orch-explain skills into
|
|
21
21
|
# (first = preferred)
|
|
22
22
|
# skills_reads every global skills folder the tool reads, its own and shared ones (e.g. ~/.agents/skills).
|
|
23
23
|
# `orch agents sync` picks the fewest folders so each installed tool reads exactly ONE copy
|
|
24
24
|
# of each skill (a skill in two folders it reads is listed twice), and removes orch's copies
|
|
25
25
|
# from every other folder
|
|
26
|
-
# commands_dirs slash-command folders the installer may put orch-plan.md / orch-run.md into
|
|
26
|
+
# commands_dirs slash-command folders the installer may put orch-plan.md / orch-run.md / orch-explain.md into
|
|
27
27
|
# skills_one_wins true when the tool shows a skill once even if two folders it reads have it (its docs
|
|
28
28
|
# say one copy wins); false or unset: it lists both, so orch keeps exactly one copy
|
|
29
29
|
# commands_reads every slash-command folder the tool reads (same one-copy rule)
|
|
Binary file
|
package/bin/orch
CHANGED
|
@@ -6789,7 +6789,7 @@ USAGE = """usage: orch <command> [args]
|
|
|
6789
6789
|
rounds or escalation for them; the summary lists them as NOT done, with a follow-up
|
|
6790
6790
|
fix <Mn> <text> [--to <worker>] a change to something Mn already landed: a small follow-up milestone, sent
|
|
6791
6791
|
straight to the coder who built Mn (no new plan; check, review and summary still apply)
|
|
6792
|
-
agents sync [kind...] install the orch-plan / orch-run skills so every installed agent sees each one exactly once,
|
|
6792
|
+
agents sync [kind...] install the orch-plan / orch-run / orch-explain skills so every installed agent sees each one exactly once,
|
|
6793
6793
|
and remove old copies (run it after adding a new agent; the installer runs it)
|
|
6794
6794
|
agents check check every installed agent sees each orch skill once (not missing, not twice)
|
|
6795
6795
|
doctor [kind...] check installed agents against the real tool: version, launch flags, skills, herdr
|
|
@@ -7250,8 +7250,9 @@ def _ours(p):
|
|
|
7250
7250
|
text = f.read_text(errors="replace") if f.is_file() else ""
|
|
7251
7251
|
except OSError:
|
|
7252
7252
|
return False
|
|
7253
|
-
# every version's skills and commands: thin wrappers say "orch lead", the first (4.0) skills "Orchestrator step"
|
|
7254
|
-
|
|
7253
|
+
# every version's skills and commands: thin wrappers say "orch lead", the first (4.0) skills "Orchestrator step",
|
|
7254
|
+
# orch-explain (6.9) carries its playbook, whose heading is "Simple & Visual Explanation Playbook"
|
|
7255
|
+
return "orch lead" in text or "Orchestrator step" in text or "Simple & Visual Explanation Playbook" in text
|
|
7255
7256
|
|
|
7256
7257
|
|
|
7257
7258
|
def _remove(p):
|
|
@@ -7447,7 +7448,7 @@ def cmd_agents(args):
|
|
|
7447
7448
|
missing = [k for k, v in reg.items()
|
|
7448
7449
|
if installed[k] and any(st != "ok" for _, st in agent_assets(v))]
|
|
7449
7450
|
if missing:
|
|
7450
|
-
print(f"\n{', '.join(missing)}: orch-plan/orch-run missing or listed twice — run: orch agents sync")
|
|
7451
|
+
print(f"\n{', '.join(missing)}: orch skills (orch-plan/orch-run/orch-explain) missing or listed twice — run: orch agents sync")
|
|
7451
7452
|
print(f"\nOverride or add kinds in {user_agents_file()}")
|
|
7452
7453
|
|
|
7453
7454
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Explain a concept, codebase flow, bug fix or architecture change simply: plain words, a parts table, an ASCII flow and why it matters"
|
|
3
|
+
---
|
|
4
|
+
# Simple & Visual Explanation Playbook
|
|
5
|
+
|
|
6
|
+
Whenever explaining a concept, feature, bug fix, or system flow, use this 4-part structure:
|
|
7
|
+
|
|
8
|
+
1. **Plain-English Summary:** 2–3 short bullets using a simple everyday analogy. No heavy jargon.
|
|
9
|
+
2. **Key Parts Involved:** A small table of the components/steps, what each does, and a concrete example.
|
|
10
|
+
3. **Visual Flow:** A compact ASCII flowchart (under 65 chars wide so it fits narrow terminal panes) showing the flow or "Before vs. Now".
|
|
11
|
+
4. **Why It Matters:** A 3-row table summarizing the main takeaway, edge case, or benefit.
|
|
12
|
+
|
|
13
|
+
## Rules
|
|
14
|
+
- Keep sentences short and scannable.
|
|
15
|
+
- Use one consistent example (like `User 1`, `Session S1`, `Turn T1`) across all 4 sections.
|
|
16
|
+
|
|
17
|
+
What to explain: $ARGUMENTS
|
package/install.sh
CHANGED
|
@@ -102,8 +102,8 @@ case "$ACTION" in
|
|
|
102
102
|
done < "$MANIFEST"
|
|
103
103
|
fi
|
|
104
104
|
rm -f "$BIN/orch"
|
|
105
|
-
rm -rf "$SKILLS/orch-plan" "$SKILLS/orch-run" "$SHARE"
|
|
106
|
-
for d in "${OC_CMDS[@]}"; do rm -f "$d/orch-plan.md" "$d/orch-run.md"; done
|
|
105
|
+
rm -rf "$SKILLS/orch-plan" "$SKILLS/orch-run" "$SKILLS/orch-explain" "$SHARE"
|
|
106
|
+
for d in "${OC_CMDS[@]}"; do rm -f "$d/orch-plan.md" "$d/orch-run.md" "$d/orch-explain.md"; done
|
|
107
107
|
say "herdr-orchestra removed. (The herdr skill and your projects' .orchestrate/ folders were left alone.)"
|
|
108
108
|
exit 0;;
|
|
109
109
|
esac
|
|
@@ -175,7 +175,7 @@ touch "$MANIFEST"
|
|
|
175
175
|
record() { grep -qxF "$1" "$MANIFEST" || echo "$1" >> "$MANIFEST"; }
|
|
176
176
|
install_skills() { # install_skills <skills dir>
|
|
177
177
|
local s
|
|
178
|
-
for s in orch-plan orch-run; do
|
|
178
|
+
for s in orch-plan orch-run orch-explain; do
|
|
179
179
|
rm -rf "${1:?}/$s"; mkdir -p "$1/$s"
|
|
180
180
|
cp "$CUR/skills/$s/SKILL.md" "$1/$s/SKILL.md"; record "$1/$s"
|
|
181
181
|
done
|
|
@@ -194,7 +194,7 @@ if ! "$CUR/bin/orch" agents sync; then
|
|
|
194
194
|
warn "per-agent skills skipped (orch agents sync failed — Python >= 3.11 needed for the agent registry)"
|
|
195
195
|
install_skills "$SKILLS" # ~/.agents/skills: Amp, OpenCode and Codex read it
|
|
196
196
|
install_commands "${OC_CMDS[0]}" opencode-commands # one folder only: OpenCode reads both, two = listed twice
|
|
197
|
-
rm -f "${OC_CMDS[1]}/orch-plan.md" "${OC_CMDS[1]}/orch-run.md"
|
|
197
|
+
rm -f "${OC_CMDS[1]}/orch-plan.md" "${OC_CMDS[1]}/orch-run.md" "${OC_CMDS[1]}/orch-explain.md"
|
|
198
198
|
fi
|
|
199
199
|
|
|
200
200
|
# clean up files from pre-repo kit versions
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Explain a concept, codebase flow, bug fix or architecture change simply: plain words, a parts table, an ASCII flow and why it matters"
|
|
3
|
+
---
|
|
4
|
+
# Simple & Visual Explanation Playbook
|
|
5
|
+
|
|
6
|
+
Whenever explaining a concept, feature, bug fix, or system flow, use this 4-part structure:
|
|
7
|
+
|
|
8
|
+
1. **Plain-English Summary:** 2–3 short bullets using a simple everyday analogy. No heavy jargon.
|
|
9
|
+
2. **Key Parts Involved:** A small table of the components/steps, what each does, and a concrete example.
|
|
10
|
+
3. **Visual Flow:** A compact ASCII flowchart (under 65 chars wide so it fits narrow terminal panes) showing the flow or "Before vs. Now".
|
|
11
|
+
4. **Why It Matters:** A 3-row table summarizing the main takeaway, edge case, or benefit.
|
|
12
|
+
|
|
13
|
+
## Rules
|
|
14
|
+
- Keep sentences short and scannable.
|
|
15
|
+
- Use one consistent example (like `User 1`, `Session S1`, `Turn T1`) across all 4 sections.
|
|
16
|
+
|
|
17
|
+
What to explain: $ARGUMENTS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "herdr-orchestra",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0",
|
|
4
4
|
"description": "Orchestrate AI coding agents (Claude Code, Codex, OpenCode, Amp, Pi) as one team: a lead plans, coders build, a reviewer checks, you get one PR. Runs in Herdr panes, or in one Pi window with subagents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"pi": {
|
|
56
56
|
"skills": [
|
|
57
57
|
"./pi/skills/orch-plan",
|
|
58
|
-
"./skills/orch-run"
|
|
58
|
+
"./skills/orch-run",
|
|
59
|
+
"./skills/orch-explain"
|
|
59
60
|
],
|
|
60
61
|
"extensions": [
|
|
61
62
|
"./extensions/orch-mode.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-explain
|
|
3
|
+
description: Explain any concept, codebase flow, bug fix, or architecture change in a simple, visual, and jargon-free way. Use when the user asks to explain something simply or asks "how does X work".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Simple & Visual Explanation Playbook
|
|
7
|
+
|
|
8
|
+
Whenever explaining a concept, feature, bug fix, or system flow, use this 4-part structure:
|
|
9
|
+
|
|
10
|
+
1. **Plain-English Summary:** 2–3 short bullets using a simple everyday analogy. No heavy jargon.
|
|
11
|
+
2. **Key Parts Involved:** A small table of the components/steps, what each does, and a concrete example.
|
|
12
|
+
3. **Visual Flow:** A compact ASCII flowchart (under 65 chars wide so it fits narrow terminal panes) showing the flow or "Before vs. Now".
|
|
13
|
+
4. **Why It Matters:** A 3-row table summarizing the main takeaway, edge case, or benefit.
|
|
14
|
+
|
|
15
|
+
## Rules
|
|
16
|
+
- Keep sentences short and scannable.
|
|
17
|
+
- Use one consistent example (like `User 1`, `Session S1`, `Turn T1`) across all 4 sections.
|