@azure-id/orc 1.9.1 → 1.9.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.
Files changed (107) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README-id.md +38 -39
  3. package/README.md +36 -35
  4. package/bin/build-agents.js +109 -109
  5. package/bin/cli.js +35 -33
  6. package/bin/onboarding-content.js +4 -4
  7. package/bin/pricing.json +207 -200
  8. package/bin/verify-contracts.js +2 -2
  9. package/bin/verify-package.js +7 -7
  10. package/bin/webui/css/04-motion.css +162 -152
  11. package/bin/webui/css/panels/knowledge.css +563 -116
  12. package/bin/webui/fixtures/extra.js +2036 -2036
  13. package/bin/webui/fixtures/hookui.js +5 -5
  14. package/bin/webui/fixtures/settings.js +305 -305
  15. package/bin/webui/i18n/en/knowledge.json +117 -2
  16. package/bin/webui/i18n/id/knowledge.json +117 -2
  17. package/bin/webui/js/panels/knowledge.js +552 -7
  18. package/bin/webui/js/panels/overview.js +13 -4
  19. package/mock-run/context-combiner.md +100 -100
  20. package/mock-run/orc-budget.md +534 -534
  21. package/mock-run/orc-challenge-council.md +262 -262
  22. package/mock-run/orc-ultra.md +103 -103
  23. package/package.json +1 -1
  24. package/templates/agents/MODEL-MAPPING.md +43 -43
  25. package/templates/agents/orc-advisor-opus-5-xhigh.md +56 -56
  26. package/templates/agents/orc-analyze-mini-opus-5-med.md +60 -60
  27. package/templates/agents/orc-analyze-mini-sonnet-5-high.md +58 -58
  28. package/templates/agents/orc-challenge-advisor-opus-5-med.md +75 -75
  29. package/templates/agents/orc-challenge-contrarian-opus-5-high.md +110 -110
  30. package/templates/agents/orc-challenge-executor-opus-5-med.md +114 -114
  31. package/templates/agents/orc-challenge-expansionist-opus-5-med.md +112 -112
  32. package/templates/agents/orc-challenge-judge-opus-5-high.md +132 -132
  33. package/templates/agents/orc-challenge-outsider-opus-5-low.md +109 -109
  34. package/templates/agents/orc-challenge-principles-opus-5-high.md +109 -109
  35. package/templates/agents/orc-challenge-reader-opus-5-low.md +90 -90
  36. package/templates/agents/orc-claude-writer-opus-5-med.md +55 -55
  37. package/templates/agents/orc-context-combiner-opus-5-high.md +88 -88
  38. package/templates/agents/orc-doc-checker-opus-5-low.md +108 -108
  39. package/templates/agents/orc-doc-writer-opus-5-med.md +134 -134
  40. package/templates/agents/orc-executor-opus-5-high.md +2 -2
  41. package/templates/agents/orc-executor-opus-5-low.md +2 -2
  42. package/templates/agents/orc-executor-opus-5-med.md +2 -2
  43. package/templates/agents/orc-graph-noter-sonnet-4-6-med.md +1 -1
  44. package/templates/agents/orc-judge-opus-5-xhigh.md +85 -85
  45. package/templates/agents/orc-learn-writer-opus-5-low.md +73 -73
  46. package/templates/agents/orc-pattern-codifier-opus-5-med.md +65 -65
  47. package/templates/agents/orc-planner-mini-opus-5-med.md +4 -4
  48. package/templates/agents/orc-planner-mini-sonnet-5-high.md +1 -1
  49. package/templates/agents/orc-planner-opus-5-med.md +160 -160
  50. package/templates/agents/orc-recon-opus-5-low.md +3 -3
  51. package/templates/agents/orc-retro-opus-5-med.md +3 -3
  52. package/templates/agents/orc-reviewer-opus-5-med.md +60 -60
  53. package/templates/agents/orc-scout-opus-5-low.md +40 -40
  54. package/templates/agents/orc-system-analyst-opus-5-high.md +120 -120
  55. package/templates/agents/orc-test-author-opus-5-med.md +71 -71
  56. package/templates/agents/orc-test-designer-opus-5-high.md +158 -158
  57. package/templates/agents/orc-test-interpreter-opus-5-low.md +130 -130
  58. package/templates/agents/orc-verifier-opus-5-med.md +69 -69
  59. package/templates/agents/orc-wiki-scanner-opus-5-med.md +81 -81
  60. package/templates/commands/orc-ultra.md +17 -17
  61. package/templates/commands/orc-verify.md +11 -11
  62. package/templates/hooks/README.md +2 -2
  63. package/templates/hooks/orc-effort-guard.js +178 -178
  64. package/templates/hooks/orc-statusline.js +6 -6
  65. package/templates/skills/_shared/code-graph.md +1 -1
  66. package/templates/skills/_shared/config-precedence.md +198 -198
  67. package/templates/skills/_shared/extra-dispatch.md +1346 -1346
  68. package/templates/skills/_shared/opus5-only.md +8 -8
  69. package/templates/skills/_shared/phases/analyst-gates.md +136 -136
  70. package/templates/skills/_shared/phases/review.md +1 -1
  71. package/templates/skills/_shared/phases/trace.md +1 -1
  72. package/templates/skills/_shared/return-validation.md +1 -1
  73. package/templates/skills/context-combiner/SKILL.md +1 -1
  74. package/templates/skills/context-combiner/schemas/combined-report.md +78 -78
  75. package/templates/skills/orc/README.md +2 -2
  76. package/templates/skills/orc/SKILL.md +7 -7
  77. package/templates/skills/orc/config.md +9 -9
  78. package/templates/skills/orc/examples/full-run-mock.md +73 -73
  79. package/templates/skills/orc/references/effort-and-mode.md +222 -222
  80. package/templates/skills/orc/references/preflight-report.md +2 -2
  81. package/templates/skills/orc/references/ultra-mode.md +3 -3
  82. package/templates/skills/orc/subskills/orc-planner/SKILL.md +2 -2
  83. package/templates/skills/orc/subskills/orc-planner-mini/SKILL.md +121 -121
  84. package/templates/skills/orc/subskills/orc-review-verify/SKILL.md +76 -76
  85. package/templates/skills/orc/subskills/orc-testgen/SKILL.md +45 -45
  86. package/templates/skills/orc-analyze/SKILL.md +2 -2
  87. package/templates/skills/orc-analyze/examples/analyze-mock.md +42 -42
  88. package/templates/skills/orc-analyze/schemas/report-audit.md +83 -83
  89. package/templates/skills/orc-analyze/schemas/report-prose.md +63 -63
  90. package/templates/skills/orc-analyze/schemas/report-requirement.md +78 -78
  91. package/templates/skills/orc-challenge/README.md +142 -142
  92. package/templates/skills/orc-challenge/examples/council-full-roster.md +273 -273
  93. package/templates/skills/orc-challenge/references/council.md +315 -315
  94. package/templates/skills/orc-challenge/references/intake.md +171 -171
  95. package/templates/skills/orc-claude/SKILL.md +14 -14
  96. package/templates/skills/orc-diy/README.md +143 -143
  97. package/templates/skills/orc-diy/references/flow-schema.md +1 -1
  98. package/templates/skills/orc-doc/README.md +229 -229
  99. package/templates/skills/orc-doc/examples/orc-doc-prd-run.md +325 -325
  100. package/templates/skills/orc-doc/references/chunking.md +527 -527
  101. package/templates/skills/orc-fast/SKILL.md +1 -1
  102. package/templates/skills/orc-learn/SKILL.md +14 -14
  103. package/templates/skills/orc-learn/examples/learn-run-mock.md +61 -61
  104. package/templates/skills/orc-mini/SKILL.md +3 -3
  105. package/templates/skills/orc-verify/SKILL.md +15 -15
  106. package/templates/skills/orc-verify/examples/verify-mock.md +33 -33
  107. package/templates/skills/orc-wiki/references/extra.md +1 -1
