@azure-id/orc 0.56.1 → 1.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 (162) hide show
  1. package/CHANGELOG.md +219 -0
  2. package/README-id.md +49 -107
  3. package/README.md +694 -719
  4. package/bin/build-agents.js +18 -11
  5. package/bin/cli.js +33699 -29855
  6. package/bin/onboarding-content.js +0 -3
  7. package/bin/test-run.js +491 -0
  8. package/bin/verify-contracts.js +4330 -3277
  9. package/bin/verify-package.js +76 -6
  10. package/bin/webui/api.js +1201 -1163
  11. package/bin/webui/app.html +210 -198
  12. package/bin/webui/css/06-responsive.css +120 -108
  13. package/bin/webui/css/panels/extra.css +29 -0
  14. package/bin/webui/css/panels/lanes.css +134 -0
  15. package/bin/webui/css/panels/settings.css +79 -3
  16. package/bin/webui/css/panels/wait.css +123 -0
  17. package/bin/webui/fixtures/extra.js +2036 -1934
  18. package/bin/webui/fixtures/flow.js +2 -2
  19. package/bin/webui/fixtures/index.js +510 -486
  20. package/bin/webui/fixtures/lanes.js +218 -0
  21. package/bin/webui/fixtures/settings.js +261 -34
  22. package/bin/webui/fixtures/stats.js +3 -3
  23. package/bin/webui/fixtures/wait.js +97 -0
  24. package/bin/webui/i18n/TERMS.md +135 -134
  25. package/bin/webui/i18n/en/extra.json +345 -313
  26. package/bin/webui/i18n/en/lanes.json +29 -0
  27. package/bin/webui/i18n/en/nav.json +21 -19
  28. package/bin/webui/i18n/en/overview.json +2 -0
  29. package/bin/webui/i18n/en/settings.json +16 -5
  30. package/bin/webui/i18n/en/wait.json +41 -0
  31. package/bin/webui/i18n/id/extra.json +345 -313
  32. package/bin/webui/i18n/id/lanes.json +29 -0
  33. package/bin/webui/i18n/id/nav.json +21 -19
  34. package/bin/webui/i18n/id/overview.json +2 -0
  35. package/bin/webui/i18n/id/settings.json +15 -4
  36. package/bin/webui/i18n/id/wait.json +41 -0
  37. package/bin/webui/js/01-i18n.js +151 -149
  38. package/bin/webui/js/panels/extra.js +3199 -3011
  39. package/bin/webui/js/panels/lanes.js +259 -0
  40. package/bin/webui/js/panels/overview.js +10 -0
  41. package/bin/webui/js/panels/settings.js +149 -3
  42. package/bin/webui/js/panels/wait.js +253 -0
  43. package/package.json +39 -39
  44. package/templates/agents/MODEL-MAPPING.md +23 -35
  45. package/templates/agents/orc-executor-opus-4-7-high.md +1 -1
  46. package/templates/agents/orc-executor-opus-4-7-med.md +1 -1
  47. package/templates/agents/orc-executor-opus-4-8-high.md +1 -1
  48. package/templates/agents/orc-executor-opus-5-high.md +1 -1
  49. package/templates/agents/orc-executor-opus-5-low.md +1 -1
  50. package/templates/agents/orc-executor-opus-5-med.md +1 -1
  51. package/templates/agents/orc-retro-opus-5-med.md +73 -73
  52. package/templates/agents/orc-retro-sonnet-5-high.md +72 -72
  53. package/templates/agents/orc-trace-writer-haiku-4-5.md +107 -107
  54. package/templates/commands/orc-route.md +1 -1
  55. package/templates/commands/orc-wait.md +19 -0
  56. package/templates/commands/orc.md +1 -1
  57. package/templates/hooks/orc-statusline.js +39 -0
  58. package/templates/skills/_shared/README.md +7 -3
  59. package/templates/skills/_shared/config-precedence.md +198 -0
  60. package/templates/skills/_shared/drift-recovery.md +1 -1
  61. package/templates/skills/_shared/extra-dispatch.md +159 -7
  62. package/templates/skills/_shared/interview.md +1 -1
  63. package/templates/skills/_shared/opus5-only.md +9 -7
  64. package/templates/skills/_shared/phases/README.md +82 -0
  65. package/templates/skills/{orc/references → _shared/phases}/analyst-gates.md +15 -3
  66. package/templates/skills/_shared/phases/execution.md +143 -0
  67. package/templates/skills/{orc/references → _shared/phases}/house-rules.md +13 -1
  68. package/templates/skills/{orc/references → _shared/phases}/intake.md +15 -2
  69. package/templates/skills/_shared/phases/mock-example.md +56 -0
  70. package/templates/skills/{orc/references → _shared/phases}/plan-handoff.md +16 -3
  71. package/templates/skills/_shared/phases/planning.md +135 -0
  72. package/templates/skills/_shared/phases/preflight.md +98 -0
  73. package/templates/skills/_shared/phases/review.md +53 -0
  74. package/templates/skills/_shared/phases/scoring.md +65 -0
  75. package/templates/skills/{orc/references → _shared/phases}/security-checklist.md +12 -1
  76. package/templates/skills/_shared/phases/security.md +55 -0
  77. package/templates/skills/_shared/phases/ship.md +88 -0
  78. package/templates/skills/{orc/references/stop-and-resume.md → _shared/phases/stop-resume.md} +169 -160
  79. package/templates/skills/_shared/phases/summary.md +48 -0
  80. package/templates/skills/_shared/phases/testgen.md +51 -0
  81. package/templates/skills/{orc/references/trace-protocol.md → _shared/phases/trace.md} +49 -6
  82. package/templates/skills/_shared/phases/verify.md +70 -0
  83. package/templates/skills/{orc/references → _shared/phases}/wave-grouping.md +14 -2
  84. package/templates/skills/{orc/references → _shared/phases}/wiki-consult.md +13 -1
  85. package/templates/skills/_shared/read-ladder.md +48 -0
  86. package/templates/skills/_shared/wait.md +240 -0
  87. package/templates/skills/context-combiner/SKILL.md +214 -187
  88. package/templates/skills/orc/README.md +148 -150
  89. package/templates/skills/orc/SKILL.md +75 -358
  90. package/templates/skills/orc/config.md +137 -389
  91. package/templates/skills/orc/examples/full-run-mock.md +1 -1
  92. package/templates/skills/orc/references/effort-and-mode.md +16 -18
  93. package/templates/skills/orc/references/phases/intake.md +47 -0
  94. package/templates/skills/orc/references/phases/integration.md +19 -0
  95. package/templates/skills/orc/references/preflight-report.md +4 -4
  96. package/templates/skills/orc/references/ultra-mode.md +117 -123
  97. package/templates/skills/orc/schemas/planning-output.md +279 -279
  98. package/templates/skills/orc/subskills/orc-planner/SKILL.md +260 -264
  99. package/templates/skills/orc/subskills/orc-pr/stack-gate.md +4 -1
  100. package/templates/skills/orc-aftermath/SKILL.md +158 -136
  101. package/templates/skills/orc-analyze/SKILL.md +252 -220
  102. package/templates/skills/orc-analyze/references/branching.md +51 -51
  103. package/templates/skills/orc-analyze/references/thin-input.md +1 -1
  104. package/templates/skills/orc-analyze-mini/SKILL.md +128 -112
  105. package/templates/skills/orc-boundary/SKILL.md +249 -208
  106. package/templates/skills/orc-brainstorm/SKILL.md +377 -339
  107. package/templates/skills/orc-budget/SKILL.md +248 -225
  108. package/templates/skills/orc-challenge/README.md +1 -1
  109. package/templates/skills/orc-challenge/SKILL.md +298 -255
  110. package/templates/skills/orc-challenge/examples/council-full-roster.md +1 -1
  111. package/templates/skills/orc-claude/SKILL.md +221 -199
  112. package/templates/skills/orc-diy/README.md +2 -1
  113. package/templates/skills/orc-diy/SKILL.md +132 -68
  114. package/templates/skills/orc-diy/references/blocks/analyze.md +1 -1
  115. package/templates/skills/orc-diy/references/compile.md +21 -7
  116. package/templates/skills/orc-diy/references/flow-schema.md +2 -2
  117. package/templates/skills/orc-doc/SKILL.md +49 -7
  118. package/templates/skills/orc-explain/SKILL.md +24 -0
  119. package/templates/skills/orc-export/SKILL.md +31 -5
  120. package/templates/skills/orc-fast/SKILL.md +218 -185
  121. package/templates/skills/orc-grill/SKILL.md +238 -207
  122. package/templates/skills/orc-handoff/SKILL.md +223 -204
  123. package/templates/skills/orc-learn/SKILL.md +181 -156
  124. package/templates/skills/orc-mini/SKILL.md +47 -24
  125. package/templates/skills/orc-pact/SKILL.md +255 -218
  126. package/templates/skills/orc-pattern/SKILL.md +154 -124
  127. package/templates/skills/orc-poly/SKILL.md +242 -216
  128. package/templates/skills/orc-poly/references/gather.md +1 -1
  129. package/templates/skills/orc-pr-driver/SKILL.md +196 -167
  130. package/templates/skills/orc-pr-driver/references/orc-run-split.md +1 -1
  131. package/templates/skills/orc-pr-setup/SKILL.md +212 -184
  132. package/templates/skills/orc-quick/README.md +2 -2
  133. package/templates/skills/orc-quick/SKILL.md +51 -13
  134. package/templates/skills/orc-quick/references/dispatch-gate.md +2 -3
  135. package/templates/skills/orc-retro/SKILL.md +249 -222
  136. package/templates/skills/orc-retro/examples/retro-mock.md +171 -171
  137. package/templates/skills/orc-route/SKILL.md +188 -165
  138. package/templates/skills/orc-verify/SKILL.md +103 -84
  139. package/templates/skills/orc-wait/SKILL.md +163 -0
  140. package/templates/skills/orc-wiki/SKILL.md +60 -206
  141. package/templates/skills/orc-wiki/references/phases/phase-0.md +71 -0
  142. package/templates/skills/orc-wiki/references/phases/phase-1.md +35 -0
  143. package/templates/skills/orc-wiki/references/phases/phase-2.md +52 -0
  144. package/templates/skills/orc-wiki/references/phases/phase-3.md +57 -0
  145. package/templates/skills/orc-wiki/references/phases/phase-3c.md +36 -0
  146. package/templates/agents/orc-advisor-fable-5.md +0 -50
  147. package/templates/agents/orc-analyst-fable-5.md +0 -115
  148. package/templates/agents/orc-judge-fable-5.md +0 -79
  149. package/templates/agents/orc-planner-fable-5.md +0 -152
  150. package/templates/agents/orc-reviewer-fable-5.md +0 -57
  151. package/templates/skills/_shared/fable5-override.md +0 -56
  152. package/templates/skills/orc-diy/references/blocks/execution.md +0 -42
  153. package/templates/skills/orc-diy/references/blocks/mock-example.md +0 -22
  154. package/templates/skills/orc-diy/references/blocks/planning.md +0 -34
  155. package/templates/skills/orc-diy/references/blocks/review.md +0 -18
  156. package/templates/skills/orc-diy/references/blocks/scoring.md +0 -16
  157. package/templates/skills/orc-diy/references/blocks/security.md +0 -25
  158. package/templates/skills/orc-diy/references/blocks/ship.md +0 -25
  159. package/templates/skills/orc-diy/references/blocks/summary.md +0 -18
  160. package/templates/skills/orc-diy/references/blocks/testgen.md +0 -17
  161. package/templates/skills/orc-diy/references/blocks/trace.md +0 -28
  162. package/templates/skills/orc-diy/references/blocks/verify.md +0 -25
