@azure-id/orc 1.8.2 → 1.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/README-id.md +69 -51
  3. package/README.md +62 -45
  4. package/bin/cli.js +76 -16
  5. package/bin/verify-contracts.js +163 -62
  6. package/bin/verify-package.js +15 -1
  7. package/mock-run/orc-quick.md +141 -113
  8. package/package.json +1 -1
  9. package/templates/agents/MODEL-MAPPING.md +15 -5
  10. package/templates/agents/orc-executor-haiku-4-5.md +17 -0
  11. package/templates/agents/orc-executor-opus-4-7-high.md +17 -0
  12. package/templates/agents/orc-executor-opus-4-7-med.md +17 -0
  13. package/templates/agents/orc-executor-opus-4-8-high.md +17 -0
  14. package/templates/agents/orc-executor-opus-5-high.md +17 -0
  15. package/templates/agents/orc-executor-opus-5-low.md +17 -0
  16. package/templates/agents/orc-executor-opus-5-med.md +17 -0
  17. package/templates/agents/orc-executor-sonnet-4-6-high.md +17 -0
  18. package/templates/agents/orc-executor-sonnet-4-6-med.md +17 -0
  19. package/templates/agents/orc-executor-sonnet-5-high.md +17 -0
  20. package/templates/agents/orc-planner-mini-opus-5-med.md +75 -69
  21. package/templates/agents/orc-planner-mini-sonnet-5-high.md +73 -67
  22. package/templates/agents/orc-recon-opus-5-low.md +99 -0
  23. package/templates/agents/orc-recon-sonnet-4-6-med.md +99 -0
  24. package/templates/commands/orc-mini.md +10 -12
  25. package/templates/commands/orc-quick.md +20 -33
  26. package/templates/hooks/orc-trace.js +476 -471
  27. package/templates/skills/_shared/phases/rules.md +172 -159
  28. package/templates/skills/_shared/phases/trace.md +2 -1
  29. package/templates/skills/_shared/phases/wiki-consult.md +9 -5
  30. package/templates/skills/_shared/return-validation.md +22 -0
  31. package/templates/skills/context-combiner/SKILL.md +13 -13
  32. package/templates/skills/orc/subskills/orc-execution/core.md +171 -159
  33. package/templates/skills/orc-mini/SKILL.md +148 -136
  34. package/templates/skills/orc-mini/examples/mini-run-mock.md +64 -50
  35. package/templates/skills/orc-mini/references/complexity.md +105 -0
  36. package/templates/skills/orc-quick/README.md +495 -423
  37. package/templates/skills/orc-quick/SKILL.md +157 -211
  38. package/templates/skills/orc-quick/references/context-doc.md +145 -114
  39. package/templates/skills/orc-quick/references/defect.md +101 -0
  40. package/templates/skills/orc-quick/references/dispatch-gate.md +55 -24
  41. package/templates/skills/orc-quick/references/gh-mode.md +148 -127
  42. package/templates/skills/orc-quick/references/look.md +107 -0
@@ -1,33 +1,20 @@
1
- ---
2
- description: Quick lane for almost anything — look, ask once, dispatch. Always asks which agent. Saves every request as a numbered entry in orc-quick/<slug>/quick-context.md
3
- ---
4
-
5
- Use the **orc-quick** skill. It is standalone — not part of the `/orc` pipeline,
6
- and no config key can change how it dispatches.
7
-
8
- Three steps per request, one user turn:
9
-
10
- 1. **LOOK** (silent) — check the wiki and code-pattern if they exist (never a
11
- blocker), find the files, read the PR comments if this is PR work, and note
12
- anything the user already decided.
13
- 2. **ASK** (one turn) — up to 3 grounded questions *plus* the dispatch gate in
14
- the same turn. **The gate is hard: always ask which agent to dispatch.**
15
- Code work offers `orc-executor-sonnet-4-6-med` or `orc-executor-opus-5-low`;
16
- read-only work offers an ad-hoc model + effort.
17
- 3. **DO** — dispatch, check the return, run build/tests if they exist, write the
18
- numbered entry to `orc-quick/<slug>/quick-context.md`, then offer tests /
19
- review / commit.
20
-
21
- Not only for code: a quick context dig, a defect hunt, a dependency bump, or
22
- fixing PR review comments all run the same way. A request that turns out too big
23
- gets an **offer** of `/orc-mini` — never a forced fallback.
24
-
25
- No smoke gate. A red build starts a repair loop (2 rounds reuse the executor,
26
- round 3 asks again, then it asks what to do). Red tests stop the commit offer but
27
- never loop. No test suite means no check at all.
28
-
29
- `gh` is read + push only — never a comment, never a resolve, never a merge.
30
-
31
- Ask for a new request any time and it becomes entry 2, 3, 4 … in the same doc.
32
-
33
- Request (or `pr <n>`, `thread=<name>`): $ARGUMENTS
1
+ ---
2
+ description: Quick lane — look, ask once (questions + which agent), do. One numbered entry per request
3
+ ---
4
+
5
+ Use the **orc-quick** skill. Three steps per request, one user turn:
6
+
7
+ 1. **LOOK** (silent) — the graph first, then the files; PR comments if it is PR work.
8
+ 2. **ASK** (one turn) — up to 3 grounded questions **plus** the dispatch gate. It
9
+ always asks which agent. Nothing runs until you answer.
10
+ 3. **DO** — dispatch, check the return, run the affected tests and then the
11
+ suite, write the numbered entry, then offer tests / review / commit.
12
+
13
+ A **defect** is reproduced RED before it is fixed, and both runs are shown. A
14
+ gate line may carry `→ suggested` with its reason — a recommendation, never a
15
+ default.
16
+
17
+ Too big → an **offer** of `/orc-mini`. `gh` is read + push only. Another request
18
+ becomes entry 2, 3, 4 … in the same doc.
19
+
20
+ Request (or `pr <n>`, `thread=<name>`): $ARGUMENTS