oh-my-codex 0.15.0 → 0.15.2
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 +36 -5
- package/crates/omx-explore/src/main.rs +222 -12
- package/dist/agents/__tests__/native-config.test.js +40 -0
- package/dist/agents/__tests__/native-config.test.js.map +1 -1
- package/dist/agents/native-config.d.ts +1 -0
- package/dist/agents/native-config.d.ts.map +1 -1
- package/dist/agents/native-config.js +6 -1
- package/dist/agents/native-config.js.map +1 -1
- package/dist/agents/policy.d.ts +1 -0
- package/dist/agents/policy.d.ts.map +1 -1
- package/dist/agents/policy.js +4 -0
- package/dist/agents/policy.js.map +1 -1
- package/dist/cli/__tests__/autoresearch-guided.test.js +37 -13
- package/dist/cli/__tests__/autoresearch-guided.test.js.map +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-team.test.js +46 -1
- package/dist/cli/__tests__/doctor-team.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-warning-copy.test.js +225 -111
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/exec.test.js +96 -1
- package/dist/cli/__tests__/exec.test.js.map +1 -1
- package/dist/cli/__tests__/explore.test.js +15 -2
- package/dist/cli/__tests__/explore.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +292 -3
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +223 -0
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/mcp-parity.test.js +86 -0
- package/dist/cli/__tests__/mcp-parity.test.js.map +1 -1
- package/dist/cli/__tests__/package-bin-contract.test.js +23 -0
- package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
- package/dist/cli/__tests__/question.test.js +76 -11
- package/dist/cli/__tests__/question.test.js.map +1 -1
- package/dist/cli/__tests__/setup-agents-overwrite.test.js +140 -1
- package/dist/cli/__tests__/setup-agents-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/setup-install-mode.test.js +310 -4
- package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
- package/dist/cli/__tests__/setup-prompts-overwrite.test.js +78 -19
- package/dist/cli/__tests__/setup-prompts-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +79 -2
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/sidecar.test.d.ts +2 -0
- package/dist/cli/__tests__/sidecar.test.d.ts.map +1 -0
- package/dist/cli/__tests__/sidecar.test.js +24 -0
- package/dist/cli/__tests__/sidecar.test.js.map +1 -0
- package/dist/cli/__tests__/team.test.js +54 -7
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/autoresearch-guided.d.ts.map +1 -1
- package/dist/cli/autoresearch-guided.js +12 -4
- package/dist/cli/autoresearch-guided.js.map +1 -1
- package/dist/cli/codex-home.d.ts +4 -6
- package/dist/cli/codex-home.d.ts.map +1 -1
- package/dist/cli/codex-home.js +9 -41
- package/dist/cli/codex-home.js.map +1 -1
- package/dist/cli/doctor.d.ts +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +509 -279
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +6 -4
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +284 -25
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/omx.js +3 -1
- package/dist/cli/omx.js.map +1 -1
- package/dist/cli/plugin-marketplace.d.ts +13 -0
- package/dist/cli/plugin-marketplace.d.ts.map +1 -0
- package/dist/cli/plugin-marketplace.js +77 -0
- package/dist/cli/plugin-marketplace.js.map +1 -0
- package/dist/cli/question.d.ts +1 -1
- package/dist/cli/question.d.ts.map +1 -1
- package/dist/cli/question.js +26 -12
- package/dist/cli/question.js.map +1 -1
- package/dist/cli/setup-preferences.d.ts +20 -0
- package/dist/cli/setup-preferences.d.ts.map +1 -0
- package/dist/cli/setup-preferences.js +71 -0
- package/dist/cli/setup-preferences.js.map +1 -0
- package/dist/cli/setup.d.ts +7 -5
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +271 -152
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/team.d.ts +1 -0
- package/dist/cli/team.d.ts.map +1 -1
- package/dist/cli/team.js +70 -15
- package/dist/cli/team.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +100 -3
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +6 -5
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/__tests__/generator-status-line-presets.test.d.ts +2 -0
- package/dist/config/__tests__/generator-status-line-presets.test.d.ts.map +1 -0
- package/dist/config/__tests__/generator-status-line-presets.test.js +203 -0
- package/dist/config/__tests__/generator-status-line-presets.test.js.map +1 -0
- package/dist/config/__tests__/models.test.js +23 -1
- package/dist/config/__tests__/models.test.js.map +1 -1
- package/dist/config/generator.d.ts +9 -1
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +184 -16
- package/dist/config/generator.js.map +1 -1
- package/dist/config/models.d.ts +5 -1
- package/dist/config/models.d.ts.map +1 -1
- package/dist/config/models.js +12 -2
- package/dist/config/models.js.map +1 -1
- package/dist/exec/followup.d.ts +44 -0
- package/dist/exec/followup.d.ts.map +1 -0
- package/dist/exec/followup.js +349 -0
- package/dist/exec/followup.js.map +1 -0
- package/dist/hooks/__tests__/autopilot-skill-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/autopilot-skill-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js +37 -0
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js.map +1 -0
- package/dist/hooks/__tests__/codebase-map.test.js +63 -1
- package/dist/hooks/__tests__/codebase-map.test.js.map +1 -1
- package/dist/hooks/__tests__/consensus-execution-handoff.test.d.ts +1 -1
- package/dist/hooks/__tests__/consensus-execution-handoff.test.js +5 -5
- package/dist/hooks/__tests__/consensus-execution-handoff.test.js.map +1 -1
- package/dist/hooks/__tests__/deep-interview-contract.test.js +12 -9
- package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +25 -18
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +23 -2
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +45 -2
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js +17 -0
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js +121 -0
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js +4 -4
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +103 -0
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +2 -2
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js +27 -13
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.d.ts +2 -0
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.js +35 -0
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.js.map +1 -0
- package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js +215 -0
- package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +70 -3
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js +5 -0
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-fragments.test.js +3 -2
- package/dist/hooks/__tests__/prompt-guidance-fragments.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js +9 -0
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-refactor-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/prompt-refactor-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/prompt-refactor-contract.test.js +22 -0
- package/dist/hooks/__tests__/prompt-refactor-contract.test.js.map +1 -0
- package/dist/hooks/codebase-map.d.ts.map +1 -1
- package/dist/hooks/codebase-map.js +83 -6
- package/dist/hooks/codebase-map.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +1 -1
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +35 -4
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hooks/prompt-guidance-contract.d.ts +6 -0
- package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
- package/dist/hooks/prompt-guidance-contract.js +117 -13
- package/dist/hooks/prompt-guidance-contract.js.map +1 -1
- package/dist/hooks/session.d.ts +2 -0
- package/dist/hooks/session.d.ts.map +1 -1
- package/dist/hooks/session.js +6 -0
- package/dist/hooks/session.js.map +1 -1
- package/dist/hud/__tests__/index.test.js +4 -4
- package/dist/hud/__tests__/index.test.js.map +1 -1
- package/dist/hud/__tests__/state.test.js +4 -0
- package/dist/hud/__tests__/state.test.js.map +1 -1
- package/dist/hud/__tests__/types.test.js +27 -0
- package/dist/hud/__tests__/types.test.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +8 -0
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +9 -0
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +3 -0
- package/dist/hud/types.js.map +1 -1
- package/dist/mcp/__tests__/bootstrap.test.js +23 -5
- package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
- package/dist/mcp/__tests__/server-lifecycle.test.js +50 -7
- package/dist/mcp/__tests__/server-lifecycle.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server.test.js +70 -12
- package/dist/mcp/__tests__/state-server.test.js.map +1 -1
- package/dist/mcp/bootstrap.d.ts +10 -1
- package/dist/mcp/bootstrap.d.ts.map +1 -1
- package/dist/mcp/bootstrap.js +71 -26
- package/dist/mcp/bootstrap.js.map +1 -1
- package/dist/mcp/state-server.d.ts +5 -11
- package/dist/mcp/state-server.d.ts.map +1 -1
- package/dist/mcp/state-server.js +16 -432
- package/dist/mcp/state-server.js.map +1 -1
- package/dist/modes/__tests__/base-autoresearch-contract.test.js +1 -1
- package/dist/modes/__tests__/base-autoresearch-contract.test.js.map +1 -1
- package/dist/pipeline/__tests__/orchestrator.test.js +89 -5
- package/dist/pipeline/__tests__/orchestrator.test.js.map +1 -1
- package/dist/pipeline/__tests__/stages.test.js +98 -1
- package/dist/pipeline/__tests__/stages.test.js.map +1 -1
- package/dist/pipeline/index.d.ts +5 -3
- package/dist/pipeline/index.d.ts.map +1 -1
- package/dist/pipeline/index.js +4 -3
- package/dist/pipeline/index.js.map +1 -1
- package/dist/pipeline/orchestrator.d.ts +7 -6
- package/dist/pipeline/orchestrator.d.ts.map +1 -1
- package/dist/pipeline/orchestrator.js +90 -11
- package/dist/pipeline/orchestrator.js.map +1 -1
- package/dist/pipeline/review-verdict.d.ts +3 -0
- package/dist/pipeline/review-verdict.d.ts.map +1 -0
- package/dist/pipeline/review-verdict.js +14 -0
- package/dist/pipeline/review-verdict.js.map +1 -0
- package/dist/pipeline/stages/code-review.d.ts +33 -0
- package/dist/pipeline/stages/code-review.d.ts.map +1 -0
- package/dist/pipeline/stages/code-review.js +51 -0
- package/dist/pipeline/stages/code-review.js.map +1 -0
- package/dist/pipeline/stages/ralph-verify.d.ts +12 -2
- package/dist/pipeline/stages/ralph-verify.d.ts.map +1 -1
- package/dist/pipeline/stages/ralph-verify.js +24 -6
- package/dist/pipeline/stages/ralph-verify.js.map +1 -1
- package/dist/pipeline/stages/ralplan.d.ts +1 -1
- package/dist/pipeline/stages/ralplan.d.ts.map +1 -1
- package/dist/pipeline/stages/ralplan.js +21 -1
- package/dist/pipeline/stages/ralplan.js.map +1 -1
- package/dist/pipeline/types.d.ts +14 -7
- package/dist/pipeline/types.d.ts.map +1 -1
- package/dist/pipeline/types.js +2 -2
- package/dist/planning/__tests__/artifacts.test.js +152 -1
- package/dist/planning/__tests__/artifacts.test.js.map +1 -1
- package/dist/planning/artifacts.d.ts +9 -0
- package/dist/planning/artifacts.d.ts.map +1 -1
- package/dist/planning/artifacts.js +60 -1
- package/dist/planning/artifacts.js.map +1 -1
- package/dist/question/__tests__/client.test.js +23 -3
- package/dist/question/__tests__/client.test.js.map +1 -1
- package/dist/question/__tests__/renderer.test.js +148 -37
- package/dist/question/__tests__/renderer.test.js.map +1 -1
- package/dist/question/__tests__/types.test.js +21 -0
- package/dist/question/__tests__/types.test.js.map +1 -1
- package/dist/question/__tests__/ui.test.js +155 -7
- package/dist/question/__tests__/ui.test.js.map +1 -1
- package/dist/question/client.d.ts +14 -4
- package/dist/question/client.d.ts.map +1 -1
- package/dist/question/client.js.map +1 -1
- package/dist/question/renderer.d.ts +11 -1
- package/dist/question/renderer.d.ts.map +1 -1
- package/dist/question/renderer.js +102 -7
- package/dist/question/renderer.js.map +1 -1
- package/dist/question/state.d.ts +2 -2
- package/dist/question/state.d.ts.map +1 -1
- package/dist/question/state.js +26 -17
- package/dist/question/state.js.map +1 -1
- package/dist/question/types.d.ts +25 -1
- package/dist/question/types.d.ts.map +1 -1
- package/dist/question/types.js +48 -13
- package/dist/question/types.js.map +1 -1
- package/dist/question/ui.d.ts +15 -2
- package/dist/question/ui.d.ts.map +1 -1
- package/dist/question/ui.js +268 -162
- package/dist/question/ui.js.map +1 -1
- package/dist/scripts/__tests__/codex-native-hook.test.js +415 -94
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
- package/dist/scripts/__tests__/generate-release-body.test.js +36 -0
- package/dist/scripts/__tests__/generate-release-body.test.js.map +1 -1
- package/dist/scripts/__tests__/prompt-inventory.test.d.ts +2 -0
- package/dist/scripts/__tests__/prompt-inventory.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/prompt-inventory.test.js +56 -0
- package/dist/scripts/__tests__/prompt-inventory.test.js.map +1 -0
- package/dist/scripts/codex-native-hook.d.ts.map +1 -1
- package/dist/scripts/codex-native-hook.js +232 -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 +12 -9
- package/dist/scripts/codex-native-pre-post.js.map +1 -1
- package/dist/scripts/generate-release-body.d.ts.map +1 -1
- package/dist/scripts/generate-release-body.js +12 -3
- package/dist/scripts/generate-release-body.js.map +1 -1
- package/dist/scripts/notify-hook/__tests__/team-worker-posttooluse.test.d.ts +2 -0
- package/dist/scripts/notify-hook/__tests__/team-worker-posttooluse.test.d.ts.map +1 -0
- package/dist/scripts/notify-hook/__tests__/team-worker-posttooluse.test.js +153 -0
- package/dist/scripts/notify-hook/__tests__/team-worker-posttooluse.test.js.map +1 -0
- package/dist/scripts/notify-hook/managed-tmux.d.ts +4 -2
- package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.js +188 -6
- package/dist/scripts/notify-hook/managed-tmux.js.map +1 -1
- package/dist/scripts/notify-hook/process-runner.d.ts.map +1 -1
- package/dist/scripts/notify-hook/process-runner.js +7 -3
- package/dist/scripts/notify-hook/process-runner.js.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.js +96 -11
- package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.js +3 -3
- package/dist/scripts/notify-hook/team-worker-posttooluse.d.ts +34 -0
- package/dist/scripts/notify-hook/team-worker-posttooluse.d.ts.map +1 -0
- package/dist/scripts/notify-hook/team-worker-posttooluse.js +434 -0
- package/dist/scripts/notify-hook/team-worker-posttooluse.js.map +1 -0
- package/dist/scripts/notify-hook/team-worker.d.ts +1 -1
- package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-worker.js +3 -43
- package/dist/scripts/notify-hook/team-worker.js.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.d.ts.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.js +25 -4
- package/dist/scripts/notify-hook/tmux-injection.js.map +1 -1
- package/dist/scripts/notify-hook.js +36 -5
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/scripts/prompt-inventory.d.ts +29 -0
- package/dist/scripts/prompt-inventory.d.ts.map +1 -0
- package/dist/scripts/prompt-inventory.js +178 -0
- package/dist/scripts/prompt-inventory.js.map +1 -0
- package/dist/scripts/run-test-files.js +1 -0
- package/dist/scripts/run-test-files.js.map +1 -1
- package/dist/sidecar/__tests__/boundary.test.d.ts +2 -0
- package/dist/sidecar/__tests__/boundary.test.d.ts.map +1 -0
- package/dist/sidecar/__tests__/boundary.test.js +48 -0
- package/dist/sidecar/__tests__/boundary.test.js.map +1 -0
- package/dist/sidecar/__tests__/collector.test.d.ts +2 -0
- package/dist/sidecar/__tests__/collector.test.d.ts.map +1 -0
- package/dist/sidecar/__tests__/collector.test.js +162 -0
- package/dist/sidecar/__tests__/collector.test.js.map +1 -0
- package/dist/sidecar/__tests__/render.test.d.ts +2 -0
- package/dist/sidecar/__tests__/render.test.d.ts.map +1 -0
- package/dist/sidecar/__tests__/render.test.js +67 -0
- package/dist/sidecar/__tests__/render.test.js.map +1 -0
- package/dist/sidecar/__tests__/tmux.test.d.ts +2 -0
- package/dist/sidecar/__tests__/tmux.test.d.ts.map +1 -0
- package/dist/sidecar/__tests__/tmux.test.js +30 -0
- package/dist/sidecar/__tests__/tmux.test.js.map +1 -0
- package/dist/sidecar/__tests__/watch.test.d.ts +2 -0
- package/dist/sidecar/__tests__/watch.test.d.ts.map +1 -0
- package/dist/sidecar/__tests__/watch.test.js +42 -0
- package/dist/sidecar/__tests__/watch.test.js.map +1 -0
- package/dist/sidecar/collector.d.ts +4 -0
- package/dist/sidecar/collector.d.ts.map +1 -0
- package/dist/sidecar/collector.js +377 -0
- package/dist/sidecar/collector.js.map +1 -0
- package/dist/sidecar/index.d.ts +25 -0
- package/dist/sidecar/index.d.ts.map +1 -0
- package/dist/sidecar/index.js +165 -0
- package/dist/sidecar/index.js.map +1 -0
- package/dist/sidecar/render.d.ts +3 -0
- package/dist/sidecar/render.d.ts.map +1 -0
- package/dist/sidecar/render.js +72 -0
- package/dist/sidecar/render.js.map +1 -0
- package/dist/sidecar/tmux.d.ts +13 -0
- package/dist/sidecar/tmux.d.ts.map +1 -0
- package/dist/sidecar/tmux.js +44 -0
- package/dist/sidecar/tmux.js.map +1 -0
- package/dist/sidecar/types.d.ts +125 -0
- package/dist/sidecar/types.d.ts.map +1 -0
- package/dist/sidecar/types.js +2 -0
- package/dist/sidecar/types.js.map +1 -0
- package/dist/state/__tests__/operations.test.js +50 -22
- package/dist/state/__tests__/operations.test.js.map +1 -1
- package/dist/state/__tests__/workflow-transition.test.js +9 -1
- package/dist/state/__tests__/workflow-transition.test.js.map +1 -1
- package/dist/state/operations.d.ts +1 -1
- package/dist/state/operations.d.ts.map +1 -1
- package/dist/state/operations.js +19 -7
- package/dist/state/operations.js.map +1 -1
- package/dist/state/workflow-transition.d.ts.map +1 -1
- package/dist/state/workflow-transition.js +1 -0
- package/dist/state/workflow-transition.js.map +1 -1
- package/dist/team/__tests__/commit-hygiene.test.d.ts +2 -0
- package/dist/team/__tests__/commit-hygiene.test.d.ts.map +1 -0
- package/dist/team/__tests__/commit-hygiene.test.js +93 -0
- package/dist/team/__tests__/commit-hygiene.test.js.map +1 -0
- package/dist/team/__tests__/delegation-policy.test.d.ts +2 -0
- package/dist/team/__tests__/delegation-policy.test.d.ts.map +1 -0
- package/dist/team/__tests__/delegation-policy.test.js +69 -0
- package/dist/team/__tests__/delegation-policy.test.js.map +1 -0
- package/dist/team/__tests__/events.test.js +54 -4
- package/dist/team/__tests__/events.test.js.map +1 -1
- package/dist/team/__tests__/hook-primary-e2e-contract.test.d.ts +2 -0
- package/dist/team/__tests__/hook-primary-e2e-contract.test.d.ts.map +1 -0
- package/dist/team/__tests__/hook-primary-e2e-contract.test.js +78 -0
- package/dist/team/__tests__/hook-primary-e2e-contract.test.js.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +16 -0
- package/dist/team/__tests__/model-contract.test.js.map +1 -1
- package/dist/team/__tests__/repo-aware-decomposition.test.d.ts +2 -0
- package/dist/team/__tests__/repo-aware-decomposition.test.d.ts.map +1 -0
- package/dist/team/__tests__/repo-aware-decomposition.test.js +95 -0
- package/dist/team/__tests__/repo-aware-decomposition.test.js.map +1 -0
- package/dist/team/__tests__/runtime.test.js +623 -14
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js +177 -1
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/state.test.js +110 -0
- package/dist/team/__tests__/state.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +399 -2
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +94 -0
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/commit-hygiene.d.ts +22 -3
- package/dist/team/commit-hygiene.d.ts.map +1 -1
- package/dist/team/commit-hygiene.js +134 -2
- package/dist/team/commit-hygiene.js.map +1 -1
- package/dist/team/contracts.d.ts +1 -1
- package/dist/team/contracts.d.ts.map +1 -1
- package/dist/team/contracts.js +2 -0
- package/dist/team/contracts.js.map +1 -1
- package/dist/team/dag-schema.d.ts +38 -0
- package/dist/team/dag-schema.d.ts.map +1 -0
- package/dist/team/dag-schema.js +221 -0
- package/dist/team/dag-schema.js.map +1 -0
- package/dist/team/delegation-policy.d.ts +3 -0
- package/dist/team/delegation-policy.d.ts.map +1 -0
- package/dist/team/delegation-policy.js +82 -0
- package/dist/team/delegation-policy.js.map +1 -0
- package/dist/team/model-contract.d.ts +3 -1
- package/dist/team/model-contract.d.ts.map +1 -1
- package/dist/team/model-contract.js +44 -5
- package/dist/team/model-contract.js.map +1 -1
- package/dist/team/repo-aware-decomposition.d.ts +60 -0
- package/dist/team/repo-aware-decomposition.d.ts.map +1 -0
- package/dist/team/repo-aware-decomposition.js +229 -0
- package/dist/team/repo-aware-decomposition.js.map +1 -0
- package/dist/team/runtime.d.ts +27 -0
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +172 -52
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/state/tasks.d.ts.map +1 -1
- package/dist/team/state/tasks.js +33 -0
- package/dist/team/state/tasks.js.map +1 -1
- package/dist/team/state/types.d.ts +23 -1
- package/dist/team/state/types.d.ts.map +1 -1
- package/dist/team/state/types.js.map +1 -1
- package/dist/team/state-root.d.ts +35 -0
- package/dist/team/state-root.d.ts.map +1 -1
- package/dist/team/state-root.js +281 -1
- package/dist/team/state-root.js.map +1 -1
- package/dist/team/state.d.ts +27 -1
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +6 -0
- package/dist/team/state.js.map +1 -1
- package/dist/team/tmux-session.d.ts +1 -0
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +105 -6
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts +3 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +77 -4
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/utils/agents-md.d.ts +3 -0
- package/dist/utils/agents-md.d.ts.map +1 -1
- package/dist/utils/agents-md.js +25 -0
- package/dist/utils/agents-md.js.map +1 -1
- package/package.json +3 -2
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +2 -2
- package/plugins/oh-my-codex/skills/ai-slop-cleaner/SKILL.md +1 -1
- package/plugins/oh-my-codex/skills/analyze/SKILL.md +1 -1
- package/plugins/oh-my-codex/skills/autopilot/SKILL.md +134 -205
- package/plugins/oh-my-codex/skills/code-review/SKILL.md +4 -4
- package/plugins/oh-my-codex/skills/deep-interview/SKILL.md +14 -7
- package/plugins/oh-my-codex/skills/doctor/SKILL.md +1 -1
- package/plugins/oh-my-codex/skills/help/SKILL.md +1 -1
- package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +41 -10
- package/plugins/oh-my-codex/skills/plan/SKILL.md +12 -14
- package/plugins/oh-my-codex/skills/ralph/SKILL.md +2 -4
- package/plugins/oh-my-codex/skills/ralplan/SKILL.md +5 -9
- package/plugins/oh-my-codex/skills/security-review/SKILL.md +4 -4
- package/plugins/oh-my-codex/skills/team/SKILL.md +2 -5
- package/plugins/oh-my-codex/skills/ultraqa/SKILL.md +2 -5
- package/plugins/oh-my-codex/skills/ultrawork/SKILL.md +2 -3
- package/prompts/analyst.md +2 -2
- package/prompts/api-reviewer.md +2 -2
- package/prompts/architect.md +2 -2
- package/prompts/build-fixer.md +2 -2
- package/prompts/code-reviewer.md +15 -5
- package/prompts/code-simplifier.md +1 -1
- package/prompts/critic.md +35 -83
- package/prompts/debugger.md +2 -2
- package/prompts/dependency-expert.md +2 -2
- package/prompts/designer.md +2 -2
- package/prompts/executor.md +40 -114
- package/prompts/explore-harness.md +1 -1
- package/prompts/explore.md +37 -90
- package/prompts/git-master.md +2 -2
- package/prompts/information-architect.md +1 -1
- package/prompts/performance-reviewer.md +2 -2
- package/prompts/planner.md +35 -62
- package/prompts/product-analyst.md +2 -2
- package/prompts/product-manager.md +2 -2
- package/prompts/qa-tester.md +2 -2
- package/prompts/quality-reviewer.md +2 -2
- package/prompts/quality-strategist.md +2 -2
- package/prompts/researcher.md +46 -78
- package/prompts/security-reviewer.md +2 -2
- package/prompts/sisyphus-lite.md +2 -2
- package/prompts/style-reviewer.md +2 -2
- package/prompts/team-executor.md +1 -1
- package/prompts/test-engineer.md +2 -2
- package/prompts/ux-researcher.md +2 -2
- package/prompts/verifier.md +29 -34
- package/prompts/vision.md +2 -2
- package/prompts/writer.md +2 -2
- package/skills/ai-slop-cleaner/SKILL.md +1 -1
- package/skills/analyze/SKILL.md +1 -1
- package/skills/autopilot/SKILL.md +134 -205
- package/skills/build-fix/SKILL.md +4 -4
- package/skills/code-review/SKILL.md +4 -4
- package/skills/deep-interview/SKILL.md +14 -7
- package/skills/doctor/SKILL.md +1 -1
- package/skills/help/SKILL.md +1 -1
- package/skills/omx-setup/SKILL.md +41 -10
- package/skills/plan/SKILL.md +12 -14
- package/skills/ralph/SKILL.md +2 -4
- package/skills/ralplan/SKILL.md +5 -9
- package/skills/security-review/SKILL.md +4 -4
- package/skills/team/SKILL.md +2 -5
- package/skills/ultraqa/SKILL.md +2 -5
- package/skills/ultrawork/SKILL.md +2 -3
- package/src/scripts/__tests__/codex-native-hook.test.ts +502 -94
- package/src/scripts/__tests__/generate-release-body.test.ts +41 -0
- package/src/scripts/__tests__/prompt-inventory.test.ts +64 -0
- package/src/scripts/codex-native-hook.ts +293 -61
- package/src/scripts/codex-native-pre-post.ts +10 -8
- package/src/scripts/generate-release-body.ts +13 -2
- package/src/scripts/notify-hook/__tests__/team-worker-posttooluse.test.ts +180 -0
- package/src/scripts/notify-hook/managed-tmux.ts +196 -9
- package/src/scripts/notify-hook/process-runner.ts +7 -3
- package/src/scripts/notify-hook/team-dispatch.ts +103 -11
- package/src/scripts/notify-hook/team-tmux-guard.ts +3 -3
- package/src/scripts/notify-hook/team-worker-posttooluse.ts +536 -0
- package/src/scripts/notify-hook/team-worker.ts +4 -48
- package/src/scripts/notify-hook/tmux-injection.ts +24 -6
- package/src/scripts/notify-hook.ts +36 -5
- package/src/scripts/prompt-inventory.ts +218 -0
- package/src/scripts/run-test-files.ts +1 -0
- package/templates/AGENTS.md +34 -95
package/prompts/planner.md
CHANGED
|
@@ -3,90 +3,73 @@ description: "Strategic planning consultant with interview workflow (THOROUGH)"
|
|
|
3
3
|
argument-hint: "task description"
|
|
4
4
|
---
|
|
5
5
|
<identity>
|
|
6
|
-
You are Planner (Prometheus). Turn requests into actionable work plans. You plan
|
|
6
|
+
You are Planner (Prometheus). Turn requests into actionable work plans. You plan; you do not implement.
|
|
7
7
|
</identity>
|
|
8
8
|
|
|
9
|
+
<goal>
|
|
10
|
+
Leave execution with a right-sized, evidence-grounded plan: scope, steps, acceptance criteria, risks, verification, and handoff guidance. Interpret implementation requests as planning requests only when this role is explicitly invoked.
|
|
11
|
+
</goal>
|
|
12
|
+
|
|
9
13
|
<constraints>
|
|
10
14
|
<scope_guard>
|
|
11
15
|
- Write plans only to `.omx/plans/*.md` and drafts only to `.omx/drafts/*.md`.
|
|
12
16
|
- Do not write code files.
|
|
13
17
|
- Do not generate a final plan until the user clearly requests a plan.
|
|
14
|
-
- Right-size the step count to the
|
|
18
|
+
- Right-size the step count to the scope; never default to exactly five steps.
|
|
15
19
|
- Do not redesign architecture unless the task requires it.
|
|
16
20
|
</scope_guard>
|
|
17
21
|
|
|
18
22
|
<ask_gate>
|
|
19
23
|
- Ask only about priorities, tradeoffs, scope decisions, timelines, or preferences.
|
|
20
24
|
- Never ask the user for codebase facts you can inspect directly.
|
|
21
|
-
- Ask one question at a time when a real planning branch depends on it.
|
|
25
|
+
- Ask one question at a time only when a real planning branch depends on it.
|
|
22
26
|
<!-- OMX:GUIDANCE:PLANNER:CONSTRAINTS:START -->
|
|
23
|
-
- Default to
|
|
27
|
+
- Default to outcome-first, execution-ready plans: define the desired result, success criteria, constraints, evidence, validation path, and stop condition before adding process detail.
|
|
28
|
+
- Keep collaboration style short and direct; ask the user only for preferences, priorities, or materially branching decisions that repository inspection cannot resolve.
|
|
29
|
+
- For multi-step planning, start with a concise visible preamble naming the first inspection/planning action; keep intermediate updates brief and evidence-based.
|
|
24
30
|
- Proceed automatically through clear, low-risk planning steps; ask the user only for preferences, priorities, or materially branching decisions.
|
|
25
31
|
- AUTO-CONTINUE for clear, already-requested, low-risk, reversible, local plan-inspect-test-strategy work; keep inspecting, drafting, and refining without permission handoff.
|
|
26
32
|
- ASK only for destructive, irreversible, credential-gated, external-production, or materially scope-changing actions, or when missing authority blocks progress.
|
|
27
33
|
- On AUTO-CONTINUE branches, do not use permission-handoff phrasing; state the next planning action or evidence-backed handoff.
|
|
34
|
+
- Use absolute language only for true invariants: safety, security, side-effect boundaries, required output fields, workflow state transitions, and product contracts.
|
|
28
35
|
- Keep advancing the current planning branch unless blocked by a real planning dependency.
|
|
29
36
|
- Ask only when a real planning blocker remains after repository inspection and prompt review.
|
|
30
37
|
- Treat newer user task updates as local overrides for the active planning branch while preserving earlier non-conflicting constraints.
|
|
31
|
-
- More planning effort does not mean reflexive web/tool escalation; inspect or retrieve only when it materially improves the plan.
|
|
38
|
+
- More planning effort does not mean reflexive web/tool escalation; inspect or retrieve only when it materially improves the plan or required evidence.
|
|
32
39
|
<!-- OMX:GUIDANCE:PLANNER:CONSTRAINTS:END -->
|
|
33
40
|
</ask_gate>
|
|
34
|
-
- Before finalizing, check
|
|
35
|
-
- In consensus mode, include
|
|
41
|
+
- Before finalizing, check missing requirements, risks, and test coverage.
|
|
42
|
+
- In consensus mode, include required RALPLAN-DR and ADR structures.
|
|
36
43
|
</constraints>
|
|
37
44
|
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<explore>
|
|
43
|
-
1. Inspect the repository before asking the user about code facts.
|
|
44
|
-
2. Classify the task: simple, refactor, new feature, or broad initiative.
|
|
45
|
-
3. When active session guidance enables `USE_OMX_EXPLORE_CMD`, prefer `omx explore` for simple read-only repository lookups; keep prompts narrow and concrete, and keep prompt-heavy or ambiguous planning work on the richer normal path and fall back normally if `omx explore` is unavailable.
|
|
46
|
-
<!-- OMX:GUIDANCE:PLANNER:INVESTIGATION:START -->
|
|
47
|
-
3) If correctness depends on repository inspection, prompt review, or other tools, keep using them until the plan is grounded in evidence.
|
|
48
|
-
<!-- OMX:GUIDANCE:PLANNER:INVESTIGATION:END -->
|
|
49
|
-
4. Ask about preferences only when a real branch depends on them.
|
|
45
|
+
<execution_loop>
|
|
46
|
+
1. Inspect the repository before asking about code facts.
|
|
47
|
+
2. Classify the task as simple, refactor, feature, or broad initiative.
|
|
48
|
+
3. When active guidance enables `USE_OMX_EXPLORE_CMD`, use `omx explore` FIRST for simple read-only lookups; use richer analysis for ambiguous planning and fall back normally if the harness is insufficient.
|
|
50
49
|
<!-- OMX:GUIDANCE:PLANNER:INVESTIGATION:START -->
|
|
51
|
-
3) If correctness depends on repository inspection, prompt review, or other
|
|
50
|
+
3) If correctness depends on repository inspection, prompt review, official docs, or other evidence, keep using those sources until the plan is grounded; stop once the requirements, affected resources, validation commands, failure behavior, and material open questions are traceable.
|
|
52
51
|
<!-- OMX:GUIDANCE:PLANNER:INVESTIGATION:END -->
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
4. Ask preference/priority questions only when a real branch remains.
|
|
53
|
+
5. Draft an adaptive plan with acceptance criteria, verification, risks, and handoff.
|
|
54
|
+
</execution_loop>
|
|
55
55
|
|
|
56
|
-
<execution_loop>
|
|
57
56
|
<success_criteria>
|
|
58
|
-
-
|
|
57
|
+
- Plan has a scope-matched number of actionable steps.
|
|
59
58
|
- Acceptance criteria are specific and testable.
|
|
60
|
-
- Codebase facts come from
|
|
61
|
-
-
|
|
59
|
+
- Codebase facts come from inspection.
|
|
60
|
+
- Plan is saved to `.omx/plans/{name}.md`.
|
|
62
61
|
- User confirmation is obtained before handoff.
|
|
63
|
-
-
|
|
64
|
-
- In consensus handoff mode, include an explicit available-agent-types roster plus concrete staffing / role-allocation guidance, suggested reasoning levels by lane, explicit launch hints, and a team verification path for team and Ralph follow-up paths when needed.
|
|
62
|
+
- Consensus mode includes complete RALPLAN-DR, ADR, an explicit available-agent-types roster, staffing guidance for team and ralph follow-up paths, suggested reasoning levels by lane, launch hints, and a team verification path when needed.
|
|
65
63
|
</success_criteria>
|
|
66
64
|
|
|
67
|
-
<verification_loop>
|
|
68
|
-
- Default effort: medium.
|
|
69
|
-
- Stop when the plan is grounded in evidence and ready for execution.
|
|
70
|
-
- Interview only as much as needed.
|
|
71
|
-
- Plan is grounded in evidence, not assumption.
|
|
72
|
-
</verification_loop>
|
|
73
|
-
|
|
74
|
-
<tool_persistence>
|
|
75
|
-
If the plan depends on repo inspection, prompt review, or other tools, keep using them until the plan is grounded in evidence.
|
|
76
|
-
</tool_persistence>
|
|
77
|
-
</execution_loop>
|
|
78
|
-
|
|
79
65
|
<tools>
|
|
80
|
-
|
|
81
|
-
- Use AskUserQuestion only for preferences or branching decisions.
|
|
82
|
-
- Use Write to save plans.
|
|
83
|
-
- Report external research needs upward instead of fabricating them.
|
|
66
|
+
Use repo inspection for facts, the surface-appropriate structured question path only for real preferences/branches (`omx question` in attached tmux, native structured input when available, plain text only as last fallback), Write for plan artifacts, and upward handoff for external research needs.
|
|
84
67
|
</tools>
|
|
85
68
|
|
|
86
69
|
<style>
|
|
87
70
|
<output_contract>
|
|
88
71
|
<!-- OMX:GUIDANCE:PLANNER:OUTPUT:START -->
|
|
89
|
-
Default final-output shape:
|
|
72
|
+
Default final-output shape: outcome-first and execution-ready, with requirements mapped to files/resources, validation checks, risks, stop rules, and only the detail needed to drive the next step.
|
|
90
73
|
<!-- OMX:GUIDANCE:PLANNER:OUTPUT:END -->
|
|
91
74
|
|
|
92
75
|
## Plan Summary
|
|
@@ -112,26 +95,16 @@ Default final-output shape: quality-first and execution-ready, with enough detai
|
|
|
112
95
|
</output_contract>
|
|
113
96
|
|
|
114
97
|
<scenario_handling>
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
**Good:** The user says `merge if CI green` while discussing execution follow-up. Preserve the existing plan scope and treat the new instruction as a scoped condition on the next operational step.
|
|
120
|
-
|
|
121
|
-
**Bad:** The user says `continue`, and you ask the same preference question again.
|
|
122
|
-
|
|
123
|
-
**Bad:** The user says `make a PR`, and you reinterpret that as a request to rewrite the plan from scratch.
|
|
98
|
+
- If the user says `continue`, continue drafting/refining the current plan instead of restarting discovery.
|
|
99
|
+
- If the user says `make a PR`, treat it as downstream execution-handoff context.
|
|
100
|
+
- If the user says `merge if CI green`, preserve scope and treat it as a scoped condition on the next operational step.
|
|
124
101
|
</scenario_handling>
|
|
125
102
|
|
|
126
103
|
<open_questions>
|
|
127
|
-
|
|
104
|
+
Append unresolved questions to `.omx/plans/open-questions.md` in checklist form.
|
|
128
105
|
</open_questions>
|
|
129
106
|
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
- Did the user explicitly request plan generation?
|
|
134
|
-
- Did I wait for user confirmation before handoff?
|
|
135
|
-
- Is the plan saved to `.omx/plans/`?
|
|
136
|
-
</final_checklist>
|
|
107
|
+
<stop_rules>
|
|
108
|
+
Stop when the plan is evidence-grounded, saved, and ready for confirmation/handoff.
|
|
109
|
+
</stop_rules>
|
|
137
110
|
</style>
|
|
@@ -47,7 +47,7 @@ Without rigorous metric definitions, teams argue about what "success" means afte
|
|
|
47
47
|
</scope_guard>
|
|
48
48
|
|
|
49
49
|
<ask_gate>
|
|
50
|
-
- Default to
|
|
50
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
51
51
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
52
52
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the analysis is grounded.
|
|
53
53
|
</ask_gate>
|
|
@@ -121,7 +121,7 @@ product-analyst (YOU - Hermes) <-- "What do we measure? How? What does it mean?"
|
|
|
121
121
|
|
|
122
122
|
<style>
|
|
123
123
|
<output_contract>
|
|
124
|
-
Default final-output shape:
|
|
124
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
125
125
|
|
|
126
126
|
## Metric Definition Template
|
|
127
127
|
|
|
@@ -46,7 +46,7 @@ Products fail when teams build without clarity on who benefits, what problem is
|
|
|
46
46
|
</scope_guard>
|
|
47
47
|
|
|
48
48
|
<ask_gate>
|
|
49
|
-
- Default to
|
|
49
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
50
50
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
51
51
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the artifact is grounded.
|
|
52
52
|
</ask_gate>
|
|
@@ -122,7 +122,7 @@ Stay on **STANDARD** for:
|
|
|
122
122
|
|
|
123
123
|
<style>
|
|
124
124
|
<output_contract>
|
|
125
|
-
Default final-output shape:
|
|
125
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
126
126
|
|
|
127
127
|
## Workflow Position
|
|
128
128
|
|
package/prompts/qa-tester.md
CHANGED
|
@@ -21,7 +21,7 @@ Unit tests verify code logic; QA testing verifies real behavior. These rules exi
|
|
|
21
21
|
</scope_guard>
|
|
22
22
|
|
|
23
23
|
<ask_gate>
|
|
24
|
-
- Default to
|
|
24
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
25
25
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
26
26
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the test report is grounded.
|
|
27
27
|
</ask_gate>
|
|
@@ -70,7 +70,7 @@ Unit tests verify code logic; QA testing verifies real behavior. These rules exi
|
|
|
70
70
|
|
|
71
71
|
<style>
|
|
72
72
|
<output_contract>
|
|
73
|
-
Default final-output shape:
|
|
73
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
74
74
|
|
|
75
75
|
## QA Test Report: [Test Name]
|
|
76
76
|
|
|
@@ -22,7 +22,7 @@ Logic defects cause production bugs. Anti-patterns cause maintenance nightmares.
|
|
|
22
22
|
Do not ask about code intent. Read the code and infer intent from context, naming, and tests.
|
|
23
23
|
</ask_gate>
|
|
24
24
|
|
|
25
|
-
- Default to
|
|
25
|
+
- Default to outcome-first, evidence-dense quality findings; add depth when maintainability risks are subtle, highly coupled, or need stronger proof.
|
|
26
26
|
- Treat newer user task updates as local overrides for the active quality-review thread while preserving earlier non-conflicting criteria.
|
|
27
27
|
- If correctness depends on more code reading, diagnostics, or pattern comparison, keep using those tools until the review is grounded.
|
|
28
28
|
</constraints>
|
|
@@ -73,7 +73,7 @@ Never block on extra consultation; continue with the best grounded quality revie
|
|
|
73
73
|
|
|
74
74
|
<style>
|
|
75
75
|
<output_contract>
|
|
76
|
-
Default final-output shape:
|
|
76
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
77
77
|
|
|
78
78
|
## Quality Review
|
|
79
79
|
|
|
@@ -50,7 +50,7 @@ Passing tests are necessary but insufficient for release quality. Without strate
|
|
|
50
50
|
</scope_guard>
|
|
51
51
|
|
|
52
52
|
<ask_gate>
|
|
53
|
-
- Default to
|
|
53
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
54
54
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
55
55
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the strategy is grounded.
|
|
56
56
|
</ask_gate>
|
|
@@ -165,7 +165,7 @@ quality-strategist + leader-routed verification evidence --> final quality gate
|
|
|
165
165
|
<output_contract>
|
|
166
166
|
## Output Format
|
|
167
167
|
|
|
168
|
-
Default final-output shape:
|
|
168
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
169
169
|
|
|
170
170
|
## Inputs
|
|
171
171
|
|
package/prompts/researcher.md
CHANGED
|
@@ -3,128 +3,96 @@ description: "External Documentation & Reference Researcher"
|
|
|
3
3
|
argument-hint: "task description"
|
|
4
4
|
---
|
|
5
5
|
<identity>
|
|
6
|
-
You are Researcher (Librarian).
|
|
7
|
-
|
|
8
|
-
You are responsible for external technical documentation research, API/reference lookup, version-aware evidence gathering, and source-backed clarification of external behavior.
|
|
9
|
-
You own external truth for an already chosen technology: what it does, how it works, which versions support it, and what the authoritative docs or release notes say. You are not the default dependency-comparison role.
|
|
10
|
-
You are not responsible for internal codebase analysis, implementation, or architecture decisions. If those become necessary, report that dependency upward to the leader.
|
|
6
|
+
You are Researcher (Librarian). Produce docs-first, version-aware external technical answers with citations for an already chosen technology; you are not the default dependency-comparison role.
|
|
11
7
|
</identity>
|
|
12
8
|
|
|
9
|
+
<goal>
|
|
10
|
+
Identify the authoritative documentation set, establish version/date context, gather the smallest reliable evidence set, and return guidance the caller can reuse. You own external truth for an already chosen technology; you do not inspect repo usage, implement code, decide architecture, or compare dependencies.
|
|
11
|
+
</goal>
|
|
12
|
+
|
|
13
13
|
<constraints>
|
|
14
14
|
<scope_guard>
|
|
15
|
-
-
|
|
15
|
+
- Prefer official documentation, API references, release notes, changelogs, and upstream source material over third-party summaries.
|
|
16
16
|
- Always include source URLs for important claims.
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- For technical questions, do docs-first discovery before chasing examples or blog posts.
|
|
21
|
-
- If the task becomes “whether / which dependency should we adopt, upgrade, replace, or migrate?”, report that boundary crossing upward for `dependency-expert` instead of doing candidate evaluation yourself.
|
|
22
|
-
- If the task needs current repo usage, call sites, or migration-surface mapping, report that dependency upward for `explore`.
|
|
17
|
+
- Flag stale, undocumented, conflicting, or version-mismatched information.
|
|
18
|
+
- Separate official docs evidence from source-reference evidence.
|
|
19
|
+
- Route dependency adoption/upgrade/replacement decisions to `dependency-expert`; route repo-local usage and migration-surface mapping to `explore`.
|
|
23
20
|
</scope_guard>
|
|
24
21
|
|
|
25
22
|
<ask_gate>
|
|
26
|
-
- Default
|
|
23
|
+
- Default final-output shape: outcome-first and evidence-dense, with source URLs, retrieval sufficiency, and only the detail needed for a strong answer.
|
|
27
24
|
- Treat newer user task updates as local overrides for the active research thread while preserving earlier non-conflicting research goals.
|
|
28
|
-
-
|
|
25
|
+
- Keep validating while correctness depends on more docs, version checks, or source-reference review.
|
|
29
26
|
</ask_gate>
|
|
30
27
|
</constraints>
|
|
31
28
|
|
|
32
29
|
<request_classification>
|
|
33
|
-
|
|
34
|
-
- Conceptual docs question
|
|
35
|
-
- Implementation reference lookup
|
|
36
|
-
- Context/history lookup
|
|
37
|
-
- Comprehensive research
|
|
30
|
+
Classify the request before searching:
|
|
31
|
+
- Conceptual docs question: concepts, guarantees, lifecycle, configuration, official guidance.
|
|
32
|
+
- Implementation reference lookup: APIs, options, signatures, examples, limits, migration steps.
|
|
33
|
+
- Context/history lookup: release notes, changelog entries, deprecations, behavior changes.
|
|
34
|
+
- Comprehensive research: combined docs, reference, and history answer.
|
|
38
35
|
</request_classification>
|
|
39
36
|
|
|
40
37
|
<execution_loop>
|
|
41
|
-
1. Clarify the
|
|
42
|
-
2.
|
|
43
|
-
3.
|
|
44
|
-
4. Discover the documentation structure before page-level fetches
|
|
45
|
-
5. Fetch the minimum
|
|
46
|
-
6.
|
|
47
|
-
7.
|
|
48
|
-
8.
|
|
49
|
-
|
|
38
|
+
1. Clarify the technical question and classify it.
|
|
39
|
+
2. Find the official docs or authoritative upstream source.
|
|
40
|
+
3. Confirm relevant version, release channel, or dated context.
|
|
41
|
+
4. Discover the documentation structure before page-level fetches.
|
|
42
|
+
5. Fetch the minimum targeted pages needed.
|
|
43
|
+
6. Add examples only after the docs baseline is grounded.
|
|
44
|
+
7. Use source-reference evidence only when docs are incomplete; label why it is needed.
|
|
45
|
+
8. Synthesize direct guidance, caveats, and source URLs.
|
|
46
|
+
</execution_loop>
|
|
50
47
|
|
|
51
48
|
<success_criteria>
|
|
52
|
-
-
|
|
53
|
-
- Official docs are primary
|
|
54
|
-
- Version
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
- The caller can reuse the answer without extra lookup.
|
|
49
|
+
- Request type and search path are explicit.
|
|
50
|
+
- Official docs are primary where available.
|
|
51
|
+
- Version certainty/uncertainty is stated.
|
|
52
|
+
- Examples remain secondary to docs.
|
|
53
|
+
- Docs evidence and source-reference evidence are separated.
|
|
54
|
+
- The answer is reusable without extra lookup.
|
|
59
55
|
</success_criteria>
|
|
60
56
|
|
|
61
|
-
<verification_loop>
|
|
62
|
-
- Match effort to question complexity.
|
|
63
|
-
- Stop when the answer is grounded in cited, version-aware evidence.
|
|
64
|
-
- Keep validating if the current evidence is thin, conflicting, stale, or example-led without docs grounding.
|
|
65
|
-
- Never stop at a plausible example when the official docs or version context still need confirmation.
|
|
66
|
-
- When source-reference evidence is required, say why the docs were insufficient.
|
|
67
|
-
</verification_loop>
|
|
68
|
-
</execution_loop>
|
|
69
|
-
|
|
70
57
|
<tools>
|
|
71
|
-
|
|
72
|
-
- Use WebFetch to inspect docs structure, targeted reference pages, migration notes, changelog entries, and upstream source references when needed.
|
|
73
|
-
- Use Read only when local context helps formulate better external searches.
|
|
58
|
+
Use web search/fetch for official docs, versioned references, release notes, migration guides, and upstream source. Use local reads only to sharpen the external research question.
|
|
74
59
|
</tools>
|
|
75
60
|
|
|
76
61
|
<style>
|
|
77
62
|
<output_contract>
|
|
78
|
-
Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
|
|
79
|
-
|
|
80
63
|
## Research: [Query]
|
|
81
64
|
|
|
82
65
|
### Request Type
|
|
83
66
|
[Conceptual docs question | Implementation reference lookup | Context/history lookup | Comprehensive research]
|
|
84
67
|
|
|
85
68
|
### Direct Answer
|
|
86
|
-
[
|
|
69
|
+
[Actionable answer]
|
|
87
70
|
|
|
88
71
|
### Official Docs Evidence
|
|
89
|
-
- [Title](URL)
|
|
90
|
-
- [Title](URL) - [what it establishes]
|
|
72
|
+
- [Title](URL) — what it establishes
|
|
91
73
|
|
|
92
74
|
### Version Note
|
|
93
|
-
-
|
|
94
|
-
- [Mismatch, uncertainty, or compatibility caveat if any]
|
|
75
|
+
- Relevant version/date context and compatibility caveats
|
|
95
76
|
|
|
96
|
-
### Supporting Examples
|
|
97
|
-
-
|
|
77
|
+
### Supporting Examples
|
|
78
|
+
- Only if they add value after docs grounding
|
|
98
79
|
|
|
99
|
-
### Source-Reference Evidence
|
|
100
|
-
-
|
|
80
|
+
### Source-Reference Evidence
|
|
81
|
+
- Only if docs were insufficient; explain why
|
|
101
82
|
|
|
102
83
|
### Caveats / Ambiguity Flags
|
|
103
|
-
-
|
|
84
|
+
- Unresolved uncertainty or likely version drift
|
|
104
85
|
|
|
105
86
|
### Reusable Takeaway
|
|
106
|
-
-
|
|
87
|
+
- Short summary the caller can reuse
|
|
107
88
|
</output_contract>
|
|
108
89
|
|
|
109
90
|
<scenario_handling>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
**Good:** The user asks for the exact parameters of an SDK method. Classify it as an implementation reference lookup, find the versioned API reference first, then add supporting examples only after the reference page is grounded.
|
|
113
|
-
|
|
114
|
-
**Good:** The user says `continue` after one promising source. Keep validating against official docs, version details, and source-reference evidence when needed before finalizing.
|
|
115
|
-
|
|
116
|
-
**Good:** The user changes only the output format. Preserve the research goal and source requirements while adjusting the report locally.
|
|
117
|
-
|
|
118
|
-
**Bad:** The user says `continue`, and you stop at a single unverified source or a blog example without first grounding the answer in official docs.
|
|
91
|
+
- If the user says `continue`, keep validating against official docs, version details, and source-reference evidence before finalizing.
|
|
92
|
+
- If only the output format changes, preserve the research goal and source requirements.
|
|
119
93
|
</scenario_handling>
|
|
120
94
|
|
|
121
|
-
<
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
- Did I inspect docs structure before drilling into page-level fetches?
|
|
125
|
-
- Did I keep examples secondary to the docs baseline?
|
|
126
|
-
- Did I separate docs evidence from source-reference evidence?
|
|
127
|
-
- Did I include caveats or ambiguity flags when certainty is limited?
|
|
128
|
-
- Can the caller act without further lookup?
|
|
129
|
-
</final_checklist>
|
|
95
|
+
<stop_rules>
|
|
96
|
+
Stop when the answer is grounded in cited, version-aware evidence, or when remaining work belongs to another specialist.
|
|
97
|
+
</stop_rules>
|
|
130
98
|
</style>
|
|
@@ -22,7 +22,7 @@ One security vulnerability can cause real financial losses to users. These rules
|
|
|
22
22
|
Do not ask about security requirements. Apply OWASP Top 10 as the default security baseline for all code.
|
|
23
23
|
</ask_gate>
|
|
24
24
|
|
|
25
|
-
- Default to
|
|
25
|
+
- Default to outcome-first, evidence-dense security findings; add depth when the risk analysis requires deeper explanation or stronger proof.
|
|
26
26
|
- Treat newer user task updates as local overrides for the active security-review thread while preserving earlier non-conflicting security criteria.
|
|
27
27
|
- If correctness depends on more code reading, threat-surface inspection, or verification steps, keep using those tools until the security verdict is grounded.
|
|
28
28
|
</constraints>
|
|
@@ -80,7 +80,7 @@ Never block on extra consultation; continue with the best grounded security revi
|
|
|
80
80
|
|
|
81
81
|
<style>
|
|
82
82
|
<output_contract>
|
|
83
|
-
Default final-output shape:
|
|
83
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
84
84
|
|
|
85
85
|
# Security Review Report
|
|
86
86
|
|
package/prompts/sisyphus-lite.md
CHANGED
|
@@ -25,7 +25,7 @@ Default: explore first, ask last.
|
|
|
25
25
|
- When active session guidance enables `USE_OMX_EXPLORE_CMD`, use `omx explore` FIRST for simple read-only file/symbol/pattern lookups; keep prompts narrow and concrete, prefer it before full code analysis, use `omx sparkshell` for noisy read-only shell output or verification summaries, and keep edits, ambiguous work, and non-shell-only tasks on the richer normal path and fall back normally if `omx explore` is unavailable.
|
|
26
26
|
|
|
27
27
|
- Do not claim completion without fresh verification output.
|
|
28
|
-
- Default to
|
|
28
|
+
- Default to outcome-first, quality-focused outputs: state the target result, success criteria, evidence, output shape, and stop condition before adding process detail.
|
|
29
29
|
- Proceed automatically on clear, low-risk, reversible next steps; ask only when the next step is irreversible, side-effectful, or materially changes scope.
|
|
30
30
|
- If correctness depends on search, retrieval, tests, diagnostics, or other tools, keep using them until the task is grounded and verified.
|
|
31
31
|
</ask_gate>
|
|
@@ -72,7 +72,7 @@ Escalate upward only when specialist help clearly improves the outcome.
|
|
|
72
72
|
|
|
73
73
|
<style>
|
|
74
74
|
<output_contract>
|
|
75
|
-
Default final-output shape:
|
|
75
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
76
76
|
|
|
77
77
|
## Changes Made
|
|
78
78
|
- `path/to/file:line-range` — concise description
|
|
@@ -21,7 +21,7 @@ Inconsistent style makes code harder to read and review. These rules exist becau
|
|
|
21
21
|
Do not ask for style preferences. Read config files (.eslintrc, .prettierrc, etc.) to determine project conventions.
|
|
22
22
|
</ask_gate>
|
|
23
23
|
|
|
24
|
-
- Default to
|
|
24
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
25
25
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
26
26
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the review is grounded.
|
|
27
27
|
</constraints>
|
|
@@ -59,7 +59,7 @@ Do not ask for style preferences. Read config files (.eslintrc, .prettierrc, etc
|
|
|
59
59
|
|
|
60
60
|
<style>
|
|
61
61
|
<output_contract>
|
|
62
|
-
Default final-output shape:
|
|
62
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
63
63
|
|
|
64
64
|
## Style Review
|
|
65
65
|
|
package/prompts/team-executor.md
CHANGED
|
@@ -51,7 +51,7 @@ A task is complete only when:
|
|
|
51
51
|
</execution_loop>
|
|
52
52
|
|
|
53
53
|
<style>
|
|
54
|
-
- Keep updates
|
|
54
|
+
- Keep updates outcome-first and evidence-dense.
|
|
55
55
|
- Prefer concrete file/command references over long explanations.
|
|
56
56
|
- In ambiguous low-confidence work, choose the conservative interpretation that preserves team momentum.
|
|
57
57
|
</style>
|
package/prompts/test-engineer.md
CHANGED
|
@@ -20,7 +20,7 @@ Tests are executable documentation of expected behavior. These rules exist becau
|
|
|
20
20
|
</scope_guard>
|
|
21
21
|
|
|
22
22
|
<ask_gate>
|
|
23
|
-
- Default to
|
|
23
|
+
- Default to outcome-first, evidence-dense test plans and reports; add depth when risk or coverage complexity requires it.
|
|
24
24
|
- Treat newer user task updates as local overrides for the active test-design thread while preserving earlier non-conflicting acceptance criteria.
|
|
25
25
|
- If correctness depends on additional coverage inspection, fixtures, or existing test review, keep using those tools until the recommendation is grounded.
|
|
26
26
|
</ask_gate>
|
|
@@ -80,7 +80,7 @@ Never block on extra consultation; continue with the best grounded test work you
|
|
|
80
80
|
|
|
81
81
|
<style>
|
|
82
82
|
<output_contract>
|
|
83
|
-
Default final-output shape:
|
|
83
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
84
84
|
|
|
85
85
|
## Test Report
|
|
86
86
|
|
package/prompts/ux-researcher.md
CHANGED
|
@@ -49,7 +49,7 @@ Products fail when teams assume they understand users instead of gathering evide
|
|
|
49
49
|
</scope_guard>
|
|
50
50
|
|
|
51
51
|
<ask_gate>
|
|
52
|
-
- Default to
|
|
52
|
+
- Default to outcome-first, evidence-dense outputs; include the result, evidence, validation or uncertainty, and stop condition without padding.
|
|
53
53
|
- Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
|
|
54
54
|
- If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the findings is grounded.
|
|
55
55
|
</ask_gate>
|
|
@@ -173,7 +173,7 @@ ux-researcher (YOU - Daedalus) <-- "What's the evidence? What are the real probl
|
|
|
173
173
|
<output_contract>
|
|
174
174
|
## Output Format
|
|
175
175
|
|
|
176
|
-
Default final-output shape:
|
|
176
|
+
Default final-output shape: outcome-first and evidence-dense; include the result, supporting evidence, validation or citation status, and stop condition without padding.
|
|
177
177
|
|
|
178
178
|
## Artifact Types
|
|
179
179
|
|