@@ -1,198 +1,210 @@
1
- <!doctype html>
2
- <html lang="en" data-theme="dark">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="referrer" content="no-referrer">
7
- <title>orc ui</title>
8
- <!--
9
- THE ASSET MANIFEST. This list is the load order, and for CSS the load order is
10
- the cascade order — which is why the files carry numeric prefixes and why
11
- 06-responsive and 04-motion are last (both override rules from the shell AND
12
- from panels, and several of their declarations are deliberately not
13
- !important). One <link> per file, never @import: an @import request carries no
14
- session token of its own and would 401.
15
-
16
- A file that is not listed here does not run, and the test suite reads THIS
17
- list — appJs()/appCss() in test/_helpers.js concatenate exactly what the
18
- browser loads, so a forgotten entry cannot hide behind a passing suite.
19
- -->
20
- <link rel="stylesheet" href="css/00-tokens.css">
21
- <link rel="stylesheet" href="css/01-base.css">
22
- <link rel="stylesheet" href="css/02-shell.css">
23
- <link rel="stylesheet" href="css/03-components.css">
24
- <link rel="stylesheet" href="css/panels/overview.css">
25
- <link rel="stylesheet" href="css/05-tour.css">
26
- <link rel="stylesheet" href="css/panels/settings.css">
27
- <link rel="stylesheet" href="css/panels/runs.css">
28
- <link rel="stylesheet" href="css/panels/knowledge.css">
29
- <link rel="stylesheet" href="css/panels/stats.css">
30
- <link rel="stylesheet" href="css/panels/flow.css">
31
- <link rel="stylesheet" href="css/panels/crosslink.css">
32
- <link rel="stylesheet" href="css/panels/learn.css">
33
- <link rel="stylesheet" href="css/panels/mockrun.css">
34
- <link rel="stylesheet" href="css/panels/experiment.css">
35
- <link rel="stylesheet" href="css/panels/maintenance.css">
36
- <link rel="stylesheet" href="css/panels/pact.css">
37
- <link rel="stylesheet" href="css/panels/boundary.css">
38
- <link rel="stylesheet" href="css/panels/handoff.css">
39
- <link rel="stylesheet" href="css/panels/challenge.css">
40
- <link rel="stylesheet" href="css/panels/docs.css">
41
- <link rel="stylesheet" href="css/panels/extra.css">
42
- <link rel="stylesheet" href="css/06-responsive.css">
43
- <link rel="stylesheet" href="css/04-motion.css">
44
- </head>
45
- <body>
46
-
47
- <!--
48
- The shell is deliberately static and small: every panel is rendered by its own
49
- function in app.js against its own endpoint, with no shared mutable state, so
50
- rewriting one panel cannot break another. See the plan, §9.
51
- No inline <script> or style="" anywhere the server sends a strict CSP.
52
- -->
53
-
54
- <div class="shell">
55
-
56
- <nav class="rail" aria-label="Panels">
57
- <div class="brand">
58
- <span class="brand-mark" aria-hidden="true">◆</span>
59
- <span class="brand-text">orc<span class="brand-dim">&nbsp;ui</span></span>
60
- </div>
61
-
62
- <!--
63
- data-idx is the keyboard shortcut for that panel; the rail reveals the
64
- numbers on hover so they are discoverable without a legend.
65
- data-i18n names the string table entry: the text between the tags is the
66
- English fallback that ships in the markup, so a failed i18n fetch renders
67
- a readable English rail rather than a column of empty links.
68
- -->
69
- <ul class="nav" id="nav">
70
- <li><a href="#/overview" data-panel="overview" data-idx="1" data-i18n="nav.overview">Overview</a></li>
71
- <li><a href="#/settings" data-panel="settings" data-idx="2" data-i18n="nav.settings">Settings</a></li>
72
- <li><a href="#/runs" data-panel="runs" data-idx="3" data-i18n="nav.runs">Runs</a></li>
73
- <li><a href="#/knowledge" data-panel="knowledge" data-idx="4" data-i18n="nav.knowledge">Knowledge</a></li>
74
- <li><a href="#/stats" data-panel="stats" data-idx="5" data-i18n="nav.stats">Stats</a></li>
75
- <!--
76
- v0.46.0. Promises and Boundary sit next to Knowledge because they ARE
77
- knowledge derived, coverage-anchored, and stale the same way a wiki doc
78
- is. Self-serve sits last of the three: it is the only panel here aimed at
79
- somebody who does not read code, and it is the one a developer opens
80
- least often.
81
- -->
82
- <!--
83
- v0.48.0. Docs sits directly above Challenge because that is the order
84
- the two are used in: you write a document, then you grade it — and the
85
- grading has to happen in a different session, which is the one thing
86
- both panels say out loud.
87
- -->
88
- <li><a href="#/docs" data-panel="docs" data-idx="d" data-i18n="nav.docs">Docs</a></li>
89
- <li><a href="#/challenge" data-panel="challenge" data-idx="c" data-i18n="nav.challenge">Challenge</a></li>
90
- <li><a href="#/pact" data-panel="pact" data-idx="p" data-i18n="nav.pact">Promises</a></li>
91
- <li><a href="#/boundary" data-panel="boundary" data-idx="b" data-i18n="nav.boundary">Boundary</a></li>
92
- <li><a href="#/handoff" data-panel="handoff" data-idx="h" data-i18n="nav.handoff">Self-serve</a></li>
93
- <!--
94
- v0.50.0. Extra sits directly above Flow because both answer the same
95
- question WHERE does a task run — and this is the one that can send it
96
- off this machine. It is the last thing above the composer for that
97
- reason, never buried under the reading panels.
98
- -->
99
- <li><a href="#/extra" data-panel="extra" data-idx="e" data-i18n="nav.extra">Extra</a></li>
100
- <li><a href="#/flow" data-panel="flow" data-idx="6" data-i18n="nav.flow">Flow</a></li>
101
- <li><a href="#/crosslink" data-panel="crosslink" data-idx="7" data-i18n="nav.crosslink">Crosslink</a></li>
102
- <li><a href="#/learn" data-panel="learn" data-idx="8" data-i18n="nav.learn">Learn</a></li>
103
- <!--
104
- Next to Learn because it is the same kind of thing: reading, not doing.
105
- The walkthroughs ship with the package, so this panel works on a machine
106
- with no project at all the same as Learn and unlike every other panel.
107
- -->
108
- <li><a href="#/mockrun" data-panel="mockrun" data-idx="m" data-i18n="nav.mockrun">Mocked Skill Use</a></li>
109
- <li><a href="#/experiment" data-panel="experiment" data-idx="9" data-i18n="nav.experiment">Experiment</a></li>
110
- <li><a href="#/maintenance" data-panel="maintenance" data-idx="0" data-i18n="nav.maintenance">Maintenance</a></li>
111
- </ul>
112
-
113
- <div class="rail-foot">
114
- <div class="rail-project" id="rail-project" title="">—</div>
115
- <div class="rail-version" id="rail-version"></div>
116
- <div class="rail-buttons">
117
- <button class="btn btn-ghost btn-sm" id="theme-toggle" type="button">Light</button>
118
- <button class="btn btn-ghost btn-sm" id="shortcut-hint" type="button" title="Keyboard shortcuts">?</button>
119
- </div>
120
- <!--
121
- Language sits BELOW the theme row on purpose: it is the same class of
122
- control (a per-browser display preference, never a project setting) and
123
- it is switched far less often, so it gets the calmer position.
124
- -->
125
- <div class="rail-buttons">
126
- <button class="btn btn-ghost btn-sm lang-btn" id="lang-toggle" type="button">
127
- <span class="lang-globe" aria-hidden="true">🌐</span><span id="lang-label">English</span>
128
- </button>
129
- </div>
130
- </div>
131
- </nav>
132
-
133
- <main class="main">
134
- <!--
135
- Global banner slot. The one thing that must be visible on EVERY panel is
136
- the global-install warning: if ORC is installed globally, the skills that
137
- actually run may be the global copy reading the global config, while this
138
- panel edits the project one that nothing reads.
139
- -->
140
- <div id="banners" class="banners"></div>
141
-
142
- <div id="panel" class="panel" aria-live="polite"></div>
143
- </main>
144
-
145
- </div>
146
-
147
- <!-- Single modal host. Every confirmation and preview renders into it. -->
148
- <div class="modal-host" id="modal-host" hidden>
149
- <div class="modal-backdrop" id="modal-backdrop"></div>
150
- <div class="modal" role="dialog" aria-modal="true" aria-labelledby="modal-title">
151
- <h2 class="modal-title" id="modal-title"></h2>
152
- <div class="modal-body" id="modal-body"></div>
153
- <div class="modal-foot" id="modal-foot"></div>
154
- </div>
155
- </div>
156
-
157
- <!-- Transient confirmations (a committed setting, a failed write). -->
158
- <div class="toasts" id="toasts" aria-live="polite"></div>
159
-
160
- <!--
161
- Classic scripts in an explicit load order — no type="module" anywhere. An ES
162
- module `import` carries no query string, so every import would 401 against the
163
- per-launch token unless static auth were weakened, and weakening it is not on
164
- the table. Classic scripts also mean every top-level function and const lands
165
- in ONE shared global scope, so the split needed no import/export and changed
166
- no call site.
167
-
168
- 99-boot.js is last because boot() is the one call that runs at load time.
169
- -->
170
- <script src="js/00-core.js"></script>
171
- <script src="js/01-i18n.js"></script>
172
- <script src="js/02-ui.js"></script>
173
- <script src="js/03-md.js"></script>
174
- <script src="js/04-router.js"></script>
175
- <script src="js/05-banners.js"></script>
176
- <script src="js/06-edit.js"></script>
177
- <script src="js/panels/overview.js"></script>
178
- <script src="js/panels/settings.js"></script>
179
- <script src="js/panels/runs.js"></script>
180
- <script src="js/panels/knowledge.js"></script>
181
- <script src="js/panels/stats.js"></script>
182
- <script src="js/panels/flow.js"></script>
183
- <script src="js/panels/crosslink.js"></script>
184
- <script src="js/panels/learn.js"></script>
185
- <script src="js/panels/mockrun.js"></script>
186
- <script src="js/panels/experiment.js"></script>
187
- <script src="js/panels/maintenance.js"></script>
188
- <script src="js/panels/pact.js"></script>
189
- <script src="js/panels/boundary.js"></script>
190
- <script src="js/panels/handoff.js"></script>
191
- <script src="js/panels/challenge.js"></script>
192
- <script src="js/panels/docs.js"></script>
193
- <script src="js/panels/extra.js"></script>
194
- <script src="js/90-tour.js"></script>
195
- <script src="js/91-shortcuts.js"></script>
196
- <script src="js/99-boot.js"></script>
197
- </body>
198
- </html>
1
+ <!doctype html>
2
+ <html lang="en" data-theme="dark">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="referrer" content="no-referrer">
7
+ <title>orc ui</title>
8
+ <!--
9
+ THE ASSET MANIFEST. This list is the load order, and for CSS the load order is
10
+ the cascade order — which is why the files carry numeric prefixes and why
11
+ 06-responsive and 04-motion are last (both override rules from the shell AND
12
+ from panels, and several of their declarations are deliberately not
13
+ !important). One <link> per file, never @import: an @import request carries no
14
+ session token of its own and would 401.
15
+
16
+ A file that is not listed here does not run, and the test suite reads THIS
17
+ list — appJs()/appCss() in test/_helpers.js concatenate exactly what the
18
+ browser loads, so a forgotten entry cannot hide behind a passing suite.
19
+ -->
20
+ <link rel="stylesheet" href="css/00-tokens.css">
21
+ <link rel="stylesheet" href="css/01-base.css">
22
+ <link rel="stylesheet" href="css/02-shell.css">
23
+ <link rel="stylesheet" href="css/03-components.css">
24
+ <link rel="stylesheet" href="css/panels/overview.css">
25
+ <link rel="stylesheet" href="css/05-tour.css">
26
+ <link rel="stylesheet" href="css/panels/settings.css">
27
+ <link rel="stylesheet" href="css/panels/lanes.css">
28
+ <link rel="stylesheet" href="css/panels/runs.css">
29
+ <link rel="stylesheet" href="css/panels/knowledge.css">
30
+ <link rel="stylesheet" href="css/panels/stats.css">
31
+ <link rel="stylesheet" href="css/panels/flow.css">
32
+ <link rel="stylesheet" href="css/panels/crosslink.css">
33
+ <link rel="stylesheet" href="css/panels/learn.css">
34
+ <link rel="stylesheet" href="css/panels/mockrun.css">
35
+ <link rel="stylesheet" href="css/panels/experiment.css">
36
+ <link rel="stylesheet" href="css/panels/maintenance.css">
37
+ <link rel="stylesheet" href="css/panels/pact.css">
38
+ <link rel="stylesheet" href="css/panels/boundary.css">
39
+ <link rel="stylesheet" href="css/panels/wait.css">
40
+ <link rel="stylesheet" href="css/panels/handoff.css">
41
+ <link rel="stylesheet" href="css/panels/challenge.css">
42
+ <link rel="stylesheet" href="css/panels/docs.css">
43
+ <link rel="stylesheet" href="css/panels/extra.css">
44
+ <link rel="stylesheet" href="css/06-responsive.css">
45
+ <link rel="stylesheet" href="css/04-motion.css">
46
+ </head>
47
+ <body>
48
+
49
+ <!--
50
+ The shell is deliberately static and small: every panel is rendered by its own
51
+ function in app.js against its own endpoint, with no shared mutable state, so
52
+ rewriting one panel cannot break another. See the plan, §9.
53
+ No inline <script> or style="" anywhere — the server sends a strict CSP.
54
+ -->
55
+
56
+ <div class="shell">
57
+
58
+ <nav class="rail" aria-label="Panels">
59
+ <div class="brand">
60
+ <span class="brand-mark" aria-hidden="true">◆</span>
61
+ <span class="brand-text">orc<span class="brand-dim">&nbsp;ui</span></span>
62
+ </div>
63
+
64
+ <!--
65
+ data-idx is the keyboard shortcut for that panel; the rail reveals the
66
+ numbers on hover so they are discoverable without a legend.
67
+ data-i18n names the string table entry: the text between the tags is the
68
+ English fallback that ships in the markup, so a failed i18n fetch renders
69
+ a readable English rail rather than a column of empty links.
70
+ -->
71
+ <ul class="nav" id="nav">
72
+ <li><a href="#/overview" data-panel="overview" data-idx="1" data-i18n="nav.overview">Overview</a></li>
73
+ <li><a href="#/settings" data-panel="settings" data-idx="2" data-i18n="nav.settings">Settings</a></li>
74
+ <!--
75
+ v1.0.0 W16. Lanes sits directly under Settings because it answers the
76
+ other half of the same question. Settings says what a key resolves to
77
+ and which lanes read it; this says what those lanes then DO with it —
78
+ which shared phases they run, in order, and which CLI calls they make.
79
+ -->
80
+ <li><a href="#/lanes" data-panel="lanes" data-idx="l" data-i18n="nav.lanes">Lanes</a></li>
81
+ <li><a href="#/runs" data-panel="runs" data-idx="3" data-i18n="nav.runs">Runs</a></li>
82
+ <li><a href="#/knowledge" data-panel="knowledge" data-idx="4" data-i18n="nav.knowledge">Knowledge</a></li>
83
+ <li><a href="#/stats" data-panel="stats" data-idx="5" data-i18n="nav.stats">Stats</a></li>
84
+ <!--
85
+ v0.46.0. Promises and Boundary sit next to Knowledge because they ARE
86
+ knowledge derived, coverage-anchored, and stale the same way a wiki doc
87
+ is. Self-serve sits last of the three: it is the only panel here aimed at
88
+ somebody who does not read code, and it is the one a developer opens
89
+ least often.
90
+ -->
91
+ <!--
92
+ v0.48.0. Docs sits directly above Challenge because that is the order
93
+ the two are used in: you write a document, then you grade it — and the
94
+ grading has to happen in a different session, which is the one thing
95
+ both panels say out loud.
96
+ -->
97
+ <li><a href="#/docs" data-panel="docs" data-idx="d" data-i18n="nav.docs">Docs</a></li>
98
+ <li><a href="#/challenge" data-panel="challenge" data-idx="c" data-i18n="nav.challenge">Challenge</a></li>
99
+ <li><a href="#/pact" data-panel="pact" data-idx="p" data-i18n="nav.pact">Promises</a></li>
100
+ <li><a href="#/boundary" data-panel="boundary" data-idx="b" data-i18n="nav.boundary">Boundary</a></li>
101
+ <li><a href="#/wait" data-panel="wait" data-idx="w" data-i18n="nav.wait">Wait</a></li>
102
+ <li><a href="#/handoff" data-panel="handoff" data-idx="h" data-i18n="nav.handoff">Self-serve</a></li>
103
+ <!--
104
+ v0.50.0. Extra sits directly above Flow because both answer the same
105
+ question WHERE does a task run — and this is the one that can send it
106
+ off this machine. It is the last thing above the composer for that
107
+ reason, never buried under the reading panels.
108
+ -->
109
+ <li><a href="#/extra" data-panel="extra" data-idx="e" data-i18n="nav.extra">Extra</a></li>
110
+ <li><a href="#/flow" data-panel="flow" data-idx="6" data-i18n="nav.flow">Flow</a></li>
111
+ <li><a href="#/crosslink" data-panel="crosslink" data-idx="7" data-i18n="nav.crosslink">Crosslink</a></li>
112
+ <li><a href="#/learn" data-panel="learn" data-idx="8" data-i18n="nav.learn">Learn</a></li>
113
+ <!--
114
+ Next to Learn because it is the same kind of thing: reading, not doing.
115
+ The walkthroughs ship with the package, so this panel works on a machine
116
+ with no project at all — the same as Learn and unlike every other panel.
117
+ -->
118
+ <li><a href="#/mockrun" data-panel="mockrun" data-idx="m" data-i18n="nav.mockrun">Mocked Skill Use</a></li>
119
+ <li><a href="#/experiment" data-panel="experiment" data-idx="9" data-i18n="nav.experiment">Experiment</a></li>
120
+ <li><a href="#/maintenance" data-panel="maintenance" data-idx="0" data-i18n="nav.maintenance">Maintenance</a></li>
121
+ </ul>
122
+
123
+ <div class="rail-foot">
124
+ <div class="rail-project" id="rail-project" title="">—</div>
125
+ <div class="rail-version" id="rail-version"></div>
126
+ <div class="rail-buttons">
127
+ <button class="btn btn-ghost btn-sm" id="theme-toggle" type="button">Light</button>
128
+ <button class="btn btn-ghost btn-sm" id="shortcut-hint" type="button" title="Keyboard shortcuts">?</button>
129
+ </div>
130
+ <!--
131
+ Language sits BELOW the theme row on purpose: it is the same class of
132
+ control (a per-browser display preference, never a project setting) and
133
+ it is switched far less often, so it gets the calmer position.
134
+ -->
135
+ <div class="rail-buttons">
136
+ <button class="btn btn-ghost btn-sm lang-btn" id="lang-toggle" type="button">
137
+ <span class="lang-globe" aria-hidden="true">🌐</span><span id="lang-label">English</span>
138
+ </button>
139
+ </div>
140
+ </div>
141
+ </nav>
142
+
143
+ <main class="main">
144
+ <!--
145
+ Global banner slot. The one thing that must be visible on EVERY panel is
146
+ the global-install warning: if ORC is installed globally, the skills that
147
+ actually run may be the global copy reading the global config, while this
148
+ panel edits the project one that nothing reads.
149
+ -->
150
+ <div id="banners" class="banners"></div>
151
+
152
+ <div id="panel" class="panel" aria-live="polite"></div>
153
+ </main>
154
+
155
+ </div>
156
+
157
+ <!-- Single modal host. Every confirmation and preview renders into it. -->
158
+ <div class="modal-host" id="modal-host" hidden>
159
+ <div class="modal-backdrop" id="modal-backdrop"></div>
160
+ <div class="modal" role="dialog" aria-modal="true" aria-labelledby="modal-title">
161
+ <h2 class="modal-title" id="modal-title"></h2>
162
+ <div class="modal-body" id="modal-body"></div>
163
+ <div class="modal-foot" id="modal-foot"></div>
164
+ </div>
165
+ </div>
166
+
167
+ <!-- Transient confirmations (a committed setting, a failed write). -->
168
+ <div class="toasts" id="toasts" aria-live="polite"></div>
169
+
170
+ <!--
171
+ Classic scripts in an explicit load order — no type="module" anywhere. An ES
172
+ module `import` carries no query string, so every import would 401 against the
173
+ per-launch token unless static auth were weakened, and weakening it is not on
174
+ the table. Classic scripts also mean every top-level function and const lands
175
+ in ONE shared global scope, so the split needed no import/export and changed
176
+ no call site.
177
+
178
+ 99-boot.js is last because boot() is the one call that runs at load time.
179
+ -->
180
+ <script src="js/00-core.js"></script>
181
+ <script src="js/01-i18n.js"></script>
182
+ <script src="js/02-ui.js"></script>
183
+ <script src="js/03-md.js"></script>
184
+ <script src="js/04-router.js"></script>
185
+ <script src="js/05-banners.js"></script>
186
+ <script src="js/06-edit.js"></script>
187
+ <script src="js/panels/overview.js"></script>
188
+ <script src="js/panels/settings.js"></script>
189
+ <script src="js/panels/lanes.js"></script>
190
+ <script src="js/panels/runs.js"></script>
191
+ <script src="js/panels/knowledge.js"></script>
192
+ <script src="js/panels/stats.js"></script>
193
+ <script src="js/panels/flow.js"></script>
194
+ <script src="js/panels/crosslink.js"></script>
195
+ <script src="js/panels/learn.js"></script>
196
+ <script src="js/panels/mockrun.js"></script>
197
+ <script src="js/panels/experiment.js"></script>
198
+ <script src="js/panels/maintenance.js"></script>
199
+ <script src="js/panels/pact.js"></script>
200
+ <script src="js/panels/boundary.js"></script>
201
+ <script src="js/panels/handoff.js"></script>
202
+ <script src="js/panels/challenge.js"></script>
203
+ <script src="js/panels/docs.js"></script>
204
+ <script src="js/panels/extra.js"></script>
205
+ <script src="js/panels/wait.js"></script>
206
+ <script src="js/90-tour.js"></script>
207
+ <script src="js/91-shortcuts.js"></script>
208
+ <script src="js/99-boot.js"></script>
209
+ </body>
210
+ </html>