@azure-id/orc 2.0.2 → 2.1.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 (121) hide show
  1. package/CHANGELOG.md +401 -0
  2. package/README-id.md +52 -23
  3. package/README.md +50 -22
  4. package/bin/build-agents.js +24 -25
  5. package/bin/clear-logs.js +620 -0
  6. package/bin/cli.js +1155 -158
  7. package/bin/fix.js +459 -0
  8. package/bin/gotcha.js +288 -8
  9. package/bin/habit.js +1538 -1453
  10. package/bin/mockrun-catalog.js +3 -0
  11. package/bin/onboarding-content.js +2 -1
  12. package/bin/pricing.json +28 -21
  13. package/bin/trace-write.js +869 -657
  14. package/bin/verify-contracts.js +108 -27
  15. package/bin/verify-package.js +17 -6
  16. package/bin/webui/api.js +125 -6
  17. package/bin/webui/css/panels/hookui.css +79 -0
  18. package/bin/webui/fixtures/behaviour.js +30 -0
  19. package/bin/webui/fixtures/extra.js +9 -9
  20. package/bin/webui/fixtures/flow.js +81 -81
  21. package/bin/webui/fixtures/hookui.js +506 -431
  22. package/bin/webui/fixtures/index.js +32 -3
  23. package/bin/webui/fixtures/knowledge.js +2 -2
  24. package/bin/webui/fixtures/maintenance.js +123 -42
  25. package/bin/webui/fixtures/rules.js +1007 -1002
  26. package/bin/webui/fixtures/settings.js +6 -7
  27. package/bin/webui/fixtures/stats.js +9 -6
  28. package/bin/webui/fixtures/wait.js +98 -97
  29. package/bin/webui/i18n/en/behaviour.json +13 -0
  30. package/bin/webui/i18n/en/hookui.json +290 -194
  31. package/bin/webui/i18n/en/maintenance.json +71 -52
  32. package/bin/webui/i18n/en/settings.json +60 -60
  33. package/bin/webui/i18n/id/behaviour.json +13 -0
  34. package/bin/webui/i18n/id/hookui.json +290 -194
  35. package/bin/webui/i18n/id/maintenance.json +71 -52
  36. package/bin/webui/i18n/id/settings.json +60 -60
  37. package/bin/webui/js/05-banners.js +181 -172
  38. package/bin/webui/js/06-edit.js +193 -183
  39. package/bin/webui/js/panels/behaviour.js +77 -12
  40. package/bin/webui/js/panels/hookui.js +2196 -1691
  41. package/bin/webui/js/panels/maintenance.js +336 -235
  42. package/bin/webui/js/panels/settings.js +726 -719
  43. package/mock-run/INDEX.md +1 -0
  44. package/mock-run/extra-slots.md +1 -1
  45. package/mock-run/habits.md +1 -1
  46. package/mock-run/orc-aftermath.md +392 -392
  47. package/mock-run/orc-budget.md +29 -33
  48. package/mock-run/orc-cli.md +200 -200
  49. package/mock-run/orc-explain.md +86 -86
  50. package/mock-run/orc-extra.md +389 -392
  51. package/mock-run/orc-fix.md +87 -0
  52. package/mock-run/orc-pattern.md +112 -112
  53. package/mock-run/orc.md +157 -157
  54. package/package.json +1 -1
  55. package/templates/agents/MODEL-MAPPING.md +32 -29
  56. package/templates/agents/orc-analyze-mini-sonnet-5-high.md +2 -2
  57. package/templates/agents/{orc-claude-writer-opus-5-med.md → orc-claude-writer-opus-5-low.md} +4 -4
  58. package/templates/agents/orc-executor-haiku-4-5.md +1 -1
  59. package/templates/agents/orc-executor-opus-5-low.md +1 -1
  60. package/templates/agents/orc-executor-sonnet-4-6-high.md +1 -1
  61. package/templates/agents/orc-executor-sonnet-4-6-med.md +1 -1
  62. package/templates/agents/orc-executor-sonnet-5-high.md +2 -2
  63. package/templates/agents/orc-executor-sonnet-5-low.md +155 -0
  64. package/templates/agents/orc-executor-sonnet-5-med.md +155 -0
  65. package/templates/agents/orc-pattern-codifier-sonnet-5-high.md +2 -2
  66. package/templates/agents/orc-planner-mini-sonnet-5-high.md +2 -2
  67. package/templates/agents/orc-retro-sonnet-5-high.md +2 -2
  68. package/templates/agents/{orc-reviewer-opus-5-med.md → orc-reviewer-opus-5-low.md} +4 -4
  69. package/templates/agents/{orc-wiki-scanner-opus-5-med.md → orc-wiki-scanner-opus-5-low.md} +3 -3
  70. package/templates/agents/orc-wiki-scanner-sonnet-5-high.md +2 -2
  71. package/templates/commands/orc-fix.md +18 -0
  72. package/templates/commands/orc-wiki.md +64 -64
  73. package/templates/hooks/README.md +75 -7
  74. package/templates/hooks/orc-session-hook.js +78 -3
  75. package/templates/hooks/orc-statusline-render.js +317 -23
  76. package/templates/hooks/orc-statusline.js +162 -49
  77. package/templates/hooks/orc-subagent-line.js +23 -5
  78. package/templates/hooks/orc-weather-fetch.js +123 -0
  79. package/templates/skills/_shared/extra-dispatch.md +5 -5
  80. package/templates/skills/_shared/gotchas.md +27 -7
  81. package/templates/skills/_shared/habits.md +2 -2
  82. package/templates/skills/_shared/opus5-only.md +14 -14
  83. package/templates/skills/_shared/phases/review.md +2 -2
  84. package/templates/skills/_shared/phases/trace-verbs.md +17 -3
  85. package/templates/skills/_shared/phases/trace.md +136 -136
  86. package/templates/skills/_shared/review-slice.md +28 -1
  87. package/templates/skills/_shared/wait.md +1 -0
  88. package/templates/skills/orc/README.md +2 -2
  89. package/templates/skills/orc/SKILL.md +1 -1
  90. package/templates/skills/orc/config.md +25 -27
  91. package/templates/skills/orc/examples/full-run-mock.md +2 -1
  92. package/templates/skills/orc/references/effort-and-mode.md +17 -17
  93. package/templates/skills/orc/references/preflight-report.md +3 -3
  94. package/templates/skills/orc/references/ultra-mode.md +1 -1
  95. package/templates/skills/orc/schemas/checkpoint.md +122 -122
  96. package/templates/skills/orc/subskills/orc-review-verify/SKILL.md +3 -3
  97. package/templates/skills/orc/subskills/orc-review-verify/core.md +1 -1
  98. package/templates/skills/orc-analyze/SKILL.md +4 -2
  99. package/templates/skills/orc-claude/SKILL.md +14 -14
  100. package/templates/skills/orc-claude/examples/claude-run-mock.md +65 -65
  101. package/templates/skills/orc-diy/SKILL.md +5 -5
  102. package/templates/skills/orc-fast/SKILL.md +8 -6
  103. package/templates/skills/orc-fix/SKILL.md +110 -0
  104. package/templates/skills/orc-mini/SKILL.md +4 -4
  105. package/templates/skills/orc-mini/examples/mini-run-mock.md +4 -2
  106. package/templates/skills/orc-quick/README.md +1 -1
  107. package/templates/skills/orc-quick/SKILL.md +2 -2
  108. package/templates/skills/orc-quick/references/dispatch-gate.md +3 -2
  109. package/templates/skills/orc-quick/references/gh-mode.md +4 -2
  110. package/templates/skills/orc-retro/SKILL.md +1 -1
  111. package/templates/skills/orc-retro/examples/retro-mock.md +16 -16
  112. package/templates/skills/orc-wiki/README.md +325 -325
  113. package/templates/skills/orc-wiki/SKILL.md +195 -195
  114. package/templates/skills/orc-wiki/examples/wiki-run-mock.md +37 -37
  115. package/templates/skills/orc-wiki/references/extra.md +2 -2
  116. package/templates/skills/orc-wiki/references/partial-refresh.md +276 -271
  117. package/templates/skills/orc-wiki/references/phases/phase-0.md +1 -1
  118. package/templates/skills/orc-wiki/references/phases/phase-2.md +3 -3
  119. package/templates/skills/orc-wiki/references/phases/phase-3c.md +3 -2
  120. package/templates/agents/orc-claude-writer-opus-4-8-high.md +0 -48
  121. package/templates/agents/orc-wiki-scanner-opus-4-8-high.md +0 -74