@@ -1,100 +1,100 @@
1
- # Mock run — the context combiner
2
-
3
- > Two analyses of two related documents, merged into one spec — and it proves
4
- > that nothing was lost.
5
-
6
- There is no slash command for this. It is offered by `/orc-analyze` when two or
7
- more related analyses already exist.
8
-
9
- ---
10
-
11
- ## 1. What it does
12
-
13
- You analysed the refund policy PDF last week. Today you analysed the support
14
- escalation doc. Both talk about refunds. Building from either one alone means
15
- building half the thing.
16
-
17
- The combiner pools **every** requirement from **every** source and gives each
18
- one exactly one outcome. Then it counts. If the count is not 100%, it does not
19
- hand off.
20
-
21
- ---
22
-
23
- ## 2. The run
24
-
25
- ```
26
- /orc-analyze … Phase F:
27
-
28
- Two related analyses found. Merge them into one spec?
29
- · refund-policy 11 requirements 2026-08-04
30
- · support-escalation 7 requirements 2026-08-12
31
-
32
- > yes
33
- ```
34
-
35
- ```
36
- Dispatching orc-context-combiner-opus-5-high …
37
- returned as: claude-opus-5 / high ✓
38
-
39
- Phase B — are these really related?
40
- shared files api/refunds/ (both), web/refunds/ (both)
41
- shared subject refund state and who is told about it
42
- Verdict: related. Continuing.
43
-
44
- Phase C — pooled 18 requirements, reconciled one at a time
45
-
46
- exact duplicate R-04 = S-02 "refund state must be visible to support"
47
- → ONE row, both sources cited
48
- partial overlap R-07 "notify the customer" vs S-05 "notify support"
49
- → SPLIT into two rows, never collapsed into "notify"
50
- conflict R-09 says refunds are final; S-06 describes a re-open
51
- → CONFLICT, raised to you (below)
52
- ordering S-01 must happen before R-02 (it creates the state)
53
-
54
- Phase D — one question at a time
55
-
56
- ❓ R-09 vs S-06 — can a closed refund be re-opened?
57
- R-09 (policy PDF, p.4): "a completed refund is final"
58
- S-06 (escalation doc, §2): "support may re-open within 14 days"
59
- ➡️ The escalation doc is newer. I recommend S-06 wins, with R-09 kept
60
- as a note. Your call.
61
-
62
- > S-06 wins, and add the 14 days as a hard rule
63
-
64
- Phase E — conservation gate
65
- source requirements 18
66
- rows in the merged spec 19 (one split into two)
67
- every source id has exactly one outcome:
68
- kept 15 · merged 2 · split 1→2 · resolved-by-you 1 · dropped 0
69
- coverage_pct: 100 → handoff allowed
70
-
71
- Phase F — written
72
- combined-report.md
73
- combined-requirement-spec.md (a normal spec, plus the source map)
74
-
75
- Evidence freshness: 2 anchors from last week no longer match HEAD.
76
- api/refunds/create.ts:31 → now :44 (flagged, not silently fixed)
77
- ```
78
-
79
- ---
80
-
81
- ## 3. What to notice
82
-
83
- - **Nothing may vanish quietly.** Below 100% coverage there is no handoff.
84
- Dropping a requirement is allowed — but only as your explicit decision, and
85
- it is recorded as one.
86
- - **A partial overlap is split, never collapsed.** Collapsing two similar
87
- requirements into one shorter sentence is how scope disappears.
88
- - **Old evidence is re-checked against HEAD**, because an anchor that was true
89
- last week is not a fact today.
90
- - **The merged spec is a normal spec.** The planner and the build pipeline do
91
- not know or care that it came from two documents.
92
- - **Full lane only.** There is no mini version of this, and it never builds
93
- anything or spawns anything itself.
94
-
95
- ---
96
-
97
- ## 4. Related
98
-
99
- - Where it starts: [`/orc-analyze`](../templates/skills/orc-analyze/examples/analyze-mock.md)
100
- - What happens next: [`/orc-plan`](orc-plan.md)
1
+ # Mock run — the context combiner
2
+
3
+ > Two analyses of two related documents, merged into one spec — and it proves
4
+ > that nothing was lost.
5
+
6
+ There is no slash command for this. It is offered by `/orc-analyze` when two or
7
+ more related analyses already exist.
8
+
9
+ ---
10
+
11
+ ## 1. What it does
12
+
13
+ You analysed the refund policy PDF last week. Today you analysed the support
14
+ escalation doc. Both talk about refunds. Building from either one alone means
15
+ building half the thing.
16
+
17
+ The combiner pools **every** requirement from **every** source and gives each
18
+ one exactly one outcome. Then it counts. If the count is not 100%, it does not
19
+ hand off.
20
+
21
+ ---
22
+
23
+ ## 2. The run
24
+
25
+ ```
26
+ /orc-analyze … Phase F:
27
+
28
+ Two related analyses found. Merge them into one spec?
29
+ · refund-policy 11 requirements 2026-08-04
30
+ · support-escalation 7 requirements 2026-08-12
31
+
32
+ > yes
33
+ ```
34
+
35
+ ```
36
+ Dispatching orc-context-combiner-opus-5-high …
37
+ returned as: claude-opus-5-5 / high ✓
38
+
39
+ Phase B — are these really related?
40
+ shared files api/refunds/ (both), web/refunds/ (both)
41
+ shared subject refund state and who is told about it
42
+ Verdict: related. Continuing.
43
+
44
+ Phase C — pooled 18 requirements, reconciled one at a time
45
+
46
+ exact duplicate R-04 = S-02 "refund state must be visible to support"
47
+ → ONE row, both sources cited
48
+ partial overlap R-07 "notify the customer" vs S-05 "notify support"
49
+ → SPLIT into two rows, never collapsed into "notify"
50
+ conflict R-09 says refunds are final; S-06 describes a re-open
51
+ → CONFLICT, raised to you (below)
52
+ ordering S-01 must happen before R-02 (it creates the state)
53
+
54
+ Phase D — one question at a time
55
+
56
+ ❓ R-09 vs S-06 — can a closed refund be re-opened?
57
+ R-09 (policy PDF, p.4): "a completed refund is final"
58
+ S-06 (escalation doc, §2): "support may re-open within 14 days"
59
+ ➡️ The escalation doc is newer. I recommend S-06 wins, with R-09 kept
60
+ as a note. Your call.
61
+
62
+ > S-06 wins, and add the 14 days as a hard rule
63
+
64
+ Phase E — conservation gate
65
+ source requirements 18
66
+ rows in the merged spec 19 (one split into two)
67
+ every source id has exactly one outcome:
68
+ kept 15 · merged 2 · split 1→2 · resolved-by-you 1 · dropped 0
69
+ coverage_pct: 100 → handoff allowed
70
+
71
+ Phase F — written
72
+ combined-report.md
73
+ combined-requirement-spec.md (a normal spec, plus the source map)
74
+
75
+ Evidence freshness: 2 anchors from last week no longer match HEAD.
76
+ api/refunds/create.ts:31 → now :44 (flagged, not silently fixed)
77
+ ```
78
+
79
+ ---
80
+
81
+ ## 3. What to notice
82
+
83
+ - **Nothing may vanish quietly.** Below 100% coverage there is no handoff.
84
+ Dropping a requirement is allowed — but only as your explicit decision, and
85
+ it is recorded as one.
86
+ - **A partial overlap is split, never collapsed.** Collapsing two similar
87
+ requirements into one shorter sentence is how scope disappears.
88
+ - **Old evidence is re-checked against HEAD**, because an anchor that was true
89
+ last week is not a fact today.
90
+ - **The merged spec is a normal spec.** The planner and the build pipeline do
91
+ not know or care that it came from two documents.
92
+ - **Full lane only.** There is no mini version of this, and it never builds
93
+ anything or spawns anything itself.
94
+
95
+ ---
96
+
97
+ ## 4. Related
98
+
99
+ - Where it starts: [`/orc-analyze`](../templates/skills/orc-analyze/examples/analyze-mock.md)
100
+ - What happens next: [`/orc-plan`](orc-plan.md)