@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.
- package/CHANGELOG.md +401 -0
- package/README-id.md +52 -23
- package/README.md +50 -22
- package/bin/build-agents.js +24 -25
- package/bin/clear-logs.js +620 -0
- package/bin/cli.js +1155 -158
- package/bin/fix.js +459 -0
- package/bin/gotcha.js +288 -8
- package/bin/habit.js +1538 -1453
- package/bin/mockrun-catalog.js +3 -0
- package/bin/onboarding-content.js +2 -1
- package/bin/pricing.json +28 -21
- package/bin/trace-write.js +869 -657
- package/bin/verify-contracts.js +108 -27
- package/bin/verify-package.js +17 -6
- package/bin/webui/api.js +125 -6
- package/bin/webui/css/panels/hookui.css +79 -0
- package/bin/webui/fixtures/behaviour.js +30 -0
- package/bin/webui/fixtures/extra.js +9 -9
- package/bin/webui/fixtures/flow.js +81 -81
- package/bin/webui/fixtures/hookui.js +506 -431
- package/bin/webui/fixtures/index.js +32 -3
- package/bin/webui/fixtures/knowledge.js +2 -2
- package/bin/webui/fixtures/maintenance.js +123 -42
- package/bin/webui/fixtures/rules.js +1007 -1002
- package/bin/webui/fixtures/settings.js +6 -7
- package/bin/webui/fixtures/stats.js +9 -6
- package/bin/webui/fixtures/wait.js +98 -97
- package/bin/webui/i18n/en/behaviour.json +13 -0
- package/bin/webui/i18n/en/hookui.json +290 -194
- package/bin/webui/i18n/en/maintenance.json +71 -52
- package/bin/webui/i18n/en/settings.json +60 -60
- package/bin/webui/i18n/id/behaviour.json +13 -0
- package/bin/webui/i18n/id/hookui.json +290 -194
- package/bin/webui/i18n/id/maintenance.json +71 -52
- package/bin/webui/i18n/id/settings.json +60 -60
- package/bin/webui/js/05-banners.js +181 -172
- package/bin/webui/js/06-edit.js +193 -183
- package/bin/webui/js/panels/behaviour.js +77 -12
- package/bin/webui/js/panels/hookui.js +2196 -1691
- package/bin/webui/js/panels/maintenance.js +336 -235
- package/bin/webui/js/panels/settings.js +726 -719
- package/mock-run/INDEX.md +1 -0
- package/mock-run/extra-slots.md +1 -1
- package/mock-run/habits.md +1 -1
- package/mock-run/orc-aftermath.md +392 -392
- package/mock-run/orc-budget.md +29 -33
- package/mock-run/orc-cli.md +200 -200
- package/mock-run/orc-explain.md +86 -86
- package/mock-run/orc-extra.md +389 -392
- package/mock-run/orc-fix.md +87 -0
- package/mock-run/orc-pattern.md +112 -112
- package/mock-run/orc.md +157 -157
- package/package.json +1 -1
- package/templates/agents/MODEL-MAPPING.md +32 -29
- package/templates/agents/orc-analyze-mini-sonnet-5-high.md +2 -2
- package/templates/agents/{orc-claude-writer-opus-5-med.md → orc-claude-writer-opus-5-low.md} +4 -4
- package/templates/agents/orc-executor-haiku-4-5.md +1 -1
- package/templates/agents/orc-executor-opus-5-low.md +1 -1
- package/templates/agents/orc-executor-sonnet-4-6-high.md +1 -1
- package/templates/agents/orc-executor-sonnet-4-6-med.md +1 -1
- package/templates/agents/orc-executor-sonnet-5-high.md +2 -2
- package/templates/agents/orc-executor-sonnet-5-low.md +155 -0
- package/templates/agents/orc-executor-sonnet-5-med.md +155 -0
- package/templates/agents/orc-pattern-codifier-sonnet-5-high.md +2 -2
- package/templates/agents/orc-planner-mini-sonnet-5-high.md +2 -2
- package/templates/agents/orc-retro-sonnet-5-high.md +2 -2
- package/templates/agents/{orc-reviewer-opus-5-med.md → orc-reviewer-opus-5-low.md} +4 -4
- package/templates/agents/{orc-wiki-scanner-opus-5-med.md → orc-wiki-scanner-opus-5-low.md} +3 -3
- package/templates/agents/orc-wiki-scanner-sonnet-5-high.md +2 -2
- package/templates/commands/orc-fix.md +18 -0
- package/templates/commands/orc-wiki.md +64 -64
- package/templates/hooks/README.md +75 -7
- package/templates/hooks/orc-session-hook.js +78 -3
- package/templates/hooks/orc-statusline-render.js +317 -23
- package/templates/hooks/orc-statusline.js +162 -49
- package/templates/hooks/orc-subagent-line.js +23 -5
- package/templates/hooks/orc-weather-fetch.js +123 -0
- package/templates/skills/_shared/extra-dispatch.md +5 -5
- package/templates/skills/_shared/gotchas.md +27 -7
- package/templates/skills/_shared/habits.md +2 -2
- package/templates/skills/_shared/opus5-only.md +14 -14
- package/templates/skills/_shared/phases/review.md +2 -2
- package/templates/skills/_shared/phases/trace-verbs.md +17 -3
- package/templates/skills/_shared/phases/trace.md +136 -136
- package/templates/skills/_shared/review-slice.md +28 -1
- package/templates/skills/_shared/wait.md +1 -0
- package/templates/skills/orc/README.md +2 -2
- package/templates/skills/orc/SKILL.md +1 -1
- package/templates/skills/orc/config.md +25 -27
- package/templates/skills/orc/examples/full-run-mock.md +2 -1
- package/templates/skills/orc/references/effort-and-mode.md +17 -17
- package/templates/skills/orc/references/preflight-report.md +3 -3
- package/templates/skills/orc/references/ultra-mode.md +1 -1
- package/templates/skills/orc/schemas/checkpoint.md +122 -122
- package/templates/skills/orc/subskills/orc-review-verify/SKILL.md +3 -3
- package/templates/skills/orc/subskills/orc-review-verify/core.md +1 -1
- package/templates/skills/orc-analyze/SKILL.md +4 -2
- package/templates/skills/orc-claude/SKILL.md +14 -14
- package/templates/skills/orc-claude/examples/claude-run-mock.md +65 -65
- package/templates/skills/orc-diy/SKILL.md +5 -5
- package/templates/skills/orc-fast/SKILL.md +8 -6
- package/templates/skills/orc-fix/SKILL.md +110 -0
- package/templates/skills/orc-mini/SKILL.md +4 -4
- package/templates/skills/orc-mini/examples/mini-run-mock.md +4 -2
- package/templates/skills/orc-quick/README.md +1 -1
- package/templates/skills/orc-quick/SKILL.md +2 -2
- package/templates/skills/orc-quick/references/dispatch-gate.md +3 -2
- package/templates/skills/orc-quick/references/gh-mode.md +4 -2
- package/templates/skills/orc-retro/SKILL.md +1 -1
- package/templates/skills/orc-retro/examples/retro-mock.md +16 -16
- package/templates/skills/orc-wiki/README.md +325 -325
- package/templates/skills/orc-wiki/SKILL.md +195 -195
- package/templates/skills/orc-wiki/examples/wiki-run-mock.md +37 -37
- package/templates/skills/orc-wiki/references/extra.md +2 -2
- package/templates/skills/orc-wiki/references/partial-refresh.md +276 -271
- package/templates/skills/orc-wiki/references/phases/phase-0.md +1 -1
- package/templates/skills/orc-wiki/references/phases/phase-2.md +3 -3
- package/templates/skills/orc-wiki/references/phases/phase-3c.md +3 -2
- package/templates/agents/orc-claude-writer-opus-4-8-high.md +0 -48
- package/templates/agents/orc-wiki-scanner-opus-4-8-high.md +0 -74
package/mock-run/orc-explain.md
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
# Mock run — `/orc-explain`
|
|
2
|
-
|
|
3
|
-
> ORC said something you did not understand. Type this and it says it again,
|
|
4
|
-
> properly.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 1. What it does
|
|
9
|
-
|
|
10
|
-
It re-explains the **last thing ORC said** (or an earlier one, if you point at
|
|
11
|
-
it). It adds the background the message assumed, and defines every ORC-only
|
|
12
|
-
word in your project's own terms.
|
|
13
|
-
|
|
14
|
-
It is not "make it shorter". A summary of something you did not understand is
|
|
15
|
-
the same thing you did not understand.
|
|
16
|
-
|
|
17
|
-
Nothing about the run changes: no re-plan, no re-score, no undo, no new
|
|
18
|
-
question. When it finishes, you are exactly where you were.
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## 2. The run
|
|
23
|
-
|
|
24
|
-
ORC has just printed a scoring block. Rina reads it and blinks.
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
T1 3·new-surface·stateful·new-tests·fan0/3·low = 6+18+16+8+9 = 57
|
|
28
|
-
→ orc-executor-
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
> /orc-explain
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
The point: task T1 is medium-hard, so I am sending it to
|
|
37
|
-
effort, and it must finish before three other tasks can start.
|
|
38
|
-
|
|
39
|
-
The background that line assumed
|
|
40
|
-
Before building, I give each task a number from 0 to 100. The number is
|
|
41
|
-
arithmetic, not opinion: the planner (which read your files) reports a few
|
|
42
|
-
properties of the task, and I add them up with a published formula. The
|
|
43
|
-
number then picks the model from a fixed table. That is why you can argue
|
|
44
|
-
with it — the inputs are all visible.
|
|
45
|
-
|
|
46
|
-
Every word in that line, in this project's terms
|
|
47
|
-
facet one property of the task the planner measured
|
|
48
|
-
3 the task touches 3 files (`breadth`)
|
|
49
|
-
new-surface api/orders/note_service.ts does not exist yet — this task
|
|
50
|
-
creates it (`novelty`)
|
|
51
|
-
stateful it holds data between calls, not just if/else (`logic`)
|
|
52
|
-
new-tests tests must be written, not just updated (`test_surface`)
|
|
53
|
-
fan0/3 it depends on 0 tasks; 3 tasks depend on IT. That is why I
|
|
54
|
-
called it a keystone, and why it runs alone in wave 1.
|
|
55
|
-
low the planner's own confidence that the task is uncertain
|
|
56
|
-
57 the total. The table maps [
|
|
57
|
-
band one row of that table
|
|
58
|
-
wave a group of tasks that can run at the same time because no
|
|
59
|
-
two of them write the same file
|
|
60
|
-
|
|
61
|
-
What this means for you
|
|
62
|
-
Nothing to decide. This was me showing my work before dispatching. If you
|
|
63
|
-
think 57 is wrong — say so, and I will re-score with your correction.
|
|
64
|
-
|
|
65
|
-
Back to the run. Waiting for your "go" on the wave plan.
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## 3. What to notice
|
|
71
|
-
|
|
72
|
-
- **It explains, it never re-does.** No agent is dispatched, no file is
|
|
73
|
-
written, no gate changes.
|
|
74
|
-
- **It defines words in *your* project's terms**, using `wiki/orc-orientation.md`
|
|
75
|
-
when a wiki exists, so the words match the rest of your docs.
|
|
76
|
-
- **The skill itself is deliberately tiny.** A long skill that says "be clear"
|
|
77
|
-
makes a wordy model, because the model copies the length it sees.
|
|
78
|
-
- **This lane writes no trace on purpose.** It is the only lane that does not,
|
|
79
|
-
and `orc stats --help` says so — a stated blind spot, not an oversight.
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## 4. Related
|
|
84
|
-
|
|
85
|
-
- The words themselves: `orc onboarding lanes`
|
|
86
|
-
- The whole walkthrough with no GitHub needed: `orc onboarding`
|
|
1
|
+
# Mock run — `/orc-explain`
|
|
2
|
+
|
|
3
|
+
> ORC said something you did not understand. Type this and it says it again,
|
|
4
|
+
> properly.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. What it does
|
|
9
|
+
|
|
10
|
+
It re-explains the **last thing ORC said** (or an earlier one, if you point at
|
|
11
|
+
it). It adds the background the message assumed, and defines every ORC-only
|
|
12
|
+
word in your project's own terms.
|
|
13
|
+
|
|
14
|
+
It is not "make it shorter". A summary of something you did not understand is
|
|
15
|
+
the same thing you did not understand.
|
|
16
|
+
|
|
17
|
+
Nothing about the run changes: no re-plan, no re-score, no undo, no new
|
|
18
|
+
question. When it finishes, you are exactly where you were.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 2. The run
|
|
23
|
+
|
|
24
|
+
ORC has just printed a scoring block. Rina reads it and blinks.
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
T1 3·new-surface·stateful·new-tests·fan0/3·low = 6+18+16+8+9 = 57
|
|
28
|
+
→ orc-executor-opus-5-low (keystone)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
> /orc-explain
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
The point: task T1 is medium-hard, so I am sending it to Opus 5.5 at low
|
|
37
|
+
effort, and it must finish before three other tasks can start.
|
|
38
|
+
|
|
39
|
+
The background that line assumed
|
|
40
|
+
Before building, I give each task a number from 0 to 100. The number is
|
|
41
|
+
arithmetic, not opinion: the planner (which read your files) reports a few
|
|
42
|
+
properties of the task, and I add them up with a published formula. The
|
|
43
|
+
number then picks the model from a fixed table. That is why you can argue
|
|
44
|
+
with it — the inputs are all visible.
|
|
45
|
+
|
|
46
|
+
Every word in that line, in this project's terms
|
|
47
|
+
facet one property of the task the planner measured
|
|
48
|
+
3 the task touches 3 files (`breadth`)
|
|
49
|
+
new-surface api/orders/note_service.ts does not exist yet — this task
|
|
50
|
+
creates it (`novelty`)
|
|
51
|
+
stateful it holds data between calls, not just if/else (`logic`)
|
|
52
|
+
new-tests tests must be written, not just updated (`test_surface`)
|
|
53
|
+
fan0/3 it depends on 0 tasks; 3 tasks depend on IT. That is why I
|
|
54
|
+
called it a keystone, and why it runs alone in wave 1.
|
|
55
|
+
low the planner's own confidence that the task is uncertain
|
|
56
|
+
57 the total. The table maps [41,90) to Opus 5.5 at low effort.
|
|
57
|
+
band one row of that table
|
|
58
|
+
wave a group of tasks that can run at the same time because no
|
|
59
|
+
two of them write the same file
|
|
60
|
+
|
|
61
|
+
What this means for you
|
|
62
|
+
Nothing to decide. This was me showing my work before dispatching. If you
|
|
63
|
+
think 57 is wrong — say so, and I will re-score with your correction.
|
|
64
|
+
|
|
65
|
+
Back to the run. Waiting for your "go" on the wave plan.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 3. What to notice
|
|
71
|
+
|
|
72
|
+
- **It explains, it never re-does.** No agent is dispatched, no file is
|
|
73
|
+
written, no gate changes.
|
|
74
|
+
- **It defines words in *your* project's terms**, using `wiki/orc-orientation.md`
|
|
75
|
+
when a wiki exists, so the words match the rest of your docs.
|
|
76
|
+
- **The skill itself is deliberately tiny.** A long skill that says "be clear"
|
|
77
|
+
makes a wordy model, because the model copies the length it sees.
|
|
78
|
+
- **This lane writes no trace on purpose.** It is the only lane that does not,
|
|
79
|
+
and `orc stats --help` says so — a stated blind spot, not an oversight.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 4. Related
|
|
84
|
+
|
|
85
|
+
- The words themselves: `orc onboarding lanes`
|
|
86
|
+
- The whole walkthrough with no GitHub needed: `orc onboarding`
|