@@ -121,6 +121,9 @@ const GROUP_OF = {
121
121
  "orc-aftermath": "check",
122
122
  "orc-budget": "check",
123
123
  "orc-retro": "check",
124
+ // v2.1.0. It sits with the CHECKING lanes: a fix record says what an earlier
125
+ // review missed, and Review Quality shows it beside the reviews.
126
+ "orc-fix": "check",
124
127
 
125
128
  "orc-pr-setup": "ship",
126
129
  "orc-pr-driver": "ship",
@@ -73,7 +73,7 @@ const SECTIONS = [
73
73
  },
74
74
  {
75
75
  id: "lanes",
76
- title: "④ Lanes cheat-sheet (28 commands)",
76
+ title: "④ Lanes cheat-sheet (29 commands)",
77
77
  lines: [
78
78
  " /orc full orchestrated pipeline",
79
79
  " /orc-quick ask for almost anything — 3 steps, always asks which agent",
@@ -81,6 +81,7 @@ const SECTIONS = [
81
81
  " /orc-grill sharpen a vague idea by conversation (no scan, no build)",
82
82
  " /orc-route you have a PLAN — which lane should build it? (refuses prose)",
83
83
  " /orc-explain say the last ORC message again, with the background it assumed",
84
+ " /orc-fix record a fix and what it fixes, so the next review sees it",
84
85
  " /orc-mini lightweight single-subagent build",
85
86
  " /orc-fast knowledge-gated single-executor build (wiki + pattern)",
86
87
  " /orc-ultra max rigor: + advisor + 3 judgment gates",
package/bin/pricing.json CHANGED
@@ -28,7 +28,7 @@
28
28
  "it has no rate for. A pair with no rate reports `usd: null` forever, never a",
29
29
  "guess and never a family fallback."
30
30
  ],
31
- "as_of": "2026-08-01",
31
+ "as_of": "2026-10-01",
32
32
  "currency": "USD",
33
33
  "unit": "per_million_tokens",
34
34
  "server_tools": {
@@ -43,34 +43,40 @@
43
43
  "output": 20
44
44
  },
45
45
  "claude-opus-5": {
46
- "input": 15,
47
- "cache_write": 18.75,
48
- "cache_read": 1.5,
49
- "output": 75
46
+ "input": 5,
47
+ "cache_write": 6.25,
48
+ "cache_read": 0.5,
49
+ "output": 25
50
50
  },
51
51
  "claude-opus-4-8": {
52
- "input": 15,
53
- "cache_write": 18.75,
54
- "cache_read": 1.5,
55
- "output": 75
52
+ "input": 5,
53
+ "cache_write": 6.25,
54
+ "cache_read": 0.5,
55
+ "output": 25
56
56
  },
57
57
  "claude-opus-4-7": {
58
- "input": 15,
59
- "cache_write": 18.75,
60
- "cache_read": 1.5,
61
- "output": 75
58
+ "input": 5,
59
+ "cache_write": 6.25,
60
+ "cache_read": 0.5,
61
+ "output": 25
62
62
  },
63
63
  "claude-fable-5": {
64
- "input": 15,
65
- "cache_write": 18.75,
66
- "cache_read": 1.5,
67
- "output": 75
64
+ "input": 10,
65
+ "cache_write": 12.5,
66
+ "cache_read": 1,
67
+ "output": 50
68
+ },
69
+ "claude-sonnet-5-5": {
70
+ "input": 2,
71
+ "cache_write": 2.5,
72
+ "cache_read": 0.2,
73
+ "output": 10
68
74
  },
69
75
  "claude-sonnet-5": {
70
- "input": 3,
71
- "cache_write": 3.75,
72
- "cache_read": 0.3,
73
- "output": 15
76
+ "input": 2,
77
+ "cache_write": 2.5,
78
+ "cache_read": 0.2,
79
+ "output": 10
74
80
  },
75
81
  "claude-sonnet-4-6": {
76
82
  "input": 3,
@@ -142,6 +148,7 @@
142
148
  "claude-opus-4-8": 200000,
143
149
  "claude-opus-4-7": 200000,
144
150
  "claude-fable-5": 200000,
151
+ "claude-sonnet-5-5": 200000,
145
152
  "claude-sonnet-5": 200000,
146
153
  "claude-sonnet-4-6": 200000,
147
154
  "claude-haiku-4-5": 200000