@azure-id/orc 1.4.1 โ†’ 1.4.2

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/README.md CHANGED
@@ -1,631 +1,647 @@
1
- <div align="center">
2
-
3
- # ๐Ÿ‹ ORC
4
-
5
- **An orchestrator skill constellation for [Claude Code](https://claude.com/claude-code).**
6
-
7
- *Intake โ†’ analyze โ†’ plan โ†’ score โ†’ parallel subagents โ†’ review โ†’ verify โ†’ ship.*
8
-
9
- ![npm](https://img.shields.io/npm/v/%40azure-id%2Forc?style=for-the-badge&color=cb3837&logo=npm)
10
- ![Version](https://img.shields.io/badge/version-1.2.0-blue.svg?style=for-the-badge)
11
- ![License](https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge)
12
- ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg?style=for-the-badge)
13
- ![Claude Code](https://img.shields.io/badge/Claude_Code-Skills-purple.svg?style=for-the-badge)
14
- ![Dependencies](https://img.shields.io/badge/dependencies-zero-lightgrey.svg?style=for-the-badge)
15
- ![GitHub stars](https://img.shields.io/github/stars/azure-id/orc?style=for-the-badge&color=yellow)
16
-
17
- **Latest: v1.4.1** ยท updated 2026-09-05 ยท [full changelog](CHANGELOG.md)
18
-
19
- **On npm: [`@azure-id/orc`](https://www.npmjs.com/package/@azure-id/orc)** โ€” `npm i -g @azure-id/orc`
20
-
21
- **๐Ÿ‡ฎ๐Ÿ‡ฉ [Baca dalam Bahasa Indonesia](README-id.md)**
22
-
23
- </div>
24
-
25
- ---
26
-
27
- > [!CAUTION]
28
- > **Upgrading from a version before v0.56.0? Do this once.**
29
- >
30
- > The package moved from the unscoped `orc` to **`@azure-id/orc`**. Both declare
31
- > the same `orc` command, and npm will not hand that command to the new package
32
- > while the old one still holds it โ€” so **every** install source fails with the
33
- > same error, and `orc upgrade` cannot fix itself:
34
- >
35
- > ```text
36
- > npm error code EEXIST
37
- > npm error File exists: C:\Users\you\AppData\Roaming\npm\orc
38
- > ```
39
- >
40
- > Run these two lines once. Nothing in your `.claude/` is touched, and your
41
- > `orc.config.yaml` survives:
42
- >
43
- > ```bash
44
- > npm uninstall -g orc # release the `orc` command from the old package
45
- > npm i -g @azure-id/orc # install the current one
46
- > orc update # re-apply into this project (add --global for ~/.claude)
47
- > ```
48
- >
49
- > **From v0.56.0 onward `orc upgrade` handles this for you** โ€” it removes the old
50
- > package first, then installs, and says so while it does it. `orc doctor` also
51
- > reports the old package by name if it is still there.
52
- >
53
- > Do **not** reach for `npm i -g -f`. `--force` overwrites the command file and
54
- > leaves the superseded package installed underneath, owning nothing and never
55
- > updated again.
56
-
57
- ---
58
-
59
- > [!IMPORTANT]
60
- > **`orc-open` is released โ€” ORC for non-Claude agents.**
61
- > A provider-agnostic port of the pipeline:
62
- > **[github.com/azure-id/orc-open](https://github.com/azure-id/orc-open)**. Use it
63
- > if you run a different coding agent. This repository stays Claude Codeโ€“native.
64
-
65
- ---
66
-
67
- ## What ORC is
68
-
69
- You give ORC a feature โ€” or a requirements document. It works out what you
70
- meant, plans the work, sends each task to the **cheapest model that can still do
71
- it**, runs the tasks that do not collide **at the same time**, reviews the
72
- result, verifies it against a definition of done you signed off, and ships it.
73
-
74
- It writes its state to disk as it goes, so a long run survives a pause, a token
75
- limit, or a brand new chat session.
76
-
77
- **ORC is not a program that runs.** It is a set of markdown **skills**, **slash
78
- commands** and **subagent definitions** that Claude Code reads and follows. This
79
- zero-dependency npm package copies those files into your `.claude/` folder.
80
-
81
- ```text
82
- โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ you own scope + sign-off โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
83
- feature / doc โ”€โ”€โ–ถ intake โ”€โ–ถ analyze โ”€โ–ถ plan โ”€โ–ถ score โ”€โ–ถ โ‡‰ parallel waves โ‡‰ โ”€โ–ถ review โ”€โ–ถ verify โ”€โ–ถ ship
84
- (grounded) (per task) (cheapest capable model) (checkpointed to disk)
85
- ```
86
-
87
- ---
88
-
89
- ## ๐Ÿ‘€ See it run before you run it
90
-
91
- Every lane is written out as a **mocked run**: what you type, what ORC prints
92
- back, and the files that land on disk. Nothing was executed to make them โ€” they
93
- exist so you never have to spend tokens to find out what a command does.
94
-
95
- ### **โ–ถ [Start here: `mock-run/INDEX.md`](mock-run/INDEX.md)**
96
-
97
- Also available without leaving your machine:
98
-
99
- ```bash
100
- orc mock-run list # every walkthrough, in reading order
101
- orc mock-run show orc-pact # read one
102
- orc ui # โ–ธ Mocked Skill Use โ€” the same docs, searchable
103
- ```
104
-
105
- ---
106
-
107
- ## Why it works this way
108
-
109
- A single agent handed a real feature fails the same ways every time: it silently
110
- picks one reading of your request, runs the most expensive model on everything,
111
- forgets decisions when the context compacts, says "done" against a definition
112
- nobody wrote, cites code that does not exist, and leaves nothing to inspect.
113
-
114
- Those are **process problems** โ€” the ones teams solved with roles, reviews and
115
- written agreements. ORC writes that discipline down as skills:
116
-
117
- - **Coordinating and doing are different jobs.** The orchestrator never
118
- implements. Even a one-line change goes to a subagent, which keeps its own
119
- context lean for the whole run.
120
- - **Every task is scored, and the score picks the model.** You see the table
121
- before anything starts, and the agents are named and model-pinned, so what ran
122
- is a fact you can check.
123
- - **"Done" is written before the work starts.** Intake produces a signed-off
124
- spec whose definition of done becomes the final verification.
125
- - **Nothing is trusted, everything is attested.** `file:line` quotes, verbatim
126
- build output, anchored findings โ€” and the orchestrator spot-checks them, so a
127
- made-up citation bounces instead of riding into a task.
128
- - **Disk beats memory.** Eager checkpoints turn every pause into a clean resume,
129
- including in a fresh session.
130
- - **Rigor is a dial.** The same spine runs as `/orc-mini` (one subagent), `/orc`
131
- (real features), and `/orc-ultra` (advisor plus judgment gates).
132
- - **It learns.** Code patterns make executors write like your codebase, the wiki
133
- sharpens every future plan, and traces feed `/orc-retro`, which recalibrates
134
- the scoring from real runs.
135
-
136
- ---
137
-
138
- ## Quick start
139
-
140
- ORC is on npm as **[`@azure-id/orc`](https://www.npmjs.com/package/@azure-id/orc)**.
141
-
142
- ```bash
143
- npm i -g @azure-id/orc # install
144
- npm i -g @azure-id/orc@latest # update to the newest release
145
- ```
146
-
147
- <details>
148
- <summary>Install straight from GitHub instead</summary>
149
-
150
- <br>
151
-
152
- ```bash
153
- npm i -g https://github.com/azure-id/orc/archive/refs/heads/main.tar.gz
154
- ```
155
-
156
- </details>
157
-
158
- Then, inside a project:
159
-
160
- ```bash
161
- orc init # install into ./.claude (this project)
162
- orc init --global # install into ~/.claude (all projects)
163
- orc onboarding # the whole walkthrough in the terminal โ€” no GitHub needed
164
- orc config # view or change settings (zero model tokens)
165
- orc ui # the local control panel
166
- orc --help # every command
167
- ```
168
-
169
- After installing:
170
-
171
- 1. Paste your team's PR template into `skills/orc/subskills/orc-pr/pr.md`.
172
- 2. Add `.claude/orc/run/` to your project `.gitignore`.
173
- 3. Run **`/agents`** to confirm your Claude Code accepts the agent model ids.
174
- 4. **Run your main session on Opus 5.** A subagent can never use a better model
175
- than your session. This is the most common cause of "it used the wrong
176
- model" โ€” see [model selection](guides/model-selection.md).
177
- 5. If a `/command` does not appear, your Claude Code may read commands from a
178
- different folder โ€” move the files in `commands/` there.
179
-
180
- <details>
181
- <summary><b>Staying up to date</b></summary>
182
-
183
- <br>
184
-
185
- `orc update` re-copies the files already in this package. It never uses the
186
- network. **`orc upgrade` is the one that pulls a new version**: it fetches the
187
- newest package first, then applies it. Your `.claude/orc.config.yaml` survives
188
- both.
189
-
190
- ```bash
191
- orc version # what you have, and whether something newer exists
192
- orc changelog # what you would GET by upgrading
193
- orc upgrade # fetch the latest, then update this project
194
- orc upgrade --global # the same for ~/.claude
195
- orc upgrade --from @azure-id/orc # explicitly from npm
196
- orc upgrade --from github:azure-id/orc # a fork, or any npm spec
197
- ```
198
-
199
- Or update the package yourself and re-apply it:
200
-
201
- ```bash
202
- npm i -g @azure-id/orc@latest
203
- orc update
204
- ```
205
-
206
- The update check reads the source over HTTPS, is cached for 24 hours, and fails
207
- silently when you are offline. Turn it off with `ORC_NO_UPDATE_CHECK=1`.
208
-
209
- You do not have to run a command to hear about it: the same notice appears
210
- inside Claude Code through ORC's hooks, at **zero model tokens** โ€” hooks are
211
- scripts Claude Code runs, not model turns.
212
-
213
- `orc upgrade` tries the npm registry first, then a plain tarball, then the
214
- GitHub spec โ€” and it remembers which one worked. If the old unscoped `orc`
215
- package is still installed, it removes that first (announced), because npm
216
- cannot give the `orc` command to `@azure-id/orc` while another package owns it.
217
- See the caution at the top of this README for the one-time manual version.
218
-
219
- </details>
220
-
221
- > **"ORC cannot see my wiki"?** Run **`orc wiki sync`**, not a new scan. Docs
222
- > without a manifest are *unregistered*, not missing โ€” common when a scan stopped
223
- > at one of `/orc-wiki`'s pauses. Sync rebuilds the index from the docs you
224
- > already have, for free.
225
-
226
- > **"What does ORC actually know about my project?"** `orc wiki docs` lists every
227
- > registered doc, `orc wiki coverage` says how much of your code is written about
228
- > at all, and `orc pattern show <lang>` prints the conventions that go into every
229
- > agent that writes code here. All free, all read-only โ€”
230
- > **[`guides/knowledge-reads.md`](guides/knowledge-reads.md)**.
231
-
232
- ---
233
- ## Terminal Hook
234
- ORC have terminal hook to see: Context Window %, 5 Hour usage %, Weekly usage % and others you might see
235
-
236
- <img width="725" height="96" alt="image" src="https://github.com/user-attachments/assets/6a649c87-81ea-4fd9-9d0b-6bb4b97fe9cd" />
237
-
238
- <br>
239
-
240
- ---
241
-
242
- ## The lanes
243
-
244
- > [!TIP]
245
- > They chain naturally: **`/orc-brainstorm` โ†’ `/orc-grill` โ†’ `/orc-analyze` โ†’
246
- > `/orc-plan` โ†’ `/orc-route` โ†’ `/orc`**. You can start anywhere.
247
-
248
- ### Build something
249
-
250
- | Command | What it does | Mocked run |
251
- |---|---|---|
252
- | **`/orc`** | The full pipeline: intake โ†’ plan โ†’ scored parallel waves โ†’ review โ†’ verify โ†’ ship. Checkpoints eagerly; resumes in a fresh session. | [see it](mock-run/orc.md) |
253
- | **`/orc-ultra`** | The same, plus an Opus 5 **xhigh** advisor and three judgment gates. Deep analysis, patterns, tests and security forced on. Costly by design. | [see it](mock-run/orc-ultra.md) |
254
- | **`/orc-mini`** | One Sonnet 5 executor, a build + test smoke gate, ship. Skips full review and verify. Switches to the full flow mid-run on request. | [see it](templates/skills/orc-mini/examples/mini-run-mock.md) |
255
- | **`/orc-fast`** | The fastest lane. Needs a fresh wiki **and** a cached code pattern; then it skips the analyst and planner entirely. A missing prerequisite falls back to `/orc-mini` โ€” the chat never stops. | [see it](mock-run/orc-fast.md) |
256
- | **`/orc-quick`** | Ask for anything: a fix, a question, a defect hunt, a dependency bump, PR comments. Look โ†’ ask once โ†’ do. **It always asks which agent to dispatch**, and no setting can change that. | [see it](mock-run/orc-quick.md) |
257
- | **`/orc-wait`** | Wall-clock pause without losing the run. You see the window is nearly full, type `/orc-wait 30`, and ORC hands the run back to disk, waits in detached hops that **cost zero tokens**, and picks up where it stopped. Three modes decide how much finishes first: `safe` ยท `soft` (forces the checkpoint) ยท `hard` (fastest, can lose an in-flight return). `/orc-wait block <reason>` tells it not to stop you at all. | โ€” |
258
- | **`/orc-diy`** | Your own lane, composed in the terminal with `orc diy` and compiled. Unconfigured or stale โ†’ it refuses and offers plain `/orc`. | [see it](mock-run/orc-diy.md) |
259
-
260
- ### Work out what to build
261
-
262
- | Command | What it does | Mocked run |
263
- |---|---|---|
264
- | **`/orc-brainstorm`** | You do not have the idea yet. It generates candidates against named thinking lenses with **no criticism while generating**, clusters them into a few real directions, stress-tests each, then recommends one and **waits โ€” it never picks for you**. Every menu ends with your own slot. | [see it](mock-run/orc-brainstorm.md) |
265
- | **`/orc-grill`** | You have one idea and it is still vague. It asks rounds of questions, **looks facts up itself** instead of making you recite your own codebase, and never answers its own question. Ends when *you* say the idea matches what you meant. | [see it](mock-run/orc-grill.md) |
266
- | **`/orc-analyze`** | A document or a request โ†’ a scope-bounded, code-grounded spec. Every claim carries `file:line` evidence or becomes a question. Deep mode adds parallel scouts. | [see it](templates/skills/orc-analyze/examples/analyze-mock.md) |
267
- | **`/orc-plan`** | A request or a spec โ†’ a real task plan: grounded files, dependencies, facets, and a test disposition per task. | [see it](mock-run/orc-plan.md) |
268
- | **`/orc-doc`** | Writes the long document โ€” a PRD, a TSD, a cross-team agreement, a status report or a runbook โ€” as portable Markdown that imports cleanly into Notion, Obsidian, Docs, Coda, Craft and GitHub. **ORC never reads the document body**: each section is its own file under `sections/`, each writer owns exactly one of them, each checker reads one bounded part, and `document.md` is a build artifact rebuilt for free. Every wave is a stop you can walk away from, and it resumes months later without you explaining anything twice. | [see it](mock-run/orc-doc.md) |
269
- | **`/orc-route`** | You have a plan โ€” which lane should build it? It names one lane, the runners-up with what each costs you, and any lane that is impossible with the condition blocking it. **It refuses to route a sentence**, because that would be guessing. | [see it](mock-run/orc-route.md) |
270
- | **`/orc-explain`** | "Wait, what?" It says the last message again: the point first, then the background it assumed, then every ORC-only word defined in your project's terms. | [see it](mock-run/orc-explain.md) |
271
- | **`/orc-poly`** | One change across two or more repos, without drift. Peer source is read-only; it freezes the shared boundary into a contract and writes one plan per repo. It never builds. | [see it](templates/skills/orc-poly/examples/poly-run-mock.md) |
272
-
273
- ### Teach ORC your project
274
-
275
- | Command | What it does | Mocked run |
276
- |---|---|---|
277
- | **`/orc-wiki`** | Scans your codebase into a persistent `wiki/`, evidence-anchored, and points `CLAUDE.md` at it. Freshness is computed on read, never stored. Expensive and opt-in โ€” it always warns first. | [see it](templates/skills/orc-wiki/examples/wiki-run-mock.md) |
278
- | **`/orc-pattern`** | Learns your real conventions per language, so executors write code that matches your codebase. Your conventions win; security and correctness invariants always carry through. | [see it](mock-run/orc-pattern.md) |
279
- | **`/orc-learn`** | Onboarding docs for a human, one feature at a time, `file:line`-anchored. Local and git-ignored. | [see it](templates/skills/orc-learn/examples/learn-run-mock.md) |
280
- | **`/orc-claude`** | Builds or refreshes this repo's `CLAUDE.md` from verified facts. Zero questions; your own content is never trimmed. | [see it](templates/skills/orc-claude/examples/claude-run-mock.md) |
281
- | **`/orc-export`** | Compiles the wiki, patterns, `PACT.md` and boundary cards into a portable `AGENTS.md` โ€” derived, fingerprinted, `--check`able. So ORC is not a trap. | [see it](mock-run/orc-export.md) |
282
-
283
- ### Check what happened
284
-
285
- | Command | What it does | Mocked run |
286
- |---|---|---|
287
- | **`/orc-challenge`** | Grades a **finished** artifact โ€” a TSD, a PRD, an ADR, an API contract, a README, a module โ€” against a goal **you** state, then **stops and makes you fix it in a different session**. ORC judges, you fix, ORC re-judges: **it never fixes what it judged**, because a session that just wrote the fix would grade its own homework. **And it never guesses what "good" means here.** | [see it](mock-run/orc-challenge.md) |
288
- | **`/orc-pact`** | The promises your project makes, and which are in doubt right now. Four states, all **computed on read**: HOLDING ยท DRIFTED ยท **UNCHECKABLE** (the honest state โ€” never a failure) ยท BROKEN. It never invents a promise and never retires one for you. | [see it](mock-run/orc-pact.md) |
289
- | **`/orc-boundary`** | What ORC should **not** try here, and exactly what would change that. EXECUTE ยท ESCALATE ยท REFUSE, per area. **A REFUSE always names what would make it a yes.** It gates ORC's own dispatch, never your instructions. | [see it](mock-run/orc-boundary.md) |
290
- | **`/orc-verify`** | Verifies only your git-modified changes: build, tests, diff sanity, findings on a P0โ€“P3 ladder. Read-only. | [see it](templates/skills/orc-verify/examples/verify-mock.md) |
291
- | **`/orc-aftermath`** | Did what we shipped hold up? Graded from the repository's own future: churn, reverts, deleted tests, broken promises. **Churn is a signal, never a verdict**, and it never names a person. | [see it](mock-run/orc-aftermath.md) |
292
- | **`/orc-budget`** | What a run costs, in the unit you are billed in. A **token vector** โ€” fresh input, cache write, cache read, output, never blended โ€” shown four ways: tokens, dollars, percent of your 5-hour window, and context risk. Needs a plan, not a sentence. | [see it](mock-run/orc-budget.md) |
293
- | **`/orc-retro`** | Mines the behavior traces into a calibration report and files it upstream as a PR. | [see it](templates/skills/orc-retro/examples/retro-mock.md) |
294
-
295
- ### Ship and hand over
296
-
297
- | Command | What it does | Mocked run |
298
- |---|---|---|
299
- | **`/orc-pr-setup`** | Decides where a big change gets cut into stacked pull requests: ordered layers, each with a purpose, a file list and a measured budget. It stops and asks at every uncertain seam, and never touches git. | [see it](mock-run/orc-pr-setup.md) |
300
- | **`/orc-pr-driver`** | Executes that plan: a branch per layer, a **mandatory green gate at each layer's own base**, `gh stack submit`, then restack and bottom-up merge. | [see it](mock-run/orc-pr-setup.md) |
301
- | **`/orc-handoff`** | For someone who does not read code. The grade comes from **whether a cheap check exists**, not from the file type. It shows the undo command *before* it writes, and never touches a red file. | [see it](mock-run/orc-handoff.md) |
302
-
303
- ---
304
-
305
- ## Documents that go somewhere
306
-
307
- `/orc-doc` writes the long document โ€” and Markdown is the deliverable because of
308
- where a Markdown file can actually go:
309
-
310
- | Target | Imports `.md`? |
311
- |---|---|
312
- | Notion ยท Obsidian ยท Google Docs ยท Coda ยท Craft ยท Apple Notes ยท GitHub | **natively** |
313
- | Docusaurus ยท Hugo ยท Jekyll ยท MkDocs | yes โ€” and these *want* YAML front matter |
314
- | Confluence | not natively. Plan for a marketplace importer app |
315
- | Microsoft OneNote | **no**. Convert to Word or PDF first |
316
-
317
- That table is load-bearing, not decoration: `orc doc lint --target` enforces the
318
- real limit of the place your document is going. Notion has three heading levels,
319
- so an H4 is an **error** there. A hard-wrapped paragraph is an error everywhere,
320
- because a wrap at 80 columns becomes a line break inside a Notion paragraph.
321
-
322
- Five base templates โ€” `prd` ยท `tsd` ยท `collaboration` ยท `report` ยท `workflow` โ€”
323
- each a floor rather than a cage. `orc doc templates` prints them; bring your own
324
- and its headings become the outline.
325
-
326
- **Full detail: [`guides/documents.md`](guides/documents.md).**
327
-
328
- ---
329
-
330
- ## `orc ui` โ€” the control panel
331
-
332
- A local web page for **everything in ORC that is not ai**. One boundary defines
333
- it: **it never runs a lane, never spawns `claude`, never calls a model API.**
334
- Everything it shows or writes is deterministic CLI output.
335
-
336
- <img width="1870" height="1269" alt="image" src="https://github.com/user-attachments/assets/207fe821-9aa6-430e-bdcc-968340cc687f" />
337
-
338
- > ๐ŸŽฌ **Video walkthrough โ€” not recorded yet.** The player belongs here; see
339
- > [`mock-run/media/README.md`](mock-run/media/README.md) for the two files to
340
- > drop in. Until then, the panel is written out screen by screen in
341
- > [`mock-run/orc-ui.md`](mock-run/orc-ui.md).
342
-
343
- ```bash
344
- orc ui # binds 127.0.0.1:9921 and opens a browser
345
- orc ui --port 9930 # an explicit port never auto-walks โ€” a collision is an error
346
- orc ui --no-open # print the URL only
347
- orc ui --idle 0 # disable the idle shutdown (default: 30 minutes)
348
- orc ui --fixtures # canned data, no project needed
349
- orc ui --stop # shut this project's server down
350
- ```
351
-
352
- | Panel | Shows | Can change |
353
- |---|---|---|
354
- | Overview | version, `orc doctor`, wiki tier, what is waiting โ€” plus **Worth doing**, one list of everything wanting a decision | โ€” |
355
- | Settings | every config key, grouped, each with its own control | staged edits, applied together |
356
- | Runs | run history as an accordion: a row opens in place into state-of-play, resume prompt, checkpoint, trace tail | โ€” |
357
- | **Knowledge** | **five tabs**: the wiki's tier AND its **contents** (every doc, what it covers, how often it is read), coverage against your tracked files, the code patterns with the conflicts the codifier flagged, repair memory with a **preview-then-apply** prune, and a read-only view of the linked repos | `wiki sync`, `gotcha prune` |
358
- | Stats | lane and agent usage, downgrades, and a **Cost** tab whose stacked bar keeps cache-read visible | โ€” |
359
- | Flow | the compiled DIY flow, its gate, and a stepper of every phase in order | `diy set`, `diy compile`, presets |
360
- | Crosslink | **Design** (the boundary as a graph) and **Settings** (each peer's freshness) | `crosslink add` / `remove` |
361
- | Promises ยท Boundary ยท Self-serve | the pact ledger, the boundary cards, and the surfaces a non-developer can change | `pact check`, `pact sync`, `handoff set` |
362
- | **Docs** | every `/orc-doc` document as a **ribbon** โ€” one block per section, sized by its length and coloured by its state โ€” plus the section files with their sub-parts, the wave strip, the lint health card and the wave preview | `doc compile` ยท `doc migrate` |
363
- | **Extra** | **six tabs**: the connection setup, the local tools and their state, the band ladder and the six positions, spending per profile per band, and **Recovery** โ€” every dispatch that never reported back, with what it left on disk | `extra add` / `ping` / `route` / `role` |
364
- | **Challenge** | every `/orc-challenge` cycle: the frozen goal, the council roster and what each lens raised, the findings with their dispositions, and whether the pass is computed or blocked | `challenge record` ยท `accept` ยท `rebut` |
365
- | **Mocked Skill Use** | every mocked run that ships with ORC, grouped and searchable, with a reading pane | โ€” |
366
- | Learn | the `orc onboarding` walkthrough, one section at a time | โ€” |
367
- | Experiment | every lane with a copy button; opens a Claude session in a terminal | โ€” |
368
- | Maintenance | `update`, `update --prune`, `doctor --fix`, `upgrade` | preview, then apply |
369
-
370
- - **The panel *is* the CLI.** It reads `orc <command> --json` and shells the real
371
- command for every write, so it cannot drift from the CLI โ€” it has no second
372
- copy of anything.
373
- - **A free action gets a button. A paid action gets a command to copy.**
374
- - **Nothing is automatic**, and a prune names **every** file. A count is not
375
- consent.
376
- - **Treated as a write surface**: loopback only, a fresh token per launch, a
377
- Host-header check against DNS rebinding, no CORS, POST-only mutations.
378
- - **Project-scoped, no `--global` config.** If a global install exists that could
379
- win skill resolution, every page carries a banner. It reports that; it never
380
- edits global config.
381
- - **English and Indonesian.** Only the panel's own words are translated โ€” config
382
- keys, model ids, paths, commands and doctor messages are printed exactly as the
383
- CLI wrote them, because a translated config key is a key that does not exist.
384
-
385
- Zero dependencies, zero build step: `node:http`, plain JavaScript, hand-written
386
- CSS.
387
-
388
- ---
389
-
390
- ## Running part of the ladder somewhere else โ€” `orc extra`
391
-
392
- **The orchestrator is always Claude.** What Extra changes is *who executes a
393
- slice*: a score band you own, or one of six named positions, can point at
394
- DeepSeek, GLM, Kimi, MiniMax, Qwen, a local Ollama, or a coding CLI you already
395
- have signed in (opencode, codex). Everything downstream โ€” the smoke gate, the TDD
396
- gate, the reviewer, the worktree-delta check โ€” is engine-blind, so nothing learns
397
- the work was foreign.
398
-
399
- **Off by default, and it cannot be armed until something has actually answered.**
400
-
401
- ```bash
402
- orc extra providers # the shipped, dated catalog โ€” providers, never models
403
- orc extra tools # local CLIs: absent ยท outdated ยท unauthenticated ยท ready
404
- orc extra add ds --provider deepseek --engine api --env-key DEEPSEEK_API_KEY
405
- orc extra ping ds # the connection gate: a ladder, and nothing reads stronger than it is
406
- orc extra models ds --test <id> # a LISTED model can still be dead upstream
407
- orc extra health ds --model <id> # โ€ฆand a working model is not one that FINISHES
408
- orc extra route set 40-55 ds/deepseek-chat # a score band
409
- orc extra role set doc-writer ds/deepseek-chat # or a named position
410
- orc config set extra_enabled true
411
- ```
412
-
413
- - **The catalog ships providers and never models.** A shipped model id is wrong
414
- within a quarter and wrong *silently* โ€” a 404 mid-wave. `orc extra ping` reads
415
- the live list and caches it; nothing invents a name. Same for price: a cost
416
- figure ORC did not price itself is never printed, it reads as an em dash.
417
- - **Every armed run says so before wave 1.** Routing work off Claude silently is
418
- the failure this whole subsystem is shaped around.
419
- - **Two hard hold-backs**: a task with a cited `risk[]` (auth, money, migration,
420
- security, concurrency, data-integrity) stays on Claude unless you say
421
- otherwise, and a `/orc-boundary` REFUSE area holds even in `warn`.
422
- - **A foreign return is foreign input.** It is the only foreign class that edits
423
- your worktree, so what it says it did is a *claim*, checked against the tree.
424
- - **Your key never reaches a command line.** It travels on stdin into an
425
- encrypted vault, or it stays in an environment variable, or the tool holds its
426
- own โ€” and the passphrase is a **deadline**, not a second factor.
427
- - **Six positions for the lanes that pin an agent instead of scoring a task**:
428
- `quick-executor` ยท `fast-executor` ยท `doc-writer` ยท `doc-checker` ยท
429
- `wiki-scanner-deep` ยท `wiki-scanner-light`. A position with no row keeps its
430
- slot and reads as its pinned Claude agent โ€” "I left the checker on Claude on
431
- purpose" and "there is no checker" must never look the same.
432
-
433
- **When a foreign worker fails, it is a position and not a blank page.** ORC
434
- journals the baseline *before the first byte leaves the machine*, so a worker cut
435
- off mid-write is **reconciled and resumed** โ€” never re-dispatched from scratch
436
- onto a file that is already two-thirds written.
437
-
438
- - **`extra_stall_s` (default 180)** stops a worker that has produced nothing for
439
- that long. It is reset by observable progress โ€” the worker's stream, its
440
- stderr, or a declared file that changed on disk โ€” so it never fires on one that
441
- is merely slow. `stalled` is retryable, which is what makes the resume ORC's
442
- own spelling of typing `continue`.
443
- - **`extra_fallback_agent` (default `band`)** decides who picks the task up.
444
- `ask` stops and puts the menu to you; any installed agent name pins one. It
445
- changes *who*, never the score, the declared files or the acceptance criteria.
446
- - **Every dispatch writes its own spend record**, so a cost report never depends
447
- on a run remembering to narrate what it spent. `orc extra stats` merges the
448
- spend log, the traces and saved returns, and always says how many rows came
449
- from each.
450
-
451
- **`/orc-quick` is inert here** and announces it โ€” that lane asks which agent
452
- before every dispatch, so no setting may pre-answer it. **`/orc-challenge` never
453
- routes foreign**: swapping a lens for a different model does not make the lane
454
- cheaper, it changes what is being measured.
455
-
456
- **The whole subsystem, with every command and key:
457
- [guides/extra-models.md](guides/extra-models.md).**
458
-
459
- ---
460
-
461
- ## How the model is picked
462
-
463
- Each task is scored 0โ€“100 by **arithmetic, not judgement**: the planner reports
464
- facets (breadth, novelty, logic, test surface, cited risk, uncertainty) and a
465
- fixed published formula turns them into a number. A cited risk forces a floor of
466
- 70. The score maps through a published table to a **named, model-pinned agent**,
467
- so what ran is inspectable rather than requested in prose.
468
-
469
- > **The rule that catches everyone:** a subagent's model can never be higher than
470
- > your main session's. Run your session on Opus 5.
471
-
472
- **Full detail โ€” the bands, `opus5_only`, and the tier guard `orc init` installs:
473
- [guides/model-selection.md](guides/model-selection.md).**
474
-
475
- ---
476
-
477
- ## Configuration
478
-
479
- Settings are edited with the **`orc config` CLI** โ€” deterministic terminal I/O,
480
- so it costs **zero model tokens**.
481
-
482
- ```bash
483
- orc config # interactive menu
484
- orc config list # the effective config
485
- orc config recommend # read this repo, suggest ONE profile, with reasons
486
- orc config profile paranoid
487
- ```
488
-
489
- Your changes live in `.claude/orc.config.yaml`, which `orc update` never
490
- clobbers. `orc ui` โ–ธ Settings edits the same keys through the same validators.
491
-
492
- **Every key, with defaults and what each one does:
493
- [guides/configuration.md](guides/configuration.md).**
494
-
495
- ---
496
-
497
- ## What is inside the package
498
-
499
- ```
500
- templates/
501
- โ”œโ”€โ”€ skills/ 31 skill folders, 38 SKILL.md files (a lane may ship subskills) โ€”
502
- โ”‚ the lanes above, plus the ones with no command of their own:
503
- โ”‚ context-combiner, orc-advisor, orc-judge, orc-analyze-mini,
504
- โ”‚ and _shared/ (cross-lane contract prose)
505
- โ”œโ”€โ”€ commands/ 29 slash commands
506
- โ”œโ”€โ”€ hooks/ effort guard (PreToolUse) ยท statusline warning ยท behavior trace
507
- โ””โ”€โ”€ agents/ 51 model-pinned subagents + MODEL-MAPPING.md
508
- bin/cli.js installer, config editor, flow composer, run-state reader, and
509
- the deterministic half of every lane. Every read speaks --json
510
- bin/webui/ `orc ui` โ€” the local control panel: css/ + js/ + i18n/<lang>/ +
511
- fixtures/, one file per layer and per panel. Zero deps, no build step
512
- bin/mockrun-catalog.js the mocked-run catalogue (derived from the files on disk)
513
- mock-run/ the mocked runs themselves โ€” start at INDEX.md
514
- guides/ configuration ยท model selection ยท documents ยท knowledge reads ยท other AI models
515
- ```
516
-
517
- The `orc` skill is a thin **spine**: it loads a reference or a subskill only when
518
- that phase actually runs, so a small task never pays for the machinery of a big
519
- one.
520
-
521
- ---
522
-
523
- ## Longer guides
524
-
525
- Some lanes ship a full how-to next to the skill, in plain language:
526
-
527
- | Guide | Read it when |
528
- |---|---|
529
- | [ORC-QUICK](templates/skills/orc-quick/README.md) | you want the quick lane's complete worked runs |
530
- | [ORC-DIY](templates/skills/orc-diy/README.md) | you want to compose your own lane |
531
- | [ORC-WIKI](templates/skills/orc-wiki/README.md) | you want the knowledge base, and cross-repo crosslink setup |
532
- | [ORC-PR-SETUP](templates/skills/orc-pr-setup/README.md) | you want to split a big change into stacked PRs |
533
- | [ORC-PR-DRIVER](templates/skills/orc-pr-driver/README.md) | you have a stack plan and want to build, submit and merge it |
534
- | [Configuration](guides/configuration.md) ยท [Model selection](guides/model-selection.md) | you want every key, or the scoring bands |
535
- | [Other AI models](guides/extra-models.md) | you want part of the ladder to run somewhere other than Claude |
536
-
537
- Every skill also ships its own `SKILL.md` and `references/`. The guides above are
538
- the human-facing versions.
539
-
540
- ---
541
-
542
- ## Eval status
543
-
544
- The constellation is graded **end to end**, not file by file: one executable
545
- spec per lane, run against a sandboxed Express fixture, graded from on-disk
546
- evidence โ€” behavior traces, run folders and artifacts.
547
-
548
- The last full round was the **30-eval suite against the v0.34.0 payload**: 25
549
- filled result files and 38 trace files, with 5 evals never graded and 2 only
550
- partly graded โ€” all named in the report. Everything found there was either fixed
551
- in a later release or is still listed. Read it as a record of that round, not as
552
- a current audit: [EVAL-REPORT.md](EVAL-REPORT.md).
553
-
554
- ---
555
-
556
- ## Design principles
557
-
558
- - **Never implement at the top.** The orchestrator coordinates; scored subagents
559
- do the work.
560
- - **Bound the scope before parallelizing.** A misunderstanding is cheap to fix
561
- before five agents build on it.
562
- - **Disk over memory.** Every pause is a clean resume point.
563
- - **Pinned, inspectable models.** Named agents, models in frontmatter.
564
- - **Your codebase wins.** Learned patterns defer to your project; only security
565
- and correctness invariants are non-negotiable.
566
- - **Additive knowledge.** The wiki improves planning when it is there and costs
567
- nothing when it is not.
568
- - **Say what you do not know.** `UNCHECKABLE`, `no card`, `insufficient history`
569
- are real answers. A confident guess is worse than an honest gap.
570
-
571
- ---
572
-
573
- ## Changelog
574
-
575
- **Full history: [CHANGELOG.md](CHANGELOG.md)** โ€” or `orc changelog`, which prints
576
- only what is newer than the version you have.
577
-
578
- ### v1.4.1 - the board you can actually use _(2026-09-05)_
579
-
580
- **Still on the unscoped `orc` package?** Do this once first โ€” your `orc upgrade`
581
- is the pre-v0.56.0 one and cannot install itself. Full detail in the CAUTION at
582
- the top of this file.
583
-
584
- - **Step 1 โ€” release the command from the old package:** `npm uninstall -g orc`
585
- - **Step 2 โ€” install the current package:** `npm i -g @azure-id/orc`
586
- - **Step 3 โ€” re-apply it to your project:** `orc update`
587
-
588
- **Do not use `npm i -g -f`.** Full detail in v0.56.0 below.
589
-
590
- Four defects in `orc ui` โ–ธ **CLI Hook Interface**, and the revamp they asked
591
- for.
592
-
593
- **Adding three parts produced one**, and that was arithmetic rather than a UI
594
- complaint: every `+ line N` button computed its write's position from the
595
- **saved** layout instead of the one being staged, so three adds all carried
596
- position 1 โ€” and `statusline set` at an occupied position is an EDIT by design.
597
- A staged change is now a semantic op against a stable ref, replayed by one
598
- function that produces both the board you see and the writes that make it,
599
- deriving every position at the moment that write runs. The five-slot cap counts
600
- the staged board too, and refuses by name.
601
-
602
- **The colour set wrote one line and read the whole document** โ€” it shelled
603
- `statusline line 1 --theme`, so the button never moved and a third of the bar
604
- changed. New `orc statusline doc [--theme] [--glyphs] [--ansi]
605
- [--align-columns]`, which also clears the per-line overrides that would shadow
606
- the choice. **And the preview had never had colour at all:** `orc ui` serves
607
- under `style-src 'self'`, which blocks a parsed `style` attribute outright, so
608
- every colour was thrown away silently. It goes through CSSOM now.
609
-
610
- The revamp: the board is the **only** place anything is applied (the palette is
611
- a reference now โ€” what each part shows, nothing else) ยท **Add ยท Change ยท Move ยท
612
- Remove** are buttons on the chip, each opening a modal that says what it will do
613
- ยท one part picker with a search box, one click ยท **drag and drop**, marked on the
614
- edge it will land beside, off for real below 600px where a drop gap stops being
615
- a target ยท the separator is a **dropdown of twelve**, published by the CLI ยท and
616
- every part, every control and every colour set now carries the sentence that
617
- says what it is.
618
-
619
- Full detail in [CHANGELOG.md](CHANGELOG.md).
620
-
621
- ---
622
-
623
- ## Requirements
624
-
625
- - **Claude Code** โ€” it reads the skills, commands and agents.
626
- - **Node 18+** โ€” for the installer only. The skills themselves have zero
627
- dependencies.
628
-
629
- ## License
630
-
631
- MIT โ€” the `license` field in `package.json` is the canonical statement.
1
+ <div align="center">
2
+
3
+ # ๐Ÿ‹ ORC
4
+
5
+ **An orchestrator skill constellation for [Claude Code](https://claude.com/claude-code).**
6
+
7
+ *Intake โ†’ analyze โ†’ plan โ†’ score โ†’ parallel subagents โ†’ review โ†’ verify โ†’ ship.*
8
+
9
+ ![npm](https://img.shields.io/npm/v/%40azure-id%2Forc?style=for-the-badge&color=cb3837&logo=npm)
10
+ ![Version](https://img.shields.io/badge/version-1.4.2-blue.svg?style=for-the-badge)
11
+ ![License](https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge)
12
+ ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg?style=for-the-badge)
13
+ ![Claude Code](https://img.shields.io/badge/Claude_Code-Skills-purple.svg?style=for-the-badge)
14
+ ![Dependencies](https://img.shields.io/badge/dependencies-zero-lightgrey.svg?style=for-the-badge)
15
+ ![GitHub stars](https://img.shields.io/github/stars/azure-id/orc?style=for-the-badge&color=yellow)
16
+
17
+ **Latest: v1.4.2** ยท updated 2026-09-05 ยท [full changelog](CHANGELOG.md)
18
+
19
+ **On npm: [`@azure-id/orc`](https://www.npmjs.com/package/@azure-id/orc)** โ€” `npm i -g @azure-id/orc`
20
+
21
+ **๐Ÿ‡ฎ๐Ÿ‡ฉ [Baca dalam Bahasa Indonesia](README-id.md)**
22
+
23
+ </div>
24
+
25
+ ---
26
+
27
+ > [!CAUTION]
28
+ > **Upgrading from a version before v0.56.0? Do this once.**
29
+ >
30
+ > The package moved from the unscoped `orc` to **`@azure-id/orc`**. Both declare
31
+ > the same `orc` command, and npm will not hand that command to the new package
32
+ > while the old one still holds it โ€” so **every** install source fails with the
33
+ > same error, and `orc upgrade` cannot fix itself:
34
+ >
35
+ > ```text
36
+ > npm error code EEXIST
37
+ > npm error File exists: C:\Users\you\AppData\Roaming\npm\orc
38
+ > ```
39
+ >
40
+ > Run these two lines once. Nothing in your `.claude/` is touched, and your
41
+ > `orc.config.yaml` survives:
42
+ >
43
+ > ```bash
44
+ > npm uninstall -g orc # release the `orc` command from the old package
45
+ > npm i -g @azure-id/orc # install the current one
46
+ > orc update # re-apply into this project (add --global for ~/.claude)
47
+ > ```
48
+ >
49
+ > **From v0.56.0 onward `orc upgrade` handles this for you** โ€” it removes the old
50
+ > package first, then installs, and says so while it does it. `orc doctor` also
51
+ > reports the old package by name if it is still there.
52
+ >
53
+ > Do **not** reach for `npm i -g -f`. `--force` overwrites the command file and
54
+ > leaves the superseded package installed underneath, owning nothing and never
55
+ > updated again.
56
+
57
+ ---
58
+
59
+ > [!IMPORTANT]
60
+ > **`orc-open` is released โ€” ORC for non-Claude agents.**
61
+ > A provider-agnostic port of the pipeline:
62
+ > **[github.com/azure-id/orc-open](https://github.com/azure-id/orc-open)**. Use it
63
+ > if you run a different coding agent. This repository stays Claude Codeโ€“native.
64
+
65
+ ---
66
+
67
+ ## What ORC is
68
+
69
+ You give ORC a feature โ€” or a requirements document. It works out what you
70
+ meant, plans the work, sends each task to the **cheapest model that can still do
71
+ it**, runs the tasks that do not collide **at the same time**, reviews the
72
+ result, verifies it against a definition of done you signed off, and ships it.
73
+
74
+ It writes its state to disk as it goes, so a long run survives a pause, a token
75
+ limit, or a brand new chat session.
76
+
77
+ **ORC is not a program that runs.** It is a set of markdown **skills**, **slash
78
+ commands** and **subagent definitions** that Claude Code reads and follows. This
79
+ zero-dependency npm package copies those files into your `.claude/` folder.
80
+
81
+ ```text
82
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ you own scope + sign-off โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
83
+ feature / doc โ”€โ”€โ–ถ intake โ”€โ–ถ analyze โ”€โ–ถ plan โ”€โ–ถ score โ”€โ–ถ โ‡‰ parallel waves โ‡‰ โ”€โ–ถ review โ”€โ–ถ verify โ”€โ–ถ ship
84
+ (grounded) (per task) (cheapest capable model) (checkpointed to disk)
85
+ ```
86
+
87
+ ---
88
+
89
+ ## ๐Ÿ‘€ See it run before you run it
90
+
91
+ Every lane is written out as a **mocked run**: what you type, what ORC prints
92
+ back, and the files that land on disk. Nothing was executed to make them โ€” they
93
+ exist so you never have to spend tokens to find out what a command does.
94
+
95
+ ### **โ–ถ [Start here: `mock-run/INDEX.md`](mock-run/INDEX.md)**
96
+
97
+ Also available without leaving your machine:
98
+
99
+ ```bash
100
+ orc mock-run list # every walkthrough, in reading order
101
+ orc mock-run show orc-pact # read one
102
+ orc ui # โ–ธ Mocked Skill Use โ€” the same docs, searchable
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Why it works this way
108
+
109
+ A single agent handed a real feature fails the same ways every time: it silently
110
+ picks one reading of your request, runs the most expensive model on everything,
111
+ forgets decisions when the context compacts, says "done" against a definition
112
+ nobody wrote, cites code that does not exist, and leaves nothing to inspect.
113
+
114
+ Those are **process problems** โ€” the ones teams solved with roles, reviews and
115
+ written agreements. ORC writes that discipline down as skills:
116
+
117
+ - **Coordinating and doing are different jobs.** The orchestrator never
118
+ implements. Even a one-line change goes to a subagent, which keeps its own
119
+ context lean for the whole run.
120
+ - **Every task is scored, and the score picks the model.** You see the table
121
+ before anything starts, and the agents are named and model-pinned, so what ran
122
+ is a fact you can check.
123
+ - **"Done" is written before the work starts.** Intake produces a signed-off
124
+ spec whose definition of done becomes the final verification.
125
+ - **Nothing is trusted, everything is attested.** `file:line` quotes, verbatim
126
+ build output, anchored findings โ€” and the orchestrator spot-checks them, so a
127
+ made-up citation bounces instead of riding into a task.
128
+ - **Disk beats memory.** Eager checkpoints turn every pause into a clean resume,
129
+ including in a fresh session.
130
+ - **Rigor is a dial.** The same spine runs as `/orc-mini` (one subagent), `/orc`
131
+ (real features), and `/orc-ultra` (advisor plus judgment gates).
132
+ - **It learns.** Code patterns make executors write like your codebase, the wiki
133
+ sharpens every future plan, and traces feed `/orc-retro`, which recalibrates
134
+ the scoring from real runs.
135
+
136
+ ---
137
+
138
+ ## Quick start
139
+
140
+ ORC is on npm as **[`@azure-id/orc`](https://www.npmjs.com/package/@azure-id/orc)**.
141
+
142
+ ```bash
143
+ npm i -g @azure-id/orc # install
144
+ npm i -g @azure-id/orc@latest # update to the newest release
145
+ ```
146
+
147
+ <details>
148
+ <summary>Install straight from GitHub instead</summary>
149
+
150
+ <br>
151
+
152
+ ```bash
153
+ npm i -g https://github.com/azure-id/orc/archive/refs/heads/main.tar.gz
154
+ ```
155
+
156
+ </details>
157
+
158
+ Then, inside a project:
159
+
160
+ ```bash
161
+ orc init # install into ./.claude (this project)
162
+ orc init --global # install into ~/.claude (all projects)
163
+ orc onboarding # the whole walkthrough in the terminal โ€” no GitHub needed
164
+ orc config # view or change settings (zero model tokens)
165
+ orc ui # the local control panel
166
+ orc --help # every command
167
+ ```
168
+
169
+ After installing:
170
+
171
+ 1. Paste your team's PR template into `skills/orc/subskills/orc-pr/pr.md`.
172
+ 2. Add `.claude/orc/run/` to your project `.gitignore`.
173
+ 3. Run **`/agents`** to confirm your Claude Code accepts the agent model ids.
174
+ 4. **Run your main session on Opus 5.** A subagent can never use a better model
175
+ than your session. This is the most common cause of "it used the wrong
176
+ model" โ€” see [model selection](guides/model-selection.md).
177
+ 5. If a `/command` does not appear, your Claude Code may read commands from a
178
+ different folder โ€” move the files in `commands/` there.
179
+
180
+ <details>
181
+ <summary><b>Staying up to date</b></summary>
182
+
183
+ <br>
184
+
185
+ `orc update` re-copies the files already in this package. It never uses the
186
+ network. **`orc upgrade` is the one that pulls a new version**: it fetches the
187
+ newest package first, then applies it. Your `.claude/orc.config.yaml` survives
188
+ both.
189
+
190
+ ```bash
191
+ orc version # what you have, and whether something newer exists
192
+ orc changelog # what you would GET by upgrading
193
+ orc upgrade # fetch the latest, then update this project
194
+ orc upgrade --global # the same for ~/.claude
195
+ orc upgrade --from @azure-id/orc # explicitly from npm
196
+ orc upgrade --from github:azure-id/orc # a fork, or any npm spec
197
+ ```
198
+
199
+ Or update the package yourself and re-apply it:
200
+
201
+ ```bash
202
+ npm i -g @azure-id/orc@latest
203
+ orc update
204
+ ```
205
+
206
+ The update check reads the source over HTTPS, is cached for 24 hours, and fails
207
+ silently when you are offline. Turn it off with `ORC_NO_UPDATE_CHECK=1`.
208
+
209
+ You do not have to run a command to hear about it: the same notice appears
210
+ inside Claude Code through ORC's hooks, at **zero model tokens** โ€” hooks are
211
+ scripts Claude Code runs, not model turns.
212
+
213
+ `orc upgrade` tries the npm registry first, then a plain tarball, then the
214
+ GitHub spec โ€” and it remembers which one worked. If the old unscoped `orc`
215
+ package is still installed, it removes that first (announced), because npm
216
+ cannot give the `orc` command to `@azure-id/orc` while another package owns it.
217
+ See the caution at the top of this README for the one-time manual version.
218
+
219
+ </details>
220
+
221
+ > **"ORC cannot see my wiki"?** Run **`orc wiki sync`**, not a new scan. Docs
222
+ > without a manifest are *unregistered*, not missing โ€” common when a scan stopped
223
+ > at one of `/orc-wiki`'s pauses. Sync rebuilds the index from the docs you
224
+ > already have, for free.
225
+
226
+ > **"What does ORC actually know about my project?"** `orc wiki docs` lists every
227
+ > registered doc, `orc wiki coverage` says how much of your code is written about
228
+ > at all, and `orc pattern show <lang>` prints the conventions that go into every
229
+ > agent that writes code here. All free, all read-only โ€”
230
+ > **[`guides/knowledge-reads.md`](guides/knowledge-reads.md)**.
231
+
232
+ ---
233
+ ## Terminal Hook
234
+ ORC have terminal hook to see: Context Window %, 5 Hour usage %, Weekly usage % and others you might see
235
+
236
+ <img width="725" height="96" alt="image" src="https://github.com/user-attachments/assets/6a649c87-81ea-4fd9-9d0b-6bb4b97fe9cd" />
237
+
238
+ <br>
239
+
240
+ ---
241
+
242
+ ## The lanes
243
+
244
+ > [!TIP]
245
+ > They chain naturally: **`/orc-brainstorm` โ†’ `/orc-grill` โ†’ `/orc-analyze` โ†’
246
+ > `/orc-plan` โ†’ `/orc-route` โ†’ `/orc`**. You can start anywhere.
247
+
248
+ ### Build something
249
+
250
+ | Command | What it does | Mocked run |
251
+ |---|---|---|
252
+ | **`/orc`** | The full pipeline: intake โ†’ plan โ†’ scored parallel waves โ†’ review โ†’ verify โ†’ ship. Checkpoints eagerly; resumes in a fresh session. | [see it](mock-run/orc.md) |
253
+ | **`/orc-ultra`** | The same, plus an Opus 5 **xhigh** advisor and three judgment gates. Deep analysis, patterns, tests and security forced on. Costly by design. | [see it](mock-run/orc-ultra.md) |
254
+ | **`/orc-mini`** | One Sonnet 5 executor, a build + test smoke gate, ship. Skips full review and verify. Switches to the full flow mid-run on request. | [see it](templates/skills/orc-mini/examples/mini-run-mock.md) |
255
+ | **`/orc-fast`** | The fastest lane. Needs a fresh wiki **and** a cached code pattern; then it skips the analyst and planner entirely. A missing prerequisite falls back to `/orc-mini` โ€” the chat never stops. | [see it](mock-run/orc-fast.md) |
256
+ | **`/orc-quick`** | Ask for anything: a fix, a question, a defect hunt, a dependency bump, PR comments. Look โ†’ ask once โ†’ do. **It always asks which agent to dispatch**, and no setting can change that. | [see it](mock-run/orc-quick.md) |
257
+ | **`/orc-wait`** | Wall-clock pause without losing the run. You see the window is nearly full, type `/orc-wait 30`, and ORC hands the run back to disk, waits in detached hops that **cost zero tokens**, and picks up where it stopped. Three modes decide how much finishes first: `safe` ยท `soft` (forces the checkpoint) ยท `hard` (fastest, can lose an in-flight return). `/orc-wait block <reason>` tells it not to stop you at all. | โ€” |
258
+ | **`/orc-diy`** | Your own lane, composed in the terminal with `orc diy` and compiled. Unconfigured or stale โ†’ it refuses and offers plain `/orc`. | [see it](mock-run/orc-diy.md) |
259
+
260
+ ### Work out what to build
261
+
262
+ | Command | What it does | Mocked run |
263
+ |---|---|---|
264
+ | **`/orc-brainstorm`** | You do not have the idea yet. It generates candidates against named thinking lenses with **no criticism while generating**, clusters them into a few real directions, stress-tests each, then recommends one and **waits โ€” it never picks for you**. Every menu ends with your own slot. | [see it](mock-run/orc-brainstorm.md) |
265
+ | **`/orc-grill`** | You have one idea and it is still vague. It asks rounds of questions, **looks facts up itself** instead of making you recite your own codebase, and never answers its own question. Ends when *you* say the idea matches what you meant. | [see it](mock-run/orc-grill.md) |
266
+ | **`/orc-analyze`** | A document or a request โ†’ a scope-bounded, code-grounded spec. Every claim carries `file:line` evidence or becomes a question. Deep mode adds parallel scouts. | [see it](templates/skills/orc-analyze/examples/analyze-mock.md) |
267
+ | **`/orc-plan`** | A request or a spec โ†’ a real task plan: grounded files, dependencies, facets, and a test disposition per task. | [see it](mock-run/orc-plan.md) |
268
+ | **`/orc-doc`** | Writes the long document โ€” a PRD, a TSD, a cross-team agreement, a status report or a runbook โ€” as portable Markdown that imports cleanly into Notion, Obsidian, Docs, Coda, Craft and GitHub. **ORC never reads the document body**: each section is its own file under `sections/`, each writer owns exactly one of them, each checker reads one bounded part, and `document.md` is a build artifact rebuilt for free. Every wave is a stop you can walk away from, and it resumes months later without you explaining anything twice. | [see it](mock-run/orc-doc.md) |
269
+ | **`/orc-route`** | You have a plan โ€” which lane should build it? It names one lane, the runners-up with what each costs you, and any lane that is impossible with the condition blocking it. **It refuses to route a sentence**, because that would be guessing. | [see it](mock-run/orc-route.md) |
270
+ | **`/orc-explain`** | "Wait, what?" It says the last message again: the point first, then the background it assumed, then every ORC-only word defined in your project's terms. | [see it](mock-run/orc-explain.md) |
271
+ | **`/orc-poly`** | One change across two or more repos, without drift. Peer source is read-only; it freezes the shared boundary into a contract and writes one plan per repo. It never builds. | [see it](templates/skills/orc-poly/examples/poly-run-mock.md) |
272
+
273
+ ### Teach ORC your project
274
+
275
+ | Command | What it does | Mocked run |
276
+ |---|---|---|
277
+ | **`/orc-wiki`** | Scans your codebase into a persistent `wiki/`, evidence-anchored, and points `CLAUDE.md` at it. Freshness is computed on read, never stored. Expensive and opt-in โ€” it always warns first. | [see it](templates/skills/orc-wiki/examples/wiki-run-mock.md) |
278
+ | **`/orc-pattern`** | Learns your real conventions per language, so executors write code that matches your codebase. Your conventions win; security and correctness invariants always carry through. | [see it](mock-run/orc-pattern.md) |
279
+ | **`/orc-learn`** | Onboarding docs for a human, one feature at a time, `file:line`-anchored. Local and git-ignored. | [see it](templates/skills/orc-learn/examples/learn-run-mock.md) |
280
+ | **`/orc-claude`** | Builds or refreshes this repo's `CLAUDE.md` from verified facts. Zero questions; your own content is never trimmed. | [see it](templates/skills/orc-claude/examples/claude-run-mock.md) |
281
+ | **`/orc-export`** | Compiles the wiki, patterns, `PACT.md` and boundary cards into a portable `AGENTS.md` โ€” derived, fingerprinted, `--check`able. So ORC is not a trap. | [see it](mock-run/orc-export.md) |
282
+
283
+ ### Check what happened
284
+
285
+ | Command | What it does | Mocked run |
286
+ |---|---|---|
287
+ | **`/orc-challenge`** | Grades a **finished** artifact โ€” a TSD, a PRD, an ADR, an API contract, a README, a module โ€” against a goal **you** state, then **stops and makes you fix it in a different session**. ORC judges, you fix, ORC re-judges: **it never fixes what it judged**, because a session that just wrote the fix would grade its own homework. **And it never guesses what "good" means here.** | [see it](mock-run/orc-challenge.md) |
288
+ | **`/orc-pact`** | The promises your project makes, and which are in doubt right now. Four states, all **computed on read**: HOLDING ยท DRIFTED ยท **UNCHECKABLE** (the honest state โ€” never a failure) ยท BROKEN. It never invents a promise and never retires one for you. | [see it](mock-run/orc-pact.md) |
289
+ | **`/orc-boundary`** | What ORC should **not** try here, and exactly what would change that. EXECUTE ยท ESCALATE ยท REFUSE, per area. **A REFUSE always names what would make it a yes.** It gates ORC's own dispatch, never your instructions. | [see it](mock-run/orc-boundary.md) |
290
+ | **`/orc-verify`** | Verifies only your git-modified changes: build, tests, diff sanity, findings on a P0โ€“P3 ladder. Read-only. | [see it](templates/skills/orc-verify/examples/verify-mock.md) |
291
+ | **`/orc-aftermath`** | Did what we shipped hold up? Graded from the repository's own future: churn, reverts, deleted tests, broken promises. **Churn is a signal, never a verdict**, and it never names a person. | [see it](mock-run/orc-aftermath.md) |
292
+ | **`/orc-budget`** | What a run costs, in the unit you are billed in. A **token vector** โ€” fresh input, cache write, cache read, output, never blended โ€” shown four ways: tokens, dollars, percent of your 5-hour window, and context risk. Needs a plan, not a sentence. | [see it](mock-run/orc-budget.md) |
293
+ | **`/orc-retro`** | Mines the behavior traces into a calibration report and files it upstream as a PR. | [see it](templates/skills/orc-retro/examples/retro-mock.md) |
294
+
295
+ ### Ship and hand over
296
+
297
+ | Command | What it does | Mocked run |
298
+ |---|---|---|
299
+ | **`/orc-pr-setup`** | Decides where a big change gets cut into stacked pull requests: ordered layers, each with a purpose, a file list and a measured budget. It stops and asks at every uncertain seam, and never touches git. | [see it](mock-run/orc-pr-setup.md) |
300
+ | **`/orc-pr-driver`** | Executes that plan: a branch per layer, a **mandatory green gate at each layer's own base**, `gh stack submit`, then restack and bottom-up merge. | [see it](mock-run/orc-pr-setup.md) |
301
+ | **`/orc-handoff`** | For someone who does not read code. The grade comes from **whether a cheap check exists**, not from the file type. It shows the undo command *before* it writes, and never touches a red file. | [see it](mock-run/orc-handoff.md) |
302
+
303
+ ---
304
+
305
+ ## Documents that go somewhere
306
+
307
+ `/orc-doc` writes the long document โ€” and Markdown is the deliverable because of
308
+ where a Markdown file can actually go:
309
+
310
+ | Target | Imports `.md`? |
311
+ |---|---|
312
+ | Notion ยท Obsidian ยท Google Docs ยท Coda ยท Craft ยท Apple Notes ยท GitHub | **natively** |
313
+ | Docusaurus ยท Hugo ยท Jekyll ยท MkDocs | yes โ€” and these *want* YAML front matter |
314
+ | Confluence | not natively. Plan for a marketplace importer app |
315
+ | Microsoft OneNote | **no**. Convert to Word or PDF first |
316
+
317
+ That table is load-bearing, not decoration: `orc doc lint --target` enforces the
318
+ real limit of the place your document is going. Notion has three heading levels,
319
+ so an H4 is an **error** there. A hard-wrapped paragraph is an error everywhere,
320
+ because a wrap at 80 columns becomes a line break inside a Notion paragraph.
321
+
322
+ Five base templates โ€” `prd` ยท `tsd` ยท `collaboration` ยท `report` ยท `workflow` โ€”
323
+ each a floor rather than a cage. `orc doc templates` prints them; bring your own
324
+ and its headings become the outline.
325
+
326
+ **Full detail: [`guides/documents.md`](guides/documents.md).**
327
+
328
+ ---
329
+
330
+ ## `orc ui` โ€” the control panel
331
+
332
+ A local web page for **everything in ORC that is not ai**. One boundary defines
333
+ it: **it never runs a lane, never spawns `claude`, never calls a model API.**
334
+ Everything it shows or writes is deterministic CLI output.
335
+
336
+ <img width="1870" height="1269" alt="image" src="https://github.com/user-attachments/assets/207fe821-9aa6-430e-bdcc-968340cc687f" />
337
+
338
+ > ๐ŸŽฌ **Video walkthrough โ€” not recorded yet.** The player belongs here; see
339
+ > [`mock-run/media/README.md`](mock-run/media/README.md) for the two files to
340
+ > drop in. Until then, the panel is written out screen by screen in
341
+ > [`mock-run/orc-ui.md`](mock-run/orc-ui.md).
342
+
343
+ ```bash
344
+ orc ui # binds 127.0.0.1:9921 and opens a browser
345
+ orc ui --port 9930 # an explicit port never auto-walks โ€” a collision is an error
346
+ orc ui --no-open # print the URL only
347
+ orc ui --idle 0 # disable the idle shutdown (default: 30 minutes)
348
+ orc ui --fixtures # canned data, no project needed
349
+ orc ui --stop # shut this project's server down
350
+ ```
351
+
352
+ | Panel | Shows | Can change |
353
+ |---|---|---|
354
+ | Overview | version, `orc doctor`, wiki tier, what is waiting โ€” plus **Worth doing**, one list of everything wanting a decision | โ€” |
355
+ | Settings | every config key, grouped, each with its own control | staged edits, applied together |
356
+ | Runs | run history as an accordion: a row opens in place into state-of-play, resume prompt, checkpoint, trace tail | โ€” |
357
+ | **Knowledge** | **five tabs**: the wiki's tier AND its **contents** (every doc, what it covers, how often it is read), coverage against your tracked files, the code patterns with the conflicts the codifier flagged, repair memory with a **preview-then-apply** prune, and a read-only view of the linked repos | `wiki sync`, `gotcha prune` |
358
+ | Stats | lane and agent usage, downgrades, and a **Cost** tab whose stacked bar keeps cache-read visible | โ€” |
359
+ | Flow | the compiled DIY flow, its gate, and a stepper of every phase in order | `diy set`, `diy compile`, presets |
360
+ | Crosslink | **Design** (the boundary as a graph) and **Settings** (each peer's freshness) | `crosslink add` / `remove` |
361
+ | Promises ยท Boundary ยท Self-serve | the pact ledger, the boundary cards, and the surfaces a non-developer can change | `pact check`, `pact sync`, `handoff set` |
362
+ | **Docs** | every `/orc-doc` document as a **ribbon** โ€” one block per section, sized by its length and coloured by its state โ€” plus the section files with their sub-parts, the wave strip, the lint health card and the wave preview | `doc compile` ยท `doc migrate` |
363
+ | **Extra** | **six tabs**: the connection setup, the local tools and their state, the band ladder and the six positions, spending per profile per band, and **Recovery** โ€” every dispatch that never reported back, with what it left on disk | `extra add` / `ping` / `route` / `role` |
364
+ | **Challenge** | every `/orc-challenge` cycle: the frozen goal, the council roster and what each lens raised, the findings with their dispositions, and whether the pass is computed or blocked | `challenge record` ยท `accept` ยท `rebut` |
365
+ | **Mocked Skill Use** | every mocked run that ships with ORC, grouped and searchable, with a reading pane | โ€” |
366
+ | Learn | the `orc onboarding` walkthrough, one section at a time | โ€” |
367
+ | Experiment | every lane with a copy button; opens a Claude session in a terminal | โ€” |
368
+ | Maintenance | `update`, `update --prune`, `doctor --fix`, `upgrade` | preview, then apply |
369
+
370
+ - **The panel *is* the CLI.** It reads `orc <command> --json` and shells the real
371
+ command for every write, so it cannot drift from the CLI โ€” it has no second
372
+ copy of anything.
373
+ - **A free action gets a button. A paid action gets a command to copy.**
374
+ - **Nothing is automatic**, and a prune names **every** file. A count is not
375
+ consent.
376
+ - **Treated as a write surface**: loopback only, a fresh token per launch, a
377
+ Host-header check against DNS rebinding, no CORS, POST-only mutations.
378
+ - **Project-scoped, no `--global` config.** If a global install exists that could
379
+ win skill resolution, every page carries a banner. It reports that; it never
380
+ edits global config.
381
+ - **English and Indonesian.** Only the panel's own words are translated โ€” config
382
+ keys, model ids, paths, commands and doctor messages are printed exactly as the
383
+ CLI wrote them, because a translated config key is a key that does not exist.
384
+
385
+ Zero dependencies, zero build step: `node:http`, plain JavaScript, hand-written
386
+ CSS.
387
+
388
+ ---
389
+
390
+ ## Running part of the ladder somewhere else โ€” `orc extra`
391
+
392
+ **The orchestrator is always Claude.** What Extra changes is *who executes a
393
+ slice*: a score band you own, or one of six named positions, can point at
394
+ DeepSeek, GLM, Kimi, MiniMax, Qwen, a local Ollama, or a coding CLI you already
395
+ have signed in (opencode, codex). Everything downstream โ€” the smoke gate, the TDD
396
+ gate, the reviewer, the worktree-delta check โ€” is engine-blind, so nothing learns
397
+ the work was foreign.
398
+
399
+ **Off by default, and it cannot be armed until something has actually answered.**
400
+
401
+ ```bash
402
+ orc extra providers # the shipped, dated catalog โ€” providers, never models
403
+ orc extra tools # local CLIs: absent ยท outdated ยท unauthenticated ยท ready
404
+ orc extra add ds --provider deepseek --engine api --env-key DEEPSEEK_API_KEY
405
+ orc extra ping ds # the connection gate: a ladder, and nothing reads stronger than it is
406
+ orc extra models ds --test <id> # a LISTED model can still be dead upstream
407
+ orc extra health ds --model <id> # โ€ฆand a working model is not one that FINISHES
408
+ orc extra route set 40-55 ds/deepseek-chat # a score band
409
+ orc extra role set doc-writer ds/deepseek-chat # or a named position
410
+ orc config set extra_enabled true
411
+ ```
412
+
413
+ - **The catalog ships providers and never models.** A shipped model id is wrong
414
+ within a quarter and wrong *silently* โ€” a 404 mid-wave. `orc extra ping` reads
415
+ the live list and caches it; nothing invents a name. Same for price: a cost
416
+ figure ORC did not price itself is never printed, it reads as an em dash.
417
+ - **Every armed run says so before wave 1.** Routing work off Claude silently is
418
+ the failure this whole subsystem is shaped around.
419
+ - **Two hard hold-backs**: a task with a cited `risk[]` (auth, money, migration,
420
+ security, concurrency, data-integrity) stays on Claude unless you say
421
+ otherwise, and a `/orc-boundary` REFUSE area holds even in `warn`.
422
+ - **A foreign return is foreign input.** It is the only foreign class that edits
423
+ your worktree, so what it says it did is a *claim*, checked against the tree.
424
+ - **Your key never reaches a command line.** It travels on stdin into an
425
+ encrypted vault, or it stays in an environment variable, or the tool holds its
426
+ own โ€” and the passphrase is a **deadline**, not a second factor.
427
+ - **Six positions for the lanes that pin an agent instead of scoring a task**:
428
+ `quick-executor` ยท `fast-executor` ยท `doc-writer` ยท `doc-checker` ยท
429
+ `wiki-scanner-deep` ยท `wiki-scanner-light`. A position with no row keeps its
430
+ slot and reads as its pinned Claude agent โ€” "I left the checker on Claude on
431
+ purpose" and "there is no checker" must never look the same.
432
+
433
+ **When a foreign worker fails, it is a position and not a blank page.** ORC
434
+ journals the baseline *before the first byte leaves the machine*, so a worker cut
435
+ off mid-write is **reconciled and resumed** โ€” never re-dispatched from scratch
436
+ onto a file that is already two-thirds written.
437
+
438
+ - **`extra_stall_s` (default 180)** stops a worker that has produced nothing for
439
+ that long. It is reset by observable progress โ€” the worker's stream, its
440
+ stderr, or a declared file that changed on disk โ€” so it never fires on one that
441
+ is merely slow. `stalled` is retryable, which is what makes the resume ORC's
442
+ own spelling of typing `continue`.
443
+ - **`extra_fallback_agent` (default `band`)** decides who picks the task up.
444
+ `ask` stops and puts the menu to you; any installed agent name pins one. It
445
+ changes *who*, never the score, the declared files or the acceptance criteria.
446
+ - **Every dispatch writes its own spend record**, so a cost report never depends
447
+ on a run remembering to narrate what it spent. `orc extra stats` merges the
448
+ spend log, the traces and saved returns, and always says how many rows came
449
+ from each.
450
+
451
+ **`/orc-quick` is inert here** and announces it โ€” that lane asks which agent
452
+ before every dispatch, so no setting may pre-answer it. **`/orc-challenge` never
453
+ routes foreign**: swapping a lens for a different model does not make the lane
454
+ cheaper, it changes what is being measured.
455
+
456
+ **The whole subsystem, with every command and key:
457
+ [guides/extra-models.md](guides/extra-models.md).**
458
+
459
+ ---
460
+
461
+ ## How the model is picked
462
+
463
+ Each task is scored 0โ€“100 by **arithmetic, not judgement**: the planner reports
464
+ facets (breadth, novelty, logic, test surface, cited risk, uncertainty) and a
465
+ fixed published formula turns them into a number. A cited risk forces a floor of
466
+ 70. The score maps through a published table to a **named, model-pinned agent**,
467
+ so what ran is inspectable rather than requested in prose.
468
+
469
+ > **The rule that catches everyone:** a subagent's model can never be higher than
470
+ > your main session's. Run your session on Opus 5.
471
+
472
+ **Full detail โ€” the bands, `opus5_only`, and the tier guard `orc init` installs:
473
+ [guides/model-selection.md](guides/model-selection.md).**
474
+
475
+ ---
476
+
477
+ ## Configuration
478
+
479
+ Settings are edited with the **`orc config` CLI** โ€” deterministic terminal I/O,
480
+ so it costs **zero model tokens**.
481
+
482
+ ```bash
483
+ orc config # interactive menu
484
+ orc config list # the effective config
485
+ orc config recommend # read this repo, suggest ONE profile, with reasons
486
+ orc config profile paranoid
487
+ ```
488
+
489
+ Your changes live in `.claude/orc.config.yaml`, which `orc update` never
490
+ clobbers. `orc ui` โ–ธ Settings edits the same keys through the same validators.
491
+
492
+ **Every key, with defaults and what each one does:
493
+ [guides/configuration.md](guides/configuration.md).**
494
+
495
+ ---
496
+
497
+ ## What is inside the package
498
+
499
+ ```
500
+ templates/
501
+ โ”œโ”€โ”€ skills/ 31 skill folders, 38 SKILL.md files (a lane may ship subskills) โ€”
502
+ โ”‚ the lanes above, plus the ones with no command of their own:
503
+ โ”‚ context-combiner, orc-advisor, orc-judge, orc-analyze-mini,
504
+ โ”‚ and _shared/ (cross-lane contract prose)
505
+ โ”œโ”€โ”€ commands/ 29 slash commands
506
+ โ”œโ”€โ”€ hooks/ effort guard (PreToolUse) ยท statusline warning ยท behavior trace
507
+ โ””โ”€โ”€ agents/ 51 model-pinned subagents + MODEL-MAPPING.md
508
+ bin/cli.js installer, config editor, flow composer, run-state reader, and
509
+ the deterministic half of every lane. Every read speaks --json
510
+ bin/webui/ `orc ui` โ€” the local control panel: css/ + js/ + i18n/<lang>/ +
511
+ fixtures/, one file per layer and per panel. Zero deps, no build step
512
+ bin/mockrun-catalog.js the mocked-run catalogue (derived from the files on disk)
513
+ mock-run/ the mocked runs themselves โ€” start at INDEX.md
514
+ guides/ configuration ยท model selection ยท documents ยท knowledge reads ยท other AI models
515
+ ```
516
+
517
+ The `orc` skill is a thin **spine**: it loads a reference or a subskill only when
518
+ that phase actually runs, so a small task never pays for the machinery of a big
519
+ one.
520
+
521
+ ---
522
+
523
+ ## Longer guides
524
+
525
+ Some lanes ship a full how-to next to the skill, in plain language:
526
+
527
+ | Guide | Read it when |
528
+ |---|---|
529
+ | [ORC-QUICK](templates/skills/orc-quick/README.md) | you want the quick lane's complete worked runs |
530
+ | [ORC-DIY](templates/skills/orc-diy/README.md) | you want to compose your own lane |
531
+ | [ORC-WIKI](templates/skills/orc-wiki/README.md) | you want the knowledge base, and cross-repo crosslink setup |
532
+ | [ORC-PR-SETUP](templates/skills/orc-pr-setup/README.md) | you want to split a big change into stacked PRs |
533
+ | [ORC-PR-DRIVER](templates/skills/orc-pr-driver/README.md) | you have a stack plan and want to build, submit and merge it |
534
+ | [Configuration](guides/configuration.md) ยท [Model selection](guides/model-selection.md) | you want every key, or the scoring bands |
535
+ | [Other AI models](guides/extra-models.md) | you want part of the ladder to run somewhere other than Claude |
536
+
537
+ Every skill also ships its own `SKILL.md` and `references/`. The guides above are
538
+ the human-facing versions.
539
+
540
+ ---
541
+
542
+ ## Eval status
543
+
544
+ The constellation is graded **end to end**, not file by file: one executable
545
+ spec per lane, run against a sandboxed Express fixture, graded from on-disk
546
+ evidence โ€” behavior traces, run folders and artifacts.
547
+
548
+ The last full round was the **30-eval suite against the v0.34.0 payload**: 25
549
+ filled result files and 38 trace files, with 5 evals never graded and 2 only
550
+ partly graded โ€” all named in the report. Everything found there was either fixed
551
+ in a later release or is still listed. Read it as a record of that round, not as
552
+ a current audit: [EVAL-REPORT.md](EVAL-REPORT.md).
553
+
554
+ ---
555
+
556
+ ## Design principles
557
+
558
+ - **Never implement at the top.** The orchestrator coordinates; scored subagents
559
+ do the work.
560
+ - **Bound the scope before parallelizing.** A misunderstanding is cheap to fix
561
+ before five agents build on it.
562
+ - **Disk over memory.** Every pause is a clean resume point.
563
+ - **Pinned, inspectable models.** Named agents, models in frontmatter.
564
+ - **Your codebase wins.** Learned patterns defer to your project; only security
565
+ and correctness invariants are non-negotiable.
566
+ - **Additive knowledge.** The wiki improves planning when it is there and costs
567
+ nothing when it is not.
568
+ - **Say what you do not know.** `UNCHECKABLE`, `no card`, `insufficient history`
569
+ are real answers. A confident guess is worse than an honest gap.
570
+
571
+ ---
572
+
573
+ ## Changelog
574
+
575
+ **Full history: [CHANGELOG.md](CHANGELOG.md)** โ€” or `orc changelog`, which prints
576
+ only what is newer than the version you have.
577
+
578
+ ### v1.4.2 - the panel that stops reloading, and the fields you could not read back _(2026-09-05)_
579
+
580
+ **Still on the unscoped `orc` package?** Do this once first - your `orc upgrade`
581
+ is the pre-v0.56.0 one and cannot install itself. Full detail in the CAUTION at
582
+ the top of this file.
583
+
584
+ - **Step 1 - release the command from the old package:** `npm uninstall -g orc`
585
+ - **Step 2 - install the current package:** `npm i -g @azure-id/orc`
586
+ - **Step 3 - re-apply it to your project:** `orc update`
587
+
588
+ **Do not use `npm i -g -f`.** Full detail in v0.56.0 below.
589
+
590
+ Four more defects in `orc ui` โ–ธ **CLI Hook Interface**. Three were the same
591
+ defect wearing three faces.
592
+
593
+ **Staging a change reloaded the whole panel** - every staged op re-entered the
594
+ router, so four endpoints were refetched and everything was rebuilt from a
595
+ skeleton. That made a staged change look like an applied one, and it left the
596
+ open editor showing values from before the change you had just made: you picked
597
+ a shape and nothing moved. Nothing is fetched now until something actually moves
598
+ the disk; a staged op repaints from cache with **zero requests**, keeps your
599
+ scroll position, and the open editor repaints with it - caret and all.
600
+
601
+ **And the fields could not be read back.** `orc statusline show --json` emitted
602
+ twelve of the twenty-four fields a part can carry, so `case`, `prefix`,
603
+ `min_cols`, `precision` and seven more were written to disk correctly and then
604
+ were invisible to the panel that wrote them. Every field ships now, plus
605
+ `authored`, so a control can say **which values are yours** rather than
606
+ inherited. `--json is not a summary`, found again.
607
+
608
+ **Six parts per line, not five.** **The dropdown nobody could read** turned out
609
+ to be a panel with no colours at all: `hookui.css` was written against four CSS tokens that do not
610
+ exist, so every one of those declarations was silently dropped.
611
+
612
+ **The preview is drawn as a terminal now** - a window of the stated width with a
613
+ column ruler - and `orc statusline preview` takes `--theme` and `--glyphs` as a
614
+ **render-only** override, so a new drawer shows the same bar under all four
615
+ colour sets and all seven symbol sets. Picking a colour set from its name is a
616
+ guess; picking it from its picture is a decision.
617
+
618
+ **And the sixth part still reset the bar to the default**, because the cap was in
619
+ three places: the hook re-checks the compiled file with a cheap shape guard of
620
+ its own, and that guard held its own `5` โ€” and counted spacers, which the
621
+ validator never has. The cap now travels on the lock file and the compiler marks
622
+ each structural item, so one cap and one counting rule serve all three readers.
623
+
624
+ **And a name you typed sometimes went nowhere.** Seven of the thirty-five shapes
625
+ draw a name; the other twenty-eight ignore it, which is the design โ€” a bar with a
626
+ word in front of it is a different shape. The Name box was offered on all
627
+ thirty-five anyway. Each renderer now publishes the fields it **uses**, and the
628
+ editor greys out what this shape ignores, keeping the slot and naming the shapes
629
+ that do.
630
+
631
+ **And it still blinked with the network tab empty:** `hkPaint` replaces every
632
+ child, and the stylesheet faded each one in on a stagger. Entrance animations are
633
+ off from the second paint onward.
634
+
635
+ Full detail in [CHANGELOG.md](CHANGELOG.md).
636
+
637
+ ---
638
+
639
+ ## Requirements
640
+
641
+ - **Claude Code** โ€” it reads the skills, commands and agents.
642
+ - **Node 18+** โ€” for the installer only. The skills themselves have zero
643
+ dependencies.
644
+
645
+ ## License
646
+
647
+ MIT โ€” the `license` field in `package.json` is the canonical statement.