oh-my-codex 0.16.3 → 0.16.4
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/Cargo.lock +5 -5
- package/Cargo.toml +1 -1
- package/README.md +3 -3
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js +9 -0
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js.map +1 -1
- package/dist/cli/__tests__/cleanup.test.js +27 -0
- package/dist/cli/__tests__/cleanup.test.js.map +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js +7 -5
- package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-warning-copy.test.js +101 -6
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +131 -2
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js +2 -0
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph.test.js +47 -0
- package/dist/cli/__tests__/ralph.test.js.map +1 -1
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js +2 -2
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js.map +1 -1
- package/dist/cli/__tests__/setup-install-mode.test.js +272 -26
- package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +85 -3
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +1 -1
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/setup-skills-overwrite.test.js +2 -1
- package/dist/cli/__tests__/setup-skills-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +108 -0
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/ultragoal.test.js +69 -0
- package/dist/cli/__tests__/ultragoal.test.js.map +1 -1
- package/dist/cli/__tests__/uninstall.test.js +54 -8
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/cleanup.d.ts.map +1 -1
- package/dist/cli/cleanup.js +8 -4
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/codex-feature-probe.d.ts +9 -0
- package/dist/cli/codex-feature-probe.d.ts.map +1 -0
- package/dist/cli/codex-feature-probe.js +28 -0
- package/dist/cli/codex-feature-probe.js.map +1 -0
- package/dist/cli/doctor.d.ts +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +152 -17
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +9 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +135 -17
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/mcp-parity.js +8 -8
- package/dist/cli/mcp-parity.js.map +1 -1
- package/dist/cli/plugin-marketplace.d.ts +3 -0
- package/dist/cli/plugin-marketplace.d.ts.map +1 -1
- package/dist/cli/plugin-marketplace.js +88 -0
- package/dist/cli/plugin-marketplace.js.map +1 -1
- package/dist/cli/ralph.d.ts.map +1 -1
- package/dist/cli/ralph.js +21 -0
- package/dist/cli/ralph.js.map +1 -1
- package/dist/cli/setup-preferences.d.ts +4 -0
- package/dist/cli/setup-preferences.d.ts.map +1 -1
- package/dist/cli/setup-preferences.js +7 -0
- package/dist/cli/setup-preferences.js.map +1 -1
- package/dist/cli/setup.d.ts +5 -3
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +114 -44
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/ultragoal.d.ts +1 -1
- package/dist/cli/ultragoal.d.ts.map +1 -1
- package/dist/cli/ultragoal.js +64 -5
- package/dist/cli/ultragoal.js.map +1 -1
- package/dist/cli/uninstall.d.ts +2 -0
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +12 -3
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/config/__tests__/codex-feature-flags.test.d.ts +2 -0
- package/dist/config/__tests__/codex-feature-flags.test.d.ts.map +1 -0
- package/dist/config/__tests__/codex-feature-flags.test.js +35 -0
- package/dist/config/__tests__/codex-feature-flags.test.js.map +1 -0
- package/dist/config/__tests__/codex-hooks.test.js +7 -0
- package/dist/config/__tests__/codex-hooks.test.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +70 -9
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +116 -11
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/__tests__/wiki-config-contract.test.js +6 -3
- package/dist/config/__tests__/wiki-config-contract.test.js.map +1 -1
- package/dist/config/codex-feature-flags.d.ts +21 -0
- package/dist/config/codex-feature-flags.d.ts.map +1 -0
- package/dist/config/codex-feature-flags.js +56 -0
- package/dist/config/codex-feature-flags.js.map +1 -0
- package/dist/config/codex-hooks.d.ts +2 -0
- package/dist/config/codex-hooks.d.ts.map +1 -1
- package/dist/config/codex-hooks.js +25 -3
- package/dist/config/codex-hooks.js.map +1 -1
- package/dist/config/generator.d.ts +11 -2
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +221 -123
- package/dist/config/generator.js.map +1 -1
- package/dist/config/omx-first-party-mcp.d.ts +3 -1
- package/dist/config/omx-first-party-mcp.d.ts.map +1 -1
- package/dist/config/omx-first-party-mcp.js +2 -2
- package/dist/config/omx-first-party-mcp.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +92 -2
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-non-omx-guard.test.js +125 -1
- package/dist/hooks/__tests__/notify-hook-non-omx-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.d.ts +2 -0
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.js +84 -0
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.js.map +1 -0
- package/dist/hooks/agents-overlay.js +2 -2
- package/dist/hooks/agents-overlay.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +1 -0
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +7 -5
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hud/__tests__/state.test.js +164 -0
- package/dist/hud/__tests__/state.test.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +4 -5
- package/dist/hud/state.js.map +1 -1
- package/dist/mcp/__tests__/state-paths.test.js +61 -0
- package/dist/mcp/__tests__/state-paths.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server.test.js +166 -0
- package/dist/mcp/__tests__/state-server.test.js.map +1 -1
- package/dist/mcp/state-paths.d.ts.map +1 -1
- package/dist/mcp/state-paths.js +23 -2
- package/dist/mcp/state-paths.js.map +1 -1
- package/dist/modes/__tests__/base-session-scope.test.js +22 -0
- package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
- package/dist/modes/__tests__/base-tmux-pane.test.js +57 -26
- package/dist/modes/__tests__/base-tmux-pane.test.js.map +1 -1
- package/dist/modes/base.d.ts.map +1 -1
- package/dist/modes/base.js +5 -0
- package/dist/modes/base.js.map +1 -1
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.d.ts +2 -0
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.d.ts.map +1 -0
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.js +316 -0
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.js.map +1 -0
- package/dist/planning/__tests__/approved-launch-hint-lineage-matrix.test.d.ts +2 -0
- package/dist/planning/__tests__/approved-launch-hint-lineage-matrix.test.d.ts.map +1 -0
- package/dist/planning/__tests__/approved-launch-hint-lineage-matrix.test.js +481 -0
- package/dist/planning/__tests__/approved-launch-hint-lineage-matrix.test.js.map +1 -0
- package/dist/planning/__tests__/artifacts.test.js +533 -4
- package/dist/planning/__tests__/artifacts.test.js.map +1 -1
- package/dist/planning/__tests__/context-pack-status.test.js +524 -0
- package/dist/planning/__tests__/context-pack-status.test.js.map +1 -1
- package/dist/planning/__tests__/markdown-structure.test.d.ts +2 -0
- package/dist/planning/__tests__/markdown-structure.test.d.ts.map +1 -0
- package/dist/planning/__tests__/markdown-structure.test.js +459 -0
- package/dist/planning/__tests__/markdown-structure.test.js.map +1 -0
- package/dist/planning/__tests__/ready-context-pack-role-refs.test.js +523 -1
- package/dist/planning/__tests__/ready-context-pack-role-refs.test.js.map +1 -1
- package/dist/planning/artifacts.d.ts +1 -1
- package/dist/planning/artifacts.d.ts.map +1 -1
- package/dist/planning/artifacts.js +227 -28
- package/dist/planning/artifacts.js.map +1 -1
- package/dist/planning/context-pack-status.d.ts +25 -0
- package/dist/planning/context-pack-status.d.ts.map +1 -1
- package/dist/planning/context-pack-status.js +272 -31
- package/dist/planning/context-pack-status.js.map +1 -1
- package/dist/planning/markdown-structure.d.ts +20 -0
- package/dist/planning/markdown-structure.d.ts.map +1 -0
- package/dist/planning/markdown-structure.js +137 -0
- package/dist/planning/markdown-structure.js.map +1 -0
- package/dist/ralph/__tests__/completion-audit.test.d.ts +2 -0
- package/dist/ralph/__tests__/completion-audit.test.d.ts.map +1 -0
- package/dist/ralph/__tests__/completion-audit.test.js +121 -0
- package/dist/ralph/__tests__/completion-audit.test.js.map +1 -0
- package/dist/ralph/completion-audit.d.ts +8 -0
- package/dist/ralph/completion-audit.d.ts.map +1 -0
- package/dist/ralph/completion-audit.js +99 -0
- package/dist/ralph/completion-audit.js.map +1 -0
- package/dist/scripts/__tests__/codex-native-hook.test.js +220 -13
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
- package/dist/scripts/__tests__/notify-dispatcher.test.d.ts +2 -0
- package/dist/scripts/__tests__/notify-dispatcher.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/notify-dispatcher.test.js +126 -0
- package/dist/scripts/__tests__/notify-dispatcher.test.js.map +1 -0
- package/dist/scripts/codex-native-hook.d.ts.map +1 -1
- package/dist/scripts/codex-native-hook.js +133 -54
- package/dist/scripts/codex-native-hook.js.map +1 -1
- package/dist/scripts/codex-native-pre-post.d.ts.map +1 -1
- package/dist/scripts/codex-native-pre-post.js +4 -2
- package/dist/scripts/codex-native-pre-post.js.map +1 -1
- package/dist/scripts/notify-dispatcher.js +30 -1
- package/dist/scripts/notify-dispatcher.js.map +1 -1
- package/dist/scripts/notify-hook.js +3 -1
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/state/__tests__/workflow-transition.test.js +102 -27
- package/dist/state/__tests__/workflow-transition.test.js.map +1 -1
- package/dist/state/operations.d.ts.map +1 -1
- package/dist/state/operations.js +9 -3
- package/dist/state/operations.js.map +1 -1
- package/dist/state/skill-active.d.ts +7 -0
- package/dist/state/skill-active.d.ts.map +1 -1
- package/dist/state/skill-active.js +25 -8
- package/dist/state/skill-active.js.map +1 -1
- package/dist/state/workflow-transition-reconcile.d.ts +1 -0
- package/dist/state/workflow-transition-reconcile.d.ts.map +1 -1
- package/dist/state/workflow-transition-reconcile.js +22 -15
- package/dist/state/workflow-transition-reconcile.js.map +1 -1
- package/dist/state/workflow-transition.js +3 -3
- package/dist/state/workflow-transition.js.map +1 -1
- package/dist/team/__tests__/approved-execution.test.js +39 -0
- package/dist/team/__tests__/approved-execution.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +5 -0
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/scaling.test.js +497 -2
- package/dist/team/__tests__/scaling.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js +1 -1
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +8 -0
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/approved-execution.d.ts.map +1 -1
- package/dist/team/approved-execution.js +3 -0
- package/dist/team/approved-execution.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +43 -0
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state-root.d.ts.map +1 -1
- package/dist/team/state-root.js +4 -0
- package/dist/team/state-root.js.map +1 -1
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +2 -6
- package/dist/team/state.js.map +1 -1
- package/dist/ultragoal/__tests__/artifacts.test.js +124 -1
- package/dist/ultragoal/__tests__/artifacts.test.js.map +1 -1
- package/dist/ultragoal/__tests__/docs-contract.test.js +21 -0
- package/dist/ultragoal/__tests__/docs-contract.test.js.map +1 -1
- package/dist/ultragoal/artifacts.d.ts +44 -2
- package/dist/ultragoal/artifacts.d.ts.map +1 -1
- package/dist/ultragoal/artifacts.js +197 -13
- package/dist/ultragoal/artifacts.js.map +1 -1
- package/dist/wiki/lifecycle.js +1 -1
- package/dist/wiki/lifecycle.js.map +1 -1
- package/package.json +1 -1
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/oh-my-codex/.mcp.json +5 -5
- package/plugins/oh-my-codex/skills/analyze/SKILL.md +0 -2
- package/plugins/oh-my-codex/skills/autopilot/SKILL.md +2 -2
- package/plugins/oh-my-codex/skills/code-review/SKILL.md +1 -3
- package/plugins/oh-my-codex/skills/deep-interview/SKILL.md +5 -7
- package/plugins/oh-my-codex/skills/doctor/SKILL.md +2 -2
- package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +3 -3
- package/plugins/oh-my-codex/skills/pipeline/SKILL.md +3 -3
- package/plugins/oh-my-codex/skills/plan/SKILL.md +3 -6
- package/plugins/oh-my-codex/skills/ralph/SKILL.md +9 -10
- package/plugins/oh-my-codex/skills/ultragoal/SKILL.md +36 -3
- package/plugins/oh-my-codex/skills/ultraqa/SKILL.md +21 -24
- package/plugins/oh-my-codex/skills/ultrawork/SKILL.md +8 -8
- package/plugins/oh-my-codex/skills/wiki/SKILL.md +13 -13
- package/skills/analyze/SKILL.md +0 -2
- package/skills/ask-claude/SKILL.md +5 -3
- package/skills/ask-gemini/SKILL.md +5 -3
- package/skills/autopilot/SKILL.md +2 -2
- package/skills/code-review/SKILL.md +1 -3
- package/skills/deep-interview/SKILL.md +5 -7
- package/skills/doctor/SKILL.md +2 -2
- package/skills/ecomode/SKILL.md +105 -1
- package/skills/frontend-ui-ux/SKILL.md +4 -26
- package/skills/git-master/SKILL.md +2 -4
- package/skills/omx-setup/SKILL.md +3 -3
- package/skills/pipeline/SKILL.md +3 -3
- package/skills/plan/SKILL.md +3 -6
- package/skills/ralph/SKILL.md +9 -10
- package/skills/swarm/SKILL.md +5 -3
- package/skills/tdd/SKILL.md +95 -1
- package/skills/ultragoal/SKILL.md +36 -3
- package/skills/ultraqa/SKILL.md +21 -24
- package/skills/ultrawork/SKILL.md +8 -8
- package/skills/web-clone/SKILL.md +348 -1
- package/skills/wiki/SKILL.md +13 -13
- package/src/scripts/__tests__/codex-native-hook.test.ts +231 -13
- package/src/scripts/__tests__/notify-dispatcher.test.ts +153 -0
- package/src/scripts/codex-native-hook.ts +160 -43
- package/src/scripts/codex-native-pre-post.ts +4 -1
- package/src/scripts/notify-dispatcher.ts +40 -1
- package/src/scripts/notify-hook.ts +3 -1
|
@@ -1,34 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontend-ui-ux
|
|
3
|
-
description:
|
|
3
|
+
description: Deprecated compatibility shim for designer-led frontend UI/UX work
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Frontend UI/UX
|
|
6
|
+
# Frontend UI/UX compatibility shim
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Hard-deprecated. Do not invoke or route this skill for new work.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/frontend-ui-ux <design task>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Routing
|
|
17
|
-
|
|
18
|
-
### Preferred: MCP Direct
|
|
19
|
-
Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools.
|
|
20
|
-
Use `mcp__g__ask_gemini` with `agent_role: "designer"` for design tasks.
|
|
21
|
-
If ToolSearch finds no MCP tools, use the Codex agent fallback below.
|
|
22
|
-
|
|
23
|
-
### Fallback: Codex Agent
|
|
24
|
-
```
|
|
25
|
-
delegate(role="designer", tier="STANDARD", task="{{ARGUMENTS}}")
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Capabilities
|
|
29
|
-
- Component design and implementation
|
|
30
|
-
- Responsive layouts
|
|
31
|
-
- Design system consistency
|
|
32
|
-
- Accessibility compliance
|
|
10
|
+
Use the `designer` agent/lane directly, or use `$visual-ralph` when the task needs visual iteration and screenshot-based verification. This file exists only to preserve the public/catalog-visible `frontend-ui-ux` alias contract while designer-led frontend guidance is handled by the canonical designer surfaces.
|
|
33
11
|
|
|
34
12
|
Task: {{ARGUMENTS}}
|
|
@@ -15,8 +15,8 @@ Routes to the git-master agent for git operations.
|
|
|
15
15
|
|
|
16
16
|
## Routing
|
|
17
17
|
|
|
18
|
-
```
|
|
19
|
-
|
|
18
|
+
```text
|
|
19
|
+
Use /prompts:git-master with the user task.
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Capabilities
|
|
@@ -25,5 +25,3 @@ delegate(role="git-master", tier="STANDARD", task="{{ARGUMENTS}}")
|
|
|
25
25
|
- Branch management
|
|
26
26
|
- History cleanup
|
|
27
27
|
- Style detection from repo history
|
|
28
|
-
|
|
29
|
-
Task: {{ARGUMENTS}}
|
|
@@ -60,7 +60,7 @@ Supported setup flags (current implementation):
|
|
|
60
60
|
- `project`: local directories (`./.codex`, `./.codex/skills`, `./.omx/agents`)
|
|
61
61
|
- User-scope skill delivery targets:
|
|
62
62
|
- `legacy`: keep installing/updating OMX skills in the resolved user skill root
|
|
63
|
-
- `plugin`: rely on Codex plugin discovery for bundled skills and archive/remove legacy OMX-managed prompts/skills/native agents; setup still installs native Codex hooks and setup-owned runtime feature flags (`codex_hooks = true
|
|
63
|
+
- `plugin`: rely on Codex plugin discovery for bundled skills and archive/remove legacy OMX-managed prompts/skills/native agents; setup still installs native Codex hooks and setup-owned runtime feature flags (`hooks = true` on current Codex, legacy `codex_hooks = true` when that is the only reported hook feature, plus `goals = true`) because plugins do not carry hooks or enable Codex goal mode by themselves.
|
|
64
64
|
- Migration hint: in `user` scope, if historical `~/.agents/skills` still exists alongside `${CODEX_HOME:-~/.codex}/skills`, current setup prints a cleanup hint. **Why the paths differ**: `${CODEX_HOME:-~/.codex}/skills/` is the path current Codex CLI natively loads as its skill root; `~/.agents/skills/` was the skill root in an older Codex CLI release before `~/.codex` became the standard home directory. OMX writes only to the canonical `${CODEX_HOME:-~/.codex}/skills/` path. When both directories exist simultaneously, Codex discovers skills from both trees and may show duplicate entries in Enable/Disable Skills. Archive or remove `~/.agents/skills/` to resolve this.
|
|
65
65
|
- If persisted scope is `project`, `omx` launch automatically uses `CODEX_HOME=./.codex` unless user explicitly overrides `CODEX_HOME`.
|
|
66
66
|
- Plugin mode prompts separately for optional AGENTS.md defaults and optional `developer_instructions` defaults. If `developer_instructions` already exists, setup asks before overwriting it; non-interactive runs preserve it.
|
|
@@ -74,7 +74,7 @@ Use this map when reconciling setup behavior or debugging a confusing install:
|
|
|
74
74
|
| Surface | Owner | Notes |
|
|
75
75
|
| --- | --- | --- |
|
|
76
76
|
| `./.omx/setup-scope.json` | `omx setup` | Persists setup scope and user-scope skill delivery mode. TTY reruns summarize it and offer keep/review/reset. |
|
|
77
|
-
| `~/.codex/config.toml` / `./.codex/config.toml` | `omx setup` generated blocks + user edits | Setup refreshes OMX-managed blocks while preserving supported manual content; setup-owned runtime feature flags include `multi_agent`, `child_agents_md`, `codex_hooks
|
|
77
|
+
| `~/.codex/config.toml` / `./.codex/config.toml` | `omx setup` generated blocks + user edits | Setup refreshes OMX-managed blocks while preserving supported manual content; setup-owned runtime feature flags include `multi_agent`, `child_agents_md`, the Codex hook feature flag (`hooks` or legacy `codex_hooks`), and `goals`. |
|
|
78
78
|
| `~/.codex/hooks.json` / `./.codex/hooks.json` | `omx setup` shared ownership | Setup owns OMX native hook wrappers and preserves user-owned hooks. |
|
|
79
79
|
| prompts, skills, native agents | `omx setup` or Codex plugin delivery | Legacy mode installs local files; plugin mode relies on plugin discovery for bundled skills and archives/removes legacy OMX-managed prompt/native-agent copies. |
|
|
80
80
|
| `AGENTS.md` | `omx setup` with overwrite safety | Generated defaults or managed refreshes are guarded by force/session checks. |
|
|
@@ -114,7 +114,7 @@ From `omx doctor`, expect:
|
|
|
114
114
|
- Skills installed (scope-dependent: user or project)
|
|
115
115
|
- AGENTS.md found in project root
|
|
116
116
|
- `.omx/state` exists
|
|
117
|
-
-
|
|
117
|
+
- CLI-first config present in the scope target `config.toml`; first-party OMX MCP servers and shared MCP registry sync are omitted by default unless setup was run with `--mcp compat`
|
|
118
118
|
|
|
119
119
|
## Troubleshooting
|
|
120
120
|
|
package/skills/pipeline/SKILL.md
CHANGED
|
@@ -52,9 +52,9 @@ return a `StageResult` with status, artifacts, and duration.
|
|
|
52
52
|
Pipeline state persists via the ModeState system at `.omx/state/pipeline-state.json`.
|
|
53
53
|
The HUD renders pipeline phase automatically. Resume is supported from the last incomplete stage.
|
|
54
54
|
|
|
55
|
-
- **On start**: `
|
|
56
|
-
- **On stage transitions**: `
|
|
57
|
-
- **On completion**: `
|
|
55
|
+
- **On start**: `omx state write --input '{"mode":"pipeline","active":true,"current_phase":"stage:ralplan"}' --json`
|
|
56
|
+
- **On stage transitions**: `omx state write --input '{"mode":"pipeline","current_phase":"stage:<name>"}' --json`
|
|
57
|
+
- **On completion**: `omx state write --input '{"mode":"pipeline","active":false,"current_phase":"complete"}' --json`
|
|
58
58
|
|
|
59
59
|
## API
|
|
60
60
|
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -137,15 +137,13 @@ Plans are saved to `.omx/plans/`. Drafts go to `.omx/drafts/`.
|
|
|
137
137
|
</Steps>
|
|
138
138
|
|
|
139
139
|
<Tool_Usage>
|
|
140
|
-
-
|
|
141
|
-
- Use
|
|
142
|
-
- `omx question` success JSON uses `answers[]` as the primary contract. For single-question planning prompts, read `answers[0].answer`; treat top-level `answer` as legacy compatibility fallback only.
|
|
143
|
-
- Batch `questions[]` may be used for non-interview grouped preference or approval prompts when one submitted form is clearer than multiple interruptions; interview mode still asks one question per round.
|
|
140
|
+
- Use `AskUserQuestion` for preference questions (scope, priority, timeline, risk tolerance) -- provides clickable UI
|
|
141
|
+
- Use plain text for questions needing specific values (port numbers, names, follow-up clarifications)
|
|
144
142
|
- Use the `explore` agent (LOW tier, bounded quick pass) to gather codebase facts before asking the user
|
|
145
143
|
- Use `ask_codex` with `agent_role: "planner"` for planning validation on large-scope plans
|
|
146
144
|
- Use `ask_codex` with `agent_role: "analyst"` for requirements analysis
|
|
147
145
|
- Use `ask_codex` with `agent_role: "critic"` for plan review in consensus and review modes
|
|
148
|
-
- If
|
|
146
|
+
- If optional MCP compatibility tools or Codex consultation are unavailable, fall back to equivalent OMX prompt/native agents -- never block on external tools
|
|
149
147
|
- **CRITICAL — Consensus mode agent calls MUST be sequential, never parallel.** Always await the Architect result before issuing the Critic call.
|
|
150
148
|
- In consensus mode, default to RALPLAN-DR short mode; enable deliberate mode on `--deliberate` or explicit high-risk signals (auth/security, migrations, destructive changes, production incidents, compliance/PII, public API breakage)
|
|
151
149
|
- In consensus mode with `--interactive`: use `AskUserQuestion` / the structured question UI for the user feedback step (step 2) and the final approval step (step 7) -- never ask for approval in plain text when a structured surface is available. Without `--interactive`, auto-proceed through planning steps without pausing. Output the final plan without execution.
|
|
@@ -153,7 +151,6 @@ Plans are saved to `.omx/plans/`. Drafts go to `.omx/drafts/`.
|
|
|
153
151
|
- In consensus mode, execution follow-up handoff **MUST** include an explicit available-agent-types roster plus concrete staffing / role-allocation guidance grounded in that roster, suggested reasoning levels by lane, product-facing goal-mode follow-up suggestions (`$ultragoal` by default, `$autoresearch-goal` for research projects, `$performance-goal` for optimization/performance projects), explicit `omx team` / `$team` launch hints, and a team verification path
|
|
154
152
|
</Tool_Usage>
|
|
155
153
|
|
|
156
|
-
|
|
157
154
|
## Scenario Examples
|
|
158
155
|
|
|
159
156
|
**Good:** The user says `continue` after the workflow already has a clear next step. Continue the current branch of work instead of restarting or re-asking the same question.
|
package/skills/ralph/SKILL.md
CHANGED
|
@@ -91,14 +91,13 @@ Complex tasks often fail silently: partial implementations get declared "done",
|
|
|
91
91
|
</Steps>
|
|
92
92
|
|
|
93
93
|
<Tool_Usage>
|
|
94
|
-
- Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools
|
|
95
94
|
- Use `ask_codex` with `agent_role: "architect"` for verification cross-checks when changes are security-sensitive, architectural, or involve complex multi-system integration
|
|
96
95
|
- Skip Codex consultation for simple feature additions, well-tested changes, or time-critical verification
|
|
97
|
-
- If
|
|
98
|
-
- Use `
|
|
96
|
+
- If MCP compatibility tools are unavailable, proceed with CLI/agent verification alone -- never block on external tools
|
|
97
|
+
- Use `omx state write/read --input '<json>' --json` for ralph mode state persistence between iterations
|
|
99
98
|
- Use Codex goal tools when present: `get_goal` to discover or re-check the active objective, `create_goal` only when the user/system explicitly requested a new goal and no active goal exists, and `update_goal` only after the audited objective is fully achieved.
|
|
100
99
|
- Persist context snapshot path in Ralph mode state so later phases and agents share the same grounding context
|
|
101
|
-
- If an `omx_state`
|
|
100
|
+
- Prefer CLI state commands. If an explicit MCP compatibility `omx_state` call reports that its stdio transport is unavailable/closed, do **not** retry the same MCP call. Retry once through the supported CLI parity surface with the same payload, preserving `workingDirectory` and `session_id`: `omx state write --input '<json>' --json`, `omx state read --input '<json>' --json`, or `omx state clear --input '<json>' --json`. If the CLI path also fails, continue with `.omx/context` / `.omx/plans` file-backed artifacts and report the state persistence blocker.
|
|
102
101
|
</Tool_Usage>
|
|
103
102
|
|
|
104
103
|
## Goal Mode Integration
|
|
@@ -118,18 +117,18 @@ Codex goal mode is the thread-level completion contract for long-running Ralph w
|
|
|
118
117
|
|
|
119
118
|
## State Management
|
|
120
119
|
|
|
121
|
-
Use the `
|
|
120
|
+
Use the CLI-first state surface for Ralph lifecycle state (`omx state write/read/clear --input '<json>' --json`). Explicit MCP compatibility tools (`state_write`, `state_read`, `state_clear`) remain acceptable only when already enabled.
|
|
122
121
|
|
|
123
122
|
- **On start**:
|
|
124
|
-
`
|
|
123
|
+
`omx state write --input '{"mode":"ralph","active":true,"iteration":1,"max_iterations":10,"current_phase":"executing","started_at":"<now>","state":{"context_snapshot_path":"<snapshot-path>"}}' --json`
|
|
125
124
|
- **On each iteration**:
|
|
126
|
-
`
|
|
125
|
+
`omx state write --input '{"mode":"ralph","iteration":<current>,"current_phase":"executing"}' --json`
|
|
127
126
|
- **On verification/fix transition**:
|
|
128
|
-
`
|
|
127
|
+
`omx state write --input '{"mode":"ralph","current_phase":"verifying"}' --json` or `omx state write --input '{"mode":"ralph","current_phase":"fixing"}' --json`
|
|
129
128
|
- **On completion**:
|
|
130
|
-
`
|
|
129
|
+
`omx state write --input '{"mode":"ralph","active":false,"current_phase":"complete","completed_at":"<now>"}' --json`
|
|
131
130
|
- **On cancellation/cleanup**:
|
|
132
|
-
run `$cancel` (which should call `
|
|
131
|
+
run `$cancel` (which should call `omx state clear --input '{"mode":"ralph"}' --json`)
|
|
133
132
|
|
|
134
133
|
|
|
135
134
|
## Scenario Examples
|
package/skills/swarm/SKILL.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: swarm
|
|
3
|
-
description:
|
|
3
|
+
description: Deprecated compatibility shim for team execution
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Swarm
|
|
6
|
+
# Swarm compatibility shim
|
|
7
7
|
|
|
8
|
-
Hard-deprecated. Do not invoke or route this skill
|
|
8
|
+
Hard-deprecated. Do not invoke or route this skill for new work.
|
|
9
|
+
|
|
10
|
+
Use `$team` or `omx team` directly for coordinated multi-agent execution. This file exists only to preserve the public/catalog-visible `swarm` skill contract while Team mode owns coordinated execution.
|
|
9
11
|
|
|
10
12
|
Task: {{ARGUMENTS}}
|
package/skills/tdd/SKILL.md
CHANGED
|
@@ -7,4 +7,98 @@ description: TDD deprecated shim
|
|
|
7
7
|
|
|
8
8
|
Hard-deprecated. Do not invoke or route this skill. Keep test-first discipline inside the active implementation workflow and verify with the project test suite.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## The Iron Law
|
|
11
|
+
|
|
12
|
+
**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
|
|
13
|
+
|
|
14
|
+
Write code before test? DELETE IT. Start over. No exceptions.
|
|
15
|
+
|
|
16
|
+
## Red-Green-Refactor Cycle
|
|
17
|
+
|
|
18
|
+
### 1. RED: Write Failing Test
|
|
19
|
+
- Write test for the NEXT piece of functionality
|
|
20
|
+
- Run test - MUST FAIL
|
|
21
|
+
- If it passes, your test is wrong
|
|
22
|
+
|
|
23
|
+
### 2. GREEN: Minimal Implementation
|
|
24
|
+
- Write ONLY enough code to pass the test
|
|
25
|
+
- No extras. No "while I'm here."
|
|
26
|
+
- Run test - MUST PASS
|
|
27
|
+
|
|
28
|
+
### 3. REFACTOR: Clean Up
|
|
29
|
+
- Improve code quality
|
|
30
|
+
- Run tests after EVERY change
|
|
31
|
+
- Must stay green
|
|
32
|
+
|
|
33
|
+
### 4. REPEAT
|
|
34
|
+
- Next failing test
|
|
35
|
+
- Continue cycle
|
|
36
|
+
|
|
37
|
+
## Enforcement Rules
|
|
38
|
+
|
|
39
|
+
| If You See | Action |
|
|
40
|
+
|------------|--------|
|
|
41
|
+
| Code written before test | STOP. Delete code. Write test first. |
|
|
42
|
+
| Test passes on first run | Test is wrong. Fix it to fail first. |
|
|
43
|
+
| Multiple features in one cycle | STOP. One test, one feature. |
|
|
44
|
+
| Skipping refactor | Go back. Clean up before next feature. |
|
|
45
|
+
|
|
46
|
+
## Commands
|
|
47
|
+
|
|
48
|
+
Before each implementation:
|
|
49
|
+
```bash
|
|
50
|
+
# Run the project's test command - should have ONE new failure
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
After implementation:
|
|
54
|
+
```bash
|
|
55
|
+
# Run the project's test command - new test should pass, all others still pass
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Output Format
|
|
59
|
+
|
|
60
|
+
When guiding TDD:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
## TDD Cycle: [Feature Name]
|
|
64
|
+
|
|
65
|
+
### RED Phase
|
|
66
|
+
Test: [test code]
|
|
67
|
+
Expected failure: [what error you expect]
|
|
68
|
+
Actual: [run result showing failure]
|
|
69
|
+
|
|
70
|
+
### GREEN Phase
|
|
71
|
+
Implementation: [minimal code]
|
|
72
|
+
Result: [run result showing pass]
|
|
73
|
+
|
|
74
|
+
### REFACTOR Phase
|
|
75
|
+
Changes: [what was cleaned up]
|
|
76
|
+
Result: [tests still pass]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## External Model Consultation (Preferred)
|
|
80
|
+
|
|
81
|
+
The tdd-guide agent SHOULD consult Codex for test strategy validation.
|
|
82
|
+
|
|
83
|
+
### Protocol
|
|
84
|
+
1. **Form your OWN test strategy FIRST** - Design tests independently
|
|
85
|
+
2. **Consult for validation** - Cross-check test coverage strategy
|
|
86
|
+
3. **Critically evaluate** - Never blindly adopt external suggestions
|
|
87
|
+
4. **Graceful fallback** - Never block if tools unavailable
|
|
88
|
+
|
|
89
|
+
### When to Consult
|
|
90
|
+
- Complex domain logic requiring comprehensive test coverage
|
|
91
|
+
- Edge case identification for critical paths
|
|
92
|
+
- Test architecture for large features
|
|
93
|
+
- Unfamiliar testing patterns
|
|
94
|
+
|
|
95
|
+
### When to Skip
|
|
96
|
+
- Simple unit tests
|
|
97
|
+
- Well-understood testing patterns
|
|
98
|
+
- Time-critical TDD cycles
|
|
99
|
+
- Small, isolated functionality
|
|
100
|
+
|
|
101
|
+
### Tool Usage
|
|
102
|
+
Prefer native `test-engineer` consultation or CLI-backed ask surfaces when available. Optional MCP compatibility ask tools may be used only when already enabled. If consultation tools are unavailable, fall back to the `test-engineer` agent.
|
|
103
|
+
|
|
104
|
+
**Remember:** The discipline IS the value. Shortcuts destroy the benefit.
|
|
@@ -34,15 +34,48 @@ Loop until `omx ultragoal status` reports all goals complete:
|
|
|
34
34
|
4. If no active Codex goal exists, call `create_goal` with the printed payload. In aggregate mode, if the same aggregate Codex objective is already active, continue the current OMX story without creating a new Codex goal.
|
|
35
35
|
5. Complete the current OMX story only.
|
|
36
36
|
6. Run a completion audit against the story objective and real artifacts/tests.
|
|
37
|
-
7. In aggregate mode, do **not** call `update_goal` for intermediate stories; checkpoint with a fresh `get_goal` snapshot whose aggregate objective is still `active`. On the final story only, call `update_goal({status: "complete"})
|
|
38
|
-
8. Checkpoint the durable ledger with that snapshot
|
|
39
|
-
`omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<evidence>" --codex-goal-json <get_goal-json-or-path
|
|
37
|
+
7. In aggregate mode, do **not** call `update_goal` for intermediate stories; checkpoint with a fresh `get_goal` snapshot whose aggregate objective is still `active`. On the final story only, first run the mandatory final cleanup/review gate below; call `update_goal({status: "complete"})` only after that gate is clean, then call `get_goal` again for a fresh `complete` snapshot.
|
|
38
|
+
8. Checkpoint the durable ledger with that snapshot. Intermediate aggregate checkpoints use only `--codex-goal-json`; final clean checkpoints also require `--quality-gate-json`:
|
|
39
|
+
`omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<evidence>" --codex-goal-json <get_goal-json-or-path> [--quality-gate-json <quality-gate-json-or-path>]`
|
|
40
40
|
9. If blocked or failed, checkpoint failure:
|
|
41
41
|
`omx ultragoal checkpoint --goal-id <id> --status failed --evidence "<blocker/evidence>"`
|
|
42
42
|
10. For legacy per-story completed-goal blockers, preserve the non-terminal blocker with:
|
|
43
43
|
`omx ultragoal checkpoint --goal-id <id> --status blocked --evidence "<completed legacy Codex goal blocks create_goal in this thread>" --codex-goal-json <get_goal-json-or-path>`
|
|
44
44
|
11. Resume failed goals with `omx ultragoal complete-goals --retry-failed`.
|
|
45
45
|
|
|
46
|
+
|
|
47
|
+
## Mandatory final cleanup and review gate
|
|
48
|
+
|
|
49
|
+
The final ultragoal story is not complete until the active agent has run the final quality gate:
|
|
50
|
+
|
|
51
|
+
1. Run targeted verification for the story.
|
|
52
|
+
2. Run `ai-slop-cleaner` on changed files only; if there are no relevant edits, the cleaner still runs and records a passed/no-op report.
|
|
53
|
+
3. Rerun verification after the cleaner pass.
|
|
54
|
+
4. Run `$code-review`. Clean means `codeReview.recommendation: "APPROVE"` and `codeReview.architectStatus: "CLEAR"`; `COMMENT`, `WATCH`, `REQUEST CHANGES`, and `BLOCK` are non-clean.
|
|
55
|
+
5. If review is non-clean, do **not** call `update_goal`. Record durable blocker work instead:
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
omx ultragoal record-review-blockers --goal-id <id> --title "Resolve final code-review blockers" --objective "<blocker-resolution objective>" --evidence "<review findings>" --codex-goal-json <active-get-goal-json-or-path>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This marks the current story `review_blocked`, appends a pending blocker-resolution story, keeps the Codex goal active, and lets `omx ultragoal complete-goals` start the blocker next. In legacy per-story mode, the blocker may need a fresh/available Codex goal context because the old per-story Codex goal remains active/incomplete.
|
|
62
|
+
|
|
63
|
+
6. If review is clean, call `update_goal({status: "complete"})`, call `get_goal`, and checkpoint with a structured final gate:
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<tests/files/review evidence>" --codex-goal-json <fresh-complete-get-goal-json-or-path> --quality-gate-json <quality-gate-json-or-path>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
`--quality-gate-json` must include:
|
|
70
|
+
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"aiSlopCleaner": { "status": "passed", "evidence": "cleaner report" },
|
|
74
|
+
"verification": { "status": "passed", "commands": ["npm test"], "evidence": "post-cleaner verification" },
|
|
75
|
+
"codeReview": { "recommendation": "APPROVE", "architectStatus": "CLEAR", "evidence": "final review synthesis" }
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
46
79
|
## Constraints
|
|
47
80
|
|
|
48
81
|
- The shell command cannot directly invoke Codex interactive `/goal`; it emits a model-facing handoff for the active Codex agent.
|
package/skills/ultraqa/SKILL.md
CHANGED
|
@@ -5,17 +5,15 @@ description: QA cycling workflow - test, verify, fix, repeat until goal met
|
|
|
5
5
|
|
|
6
6
|
# UltraQA Skill
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Overview
|
|
11
|
-
|
|
12
|
-
## GPT-5.5 Guidance Alignment
|
|
8
|
+
## Operating Contract
|
|
13
9
|
|
|
14
|
-
Use
|
|
10
|
+
- Use outcome-first framing with concise, evidence-dense progress and completion reporting.
|
|
11
|
+
- Treat newer user updates as local overrides for the active workflow branch while preserving earlier non-conflicting constraints.
|
|
12
|
+
- If the user says `continue`, advance the current verified next step instead of restarting discovery.
|
|
15
13
|
|
|
16
|
-
|
|
14
|
+
[ULTRAQA ACTIVATED - AUTONOMOUS QA CYCLING]
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
## Overview
|
|
19
17
|
|
|
20
18
|
## Goal Parsing
|
|
21
19
|
|
|
@@ -43,10 +41,10 @@ If no structured goal provided, interpret the argument as a custom goal.
|
|
|
43
41
|
- `--custom`: Run appropriate command and check for pattern
|
|
44
42
|
- `--interactive`: Use qa-tester for interactive CLI/service testing:
|
|
45
43
|
```
|
|
46
|
-
|
|
44
|
+
Use `/prompts:qa-tester` with:
|
|
47
45
|
Goal: [describe what to verify]
|
|
48
46
|
Service: [how to start]
|
|
49
|
-
Test cases: [specific scenarios to verify]
|
|
47
|
+
Test cases: [specific scenarios to verify]
|
|
50
48
|
```
|
|
51
49
|
|
|
52
50
|
2. **CHECK RESULT**: Did the goal pass?
|
|
@@ -55,18 +53,18 @@ If no structured goal provided, interpret the argument as a custom goal.
|
|
|
55
53
|
|
|
56
54
|
3. **ARCHITECT DIAGNOSIS**: Spawn architect to analyze failure
|
|
57
55
|
```
|
|
58
|
-
|
|
56
|
+
Use `/prompts:architect` with:
|
|
59
57
|
Goal: [goal type]
|
|
60
58
|
Output: [test/build output]
|
|
61
|
-
Provide root cause and specific fix recommendations.
|
|
59
|
+
Provide root cause and specific fix recommendations.
|
|
62
60
|
```
|
|
63
61
|
|
|
64
62
|
4. **FIX ISSUES**: Apply architect's recommendations
|
|
65
63
|
```
|
|
66
|
-
|
|
64
|
+
Use `/prompts:executor` with:
|
|
67
65
|
Issue: [architect diagnosis]
|
|
68
66
|
Files: [affected files]
|
|
69
|
-
Apply the fix precisely as recommended.
|
|
67
|
+
Apply the fix precisely as recommended.
|
|
70
68
|
```
|
|
71
69
|
|
|
72
70
|
5. **REPEAT**: Go back to step 1
|
|
@@ -95,20 +93,19 @@ Output progress each cycle:
|
|
|
95
93
|
|
|
96
94
|
## State Tracking
|
|
97
95
|
|
|
98
|
-
Use `
|
|
96
|
+
Use the CLI-first state surface (`omx state ... --json`) for UltraQA lifecycle state. If explicit MCP compatibility tools are already available, equivalent `omx_state` calls are optional compatibility, not the default.
|
|
99
97
|
|
|
100
98
|
- **On start**:
|
|
101
|
-
`
|
|
99
|
+
`omx state write --input '{"mode":"ultraqa","active":true,"current_phase":"qa","iteration":1,"started_at":"<now>"}' --json`
|
|
102
100
|
- **On each cycle**:
|
|
103
|
-
`
|
|
101
|
+
`omx state write --input '{"mode":"ultraqa","current_phase":"qa","iteration":<cycle>}' --json`
|
|
104
102
|
- **On diagnose/fix transitions**:
|
|
105
|
-
`
|
|
106
|
-
`
|
|
103
|
+
`omx state write --input '{"mode":"ultraqa","current_phase":"diagnose"}' --json`
|
|
104
|
+
`omx state write --input '{"mode":"ultraqa","current_phase":"fix"}' --json`
|
|
107
105
|
- **On completion**:
|
|
108
|
-
`
|
|
106
|
+
`omx state write --input '{"mode":"ultraqa","active":false,"current_phase":"complete","completed_at":"<now>"}' --json`
|
|
109
107
|
- **For resume detection**:
|
|
110
|
-
`
|
|
111
|
-
|
|
108
|
+
`omx state read --input '{"mode":"ultraqa"}' --json`
|
|
112
109
|
|
|
113
110
|
## Scenario Examples
|
|
114
111
|
|
|
@@ -134,9 +131,9 @@ User can cancel with `/cancel` which clears the state file.
|
|
|
134
131
|
|
|
135
132
|
When goal is met OR max cycles reached OR exiting early, run `$cancel` or call:
|
|
136
133
|
|
|
137
|
-
`
|
|
134
|
+
`omx state clear --input '{"mode":"ultraqa"}' --json`
|
|
138
135
|
|
|
139
|
-
Use
|
|
136
|
+
Use CLI state cleanup rather than deleting files directly.
|
|
140
137
|
|
|
141
138
|
---
|
|
142
139
|
|
|
@@ -81,16 +81,16 @@ Sequential task execution wastes time when tasks are independent. Ultrawork keep
|
|
|
81
81
|
|
|
82
82
|
## State Management
|
|
83
83
|
|
|
84
|
-
Use `
|
|
84
|
+
Use the CLI-first state surface (`omx state ... --json`) for ultrawork lifecycle state. If explicit MCP compatibility tools are already available, equivalent `omx_state` calls are optional compatibility, not the default.
|
|
85
85
|
|
|
86
86
|
- **On start**:
|
|
87
|
-
`
|
|
87
|
+
`omx state write --input '{"mode":"ultrawork","active":true,"reinforcement_count":1,"started_at":"<now>"}' --json`
|
|
88
88
|
- **On each reinforcement/loop step**:
|
|
89
|
-
`
|
|
89
|
+
`omx state write --input '{"mode":"ultrawork","reinforcement_count":<current>}' --json`
|
|
90
90
|
- **On completion**:
|
|
91
|
-
`
|
|
91
|
+
`omx state write --input '{"mode":"ultrawork","active":false}' --json`
|
|
92
92
|
- **On cancellation/cleanup**:
|
|
93
|
-
run `$cancel` (which should call `
|
|
93
|
+
run `$cancel` (which should call `omx state clear --input '{"mode":"ultrawork"}' --json`)
|
|
94
94
|
|
|
95
95
|
<Examples>
|
|
96
96
|
<Good>
|
|
@@ -105,7 +105,7 @@ Direct-tool lane:
|
|
|
105
105
|
- update `skills/ultrawork/SKILL.md`
|
|
106
106
|
|
|
107
107
|
Background evidence lane:
|
|
108
|
-
-
|
|
108
|
+
- use /prompts:test-engineer for this scoped task
|
|
109
109
|
```
|
|
110
110
|
Why good: Context is grounded first, acceptance criteria are explicit, and the direct-tool lane runs alongside a bounded evidence lane.
|
|
111
111
|
</Good>
|
|
@@ -122,8 +122,8 @@ Why good: Shared-file work stays local; independent evidence work fans out.
|
|
|
122
122
|
<Bad>
|
|
123
123
|
Parallelizing before the task is grounded:
|
|
124
124
|
```
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
use /prompts:executor for this scoped task
|
|
126
|
+
use /prompts:test-engineer for this scoped task
|
|
127
127
|
```
|
|
128
128
|
Why bad: No context snapshot, no pass/fail target, and delegation starts before the work is shaped.
|
|
129
129
|
</Bad>
|