oh-my-opencode 5.1.74 → 5.1.77
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/dist/cli/index.js +35367 -24312
- package/dist/cli/service-auth/commands.d.ts +1 -0
- package/dist/cli/service-auth/device-flow.d.ts +15 -3
- package/dist/cli/service-auth/device-name.d.ts +6 -0
- package/dist/cli/service-auth/keychain-helper/client.d.ts +9 -1
- package/dist/cli/service-auth/keychain-helper/darwin-backend.d.ts +7 -0
- package/dist/cli/service-auth/keychain-helper/darwin-read.d.ts +3 -1
- package/dist/cli/service-auth/keychain-helper/darwin-store.d.ts +3 -0
- package/dist/cli/service-auth/keychain-helper/dedicated-fake.test-support.d.ts +101 -0
- package/dist/cli/service-auth/keychain-helper/dedicated-store.d.ts +9 -0
- package/dist/cli/service-auth/keychain-helper/dedicated-switch.d.ts +35 -0
- package/dist/cli/service-auth/keychain-helper/pin.d.ts +3 -3
- package/dist/cli/service-auth/keystore.d.ts +6 -0
- package/dist/cli/service-auth/login-routes.d.ts +12 -0
- package/dist/cli/service-auth/machine-reconcile.d.ts +34 -0
- package/dist/cli/service-auth/protocol.d.ts +39 -1
- package/dist/cli/service-auth/replace-device.d.ts +11 -0
- package/dist/cli/service-auth/session.d.ts +5 -0
- package/dist/cli/service-auth/test-support.d.ts +2 -0
- package/dist/cli-node/index.js +35367 -24312
- package/dist/index.js +350 -232
- package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
- package/dist/skills/data-scientist/references/visualization.md +1 -1
- package/dist/skills/frontend/SKILL.md +1 -1
- package/dist/skills/frontend/references/design/_INDEX.md +2 -0
- package/dist/skills/ulw-plan/references/full-workflow.md +3 -3
- package/dist/skills/ulw-plan/scripts/plan-templates.mjs +3 -3
- package/dist/skills/ulw-research/SKILL.md +1 -1
- package/dist/skills/visual-qa/SKILL.md +1 -1
- package/dist/tui.js +72 -24
- package/package.json +14 -14
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +158 -174
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/plan.toml +5 -6
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +2 -2
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/scripts/plan-templates.mjs +3 -3
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/plugin/skills/data-scientist/references/visualization.md +1 -1
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +2 -0
- package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +2 -2
- package/packages/omo-codex/plugin/skills/ulw-plan/scripts/plan-templates.mjs +3 -3
- package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/visual-qa/SKILL.md +1 -1
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +16 -35
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/shared-skills/skills/data-scientist/references/visualization.md +1 -1
- package/packages/shared-skills/skills/frontend/SKILL.md +1 -1
- package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +2 -0
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +3 -3
- package/packages/shared-skills/skills/ulw-plan/scripts/plan-templates.mjs +3 -3
- package/packages/shared-skills/skills/ulw-research/SKILL.md +1 -1
- package/packages/shared-skills/skills/visual-qa/SKILL.md +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"type": "command",
|
|
8
8
|
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
|
|
9
9
|
"timeout": 10,
|
|
10
|
-
"statusMessage": "(OmO 5.1.
|
|
10
|
+
"statusMessage": "(OmO 5.1.77) Loading Project Rules",
|
|
11
11
|
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook user-prompt-submit"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sisyphuslabs/omo-codex-plugin",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.77",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@sisyphuslabs/omo-codex-plugin",
|
|
9
|
-
"version": "5.1.
|
|
9
|
+
"version": "5.1.77",
|
|
10
10
|
"workspaces": [
|
|
11
11
|
"components/comment-checker",
|
|
12
12
|
"components/git-bash",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
},
|
|
101
101
|
"components/comment-checker": {
|
|
102
102
|
"name": "@code-yeongyu/codex-comment-checker",
|
|
103
|
-
"version": "5.1.
|
|
103
|
+
"version": "5.1.77",
|
|
104
104
|
"license": "MIT",
|
|
105
105
|
"bin": {
|
|
106
106
|
"omo-comment-checker": "dist/cli.js"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
},
|
|
123
123
|
"components/git-bash": {
|
|
124
124
|
"name": "@sisyphuslabs/codex-git-bash-hook",
|
|
125
|
-
"version": "5.1.
|
|
125
|
+
"version": "5.1.77",
|
|
126
126
|
"bin": {
|
|
127
127
|
"omo-git-bash-hook": "dist/cli.js"
|
|
128
128
|
},
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
},
|
|
137
137
|
"components/lazycodex-executor-verify": {
|
|
138
138
|
"name": "@code-yeongyu/codex-lazycodex-executor-verify",
|
|
139
|
-
"version": "5.1.
|
|
139
|
+
"version": "5.1.77",
|
|
140
140
|
"license": "MIT",
|
|
141
141
|
"bin": {
|
|
142
142
|
"lazycodex-executor-verify": "dist/cli.js"
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
},
|
|
155
155
|
"components/lsp": {
|
|
156
156
|
"name": "@code-yeongyu/codex-lsp",
|
|
157
|
-
"version": "5.1.
|
|
157
|
+
"version": "5.1.77",
|
|
158
158
|
"license": "MIT",
|
|
159
159
|
"dependencies": {
|
|
160
160
|
"@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
},
|
|
177
177
|
"components/rules": {
|
|
178
178
|
"name": "@code-yeongyu/codex-rules",
|
|
179
|
-
"version": "5.1.
|
|
179
|
+
"version": "5.1.77",
|
|
180
180
|
"license": "MIT",
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"picomatch": "^4.0.7"
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
},
|
|
200
200
|
"components/teammode": {
|
|
201
201
|
"name": "@sisyphuslabs/codex-teammode",
|
|
202
|
-
"version": "5.1.
|
|
202
|
+
"version": "5.1.77",
|
|
203
203
|
"devDependencies": {
|
|
204
204
|
"@types/node": "^26.6.2",
|
|
205
205
|
"@vitest/coverage-v8": "5.0.1",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
},
|
|
214
214
|
"components/telemetry": {
|
|
215
215
|
"name": "@code-yeongyu/codex-telemetry",
|
|
216
|
-
"version": "5.1.
|
|
216
|
+
"version": "5.1.77",
|
|
217
217
|
"license": "MIT",
|
|
218
218
|
"bin": {
|
|
219
219
|
"omo-telemetry": "dist/cli.js"
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
},
|
|
233
233
|
"components/ultrawork": {
|
|
234
234
|
"name": "@code-yeongyu/codex-ultrawork",
|
|
235
|
-
"version": "5.1.
|
|
235
|
+
"version": "5.1.77",
|
|
236
236
|
"license": "MIT",
|
|
237
237
|
"bin": {
|
|
238
238
|
"omo-ultrawork": "dist/cli.js"
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
},
|
|
252
252
|
"components/ulw-execute-continuation": {
|
|
253
253
|
"name": "@code-yeongyu/codex-ulw-execute-continuation",
|
|
254
|
-
"version": "5.1.
|
|
254
|
+
"version": "5.1.77",
|
|
255
255
|
"license": "MIT",
|
|
256
256
|
"bin": {
|
|
257
257
|
"omo-ulw-execute-continuation": "dist/cli.js"
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
},
|
|
270
270
|
"components/ulw-loop": {
|
|
271
271
|
"name": "@code-yeongyu/codex-ulw-loop",
|
|
272
|
-
"version": "5.1.
|
|
272
|
+
"version": "5.1.77",
|
|
273
273
|
"license": "MIT",
|
|
274
274
|
"bin": {
|
|
275
275
|
"omo-ulw-loop": "dist/cli.js",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Visualization
|
|
2
2
|
|
|
3
3
|
A chart exists to answer a question at a glance. A chart shown inline beside a reply
|
|
4
|
-
(
|
|
4
|
+
(the host's inline-page or HTML-preview tool, such as `show_html_page`) is drawn in HTML, never as a matplotlib PNG:
|
|
5
5
|
an image ignores the reader's theme and width. When the `visualize` skill is available, it builds
|
|
6
6
|
that page. There this file's chart-type table, Figures and Quality bar apply, and the matplotlib
|
|
7
7
|
calls do not. Everywhere else (a kernel, a file, a document) render it with matplotlib (resident
|
|
@@ -5,7 +5,7 @@ description: "Builds, styles, and polishes anything drawn with HTML, CSS, or SVG
|
|
|
5
5
|
|
|
6
6
|
# Frontend
|
|
7
7
|
|
|
8
|
-
This file is a router over `references/`; the rules live there. The flow is ground -> brief -> build -> subtract -> verify. The bar is restraint with a visible hierarchy: one primary action, the important thing first, nothing on the screen without a job. A quiet, correct screen that holds its hierarchy at 390 and 1440 in both themes is a finish. Atmosphere, motion, and award-grade surface work are opt-in: build them when the brief asks (a named brand, "premium", "make it stunning", a marketing page), never by default for an internal tool, dashboard, admin screen, report, or figure. An inline page shown beside a reply (a chart, table, or diagram for
|
|
8
|
+
This file is a router over `references/`; the rules live there. The flow is ground -> brief -> build -> subtract -> verify. The bar is restraint with a visible hierarchy: one primary action, the important thing first, nothing on the screen without a job. A quiet, correct screen that holds its hierarchy at 390 and 1440 in both themes is a finish. Atmosphere, motion, and award-grade surface work are opt-in: build them when the brief asks (a named brand, "premium", "make it stunning", a marketing page), never by default for an internal tool, dashboard, admin screen, report, or figure. An inline page shown beside a reply (a chart, table, or diagram for the host's inline-page or HTML-preview tool, such as `show_html_page`) follows the `visualize` skill when it is available; either way it is exempt from the `DESIGN.md` gate, the Lighthouse audit, and the research lanes, and keeps the build rules, the Draft guard, and the lint.
|
|
9
9
|
|
|
10
10
|
## Route: name the references, read exactly those
|
|
11
11
|
|
|
@@ -37,6 +37,8 @@ From [Leonxlnx/taste-skill](https://github.com/Leonxlnx/taste-skill).
|
|
|
37
37
|
|
|
38
38
|
### Image-generation skills (do NOT write code, only produce reference imagery)
|
|
39
39
|
|
|
40
|
+
These files and `taste-skill.md` are upstream text: where they name a `generate_image` tool and your harness lists it as eval-only, call it as `tool.generate_image()` inside an eval cell.
|
|
41
|
+
|
|
40
42
|
| File | Purpose | Load when |
|
|
41
43
|
|---|---|---|
|
|
42
44
|
| `imagegen-frontend-web.md` | Generates Awwwards-level website design reference *images*. Strong typography, generous spacing, anti-slop visual discipline. | "Generate a mockup", "design reference image", "show me what it could look like", before any code. Pair with `image-to-code-skill.md` for the full image-to-code flow. |
|
|
@@ -135,7 +135,7 @@ For optimization work, capture baseline speed before changes plus behavior/regre
|
|
|
135
135
|
A criterion's adversarial classes are the ultraqa classes a fact about the change triggers: malformed input, prompt injection, cancel/resume, stale state, dirty worktree, hung or long commands, flaky tests, misleading success output, repeated interruptions. Record untriggered classes as not-applicable in one line.
|
|
136
136
|
Use channel-table evidence verbs — not vibes.
|
|
137
137
|
|
|
138
|
-
**Plan the waves (HEAVY goals).** Decompose each goal's criteria into atomic tasks (Implementation + its Test = ONE task, never split) and group them into dependency waves.
|
|
138
|
+
**Plan the waves (HEAVY goals).** Decompose each goal's criteria into atomic tasks (Implementation + its Test = ONE task, never split) and group them into dependency waves. Two tasks share a wave unless one reads what the other produces or both write the same file, generated artifact, schema, port or branch; shared setup (install, codegen, fixture, test server) is ONE Wave-1 task the others depend on; every edge names its reason. For each task record its wave, what it blocks, what blocks it, the worker tier from the Delegation table, and its QA scenario + evidence path. Build a dependency matrix (Task | Writes (files, shared state) | Depends on (reason) | Blocks) and name the critical path. Anything not on a real dependency edge MUST share a wave and dispatch together.
|
|
139
139
|
Revise any criterion that lacks observable `expectedEvidence` or a named channel before execution.
|
|
140
140
|
|
|
141
141
|
### 3. Inspect state
|
|
@@ -142,7 +142,7 @@ No Metis, no plan file, no execution until the user approves. The UNCLEAR path a
|
|
|
142
142
|
2. **Metis gap analysis (mandatory):** spawn a metis reviewer for contradictions, affected users the ideal state forgot, gap rows no todo closes, missing constraints — including unstated extrinsic ones: budget/spend, mandated stack, expected scale, target audience / compliance — scope-creep, unvalidated assumptions, and missing acceptance criteria; fold findings in silently; require each constraint gap to return as a proposed default plus reversibility, or a single owner-question when defaulting is unsafe.
|
|
143
143
|
3. APPEND todo batches into the `## Todos` region with edit/apply_patch - never rewrite the script-emitted headers; 50+ todos is fine; one request -> one plan.
|
|
144
144
|
4. Fill `## TL;DR (For humans)` LAST, after the detailed plan, so it summarizes the real plan, not an intention.
|
|
145
|
-
5. Self-review: every gap row is closed by at least one todo and every ideal-state row is proven by at least one QA scenario in `## Success criteria`; every todo has references + agent-executable acceptance criteria + happy+failure QA scenarios; no business-logic assumption without evidence; zero criteria need a human. HR6 backstop - confirm the plan's FIRST `## ` heading is `## TL;DR (For humans)` and that every header below it appears in the template order; if you ever hand-built or reordered the file, the human summary must still lead.
|
|
145
|
+
5. Self-review: every gap row is closed by at least one todo and every ideal-state row is proven by at least one QA scenario in `## Success criteria`; every todo has references + agent-executable acceptance criteria + happy+failure QA scenarios; no business-logic assumption without evidence, and no retry, timeout, lock, skip or cap without the evidenced cause it contains and the one scope it covers; an unknown cause is a diagnosis todo that blocks the fix; zero criteria need a human. HR6 backstop - confirm the plan's FIRST `## ` heading is `## TL;DR (For humans)` and that every header below it appears in the template order; if you ever hand-built or reordered the file, the human summary must still lead.
|
|
146
146
|
|
|
147
147
|
### Plan template (these are the headers the script emits - keep them verbatim)
|
|
148
148
|
```
|
|
@@ -157,7 +157,7 @@ No Metis, no plan file, no execution until the user approves. The UNCLEAR path a
|
|
|
157
157
|
## Commit strategy
|
|
158
158
|
## Success criteria
|
|
159
159
|
```
|
|
160
|
-
> `## Scope` opens with `### Affected user and ideal state` - the user, how they use the result, then the IS-n and GAP-n rows from the draft ledger - before Must have / Must NOT have; `## Success criteria` is the table mapping every IS row to its delivering todo(s), proving QA scenario, and evidence path.
|
|
160
|
+
> `## Scope` opens with `### Affected user and ideal state` - the user, how they use the result, then the IS-n and GAP-n rows from the draft ledger - before Must have / Must NOT have; `## Success criteria` is the table mapping every IS row to its delivering todo(s), proving QA scenario, and evidence path. Two todos share a wave unless one reads what the other produces or both write the same file, generated artifact, schema, port or branch; shared setup (install, codegen, fixture, test server) is ONE todo the others depend on; every edge names its reason. Implementation + Test = ONE todo. Each todo carries: exhaustive References (the executor has no interview context), agent-executable Acceptance criteria, happy + failure QA scenarios each with an evidence path, a Commit line, and a `Recommended task executor category:` line - the routing verdict the executor follows, with a one-line reason, in the omo category vocabulary: `quick` (mechanical / single-file - the default for every splittable piece), `unspecified-low` (small misc), `unspecified-high` (standard multi-file feature), `visual-engineering` (frontend/UI), `writing` (docs), `git` (git ops), `deep-low` (hairy debugging or cross-module reasoning the worker can settle from what it reads), `deep-high` (the same, when the central decision cannot be settled from evidence: a trade-off, a cross-package contract, or correctness argued from invariants), `ultrabrain` (ONE genuinely hard cohesive problem, delegated whole). Prefer many small `quick`-routable todos spread across parallel waves; when splitting would sever shared reasoning, keep ONE todo routed to `deep`/`ultrabrain` - never force-split work whose parts share one insight. Harnesses without categories map by difficulty: quick/unspecified-low/writing/git = low, unspecified-high/visual-engineering = medium, deep/ultrabrain = high.
|
|
161
161
|
|
|
162
162
|
## Plan artifact producer contract
|
|
163
163
|
|
|
@@ -147,10 +147,10 @@ Your next move: <fill - e.g. approve, or run a high-accuracy review>. Full execu
|
|
|
147
147
|
|
|
148
148
|
## Execution strategy
|
|
149
149
|
### Parallel execution waves
|
|
150
|
-
>
|
|
150
|
+
> Two todos share a wave unless one reads what the other produces or both write the same file, generated artifact, schema, port or branch; shared setup (install, codegen, fixture, test server) is ONE todo the others depend on; every edge names its reason.
|
|
151
151
|
|
|
152
152
|
### Dependency matrix
|
|
153
|
-
| Todo |
|
|
153
|
+
| Todo | Writes (files, shared state) | Depends on (reason) | Blocks |
|
|
154
154
|
| --- | --- | --- | --- |
|
|
155
155
|
|
|
156
156
|
## Todos
|
|
@@ -162,7 +162,7 @@ Your next move: <fill - e.g. approve, or run a high-accuracy review>. Full execu
|
|
|
162
162
|
Parallelization: Wave <N> | Blocked by: <...> | Blocks: <...>
|
|
163
163
|
References (executor has NO interview context - be exhaustive): <src/path:lines>
|
|
164
164
|
Acceptance criteria (agent-executable): <exact command or assertion>
|
|
165
|
-
QA scenarios (name the exact tool + invocation): happy + failure, Evidence <attemptDir>/task-1-${slug}.<ext>
|
|
165
|
+
QA scenarios (name the exact tool + invocation; time and failures driven through a fake clock or an injected fault, never a real wait or outage): happy + failure, Evidence <attemptDir>/task-1-${slug}.<ext>
|
|
166
166
|
Commit: <Y/N> | <type>(<scope>): <summary>
|
|
167
167
|
|
|
168
168
|
## Final verification wave
|
|
@@ -180,7 +180,7 @@ Next, write `$SESSION_DIR/pairs-strong.json` (the same file, keeping only the pa
|
|
|
180
180
|
|
|
181
181
|
**Repair is bounded.** After every gate run that found defects, ask `node "$SKILL_DIR/scripts/report-tools.mjs" repair decide --state "$SESSION_DIR/repair-state.json" --defects "$SESSION_DIR/defects.json" --defects "$SESSION_DIR/fidelity-defects.json" --artifact-bytes <bytes> --renders <pages> --session-dir "$SESSION_DIR"` and obey it: `repair` means fix and re-run; `deliver` means stop and ship with the residual defects the manifest now lists; `block` means a content-integrity defect remains (or there is no usable artifact), so do not deliver: tell the user what blocks it and record the row as `failed` with the reason. Never repair past a stop decision (3 attempts, a 2-attempt plateau, an oscillation, or 15 minutes; the reference's section 8). Fidelity defects ride the same loop (`--defects "$SESSION_DIR/defects.json" --defects "$SESSION_DIR/fidelity-defects.json"`), but a `deliver` decision does not release them: while `fidelity-defects.json` lists `untraceable_number`, `value_mismatch`, `unit_mismatch`, `quote_not_verbatim`, `quote_unbound`, `unbound_sentence`, or `chart_value_untraceable`, `outcome verify` fails with `fidelity_unresolved` and `outcome finish` refuses, even with the repair budget spent. The only ways out are a ledger row, an `assumed` row with its rationale, or removing the sentence.
|
|
182
182
|
|
|
183
|
-
Then resolve every manifest row (`outcome set <format> delivered --path <file> --verified-by <record>` (plus `--rendered-from <source>` for a PDF or DOCX) or `blocked_capability` / `skipped` / `failed` with `--reason`) and deliver. **Show the report inline first when the harness can.** When this session has a tool that shows an HTML page inline in the conversation (`show_html_page
|
|
183
|
+
Then resolve every manifest row (`outcome set <format> delivered --path <file> --verified-by <record>` (plus `--rendered-from <source>` for a PDF or DOCX) or `blocked_capability` / `skipped` / `failed` with `--reason`) and deliver. **Show the report inline first when the harness can.** When this session has a tool that shows an HTML page inline in the conversation (`show_html_page` in OmO, `html_render` on hosts that offer it), the requester's first view of the result is the report itself: the gated `report.html` when it fits the tool, otherwise an inline edition built from the same synthesis and assets, with the reference-compare pairs when the run has them ([references/deliverable-phase.md](references/deliverable-phase.md), section 9, Showing the report inline). Then give the artifact paths and a compact chat-readable summary of what the report says — the answer in a few sentences, the numbers that matter, and what to look at first. This holds on every tier, a chat answer included, and when the thing built is itself a page (an app, a 3D scene), showing it does not replace the report page. Without an inline page tool, deliver the artifact paths plus that summary. The document is the deliverable; the summary is what gets it read.
|
|
184
184
|
|
|
185
185
|
### The closing briefing — every run ends with it
|
|
186
186
|
|
|
@@ -310,7 +310,7 @@ task(subagent_type="oracle",
|
|
|
310
310
|
description="Visual QA pass B: visual fidelity and CJK precision",
|
|
311
311
|
prompt="""
|
|
312
312
|
REVIEW TYPE: VISUAL FIDELITY AND CJK PRECISION (read-only)
|
|
313
|
-
TIER INTENT: Treat this as the focused visual pass. Directly open the screenshots with the
|
|
313
|
+
TIER INTENT: Treat this as the focused visual pass. Directly open the screenshots with the image-viewing tool your harness lists (`view_image` on Codex, `look_at`, called as `tool.look_at()` inside an eval cell where it is eval-only, or browser inspection) before judging. Anchor every claim to the script evidence, source code, and captures.
|
|
314
314
|
|
|
315
315
|
INTENT:
|
|
316
316
|
{What the user requested and the mock or baseline to match.}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// omo-codex-install:
|
|
2
|
+
// omo-codex-install:26fa31bb0cc434c9100e081ad5e6fac85b8a06f71749189dc584805712213c56:40fc863c94e69b820c1729bbc1ccc9330db8fd156cf02e1ea9a3af08ae32e68b
|
|
3
3
|
var __esm = (fn, res, err) => () => {
|
|
4
4
|
if (fn)
|
|
5
5
|
try {
|
|
@@ -10206,7 +10206,7 @@ var package_default;
|
|
|
10206
10206
|
var init_package = __esm(() => {
|
|
10207
10207
|
package_default = {
|
|
10208
10208
|
name: "@oh-my-opencode/omo-codex",
|
|
10209
|
-
version: "5.1.
|
|
10209
|
+
version: "5.1.77",
|
|
10210
10210
|
type: "module",
|
|
10211
10211
|
private: true,
|
|
10212
10212
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -10237,7 +10237,6 @@ var init_package = __esm(() => {
|
|
|
10237
10237
|
"sync:skills": "node plugin/scripts/sync-skills.mjs"
|
|
10238
10238
|
},
|
|
10239
10239
|
dependencies: {
|
|
10240
|
-
"@oh-my-opencode/model-core": "workspace:*",
|
|
10241
10240
|
"@oh-my-opencode/shared-skills": "workspace:*",
|
|
10242
10241
|
"@oh-my-opencode/utils": "workspace:*"
|
|
10243
10242
|
},
|
|
@@ -13149,28 +13148,10 @@ function isRootSetting(line, key) {
|
|
|
13149
13148
|
// packages/omo-codex/src/install/codex-model-catalog.ts
|
|
13150
13149
|
import { readFile as readFile10 } from "node:fs/promises";
|
|
13151
13150
|
import { join as join16 } from "node:path";
|
|
13152
|
-
|
|
13153
|
-
// packages/model-core/src/latest-models.ts
|
|
13154
|
-
var LATEST_MODEL_BY_FAMILY = {
|
|
13155
|
-
claudeOpus: "claude-opus-5-5",
|
|
13156
|
-
claudeSonnet: "claude-sonnet-5-5",
|
|
13157
|
-
claudeHaiku: "claude-haiku-5-5",
|
|
13158
|
-
claudeFable: "claude-fable-5-2",
|
|
13159
|
-
gptAstra: "gpt-6-astra",
|
|
13160
|
-
gptSol: "gpt-6.1-sol",
|
|
13161
|
-
gptSolFast: "gpt-6.1-sol-fast",
|
|
13162
|
-
gptLunaFast: "gpt-6-luna-fast",
|
|
13163
|
-
glm: "glm-5.3",
|
|
13164
|
-
glmFlash: "glm-5.3-flash",
|
|
13165
|
-
kimi: "kimi-k3.1-pro",
|
|
13166
|
-
kimiK3: "kimi-k3",
|
|
13167
|
-
geminiPro: "gemini-4-argon"
|
|
13168
|
-
};
|
|
13169
|
-
|
|
13170
|
-
// packages/omo-codex/src/install/codex-model-catalog.ts
|
|
13151
|
+
var CODEX_ASTRA_MODEL = "gpt-6-astra";
|
|
13171
13152
|
var FALLBACK_CODEX_MODEL_CATALOG = {
|
|
13172
13153
|
current: {
|
|
13173
|
-
model:
|
|
13154
|
+
model: CODEX_ASTRA_MODEL,
|
|
13174
13155
|
modelContextWindow: 600000,
|
|
13175
13156
|
modelReasoningEffort: "high",
|
|
13176
13157
|
planModeReasoningEffort: "xhigh"
|
|
@@ -22250,7 +22231,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22250
22231
|
},
|
|
22251
22232
|
{
|
|
22252
22233
|
previous: { model: "gpt-5.6-luna", effort: "low" },
|
|
22253
|
-
current: { model:
|
|
22234
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "low" }
|
|
22254
22235
|
}
|
|
22255
22236
|
]
|
|
22256
22237
|
],
|
|
@@ -22267,7 +22248,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22267
22248
|
},
|
|
22268
22249
|
{
|
|
22269
22250
|
previous: { model: "gpt-5.6-luna", effort: "low" },
|
|
22270
|
-
current: { model:
|
|
22251
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "low" }
|
|
22271
22252
|
}
|
|
22272
22253
|
]
|
|
22273
22254
|
],
|
|
@@ -22276,7 +22257,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22276
22257
|
[
|
|
22277
22258
|
{
|
|
22278
22259
|
previous: { model: "gpt-5.6-sol", effort: "high" },
|
|
22279
|
-
current: { model:
|
|
22260
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22280
22261
|
}
|
|
22281
22262
|
]
|
|
22282
22263
|
],
|
|
@@ -22285,7 +22266,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22285
22266
|
[
|
|
22286
22267
|
{
|
|
22287
22268
|
previous: { model: "gpt-5.6-luna", effort: "high" },
|
|
22288
|
-
current: { model:
|
|
22269
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22289
22270
|
}
|
|
22290
22271
|
]
|
|
22291
22272
|
],
|
|
@@ -22302,7 +22283,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22302
22283
|
},
|
|
22303
22284
|
{
|
|
22304
22285
|
previous: { model: "gpt-5.6-terra", effort: "high" },
|
|
22305
|
-
current: { model:
|
|
22286
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22306
22287
|
}
|
|
22307
22288
|
]
|
|
22308
22289
|
],
|
|
@@ -22319,7 +22300,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22319
22300
|
},
|
|
22320
22301
|
{
|
|
22321
22302
|
previous: { model: "gpt-5.6-sol", effort: "high" },
|
|
22322
|
-
current: { model:
|
|
22303
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22323
22304
|
}
|
|
22324
22305
|
]
|
|
22325
22306
|
],
|
|
@@ -22336,7 +22317,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22336
22317
|
},
|
|
22337
22318
|
{
|
|
22338
22319
|
previous: { model: "gpt-5.6-terra", effort: "high" },
|
|
22339
|
-
current: { model:
|
|
22320
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22340
22321
|
}
|
|
22341
22322
|
]
|
|
22342
22323
|
],
|
|
@@ -22349,7 +22330,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22349
22330
|
},
|
|
22350
22331
|
{
|
|
22351
22332
|
previous: { model: "gpt-5.6-sol", effort: "medium" },
|
|
22352
|
-
current: { model:
|
|
22333
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "medium" }
|
|
22353
22334
|
}
|
|
22354
22335
|
]
|
|
22355
22336
|
],
|
|
@@ -22362,7 +22343,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22362
22343
|
},
|
|
22363
22344
|
{
|
|
22364
22345
|
previous: { model: "gpt-5.6-terra", effort: "medium" },
|
|
22365
|
-
current: { model:
|
|
22346
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "medium" }
|
|
22366
22347
|
}
|
|
22367
22348
|
]
|
|
22368
22349
|
],
|
|
@@ -22375,7 +22356,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22375
22356
|
},
|
|
22376
22357
|
{
|
|
22377
22358
|
previous: { model: "gpt-5.6-terra", effort: "high" },
|
|
22378
|
-
current: { model:
|
|
22359
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22379
22360
|
}
|
|
22380
22361
|
]
|
|
22381
22362
|
],
|
|
@@ -22388,7 +22369,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22388
22369
|
},
|
|
22389
22370
|
{
|
|
22390
22371
|
previous: { model: "gpt-5.6-luna", effort: "high" },
|
|
22391
|
-
current: { model:
|
|
22372
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "high" }
|
|
22392
22373
|
}
|
|
22393
22374
|
]
|
|
22394
22375
|
],
|
|
@@ -22405,7 +22386,7 @@ var MANAGED_REASONING_DEFAULT_UPGRADES = new Map([
|
|
|
22405
22386
|
},
|
|
22406
22387
|
{
|
|
22407
22388
|
previous: { model: "gpt-5.6-sol", effort: "low" },
|
|
22408
|
-
current: { model:
|
|
22389
|
+
current: { model: CODEX_ASTRA_MODEL, effort: "low" }
|
|
22409
22390
|
}
|
|
22410
22391
|
]
|
|
22411
22392
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Visualization
|
|
2
2
|
|
|
3
3
|
A chart exists to answer a question at a glance. A chart shown inline beside a reply
|
|
4
|
-
(
|
|
4
|
+
(the host's inline-page or HTML-preview tool, such as `show_html_page`) is drawn in HTML, never as a matplotlib PNG:
|
|
5
5
|
an image ignores the reader's theme and width. When the `visualize` skill is available, it builds
|
|
6
6
|
that page. There this file's chart-type table, Figures and Quality bar apply, and the matplotlib
|
|
7
7
|
calls do not. Everywhere else (a kernel, a file, a document) render it with matplotlib (resident
|
|
@@ -5,7 +5,7 @@ description: "Builds, styles, and polishes anything drawn with HTML, CSS, or SVG
|
|
|
5
5
|
|
|
6
6
|
# Frontend
|
|
7
7
|
|
|
8
|
-
This file is a router over `references/`; the rules live there. The flow is ground -> brief -> build -> subtract -> verify. The bar is restraint with a visible hierarchy: one primary action, the important thing first, nothing on the screen without a job. A quiet, correct screen that holds its hierarchy at 390 and 1440 in both themes is a finish. Atmosphere, motion, and award-grade surface work are opt-in: build them when the brief asks (a named brand, "premium", "make it stunning", a marketing page), never by default for an internal tool, dashboard, admin screen, report, or figure. An inline page shown beside a reply (a chart, table, or diagram for
|
|
8
|
+
This file is a router over `references/`; the rules live there. The flow is ground -> brief -> build -> subtract -> verify. The bar is restraint with a visible hierarchy: one primary action, the important thing first, nothing on the screen without a job. A quiet, correct screen that holds its hierarchy at 390 and 1440 in both themes is a finish. Atmosphere, motion, and award-grade surface work are opt-in: build them when the brief asks (a named brand, "premium", "make it stunning", a marketing page), never by default for an internal tool, dashboard, admin screen, report, or figure. An inline page shown beside a reply (a chart, table, or diagram for the host's inline-page or HTML-preview tool, such as `show_html_page`) follows the `visualize` skill when it is available; either way it is exempt from the `DESIGN.md` gate, the Lighthouse audit, and the research lanes, and keeps the build rules, the Draft guard, and the lint.
|
|
9
9
|
|
|
10
10
|
## Route: name the references, read exactly those
|
|
11
11
|
|
|
@@ -37,6 +37,8 @@ From [Leonxlnx/taste-skill](https://github.com/Leonxlnx/taste-skill).
|
|
|
37
37
|
|
|
38
38
|
### Image-generation skills (do NOT write code, only produce reference imagery)
|
|
39
39
|
|
|
40
|
+
These files and `taste-skill.md` are upstream text: where they name a `generate_image` tool and your harness lists it as eval-only, call it as `tool.generate_image()` inside an eval cell.
|
|
41
|
+
|
|
40
42
|
| File | Purpose | Load when |
|
|
41
43
|
|---|---|---|
|
|
42
44
|
| `imagegen-frontend-web.md` | Generates Awwwards-level website design reference *images*. Strong typography, generous spacing, anti-slop visual discipline. | "Generate a mockup", "design reference image", "show me what it could look like", before any code. Pair with `image-to-code-skill.md` for the full image-to-code flow. |
|
|
@@ -142,7 +142,7 @@ No Metis, no plan file, no execution until the user approves. The UNCLEAR path a
|
|
|
142
142
|
2. **Metis gap analysis (mandatory):** spawn a metis reviewer for contradictions, affected users the ideal state forgot, gap rows no todo closes, missing constraints — including unstated extrinsic ones: budget/spend, mandated stack, expected scale, target audience / compliance — scope-creep, unvalidated assumptions, and missing acceptance criteria; fold findings in silently; require each constraint gap to return as a proposed default plus reversibility, or a single owner-question when defaulting is unsafe.
|
|
143
143
|
3. APPEND todo batches into the `## Todos` region with edit/apply_patch - never rewrite the script-emitted headers; 50+ todos is fine; one request -> one plan.
|
|
144
144
|
4. Fill `## TL;DR (For humans)` LAST, after the detailed plan, so it summarizes the real plan, not an intention.
|
|
145
|
-
5. Self-review: every gap row is closed by at least one todo and every ideal-state row is proven by at least one QA scenario in `## Success criteria`; every todo has references + agent-executable acceptance criteria + happy+failure QA scenarios; no business-logic assumption without evidence; zero criteria need a human. HR6 backstop - confirm the plan's FIRST `## ` heading is `## TL;DR (For humans)` and that every header below it appears in the template order; if you ever hand-built or reordered the file, the human summary must still lead.
|
|
145
|
+
5. Self-review: every gap row is closed by at least one todo and every ideal-state row is proven by at least one QA scenario in `## Success criteria`; every todo has references + agent-executable acceptance criteria + happy+failure QA scenarios; no business-logic assumption without evidence, and no retry, timeout, lock, skip or cap without the evidenced cause it contains and the one scope it covers; an unknown cause is a diagnosis todo that blocks the fix; zero criteria need a human. HR6 backstop - confirm the plan's FIRST `## ` heading is `## TL;DR (For humans)` and that every header below it appears in the template order; if you ever hand-built or reordered the file, the human summary must still lead.
|
|
146
146
|
|
|
147
147
|
### Plan template (these are the headers the script emits - keep them verbatim)
|
|
148
148
|
```
|
|
@@ -158,7 +158,7 @@ No Metis, no plan file, no execution until the user approves. The UNCLEAR path a
|
|
|
158
158
|
## Commit strategy
|
|
159
159
|
## Success criteria
|
|
160
160
|
```
|
|
161
|
-
> `## Scope` opens with `### Affected user and ideal state` - the user, how they use the result, then the IS-n and GAP-n rows from the draft ledger - before Must have / Must NOT have; `## Success criteria` is the table mapping every IS row to its delivering todo(s), proving QA scenario, and evidence path.
|
|
161
|
+
> `## Scope` opens with `### Affected user and ideal state` - the user, how they use the result, then the IS-n and GAP-n rows from the draft ledger - before Must have / Must NOT have; `## Success criteria` is the table mapping every IS row to its delivering todo(s), proving QA scenario, and evidence path. Two todos share a wave unless one reads what the other produces or both write the same file, generated artifact, schema, port or branch; shared setup (install, codegen, fixture, test server) is ONE todo the others depend on; every edge names its reason. Implementation + Test = ONE todo. Each todo carries: exhaustive References (the executor has no interview context), agent-executable Acceptance criteria, happy + failure QA scenarios each with an evidence path, a Commit line, and a `Recommended task executor category:` line - the routing verdict the executor follows, with a one-line reason, in the omo category vocabulary: `quick` (mechanical / single-file - the default for every splittable piece), `unspecified-low` (small misc), `unspecified-high` (standard multi-file feature), `visual-engineering` (frontend/UI), `writing` (docs), `git` (git ops), `deep-low` (hairy debugging or cross-module reasoning the worker can settle from what it reads), `deep-high` (the same, when the central decision cannot be settled from evidence: a trade-off, a cross-package contract, or correctness argued from invariants), `ultrabrain` (ONE genuinely hard cohesive problem, delegated whole). Prefer many small `quick`-routable todos spread across parallel waves; when splitting would sever shared reasoning, keep ONE todo routed to `deep`/`ultrabrain` - never force-split work whose parts share one insight. Harnesses without categories map by difficulty: quick/unspecified-low/writing/git = low, unspecified-high/visual-engineering = medium, deep/ultrabrain = high.
|
|
162
162
|
|
|
163
163
|
## Plan artifact producer contract
|
|
164
164
|
|
|
@@ -248,7 +248,7 @@ Every delegated prompt starts with `TASK:`, then DELIVERABLE / SCOPE / VERIFY; s
|
|
|
248
248
|
task(subagent_type="explore", description="Map the implementation surface", prompt="TASK: act as an explorer. DELIVERABLE: ... SCOPE: ... VERIFY: ...")
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
Roles - the ONLY spawnable subagents (all read-only, plus `oracle` for the high-accuracy review): `explore`, `librarian`, `metis`, `momus`. Never dispatch with `category=` and never instruct a child to edit files. Spawn long plan/reviewer agents in the background through the OpenCode task surface;
|
|
251
|
+
Roles - the ONLY spawnable subagents (all read-only, plus `oracle` for the high-accuracy review): `explore`, `librarian`, `metis`, `momus`. Never dispatch with `category=` and never instruct a child to edit files. Spawn long plan/reviewer agents in the background through the OpenCode task surface; its completion arrives as a notification, so keep working or end the turn. Require the child to send `WORKING: <task> - <phase>` before long passes and `BLOCKED: <reason>` only when progress stops. A timeout only means no new update arrived; treat a running child as alive. Fall back only when the child completed without the deliverable, is ack-only after followup, explicitly `BLOCKED:`, or no longer running; then respawn a smaller delegated job. Close each agent after integrating its result.
|
|
252
252
|
|
|
253
253
|
## Stop rules
|
|
254
254
|
- Plan file exists, template filled, every todo has references + acceptance + QA + commit, dependency matrix consistent, and any required high-accuracy receipts recorded: present the handoff explanation (Phase 4 format), then (CLEAR without `review_required`) ask the start-or-high-accuracy question, or (CLEAR with `review_required` / UNCLEAR) report the review result - and stop. Execution belongs to the worker, never to you.
|
|
@@ -147,10 +147,10 @@ Your next move: <fill - e.g. approve, or run a high-accuracy review>. Full execu
|
|
|
147
147
|
|
|
148
148
|
## Execution strategy
|
|
149
149
|
### Parallel execution waves
|
|
150
|
-
>
|
|
150
|
+
> Two todos share a wave unless one reads what the other produces or both write the same file, generated artifact, schema, port or branch; shared setup (install, codegen, fixture, test server) is ONE todo the others depend on; every edge names its reason.
|
|
151
151
|
|
|
152
152
|
### Dependency matrix
|
|
153
|
-
| Todo |
|
|
153
|
+
| Todo | Writes (files, shared state) | Depends on (reason) | Blocks |
|
|
154
154
|
| --- | --- | --- | --- |
|
|
155
155
|
|
|
156
156
|
## Todos
|
|
@@ -162,7 +162,7 @@ Your next move: <fill - e.g. approve, or run a high-accuracy review>. Full execu
|
|
|
162
162
|
Parallelization: Wave <N> | Blocked by: <...> | Blocks: <...>
|
|
163
163
|
References (executor has NO interview context - be exhaustive): <src/path:lines>
|
|
164
164
|
Acceptance criteria (agent-executable): <exact command or assertion>
|
|
165
|
-
QA scenarios (name the exact tool + invocation): happy + failure, Evidence <attemptDir>/task-1-${slug}.<ext>
|
|
165
|
+
QA scenarios (name the exact tool + invocation; time and failures driven through a fake clock or an injected fault, never a real wait or outage): happy + failure, Evidence <attemptDir>/task-1-${slug}.<ext>
|
|
166
166
|
Commit: <Y/N> | <type>(<scope>): <summary>
|
|
167
167
|
|
|
168
168
|
## Final verification wave
|
|
@@ -179,7 +179,7 @@ Next, write `$SESSION_DIR/pairs-strong.json` (the same file, keeping only the pa
|
|
|
179
179
|
|
|
180
180
|
**Repair is bounded.** After every gate run that found defects, ask `node "$SKILL_DIR/scripts/report-tools.mjs" repair decide --state "$SESSION_DIR/repair-state.json" --defects "$SESSION_DIR/defects.json" --defects "$SESSION_DIR/fidelity-defects.json" --artifact-bytes <bytes> --renders <pages> --session-dir "$SESSION_DIR"` and obey it: `repair` means fix and re-run; `deliver` means stop and ship with the residual defects the manifest now lists; `block` means a content-integrity defect remains (or there is no usable artifact), so do not deliver: tell the user what blocks it and record the row as `failed` with the reason. Never repair past a stop decision (3 attempts, a 2-attempt plateau, an oscillation, or 15 minutes; the reference's section 8). Fidelity defects ride the same loop (`--defects "$SESSION_DIR/defects.json" --defects "$SESSION_DIR/fidelity-defects.json"`), but a `deliver` decision does not release them: while `fidelity-defects.json` lists `untraceable_number`, `value_mismatch`, `unit_mismatch`, `quote_not_verbatim`, `quote_unbound`, `unbound_sentence`, or `chart_value_untraceable`, `outcome verify` fails with `fidelity_unresolved` and `outcome finish` refuses, even with the repair budget spent. The only ways out are a ledger row, an `assumed` row with its rationale, or removing the sentence.
|
|
181
181
|
|
|
182
|
-
Then resolve every manifest row (`outcome set <format> delivered --path <file> --verified-by <record>` (plus `--rendered-from <source>` for a PDF or DOCX) or `blocked_capability` / `skipped` / `failed` with `--reason`) and deliver. **Show the report inline first when the harness can.** When this session has a tool that shows an HTML page inline in the conversation (`show_html_page
|
|
182
|
+
Then resolve every manifest row (`outcome set <format> delivered --path <file> --verified-by <record>` (plus `--rendered-from <source>` for a PDF or DOCX) or `blocked_capability` / `skipped` / `failed` with `--reason`) and deliver. **Show the report inline first when the harness can.** When this session has a tool that shows an HTML page inline in the conversation (`show_html_page` in OmO, `html_render` on hosts that offer it), the requester's first view of the result is the report itself: the gated `report.html` when it fits the tool, otherwise an inline edition built from the same synthesis and assets, with the reference-compare pairs when the run has them ([references/deliverable-phase.md](references/deliverable-phase.md), section 9, Showing the report inline). Then give the artifact paths and a compact chat-readable summary of what the report says — the answer in a few sentences, the numbers that matter, and what to look at first. This holds on every tier, a chat answer included, and when the thing built is itself a page (an app, a 3D scene), showing it does not replace the report page. Without an inline page tool, deliver the artifact paths plus that summary. The document is the deliverable; the summary is what gets it read.
|
|
183
183
|
|
|
184
184
|
### The closing briefing — every run ends with it
|
|
185
185
|
|
|
@@ -286,7 +286,7 @@ task(subagent_type="oracle",
|
|
|
286
286
|
description="Visual QA pass B: visual fidelity and CJK precision",
|
|
287
287
|
prompt="""
|
|
288
288
|
REVIEW TYPE: VISUAL FIDELITY AND CJK PRECISION (read-only)
|
|
289
|
-
TIER INTENT: Treat this as the focused visual pass. Directly open the screenshots with the
|
|
289
|
+
TIER INTENT: Treat this as the focused visual pass. Directly open the screenshots with the image-viewing tool your harness lists (`view_image` on Codex, `look_at`, called as `tool.look_at()` inside an eval cell where it is eval-only, or browser inspection) before judging. Anchor every claim to the script evidence, source code, and captures.
|
|
290
290
|
|
|
291
291
|
INTENT:
|
|
292
292
|
{What the user requested and the mock or baseline to match.}
|