@azure-id/orc 1.4.1 → 1.5.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 (47) hide show
  1. package/CHANGELOG.md +3154 -2907
  2. package/README-id.md +39 -2
  3. package/README.md +647 -631
  4. package/bin/cli.js +42495 -36866
  5. package/bin/mockrun-catalog.js +4 -0
  6. package/bin/verify-contracts.js +4475 -4410
  7. package/bin/verify-package.js +21 -2
  8. package/bin/webui/api.js +1388 -1283
  9. package/bin/webui/app.html +9 -0
  10. package/bin/webui/css/04-motion.css +18 -0
  11. package/bin/webui/css/06-responsive.css +17 -1
  12. package/bin/webui/css/panels/hookui.css +220 -41
  13. package/bin/webui/css/panels/test.css +132 -0
  14. package/bin/webui/fixtures/index.js +23 -1
  15. package/bin/webui/fixtures/test.js +547 -0
  16. package/bin/webui/i18n/en/common.json +1 -0
  17. package/bin/webui/i18n/en/hookui.json +17 -3
  18. package/bin/webui/i18n/en/nav.json +1 -0
  19. package/bin/webui/i18n/en/overview.json +4 -0
  20. package/bin/webui/i18n/en/test.json +141 -0
  21. package/bin/webui/i18n/en/tour.json +1 -1
  22. package/bin/webui/i18n/id/common.json +1 -0
  23. package/bin/webui/i18n/id/hookui.json +17 -3
  24. package/bin/webui/i18n/id/nav.json +1 -0
  25. package/bin/webui/i18n/id/overview.json +4 -0
  26. package/bin/webui/i18n/id/test.json +141 -0
  27. package/bin/webui/i18n/id/tour.json +1 -1
  28. package/bin/webui/js/01-i18n.js +1 -0
  29. package/bin/webui/js/panels/challenge.js +8 -3
  30. package/bin/webui/js/panels/hookui.js +586 -208
  31. package/bin/webui/js/panels/overview.js +10 -0
  32. package/bin/webui/js/panels/test.js +733 -0
  33. package/bin/webui/serve.js +572 -557
  34. package/mock-run/orc-test.md +327 -0
  35. package/package.json +1 -1
  36. package/templates/agents/MODEL-MAPPING.md +2 -0
  37. package/templates/agents/orc-test-designer-opus-5-high.md +158 -0
  38. package/templates/agents/orc-test-interpreter-opus-5-low.md +130 -0
  39. package/templates/commands/orc-test.md +66 -0
  40. package/templates/hooks/README.md +8 -1
  41. package/templates/hooks/orc-statusline.js +15 -4
  42. package/templates/hooks/orc-subagent-line.js +5 -2
  43. package/templates/skills/_shared/extra-dispatch.md +1346 -1337
  44. package/templates/skills/_shared/live-target.md +188 -0
  45. package/templates/skills/_shared/phases/trace.md +2 -2
  46. package/templates/skills/_shared/wait.md +241 -240
  47. package/templates/skills/orc-test/SKILL.md +233 -0
