herdr-orchestra 6.48.5 → 6.51.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 +49 -0
- package/README.md +2 -0
- package/VERSION +1 -1
- package/bin/__pycache__/orchcpython-314.pyc +0 -0
- package/bin/orch +995 -35
- package/package.json +1 -1
- package/playbooks/onboard.md +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes. Versions follow [semantic versioning](https://semver.org).
|
|
4
4
|
|
|
5
|
+
## [6.51.0] - 2026-12-04
|
|
6
|
+
|
|
7
|
+
`/orch-onboard` finds a project's real components, whatever their folder names, and says what each does.
|
|
8
|
+
|
|
9
|
+
- **Components, not folder names:** before, onboard only knew parts named `frontend`, `backend`, `web`, `api` (or under `apps/`, `services/`). A repo with `frontend`, `core`, `worker`, `retriever` and `docpipe` was treated as one app. Now a folder is a component when it has its own `package.json` / `pyproject.toml` / `go.mod`, a Dockerfile, a docker-compose service built from it, or at least 5 code files. Services nested deeper (`platform/services/auth`) are found too. Helper, docs and data folders (`scripts`, `docs`, `postgres` with only SQL) are left out, and at most 8 are offered (deployed ones first). You still tick which ones to write.
|
|
10
|
+
- **One app stays one app:** when the repo root has its own manifest (a `package.json` with dependencies, a `pyproject.toml` ...), its folders (`src/`, `lib/`, `server/`, Django apps) are that app, not components. Such a folder counts only when the app starts it on its own (a start script, a Procfile line, `__main__.py`) or two components import it.
|
|
11
|
+
- **What each does, from its code:** what it imports (Celery: background jobs, Qdrant: search and retrieval, pdfplumber: document processing) and which components import it. Example: `core: core/; shared code, used by retriever, worker`. Relative imports, tsconfig aliases (`@/core`), package names (`@acme/ui`) and Go modules are followed to the folder they point at, so an import of the component's own `src/core` is not a link to `core/`. A link found only by name, or by a dynamic import (`import("../core")`, `importlib.import_module`), is said as a guess: `maybe uses core`.
|
|
12
|
+
|
|
13
|
+
Tokens: nothing any agent reads in a run changes. `orch lead onboard`, read once per project, grows by 40 characters in an empty repo; in a repo with components, each suggested profile carries a short "what it does".
|
|
14
|
+
|
|
15
|
+
## [6.50.0] - 2026-12-04
|
|
16
|
+
|
|
17
|
+
No-cost testing: a project can tell every coder that tests never spend money on outside services, and orch makes its own checks run without the paid keys.
|
|
18
|
+
|
|
19
|
+
- **`## all` profile:** a profile named `all` goes into every coder's task, whatever the milestone's profile (`Profile: none` too, `orch fix` follow-ups and Pi subagent mode included), and every review checks it. `Profile: all` on a milestone is an error, since it already reaches everyone.
|
|
20
|
+
- **Onboard offers it** with four short rules: tests never call a paid outside service (AI, payments, SMS, email) in any kind of test; mock the backend too, since a Playwright mock alone still lets the backend call the real API; a missing mock fails the test; a live test runs only after the developer says so. A UI part's profile (or `all` in a one-app repo) gets one Playwright line: a chat message gets a mocked AI reply.
|
|
21
|
+
- **`Hide keys:`** Example: `Hide keys: OPENAI_API_KEY, GEMINI_API_KEY`. Every check orch runs (the coder's check, the merge check, `orch check`, `orch finish`) goes without those keys, so a forgotten mock fails instead of spending money. The check line coders are told to run hides them too: `env -u GEMINI_API_KEY -u OPENAI_API_KEY sh -c '<check>'`. Onboard fills the list from the repo's packages and the names in `.env.example` (never `.env`, never a value).
|
|
22
|
+
|
|
23
|
+
Tokens: without a profiles file nothing any agent reads changes; wake-ups, `orch lead plan` and `orch lead run` are byte-identical. A coder task gets about 460 characters when `## all` exists, and its check line about 25 more per hidden key. `orch lead onboard`, read once per project, grows by 636 characters (the `all` suggestion).
|
|
24
|
+
|
|
25
|
+
## [6.49.0] - 2026-12-03
|
|
26
|
+
|
|
27
|
+
Agent profiles (beta): each project can now keep its own specialists in `.orchestrate/profiles.md`. This file stays on your machine and is never committed. A profile says which folders it owns, the house rules for that part of the repo, its skills and its check. When the lead writes `Profile: web` on a milestone, that coder gets the web profile's role, folders, rules, skills and check, and none of the backend rules. A project without the file works exactly as before.
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
## web
|
|
31
|
+
Role: senior frontend engineer with a designer's eye
|
|
32
|
+
Owns: apps/web/
|
|
33
|
+
Check: cd apps/web && pnpm test
|
|
34
|
+
Skills: frontend-design, ~/.claude/skills/react-patterns
|
|
35
|
+
Rules:
|
|
36
|
+
- New screens go in apps/web/src/features/<feature>/, like the others
|
|
37
|
+
Review: keyboard access
|
|
38
|
+
|
|
39
|
+
## reviewer
|
|
40
|
+
Rules:
|
|
41
|
+
- Every new API route has a test that calls it
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
- **What the milestone says comes first.** Its own `Role:`, `Skills:` and `Side:` win, then the profile, then the plan's `Check command`. `Profile: none`, or no line, means no profile.
|
|
45
|
+
- **Skills from outside the repo:** a personal skill (`~/.claude/skills/react-patterns`) or a plugin skill (`plugin:<plugin>:<skill>`). When the coder's tool reads that folder by itself, the task names the skill. When it doesn't (a Codex coder and a Claude skill), the task gives the file to open.
|
|
46
|
+
- **The `reviewer` profile** goes into every review by itself (normal mode and Pi subagent mode), through the reviewer the run already has. No new agent. A coder profile's `Review:` points are added to that milestone's review.
|
|
47
|
+
- **`orch sync`** stops on an unknown profile. It warns about a folder that is gone, a skill that isn't there, `Likely files` outside the profile's folders, an unknown line, a profile over 1,200 characters, a rule that `AGENTS.md`, `CLAUDE.md` or `coding-standards.md` already has, and a rule two profiles share (that one belongs in `AGENTS.md`). orch never edits `AGENTS.md`.
|
|
48
|
+
- **Kept across follow-ups and away from git:** `orch fix` keeps the milestone's `Profile:`, so the follow-up gets the same rules, folders, check and review points. orch hides `.orchestrate/` from git as soon as it reads or suggests profiles, and `orch onboard done` refuses any path under `.orchestrate/`, so `profiles.md` is never committed or pushed.
|
|
49
|
+
- **Safe paths and skills:** an absolute `Owns:` path or one with `..` stops the plan with a clear error (it crashed before). A glob like `apps/*/` works, and a folder with a space goes in backticks. Each review names the files the milestone changed outside its profile's folders. A personal or plugin skill that does orch's job (like `using-git-worktrees`) gets the same warning as a repo skill and is never handed to a coder. A plugin skill comes from the installed plugin (`installed_plugins.json`, else the newest cached version), never a marketplace copy; Claude is told it has it (as `design:ui`) only when the plugin is turned on.
|
|
50
|
+
- **`/orch-onboard`** offers only the profiles your repo's folders call for: one per part when there are two or more (`apps/web` and `apps/api`), a database, tests or infra profile when the repo has those folders, and always `reviewer`. You tick which ones to write. A repo with one app is offered only `reviewer`. It also points at an `AGENTS.md` line that is about one part only, so you can move it yourself.
|
|
51
|
+
|
|
52
|
+
Tokens: wake-ups, `orch lead run` and the quick and full plan parts are unchanged. Without a profiles file, nothing any agent reads changes. With a file, `orch lead plan` prints one short AGENT PROFILES block (about 360 characters for 2 profiles plus `reviewer`), and the lead writes `Profile: web` instead of a long `Role:` and `Skills:` line. A coder brief with a profile is about 200 characters longer than one with the lead's own role line: those are the house rules. A review task is about 300 characters longer when a `reviewer` profile exists. `orch lead onboard`, read once per project, grew by about 860 characters, because it now explains how to offer profiles.
|
|
53
|
+
|
|
5
54
|
## [6.48.5] - 2026-12-03
|
|
6
55
|
|
|
7
56
|
`orch team up` now puts the lead in the `team` tab too. Before, the coders and the reviewer opened in the `team` tab and the lead stayed alone in its own tab, so you could not watch the lead and its team at the same time. Now the lead's pane moves into the `team` tab, top left, and the team fills the rest. The lead keeps running: only its place changes, nothing is restarted or closed. Its pane is at least as big as any other (2 agents: the lead on top across the whole width, the 2 below; 3 agents: a 2×2 grid). A big team still spills into `team 2`, without the lead. `orch team tidy` does the same for panes that are already open.
|
package/README.md
CHANGED
|
@@ -237,6 +237,8 @@ The first `/orch-plan` in a project checks what the project has for its agents:
|
|
|
237
237
|
|
|
238
238
|
Skip it once and orch won't ask again in that project. `/orch-onboard` runs it by hand. In a run, each milestone gets a `Skills:` line and the coder's task lists those skills. Skills that do orch's job (their own worktree, merging, helper agents) are named as "don't use in this task". Details: [Project setup](https://herdr-orchestra.vercel.app/docs/project-setup/).
|
|
239
239
|
|
|
240
|
+
**Agent profiles (beta):** `.orchestrate/profiles.md` (only on your machine) holds this project's specialists, e.g. `web` and `api`: the folders each owns, its house rules, skills (also `~/...` personal ones) and check. A milestone with `Profile: web` gives its coder only that profile's rules; what the milestone says itself wins. A `reviewer` profile goes into every review. `/orch-onboard` offers only the profiles your repo's folders call for. No file, no change. Details: [Agent profiles](https://herdr-orchestra.vercel.app/docs/project-setup/#agent-profiles-beta).
|
|
241
|
+
|
|
240
242
|
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 steps and rules) or `orch lead plan full` (steps 3 to 10). `orch lead run` prints only the start at go, and during a run only the rules, the developer's part and the steps for the open events; on a wake-up, `orch events` prints the rules (in short after the first time) and the steps for those events. News (a milestone landed) waits for the lead's next real wake-up, and the lead's chat is compacted once after go.
|
|
241
243
|
|
|
242
244
|
### Agent registry
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.51.0
|
|
Binary file
|