@@ -52,6 +52,7 @@ const required = [
52
52
  "bin/webui/css/panels/challenge.css",
53
53
  "bin/webui/css/panels/docs.css",
54
54
  "bin/webui/css/panels/extra.css",
55
+ "bin/webui/css/panels/test.css",
55
56
  "bin/webui/css/panels/experiment.css",
56
57
  // The client modules (v0.48.1). The <script> order in app.html is the load
57
58
  // order and the numeric prefix is that order; 99-boot.js must be last.
@@ -82,6 +83,7 @@ const required = [
82
83
  "bin/webui/js/panels/challenge.js",
83
84
  "bin/webui/js/panels/docs.js",
84
85
  "bin/webui/js/panels/extra.js",
86
+ "bin/webui/js/panels/test.js",
85
87
  "bin/webui/js/90-tour.js",
86
88
  "bin/webui/js/91-shortcuts.js",
87
89
  "bin/webui/js/99-boot.js",
@@ -106,6 +108,7 @@ const required = [
106
108
  "bin/webui/fixtures/crosslink.js",
107
109
  "bin/webui/fixtures/mockrun.js",
108
110
  "bin/webui/fixtures/extra.js",
111
+ "bin/webui/fixtures/test.js",
109
112
  // The string tables (v0.43.6). Named here for the same reason: English is the
110
113
  // FALLBACK table every other language falls back to, so a publish that drops
111
114
  // it renders raw dotted keys on every panel, in every language.
@@ -135,6 +138,7 @@ const required = [
135
138
  "bin/webui/i18n/en/challenge.json",
136
139
  "bin/webui/i18n/en/docs.json",
137
140
  "bin/webui/i18n/en/extra.json",
141
+ "bin/webui/i18n/en/test.json",
138
142
  "bin/webui/i18n/en/experiment.json",
139
143
  "bin/webui/i18n/en/tour.json",
140
144
  "bin/webui/i18n/id/common.json",
@@ -159,6 +163,7 @@ const required = [
159
163
  "bin/webui/i18n/id/challenge.json",
160
164
  "bin/webui/i18n/id/docs.json",
161
165
  "bin/webui/i18n/id/extra.json",
166
+ "bin/webui/i18n/id/test.json",
162
167
  "bin/webui/i18n/id/experiment.json",
163
168
  "bin/webui/i18n/id/tour.json",
164
169
  // The mocked runs (v0.46.x): the catalogue module plus the folder it reads.
@@ -449,6 +454,15 @@ const required = [
449
454
  // lint. Both are already Opus 5, so `opus5_only` adds no twin for either.
450
455
  "templates/agents/orc-doc-writer-opus-5-med.md",
451
456
  "templates/agents/orc-doc-checker-opus-5-low.md",
457
+ // v1.5.0 - /orc-test's two agents, and they are two INSTRUMENTS rather than
458
+ // two tiers of one. The designer is `high` because the cheap answer to
459
+ // "design some test cases" is the list the CLI already derived for free; the
460
+ // interpreter is `low` because a harder-thinking interpreter reasons its way
461
+ // to why a leaked stack trace is probably fine in staging, which is exactly
462
+ // the gap it exists to find. Nothing may ever upgrade the interpreter. Both
463
+ // are claude-opus-5, so `opus5_only` adds NO pair and the floor moves by two.
464
+ "templates/agents/orc-test-designer-opus-5-high.md",
465
+ "templates/agents/orc-test-interpreter-opus-5-low.md",
452
466
  // v1.2.1 — the status line explained for the person reading it, in
453
467
  // Simplified Technical English. It ships INTO .claude/hooks/ next to the hook
454
468
  // it describes, because that is where somebody looking at a segment they do
@@ -538,8 +552,13 @@ const agentCount = walkCount(path.join(ROOT, "templates/agents"), ".md");
538
552
  // capability from a lane. Fable 5 survives as a SESSION model (the effort guard
539
553
  // and the statusline still clear it at medium) — that is a different question,
540
554
  // and this wave does not touch it.
541
- if (skillCount < 38) missing.push(`templates/skills (expected >=38 SKILL.md, found ${skillCount})`);
542
- if (agentCount < 46) missing.push(`templates/agents (expected >=46 .md, found ${agentCount})`);
555
+ // v1.5.0: +1 skill (orc-test) and +2 agents - the designer and the interpreter.
556
+ // The lane's recon (T2's `unresolved[]`, T4's flow trace) is dispatched AD-HOC
557
+ // by model+effort and earns no agent, the v0.38.0/v0.45.0 precedent, and that
558
+ // limit is stated in the skill: no `SPAWN` line, so `/orc-retro` cannot
559
+ // aggregate it.
560
+ if (skillCount < 39) missing.push(`templates/skills (expected >=39 SKILL.md, found ${skillCount})`);
561
+ if (agentCount < 48) missing.push(`templates/agents (expected >=48 .md, found ${agentCount})`);
543
562
 
544
563
  // B4 — encoding/mojibake guard. The OneDrive corruption rule becomes a gate:
545
564
  // scan every shipped text file for the U+FFFD replacement char (invalid UTF-8