oh-my-codex 0.15.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.lock +10 -7
- package/Cargo.toml +1 -1
- package/README.md +3 -0
- package/crates/omx-explore/Cargo.toml +3 -0
- package/crates/omx-explore/src/main.rs +517 -16
- package/dist/agents/__tests__/native-config.test.js +33 -0
- package/dist/agents/__tests__/native-config.test.js.map +1 -1
- package/dist/autoresearch/goal.d.ts +90 -0
- package/dist/autoresearch/goal.d.ts.map +1 -0
- package/dist/autoresearch/goal.js +237 -0
- package/dist/autoresearch/goal.js.map +1 -0
- package/dist/autoresearch/skill-validation.d.ts +1 -0
- package/dist/autoresearch/skill-validation.d.ts.map +1 -1
- package/dist/autoresearch/skill-validation.js +10 -3
- package/dist/autoresearch/skill-validation.js.map +1 -1
- package/dist/catalog/__tests__/generator.test.js +9 -4
- package/dist/catalog/__tests__/generator.test.js.map +1 -1
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js +29 -2
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js.map +1 -1
- package/dist/catalog/__tests__/schema.test.js +14 -3
- package/dist/catalog/__tests__/schema.test.js.map +1 -1
- package/dist/catalog/schema.js +1 -1
- package/dist/catalog/schema.js.map +1 -1
- package/dist/cli/__tests__/autoresearch-goal.test.d.ts +2 -0
- package/dist/cli/__tests__/autoresearch-goal.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autoresearch-goal.test.js +194 -0
- package/dist/cli/__tests__/autoresearch-goal.test.js.map +1 -0
- package/dist/cli/__tests__/cleanup.test.js +82 -1
- package/dist/cli/__tests__/cleanup.test.js.map +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js +7 -4
- package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-context-window-warning.test.d.ts +2 -0
- package/dist/cli/__tests__/doctor-context-window-warning.test.d.ts.map +1 -0
- package/dist/cli/__tests__/doctor-context-window-warning.test.js +122 -0
- package/dist/cli/__tests__/doctor-context-window-warning.test.js.map +1 -0
- package/dist/cli/__tests__/doctor-warning-copy.test.js +25 -2
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/exec.test.js +1 -0
- package/dist/cli/__tests__/exec.test.js.map +1 -1
- package/dist/cli/__tests__/explore.test.js +48 -18
- package/dist/cli/__tests__/explore.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +222 -10
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +58 -0
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/mcp-serve.test.js +27 -1
- package/dist/cli/__tests__/mcp-serve.test.js.map +1 -1
- package/dist/cli/__tests__/native-assets.test.js +26 -1
- package/dist/cli/__tests__/native-assets.test.js.map +1 -1
- package/dist/cli/__tests__/package-bin-contract.test.js +2 -2
- package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
- package/dist/cli/__tests__/performance-goal.test.d.ts +2 -0
- package/dist/cli/__tests__/performance-goal.test.d.ts.map +1 -0
- package/dist/cli/__tests__/performance-goal.test.js +144 -0
- package/dist/cli/__tests__/performance-goal.test.js.map +1 -0
- package/dist/cli/__tests__/question.test.js +8 -0
- package/dist/cli/__tests__/question.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.d.ts +2 -0
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js +31 -0
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js.map +1 -0
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +5 -4
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-prd-smoke.test.js +7 -0
- package/dist/cli/__tests__/ralph-prd-smoke.test.js.map +1 -1
- package/dist/cli/__tests__/ralph.test.js +59 -1
- package/dist/cli/__tests__/ralph.test.js.map +1 -1
- package/dist/cli/__tests__/setup-install-mode.test.js +57 -21
- package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +27 -8
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +20 -10
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/setup-skill-validation.test.js +11 -11
- package/dist/cli/__tests__/setup-skill-validation.test.js.map +1 -1
- package/dist/cli/__tests__/setup-skills-overwrite.test.js +12 -12
- package/dist/cli/__tests__/setup-skills-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +242 -10
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/ultragoal.test.d.ts +2 -0
- package/dist/cli/__tests__/ultragoal.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ultragoal.test.js +106 -0
- package/dist/cli/__tests__/ultragoal.test.js.map +1 -0
- package/dist/cli/__tests__/uninstall.test.js +11 -0
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/autoresearch-goal.d.ts +3 -0
- package/dist/cli/autoresearch-goal.d.ts.map +1 -0
- package/dist/cli/autoresearch-goal.js +175 -0
- package/dist/cli/autoresearch-goal.js.map +1 -0
- package/dist/cli/cleanup.d.ts +3 -1
- package/dist/cli/cleanup.d.ts.map +1 -1
- package/dist/cli/cleanup.js +42 -2
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +95 -3
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/explore.d.ts.map +1 -1
- package/dist/cli/explore.js +10 -2
- package/dist/cli/explore.js.map +1 -1
- package/dist/cli/index.d.ts +21 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +268 -30
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/mcp-serve.d.ts +1 -0
- package/dist/cli/mcp-serve.d.ts.map +1 -1
- package/dist/cli/mcp-serve.js +8 -0
- package/dist/cli/mcp-serve.js.map +1 -1
- package/dist/cli/native-assets.js +1 -1
- package/dist/cli/native-assets.js.map +1 -1
- package/dist/cli/performance-goal.d.ts +3 -0
- package/dist/cli/performance-goal.d.ts.map +1 -0
- package/dist/cli/performance-goal.js +186 -0
- package/dist/cli/performance-goal.js.map +1 -0
- package/dist/cli/ralph.d.ts +2 -0
- package/dist/cli/ralph.d.ts.map +1 -1
- package/dist/cli/ralph.js +25 -1
- package/dist/cli/ralph.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +13 -6
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/team.d.ts +6 -0
- package/dist/cli/team.d.ts.map +1 -1
- package/dist/cli/team.js +113 -33
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/tmux-hook.d.ts.map +1 -1
- package/dist/cli/tmux-hook.js +2 -1
- package/dist/cli/tmux-hook.js.map +1 -1
- package/dist/cli/ultragoal.d.ts +3 -0
- package/dist/cli/ultragoal.d.ts.map +1 -0
- package/dist/cli/ultragoal.js +191 -0
- package/dist/cli/ultragoal.js.map +1 -0
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +4 -2
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +39 -6
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +5 -0
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/commit-lore-guard.d.ts +3 -0
- package/dist/config/commit-lore-guard.d.ts.map +1 -0
- package/dist/config/commit-lore-guard.js +9 -0
- package/dist/config/commit-lore-guard.js.map +1 -0
- package/dist/config/generator.d.ts +14 -4
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +166 -66
- package/dist/config/generator.js.map +1 -1
- package/dist/config/omx-first-party-mcp.d.ts +1 -0
- package/dist/config/omx-first-party-mcp.d.ts.map +1 -1
- package/dist/config/omx-first-party-mcp.js +4 -1
- package/dist/config/omx-first-party-mcp.js.map +1 -1
- package/dist/goal-workflows/__tests__/artifacts.test.d.ts +2 -0
- package/dist/goal-workflows/__tests__/artifacts.test.d.ts.map +1 -0
- package/dist/goal-workflows/__tests__/artifacts.test.js +96 -0
- package/dist/goal-workflows/__tests__/artifacts.test.js.map +1 -0
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.d.ts +2 -0
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.d.ts.map +1 -0
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js +54 -0
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js.map +1 -0
- package/dist/goal-workflows/artifacts.d.ts +62 -0
- package/dist/goal-workflows/artifacts.d.ts.map +1 -0
- package/dist/goal-workflows/artifacts.js +132 -0
- package/dist/goal-workflows/artifacts.js.map +1 -0
- package/dist/goal-workflows/codex-goal-snapshot.d.ts +28 -0
- package/dist/goal-workflows/codex-goal-snapshot.d.ts.map +1 -0
- package/dist/goal-workflows/codex-goal-snapshot.js +110 -0
- package/dist/goal-workflows/codex-goal-snapshot.js.map +1 -0
- package/dist/goal-workflows/handoff.d.ts +10 -0
- package/dist/goal-workflows/handoff.d.ts.map +1 -0
- package/dist/goal-workflows/handoff.js +31 -0
- package/dist/goal-workflows/handoff.js.map +1 -0
- package/dist/goal-workflows/validation.d.ts +13 -0
- package/dist/goal-workflows/validation.d.ts.map +1 -0
- package/dist/goal-workflows/validation.js +36 -0
- package/dist/goal-workflows/validation.js.map +1 -0
- package/dist/hooks/__tests__/agents-overlay.test.js +59 -0
- package/dist/hooks/__tests__/agents-overlay.test.js.map +1 -1
- package/dist/hooks/__tests__/anti-slop-workflow.test.js +109 -18
- package/dist/hooks/__tests__/anti-slop-workflow.test.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +45 -32
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js +3 -3
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +2 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +17 -24
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js +3 -3
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js.map +1 -1
- package/dist/hooks/__tests__/task-size-detector.test.js +1 -1
- package/dist/hooks/__tests__/task-size-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-ralph-skill.test.js +3 -3
- package/dist/hooks/__tests__/visual-ralph-skill.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-verdict-loop.test.js +7 -11
- package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -1
- package/dist/hooks/agents-overlay.d.ts.map +1 -1
- package/dist/hooks/agents-overlay.js +23 -2
- package/dist/hooks/agents-overlay.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +12 -13
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hooks/keyword-registry.d.ts.map +1 -1
- package/dist/hooks/keyword-registry.js +2 -10
- package/dist/hooks/keyword-registry.js.map +1 -1
- package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
- package/dist/hooks/prompt-guidance-contract.js +0 -4
- package/dist/hooks/prompt-guidance-contract.js.map +1 -1
- package/dist/hooks/session.js +2 -2
- package/dist/hooks/session.js.map +1 -1
- package/dist/hooks/task-size-detector.d.ts.map +1 -1
- package/dist/hooks/task-size-detector.js +1 -0
- package/dist/hooks/task-size-detector.js.map +1 -1
- package/dist/hud/__tests__/index.test.js +30 -14
- package/dist/hud/__tests__/index.test.js.map +1 -1
- package/dist/hud/__tests__/reconcile.test.js +29 -7
- package/dist/hud/__tests__/reconcile.test.js.map +1 -1
- package/dist/hud/reconcile.d.ts +2 -1
- package/dist/hud/reconcile.d.ts.map +1 -1
- package/dist/hud/reconcile.js +12 -0
- package/dist/hud/reconcile.js.map +1 -1
- package/dist/mcp/__tests__/bootstrap.test.js +15 -2
- package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
- package/dist/mcp/__tests__/state-paths.test.js +54 -0
- package/dist/mcp/__tests__/state-paths.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server.test.js +36 -0
- package/dist/mcp/__tests__/state-server.test.js.map +1 -1
- package/dist/mcp/bootstrap.d.ts +1 -1
- package/dist/mcp/bootstrap.d.ts.map +1 -1
- package/dist/mcp/bootstrap.js +9 -7
- package/dist/mcp/bootstrap.js.map +1 -1
- package/dist/mcp/state-paths.d.ts +17 -0
- package/dist/mcp/state-paths.d.ts.map +1 -1
- package/dist/mcp/state-paths.js +36 -2
- package/dist/mcp/state-paths.js.map +1 -1
- package/dist/modes/__tests__/base-session-scope.test.js +26 -0
- package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
- package/dist/modes/base.d.ts +1 -0
- package/dist/modes/base.d.ts.map +1 -1
- package/dist/modes/base.js +35 -5
- package/dist/modes/base.js.map +1 -1
- package/dist/notifications/__tests__/http-client.test.d.ts +2 -0
- package/dist/notifications/__tests__/http-client.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/http-client.test.js +90 -0
- package/dist/notifications/__tests__/http-client.test.js.map +1 -0
- package/dist/notifications/__tests__/notifier.test.js +22 -60
- package/dist/notifications/__tests__/notifier.test.js.map +1 -1
- package/dist/notifications/dispatcher.d.ts.map +1 -1
- package/dist/notifications/dispatcher.js +35 -60
- package/dist/notifications/dispatcher.js.map +1 -1
- package/dist/notifications/http-client.d.ts +22 -0
- package/dist/notifications/http-client.d.ts.map +1 -0
- package/dist/notifications/http-client.js +298 -0
- package/dist/notifications/http-client.js.map +1 -0
- package/dist/notifications/notifier.d.ts +3 -2
- package/dist/notifications/notifier.d.ts.map +1 -1
- package/dist/notifications/notifier.js +17 -22
- package/dist/notifications/notifier.js.map +1 -1
- package/dist/openclaw/__tests__/dispatcher.test.js +63 -2
- package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
- package/dist/openclaw/dispatcher.d.ts.map +1 -1
- package/dist/openclaw/dispatcher.js +3 -2
- package/dist/openclaw/dispatcher.js.map +1 -1
- package/dist/performance-goal/artifacts.d.ts +76 -0
- package/dist/performance-goal/artifacts.d.ts.map +1 -0
- package/dist/performance-goal/artifacts.js +221 -0
- package/dist/performance-goal/artifacts.js.map +1 -0
- package/dist/pipeline/__tests__/stages.test.js +423 -14
- package/dist/pipeline/__tests__/stages.test.js.map +1 -1
- package/dist/pipeline/stages/team-exec.d.ts +8 -4
- package/dist/pipeline/stages/team-exec.d.ts.map +1 -1
- package/dist/pipeline/stages/team-exec.js +181 -13
- package/dist/pipeline/stages/team-exec.js.map +1 -1
- package/dist/planning/__tests__/artifacts.test.js +261 -1
- package/dist/planning/__tests__/artifacts.test.js.map +1 -1
- package/dist/planning/artifact-names.d.ts +13 -0
- package/dist/planning/artifact-names.d.ts.map +1 -0
- package/dist/planning/artifact-names.js +108 -0
- package/dist/planning/artifact-names.js.map +1 -0
- package/dist/planning/artifacts.d.ts +23 -1
- package/dist/planning/artifacts.d.ts.map +1 -1
- package/dist/planning/artifacts.js +171 -59
- package/dist/planning/artifacts.js.map +1 -1
- package/dist/ralph/__tests__/persistence.test.js +21 -1
- package/dist/ralph/__tests__/persistence.test.js.map +1 -1
- package/dist/ralph/persistence.d.ts.map +1 -1
- package/dist/ralph/persistence.js +6 -4
- package/dist/ralph/persistence.js.map +1 -1
- package/dist/ralplan/__tests__/runtime.test.js +2 -0
- package/dist/ralplan/__tests__/runtime.test.js.map +1 -1
- package/dist/ralplan/runtime.d.ts.map +1 -1
- package/dist/ralplan/runtime.js +6 -0
- package/dist/ralplan/runtime.js.map +1 -1
- package/dist/scripts/__tests__/codex-native-hook.test.js +1749 -88
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
- package/dist/scripts/__tests__/hook-derived-watcher.test.js +33 -1
- package/dist/scripts/__tests__/hook-derived-watcher.test.js.map +1 -1
- package/dist/scripts/__tests__/run-test-files.test.js +36 -0
- package/dist/scripts/__tests__/run-test-files.test.js.map +1 -1
- package/dist/scripts/codex-native-hook.d.ts.map +1 -1
- package/dist/scripts/codex-native-hook.js +570 -45
- package/dist/scripts/codex-native-hook.js.map +1 -1
- package/dist/scripts/codex-native-pre-post.d.ts +7 -0
- package/dist/scripts/codex-native-pre-post.d.ts.map +1 -1
- package/dist/scripts/codex-native-pre-post.js +341 -15
- package/dist/scripts/codex-native-pre-post.js.map +1 -1
- package/dist/scripts/hook-derived-watcher.js +2 -1
- package/dist/scripts/hook-derived-watcher.js.map +1 -1
- package/dist/scripts/notify-fallback-watcher.js +2 -1
- package/dist/scripts/notify-fallback-watcher.js.map +1 -1
- package/dist/scripts/notify-hook/orchestration-intent.d.ts +1 -2
- package/dist/scripts/notify-hook/orchestration-intent.d.ts.map +1 -1
- package/dist/scripts/notify-hook/orchestration-intent.js +2 -3
- package/dist/scripts/notify-hook/orchestration-intent.js.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts +0 -2
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.js +8 -60
- package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker-posttooluse.js +1 -1
- package/dist/scripts/notify-hook/team-worker-posttooluse.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker-stop.d.ts +15 -0
- package/dist/scripts/notify-hook/team-worker-stop.d.ts.map +1 -0
- package/dist/scripts/notify-hook/team-worker-stop.js +224 -0
- package/dist/scripts/notify-hook/team-worker-stop.js.map +1 -0
- package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-worker.js +26 -18
- package/dist/scripts/notify-hook/team-worker.js.map +1 -1
- package/dist/scripts/notify-hook.js +1 -1
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/scripts/run-test-files.js +17 -1
- package/dist/scripts/run-test-files.js.map +1 -1
- package/dist/scripts/sync-plugin-mirror.d.ts +1 -0
- package/dist/scripts/sync-plugin-mirror.d.ts.map +1 -1
- package/dist/scripts/sync-plugin-mirror.js +10 -4
- package/dist/scripts/sync-plugin-mirror.js.map +1 -1
- package/dist/state/__tests__/operations.test.js +26 -0
- package/dist/state/__tests__/operations.test.js.map +1 -1
- package/dist/state/__tests__/skill-active.test.js +76 -0
- package/dist/state/__tests__/skill-active.test.js.map +1 -1
- package/dist/state/operations.d.ts +3 -1
- package/dist/state/operations.d.ts.map +1 -1
- package/dist/state/operations.js +8 -4
- package/dist/state/operations.js.map +1 -1
- package/dist/state/skill-active.d.ts +1 -0
- package/dist/state/skill-active.d.ts.map +1 -1
- package/dist/state/skill-active.js +54 -13
- package/dist/state/skill-active.js.map +1 -1
- package/dist/team/__tests__/api-interop.test.js +279 -0
- package/dist/team/__tests__/api-interop.test.js.map +1 -1
- package/dist/team/__tests__/approved-execution.test.d.ts +2 -0
- package/dist/team/__tests__/approved-execution.test.d.ts.map +1 -0
- package/dist/team/__tests__/approved-execution.test.js +124 -0
- package/dist/team/__tests__/approved-execution.test.js.map +1 -0
- package/dist/team/__tests__/delivery-e2e-smoke.test.js +2 -4
- package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -1
- package/dist/team/__tests__/delivery-log.test.d.ts +2 -0
- package/dist/team/__tests__/delivery-log.test.d.ts.map +1 -0
- package/dist/team/__tests__/delivery-log.test.js +44 -0
- package/dist/team/__tests__/delivery-log.test.js.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +40 -9
- package/dist/team/__tests__/model-contract.test.js.map +1 -1
- package/dist/team/__tests__/repo-aware-decomposition.test.js +41 -0
- package/dist/team/__tests__/repo-aware-decomposition.test.js.map +1 -1
- package/dist/team/__tests__/role-router.test.js +4 -4
- package/dist/team/__tests__/role-router.test.js.map +1 -1
- package/dist/team/__tests__/runtime-boxed-state.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-boxed-state.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-boxed-state.test.js +39 -0
- package/dist/team/__tests__/runtime-boxed-state.test.js.map +1 -0
- package/dist/team/__tests__/runtime-cli.test.js +24 -0
- package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +563 -72
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js +13 -0
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/state.test.js +13 -0
- package/dist/team/__tests__/state.test.js.map +1 -1
- package/dist/team/__tests__/team-identity.test.d.ts +2 -0
- package/dist/team/__tests__/team-identity.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-identity.test.js +166 -0
- package/dist/team/__tests__/team-identity.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.test.js +58 -1
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +62 -0
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/api-interop.d.ts +1 -0
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +163 -132
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/approved-execution.d.ts +37 -0
- package/dist/team/approved-execution.d.ts.map +1 -0
- package/dist/team/approved-execution.js +136 -0
- package/dist/team/approved-execution.js.map +1 -0
- package/dist/team/delivery-log.d.ts +1 -1
- package/dist/team/delivery-log.d.ts.map +1 -1
- package/dist/team/delivery-log.js +2 -1
- package/dist/team/delivery-log.js.map +1 -1
- package/dist/team/followup-planner.js +2 -2
- package/dist/team/followup-planner.js.map +1 -1
- package/dist/team/goal-workflow.d.ts +20 -0
- package/dist/team/goal-workflow.d.ts.map +1 -0
- package/dist/team/goal-workflow.js +57 -0
- package/dist/team/goal-workflow.js.map +1 -0
- package/dist/team/orchestrator.js +2 -2
- package/dist/team/orchestrator.js.map +1 -1
- package/dist/team/repo-aware-decomposition.d.ts +3 -0
- package/dist/team/repo-aware-decomposition.d.ts.map +1 -1
- package/dist/team/repo-aware-decomposition.js +2 -0
- package/dist/team/repo-aware-decomposition.js.map +1 -1
- package/dist/team/role-router.js +5 -5
- package/dist/team/role-router.js.map +1 -1
- package/dist/team/runtime-cli.d.ts +32 -2
- package/dist/team/runtime-cli.d.ts.map +1 -1
- package/dist/team/runtime-cli.js +78 -26
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime.d.ts +7 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +383 -40
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +2 -0
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state.d.ts +9 -0
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +21 -0
- package/dist/team/state.js.map +1 -1
- package/dist/team/team-identity.d.ts +26 -0
- package/dist/team/team-identity.d.ts.map +1 -0
- package/dist/team/team-identity.js +169 -0
- package/dist/team/team-identity.js.map +1 -0
- package/dist/team/tmux-session.d.ts +18 -0
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +65 -3
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts +4 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +28 -2
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/ultragoal/__tests__/artifacts.test.d.ts +2 -0
- package/dist/ultragoal/__tests__/artifacts.test.d.ts.map +1 -0
- package/dist/ultragoal/__tests__/artifacts.test.js +93 -0
- package/dist/ultragoal/__tests__/artifacts.test.js.map +1 -0
- package/dist/ultragoal/artifacts.d.ts +89 -0
- package/dist/ultragoal/artifacts.d.ts.map +1 -0
- package/dist/ultragoal/artifacts.js +233 -0
- package/dist/ultragoal/artifacts.js.map +1 -0
- package/dist/utils/__tests__/agents-model-table.test.js +3 -1
- package/dist/utils/__tests__/agents-model-table.test.js.map +1 -1
- package/dist/utils/__tests__/paths.test.js +31 -1
- package/dist/utils/__tests__/paths.test.js.map +1 -1
- package/dist/utils/agents-model-table.d.ts.map +1 -1
- package/dist/utils/agents-model-table.js +12 -1
- package/dist/utils/agents-model-table.js.map +1 -1
- package/dist/utils/paths.d.ts +2 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +23 -7
- package/dist/utils/paths.js.map +1 -1
- package/dist/verification/__tests__/ci-rust-gates.test.js +30 -19
- package/dist/verification/__tests__/ci-rust-gates.test.js.map +1 -1
- package/package.json +5 -5
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/oh-my-codex/skills/ai-slop-cleaner/SKILL.md +30 -5
- package/plugins/oh-my-codex/skills/ask/SKILL.md +58 -0
- package/plugins/oh-my-codex/skills/autoresearch-goal/SKILL.md +36 -0
- package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +2 -2
- package/plugins/oh-my-codex/skills/performance-goal/SKILL.md +65 -0
- package/plugins/oh-my-codex/skills/plan/SKILL.md +1 -1
- package/plugins/oh-my-codex/skills/ralph/SKILL.md +22 -3
- package/plugins/oh-my-codex/skills/team/SKILL.md +6 -2
- package/plugins/oh-my-codex/skills/ultragoal/SKILL.md +49 -0
- package/plugins/oh-my-codex/skills/visual-ralph/SKILL.md +9 -9
- package/prompts/api-reviewer.md +1 -1
- package/prompts/code-reviewer.md +2 -0
- package/prompts/performance-reviewer.md +1 -1
- package/prompts/quality-reviewer.md +1 -1
- package/prompts/quality-strategist.md +2 -2
- package/prompts/style-reviewer.md +1 -1
- package/prompts/test-engineer.md +1 -1
- package/skills/ai-slop-cleaner/SKILL.md +30 -5
- package/skills/ask/SKILL.md +58 -0
- package/skills/ask-claude/SKILL.md +3 -54
- package/skills/ask-gemini/SKILL.md +3 -54
- package/skills/autoresearch-goal/SKILL.md +36 -0
- package/skills/build-fix/SKILL.md +4 -139
- package/skills/deepsearch/SKILL.md +4 -32
- package/skills/ecomode/SKILL.md +4 -108
- package/skills/help/SKILL.md +4 -196
- package/skills/note/SKILL.md +4 -56
- package/skills/omx-setup/SKILL.md +2 -2
- package/skills/performance-goal/SKILL.md +65 -0
- package/skills/plan/SKILL.md +1 -1
- package/skills/ralph/SKILL.md +22 -3
- package/skills/ralph-init/SKILL.md +4 -40
- package/skills/review/SKILL.md +4 -32
- package/skills/security-review/SKILL.md +4 -294
- package/skills/swarm/SKILL.md +4 -19
- package/skills/tdd/SKILL.md +4 -100
- package/skills/team/SKILL.md +6 -2
- package/skills/trace/SKILL.md +4 -27
- package/skills/ultragoal/SKILL.md +49 -0
- package/skills/visual-ralph/SKILL.md +9 -9
- package/skills/visual-verdict/SKILL.md +4 -70
- package/skills/web-clone/SKILL.md +4 -18
- package/src/scripts/__tests__/codex-native-hook.test.ts +2923 -1030
- package/src/scripts/__tests__/hook-derived-watcher.test.ts +45 -1
- package/src/scripts/__tests__/run-test-files.test.ts +46 -0
- package/src/scripts/codex-native-hook.ts +696 -46
- package/src/scripts/codex-native-pre-post.ts +369 -16
- package/src/scripts/hook-derived-watcher.ts +2 -1
- package/src/scripts/notify-fallback-watcher.ts +2 -1
- package/src/scripts/notify-hook/orchestration-intent.ts +1 -3
- package/src/scripts/notify-hook/team-leader-nudge.ts +7 -63
- package/src/scripts/notify-hook/team-worker-posttooluse.ts +1 -1
- package/src/scripts/notify-hook/team-worker-stop.ts +246 -0
- package/src/scripts/notify-hook/team-worker.ts +23 -14
- package/src/scripts/notify-hook.ts +1 -1
- package/src/scripts/run-test-files.ts +20 -1
- package/src/scripts/sync-plugin-mirror.ts +13 -4
- package/templates/catalog-manifest.json +45 -27
- package/plugins/oh-my-codex/skills/ask-claude/SKILL.md +0 -61
- package/plugins/oh-my-codex/skills/ask-gemini/SKILL.md +0 -61
- package/plugins/oh-my-codex/skills/help/SKILL.md +0 -202
- package/plugins/oh-my-codex/skills/note/SKILL.md +0 -62
- package/plugins/oh-my-codex/skills/security-review/SKILL.md +0 -300
- package/plugins/oh-my-codex/skills/trace/SKILL.md +0 -33
- package/plugins/oh-my-codex/skills/visual-verdict/SKILL.md +0 -76
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ask-gemini
|
|
3
|
-
description: Ask Gemini via local CLI and capture a reusable artifact
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Ask Gemini (Local CLI)
|
|
7
|
-
|
|
8
|
-
Use the locally installed Gemini CLI as a direct external advisor for brainstorming, design feedback, and second opinions.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
/ask-gemini <question or task>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Routing
|
|
17
|
-
|
|
18
|
-
### Preferred: Local CLI execution
|
|
19
|
-
Run Gemini through the canonical OMX CLI command path (no MCP routing):
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
omx ask gemini "{{ARGUMENTS}}"
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Exact non-interactive Gemini CLI command from `gemini --help`:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
gemini -p "{{ARGUMENTS}}"
|
|
29
|
-
# equivalent: gemini --prompt "{{ARGUMENTS}}"
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
If needed, adapt to the user's installed Gemini CLI variant while keeping local execution as the default path.
|
|
33
|
-
|
|
34
|
-
Legacy compatibility entrypoints (`./scripts/ask-gemini.sh`, `npm run ask:gemini -- ...`) are transitional wrappers.
|
|
35
|
-
|
|
36
|
-
### Missing binary behavior
|
|
37
|
-
If `gemini` is not found, do **not** switch to MCP.
|
|
38
|
-
Instead:
|
|
39
|
-
1. Explain that local Gemini CLI is required for this skill.
|
|
40
|
-
2. Ask the user to install/configure Gemini CLI.
|
|
41
|
-
3. Provide a quick verification command:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
gemini --version
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Artifact requirement
|
|
48
|
-
After local execution, save a markdown artifact to:
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
.omx/artifacts/gemini-<slug>-<timestamp>.md
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Minimum artifact sections:
|
|
55
|
-
1. Original user task
|
|
56
|
-
2. Final prompt sent to Gemini CLI
|
|
57
|
-
3. Gemini output (raw)
|
|
58
|
-
4. Concise summary
|
|
59
|
-
5. Action items / next steps
|
|
60
|
-
|
|
61
|
-
Task: {{ARGUMENTS}}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: help
|
|
3
|
-
description: Guide on using oh-my-codex plugin
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# How OMX Works
|
|
7
|
-
|
|
8
|
-
Plain English works as best-effort guidance — OMX inspects each prompt and may add advisory routing context to steer the model toward a suitable lane. This is **advisory prompt-routing context**: it does not activate a skill or workflow by itself. Explicit keywords remain the deterministic control surface when you want exact, guaranteed routing.
|
|
9
|
-
|
|
10
|
-
**Triage lanes** (when no keyword matches): complex/multi-step prompts may receive HEAVY guidance (autopilot-shaped); repo-local read-only lookups receive LIGHT/explore guidance; implementation work receives LIGHT/executor guidance; UI work receives LIGHT/designer guidance; external official-doc/reference/source-backed lookup receives LIGHT/researcher guidance; simple conversational prompts receive no injection (PASS). To opt out per prompt, include a phrase such as `no workflow`, `just chat`, or `plain answer`.
|
|
11
|
-
|
|
12
|
-
## What Happens Automatically
|
|
13
|
-
|
|
14
|
-
| When You... | I Automatically... |
|
|
15
|
-
|-------------|-------------------|
|
|
16
|
-
| Give me a complex task | Parallelize and delegate to specialist agents |
|
|
17
|
-
| Ask me to plan something | Start a planning interview |
|
|
18
|
-
| Need something done completely | Persist until verified complete |
|
|
19
|
-
| Work on UI/frontend | Activate design sensibility |
|
|
20
|
-
| Say "stop" or "cancel" | Intelligently stop current operation |
|
|
21
|
-
|
|
22
|
-
## Magic Keywords (Optional Shortcuts)
|
|
23
|
-
|
|
24
|
-
You can include these words naturally in your request for explicit control:
|
|
25
|
-
|
|
26
|
-
| Keyword | Effect | Example |
|
|
27
|
-
|---------|--------|---------|
|
|
28
|
-
| **ralph** | Persistence mode | "ralph: fix all the bugs" |
|
|
29
|
-
| **ralplan** | Iterative planning | "ralplan this feature" |
|
|
30
|
-
| **ulw** | Max parallelism | "ulw refactor the API" |
|
|
31
|
-
| **plan** | Planning interview | "plan the new endpoints" |
|
|
32
|
-
|
|
33
|
-
**ralph includes ultrawork:** When you activate ralph mode, it automatically includes ultrawork's parallel execution. No need to combine keywords.
|
|
34
|
-
|
|
35
|
-
## Stopping Things
|
|
36
|
-
|
|
37
|
-
Just say:
|
|
38
|
-
- "stop"
|
|
39
|
-
- "cancel"
|
|
40
|
-
- "abort"
|
|
41
|
-
|
|
42
|
-
I'll figure out what to stop based on context.
|
|
43
|
-
|
|
44
|
-
## First Time Setup
|
|
45
|
-
|
|
46
|
-
If you haven't configured OMX yet:
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
/omx-setup
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
This is the primary setup command for full OMX runtime wiring. Codex plugin install/discovery can expose packaged skills/workflows plus plugin-scoped companion metadata for MCP servers and apps, while native/runtime hooks remain setup-owned; it is not a replacement for `npm install -g oh-my-codex` plus `omx setup`. Legacy setup mode installs native agents/prompts; plugin setup mode archives stale legacy prompt/native-agent files and keeps config/hooks/optional AGENTS.md/HUD/runtime wiring current, including native `.codex/hooks.json` coverage. Plugin caches may appear under `${CODEX_HOME:-~/.codex}/plugins/cache/$MARKETPLACE_NAME/oh-my-codex/$VERSION/` (or `local` for local installs).
|
|
53
|
-
|
|
54
|
-
If you only need lightweight directory guidance scaffolding for `AGENTS.md` files, use:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
omx agents-init .
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
That command is intentionally narrower than full setup: it only bootstraps `AGENTS.md` files for the target directory and its immediate child directories.
|
|
61
|
-
|
|
62
|
-
## For 2.x Users
|
|
63
|
-
|
|
64
|
-
Your old commands still work! `/ralph`, `/ultrawork`, `/plan`, etc. all function exactly as before.
|
|
65
|
-
|
|
66
|
-
But now you don't NEED them - everything is automatic.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## Usage Analysis
|
|
71
|
-
|
|
72
|
-
Analyze your oh-my-codex usage and get tailored recommendations to improve your workflow.
|
|
73
|
-
|
|
74
|
-
> Note: This replaces the former `/learn-about-omc` skill.
|
|
75
|
-
|
|
76
|
-
### What It Does
|
|
77
|
-
|
|
78
|
-
1. Reads token tracking from `~/.omx/state/token-tracking.jsonl`
|
|
79
|
-
2. Reads session history from `.omx/state/session-history.json`
|
|
80
|
-
3. Analyzes agent usage patterns
|
|
81
|
-
4. Identifies underutilized features
|
|
82
|
-
5. Recommends configuration changes
|
|
83
|
-
|
|
84
|
-
### Step 1: Gather Data
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# Check for token tracking data
|
|
88
|
-
TOKEN_FILE="$HOME/.omx/state/token-tracking.jsonl"
|
|
89
|
-
SESSION_FILE=".omx/state/session-history.json"
|
|
90
|
-
CONFIG_FILE="$HOME/.codex/.omx-config.json"
|
|
91
|
-
|
|
92
|
-
echo "Analyzing OMX Usage..."
|
|
93
|
-
echo ""
|
|
94
|
-
|
|
95
|
-
# Check what data is available
|
|
96
|
-
HAS_TOKENS=false
|
|
97
|
-
HAS_SESSIONS=false
|
|
98
|
-
HAS_CONFIG=false
|
|
99
|
-
|
|
100
|
-
if [[ -f "$TOKEN_FILE" ]]; then
|
|
101
|
-
HAS_TOKENS=true
|
|
102
|
-
TOKEN_COUNT=$(wc -l < "$TOKEN_FILE")
|
|
103
|
-
echo "Token records found: $TOKEN_COUNT"
|
|
104
|
-
fi
|
|
105
|
-
|
|
106
|
-
if [[ -f "$SESSION_FILE" ]]; then
|
|
107
|
-
HAS_SESSIONS=true
|
|
108
|
-
SESSION_COUNT=$(cat "$SESSION_FILE" | jq '.sessions | length' 2>/dev/null || echo "0")
|
|
109
|
-
echo "Sessions found: $SESSION_COUNT"
|
|
110
|
-
fi
|
|
111
|
-
|
|
112
|
-
if [[ -f "$CONFIG_FILE" ]]; then
|
|
113
|
-
HAS_CONFIG=true
|
|
114
|
-
DEFAULT_MODE=$(cat "$CONFIG_FILE" | jq -r '.defaultExecutionMode // "not set"')
|
|
115
|
-
echo "Default execution mode: $DEFAULT_MODE"
|
|
116
|
-
fi
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Step 2: Analyze Agent Usage (if token data exists)
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
if [[ "$HAS_TOKENS" == "true" ]]; then
|
|
123
|
-
echo ""
|
|
124
|
-
echo "TOP AGENTS BY USAGE:"
|
|
125
|
-
cat "$TOKEN_FILE" | jq -r '.agentName // "main"' | sort | uniq -c | sort -rn | head -10
|
|
126
|
-
|
|
127
|
-
echo ""
|
|
128
|
-
echo "MODEL DISTRIBUTION:"
|
|
129
|
-
cat "$TOKEN_FILE" | jq -r '.modelName' | sort | uniq -c | sort -rn
|
|
130
|
-
fi
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### Step 3: Generate Recommendations
|
|
134
|
-
|
|
135
|
-
Based on patterns found, output recommendations:
|
|
136
|
-
|
|
137
|
-
**If high Opus usage (>40%) and no ecomode:**
|
|
138
|
-
- "Consider using ecomode for routine tasks to save tokens"
|
|
139
|
-
|
|
140
|
-
**If no team usage:**
|
|
141
|
-
- "Try /team for coordinated review workflows"
|
|
142
|
-
|
|
143
|
-
**If no security-reviewer usage:**
|
|
144
|
-
- "Use security-reviewer after auth/API changes"
|
|
145
|
-
|
|
146
|
-
**If defaultExecutionMode not set:**
|
|
147
|
-
- "Set defaultExecutionMode in /omx-setup for consistent behavior"
|
|
148
|
-
|
|
149
|
-
### Step 4: Output Report
|
|
150
|
-
|
|
151
|
-
Format a summary with:
|
|
152
|
-
- Token summary (total, by model)
|
|
153
|
-
- Top agents used
|
|
154
|
-
- Underutilized features
|
|
155
|
-
- Personalized recommendations
|
|
156
|
-
|
|
157
|
-
### Example Output
|
|
158
|
-
|
|
159
|
-
```
|
|
160
|
-
📊 Your OMX Usage Analysis
|
|
161
|
-
|
|
162
|
-
TOKEN SUMMARY:
|
|
163
|
-
- Total records: 1,234
|
|
164
|
-
- By Reasoning Effort: high 45%, medium 40%, low 15%
|
|
165
|
-
|
|
166
|
-
TOP AGENTS:
|
|
167
|
-
1. executor (234 uses)
|
|
168
|
-
2. architect (89 uses)
|
|
169
|
-
3. explore (67 uses)
|
|
170
|
-
|
|
171
|
-
UNDERUTILIZED FEATURES:
|
|
172
|
-
- ecomode: 0 uses (could save ~30% on routine tasks)
|
|
173
|
-
- team: 0 uses (great for coordinated workflows)
|
|
174
|
-
|
|
175
|
-
RECOMMENDATIONS:
|
|
176
|
-
1. Set defaultExecutionMode: "ecomode" to save tokens
|
|
177
|
-
2. Try /team for PR review workflows
|
|
178
|
-
3. Use explore agent before architect to save context
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
### Graceful Degradation
|
|
182
|
-
|
|
183
|
-
If no data found:
|
|
184
|
-
|
|
185
|
-
```
|
|
186
|
-
📊 Limited Usage Data Available
|
|
187
|
-
|
|
188
|
-
No token tracking found. To enable tracking:
|
|
189
|
-
1. Ensure ~/.omx/state/ directory exists
|
|
190
|
-
2. Run any OMX command to start tracking
|
|
191
|
-
|
|
192
|
-
Tip: Run /omx-setup to configure OMX properly.
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
## Need More Help?
|
|
196
|
-
|
|
197
|
-
- **README**: https://github.com/Yeachan-Heo/oh-my-codex
|
|
198
|
-
- **Issues**: https://github.com/Yeachan-Heo/oh-my-codex/issues
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
*Version: 4.2.3*
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: note
|
|
3
|
-
description: Save notes to notepad.md for compaction resilience
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Note Skill
|
|
7
|
-
|
|
8
|
-
Save important context to `.omx/notepad.md` that survives conversation compaction.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
| Command | Action |
|
|
13
|
-
|---------|--------|
|
|
14
|
-
| `/note <content>` | Add to Working Memory with timestamp |
|
|
15
|
-
| `/note --priority <content>` | Add to Priority Context (always loaded) |
|
|
16
|
-
| `/note --manual <content>` | Add to MANUAL section (never pruned) |
|
|
17
|
-
| `/note --show` | Display current notepad contents |
|
|
18
|
-
| `/note --prune` | Remove entries older than 7 days |
|
|
19
|
-
| `/note --clear` | Clear Working Memory (keep Priority + MANUAL) |
|
|
20
|
-
|
|
21
|
-
## Sections
|
|
22
|
-
|
|
23
|
-
### Priority Context (500 char limit)
|
|
24
|
-
- **Always** injected on session start
|
|
25
|
-
- Use for critical facts: "Project uses pnpm", "API in src/api/client.ts"
|
|
26
|
-
- Keep it SHORT - this eats into your context budget
|
|
27
|
-
|
|
28
|
-
### Working Memory
|
|
29
|
-
- Timestamped session notes
|
|
30
|
-
- Auto-pruned after 7 days
|
|
31
|
-
- Good for: debugging breadcrumbs, temporary findings
|
|
32
|
-
|
|
33
|
-
### MANUAL
|
|
34
|
-
- Never auto-pruned
|
|
35
|
-
- User-controlled permanent notes
|
|
36
|
-
- Good for: team contacts, deployment info
|
|
37
|
-
|
|
38
|
-
## Examples
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
/note Found auth bug in UserContext - missing useEffect dependency
|
|
42
|
-
/note --priority Project uses TypeScript strict mode, all files in src/
|
|
43
|
-
/note --manual Contact: api-team@company.com for backend questions
|
|
44
|
-
/note --show
|
|
45
|
-
/note --prune
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Behavior
|
|
49
|
-
|
|
50
|
-
1. Creates `.omx/notepad.md` if it doesn't exist
|
|
51
|
-
2. Parses the argument to determine section
|
|
52
|
-
3. Appends content with timestamp (for Working Memory)
|
|
53
|
-
4. Warns if Priority Context exceeds 500 chars
|
|
54
|
-
5. Confirms what was saved
|
|
55
|
-
|
|
56
|
-
## Integration
|
|
57
|
-
|
|
58
|
-
Notepad content is automatically loaded on session start:
|
|
59
|
-
- Priority Context: ALWAYS loaded
|
|
60
|
-
- Working Memory: Loaded if recent entries exist
|
|
61
|
-
|
|
62
|
-
This helps survive conversation compaction without losing critical context.
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: security-review
|
|
3
|
-
description: Run a comprehensive security review on code
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Security Review Skill
|
|
7
|
-
|
|
8
|
-
Conduct a thorough security audit checking for OWASP Top 10 vulnerabilities, hardcoded secrets, and unsafe patterns.
|
|
9
|
-
|
|
10
|
-
## When to Use
|
|
11
|
-
|
|
12
|
-
This skill activates when:
|
|
13
|
-
- User requests "security review", "security audit"
|
|
14
|
-
- After writing code that handles user input
|
|
15
|
-
- After adding new API endpoints
|
|
16
|
-
- After modifying authentication/authorization logic
|
|
17
|
-
- Before deploying to production
|
|
18
|
-
- After adding external dependencies
|
|
19
|
-
|
|
20
|
-
## What It Does
|
|
21
|
-
|
|
22
|
-
## GPT-5.5 Guidance Alignment
|
|
23
|
-
|
|
24
|
-
- Default to outcome-first progress and completion reporting: state the target result, evidence, validation status, and stop condition before adding process detail.
|
|
25
|
-
- Treat newer user task updates as local overrides for the active workflow branch while preserving earlier non-conflicting constraints.
|
|
26
|
-
- If correctness depends on additional inspection, retrieval, execution, or verification, keep using the relevant tools until the security review is grounded; stop once enough evidence exists.
|
|
27
|
-
- Continue through clear, low-risk, reversible next steps automatically; ask only when the next step is materially branching, destructive, credentialed, external-production, or preference-dependent.
|
|
28
|
-
|
|
29
|
-
Delegates to the `security-reviewer` agent (THOROUGH tier) for deep security analysis:
|
|
30
|
-
|
|
31
|
-
1. **OWASP Top 10 Scan**
|
|
32
|
-
- A01: Broken Access Control
|
|
33
|
-
- A02: Cryptographic Failures
|
|
34
|
-
- A03: Injection (SQL, NoSQL, Command, XSS)
|
|
35
|
-
- A04: Insecure Design
|
|
36
|
-
- A05: Security Misconfiguration
|
|
37
|
-
- A06: Vulnerable and Outdated Components
|
|
38
|
-
- A07: Identification and Authentication Failures
|
|
39
|
-
- A08: Software and Data Integrity Failures
|
|
40
|
-
- A09: Security Logging and Monitoring Failures
|
|
41
|
-
- A10: Server-Side Request Forgery (SSRF)
|
|
42
|
-
|
|
43
|
-
2. **Secrets Detection**
|
|
44
|
-
- Hardcoded API keys
|
|
45
|
-
- Passwords in source code
|
|
46
|
-
- Private keys in repo
|
|
47
|
-
- Tokens and credentials
|
|
48
|
-
- Connection strings with secrets
|
|
49
|
-
|
|
50
|
-
3. **Input Validation**
|
|
51
|
-
- All user inputs sanitized
|
|
52
|
-
- SQL/NoSQL injection prevention
|
|
53
|
-
- Command injection prevention
|
|
54
|
-
- XSS prevention (output escaping)
|
|
55
|
-
- Path traversal prevention
|
|
56
|
-
|
|
57
|
-
4. **Authentication/Authorization**
|
|
58
|
-
- Proper password hashing (bcrypt, argon2)
|
|
59
|
-
- Session management security
|
|
60
|
-
- Access control enforcement
|
|
61
|
-
- JWT implementation security
|
|
62
|
-
|
|
63
|
-
5. **Dependency Security**
|
|
64
|
-
- Run `npm audit` for known vulnerabilities
|
|
65
|
-
- Check for outdated dependencies
|
|
66
|
-
- Identify high-severity CVEs
|
|
67
|
-
|
|
68
|
-
## Agent Delegation
|
|
69
|
-
|
|
70
|
-
```
|
|
71
|
-
delegate(
|
|
72
|
-
role="security-reviewer",
|
|
73
|
-
tier="THOROUGH",
|
|
74
|
-
prompt="SECURITY REVIEW TASK
|
|
75
|
-
|
|
76
|
-
Conduct comprehensive security audit of codebase.
|
|
77
|
-
|
|
78
|
-
Scope: [specific files or entire codebase]
|
|
79
|
-
|
|
80
|
-
Security Checklist:
|
|
81
|
-
1. OWASP Top 10 scan
|
|
82
|
-
2. Hardcoded secrets detection
|
|
83
|
-
3. Input validation review
|
|
84
|
-
4. Authentication/authorization review
|
|
85
|
-
5. Dependency vulnerability scan (npm audit)
|
|
86
|
-
|
|
87
|
-
Output: Security review report with:
|
|
88
|
-
- Summary of findings by severity (CRITICAL, HIGH, MEDIUM, LOW)
|
|
89
|
-
- Specific file:line locations
|
|
90
|
-
- CVE references where applicable
|
|
91
|
-
- Remediation guidance for each issue
|
|
92
|
-
- Overall security posture assessment"
|
|
93
|
-
)
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## External Model Consultation (Preferred)
|
|
97
|
-
|
|
98
|
-
The security-reviewer agent SHOULD consult Codex for cross-validation.
|
|
99
|
-
|
|
100
|
-
### Protocol
|
|
101
|
-
1. **Form your OWN security analysis FIRST** - Complete the review independently
|
|
102
|
-
2. **Consult for validation** - Cross-check findings with Codex
|
|
103
|
-
3. **Critically evaluate** - Never blindly adopt external findings
|
|
104
|
-
4. **Graceful fallback** - Never block if tools unavailable
|
|
105
|
-
|
|
106
|
-
### When to Consult
|
|
107
|
-
- Authentication/authorization code
|
|
108
|
-
- Cryptographic implementations
|
|
109
|
-
- Input validation for untrusted data
|
|
110
|
-
- High-risk vulnerability patterns
|
|
111
|
-
- Production deployment code
|
|
112
|
-
|
|
113
|
-
### When to Skip
|
|
114
|
-
- Low-risk utility code
|
|
115
|
-
- Well-audited patterns
|
|
116
|
-
- Time-critical security assessments
|
|
117
|
-
- Code with existing security tests
|
|
118
|
-
|
|
119
|
-
### Tool Usage
|
|
120
|
-
Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools.
|
|
121
|
-
Use `mcp__x__ask_codex` with `agent_role: "security-reviewer"`.
|
|
122
|
-
If ToolSearch finds no MCP tools, fall back to the `security-reviewer` agent.
|
|
123
|
-
|
|
124
|
-
**Note:** Security second opinions are high-value. Consider consulting for CRITICAL/HIGH findings.
|
|
125
|
-
|
|
126
|
-
## Output Format
|
|
127
|
-
|
|
128
|
-
```
|
|
129
|
-
SECURITY REVIEW REPORT
|
|
130
|
-
======================
|
|
131
|
-
|
|
132
|
-
Scope: Entire codebase (42 files scanned)
|
|
133
|
-
Scan Date: 2026-01-24T14:30:00Z
|
|
134
|
-
|
|
135
|
-
CRITICAL (2)
|
|
136
|
-
------------
|
|
137
|
-
1. src/api/auth.ts:89 - Hardcoded API Key
|
|
138
|
-
Finding: AWS API key hardcoded in source code
|
|
139
|
-
Impact: Credential exposure if code is public or leaked
|
|
140
|
-
Remediation: Move to environment variables, rotate key immediately
|
|
141
|
-
Reference: OWASP A02:2021 – Cryptographic Failures
|
|
142
|
-
|
|
143
|
-
2. src/db/query.ts:45 - SQL Injection Vulnerability
|
|
144
|
-
Finding: User input concatenated directly into SQL query
|
|
145
|
-
Impact: Attacker can execute arbitrary SQL commands
|
|
146
|
-
Remediation: Use parameterized queries or ORM
|
|
147
|
-
Reference: OWASP A03:2021 – Injection
|
|
148
|
-
|
|
149
|
-
HIGH (5)
|
|
150
|
-
--------
|
|
151
|
-
3. src/auth/password.ts:22 - Weak Password Hashing
|
|
152
|
-
Finding: Passwords hashed with MD5 (cryptographically broken)
|
|
153
|
-
Impact: Passwords can be reversed via rainbow tables
|
|
154
|
-
Remediation: Use bcrypt or argon2 with appropriate work factor
|
|
155
|
-
Reference: OWASP A02:2021 – Cryptographic Failures
|
|
156
|
-
|
|
157
|
-
4. src/components/UserInput.tsx:67 - XSS Vulnerability
|
|
158
|
-
Finding: User input rendered with dangerouslySetInnerHTML
|
|
159
|
-
Impact: Cross-site scripting attack vector
|
|
160
|
-
Remediation: Sanitize HTML or use safe rendering
|
|
161
|
-
Reference: OWASP A03:2021 – Injection (XSS)
|
|
162
|
-
|
|
163
|
-
5. src/api/upload.ts:34 - Path Traversal Vulnerability
|
|
164
|
-
Finding: User-controlled filename used without validation
|
|
165
|
-
Impact: Attacker can read/write arbitrary files
|
|
166
|
-
Remediation: Validate and sanitize filenames, use allowlist
|
|
167
|
-
Reference: OWASP A01:2021 – Broken Access Control
|
|
168
|
-
|
|
169
|
-
...
|
|
170
|
-
|
|
171
|
-
MEDIUM (8)
|
|
172
|
-
----------
|
|
173
|
-
...
|
|
174
|
-
|
|
175
|
-
LOW (12)
|
|
176
|
-
--------
|
|
177
|
-
...
|
|
178
|
-
|
|
179
|
-
DEPENDENCY VULNERABILITIES
|
|
180
|
-
--------------------------
|
|
181
|
-
Found 3 vulnerabilities via npm audit:
|
|
182
|
-
|
|
183
|
-
CRITICAL: axios@0.21.0 - Server-Side Request Forgery (CVE-2021-3749)
|
|
184
|
-
Installed: axios@0.21.0
|
|
185
|
-
Fix: npm install axios@0.21.2
|
|
186
|
-
|
|
187
|
-
HIGH: lodash@4.17.19 - Prototype Pollution (CVE-2020-8203)
|
|
188
|
-
Installed: lodash@4.17.19
|
|
189
|
-
Fix: npm install lodash@4.17.21
|
|
190
|
-
|
|
191
|
-
...
|
|
192
|
-
|
|
193
|
-
OVERALL ASSESSMENT
|
|
194
|
-
------------------
|
|
195
|
-
Security Posture: POOR (2 CRITICAL, 5 HIGH issues)
|
|
196
|
-
|
|
197
|
-
Immediate Actions Required:
|
|
198
|
-
1. Rotate exposed AWS API key
|
|
199
|
-
2. Fix SQL injection in db/query.ts
|
|
200
|
-
3. Upgrade password hashing to bcrypt
|
|
201
|
-
4. Update vulnerable dependencies
|
|
202
|
-
|
|
203
|
-
Recommendation: DO NOT DEPLOY until CRITICAL and HIGH issues resolved.
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
## Security Checklist
|
|
207
|
-
|
|
208
|
-
The security-reviewer agent verifies:
|
|
209
|
-
|
|
210
|
-
### Authentication & Authorization
|
|
211
|
-
- [ ] Passwords hashed with strong algorithm (bcrypt/argon2)
|
|
212
|
-
- [ ] Session tokens cryptographically random
|
|
213
|
-
- [ ] JWT tokens properly signed and validated
|
|
214
|
-
- [ ] Access control enforced on all protected resources
|
|
215
|
-
- [ ] No authentication bypass vulnerabilities
|
|
216
|
-
|
|
217
|
-
### Input Validation
|
|
218
|
-
- [ ] All user inputs validated and sanitized
|
|
219
|
-
- [ ] SQL queries use parameterization (no string concatenation)
|
|
220
|
-
- [ ] NoSQL queries prevent injection
|
|
221
|
-
- [ ] File uploads validated (type, size, content)
|
|
222
|
-
- [ ] URLs validated to prevent SSRF
|
|
223
|
-
|
|
224
|
-
### Output Encoding
|
|
225
|
-
- [ ] HTML output escaped to prevent XSS
|
|
226
|
-
- [ ] JSON responses properly encoded
|
|
227
|
-
- [ ] No user data in error messages
|
|
228
|
-
- [ ] Content-Security-Policy headers set
|
|
229
|
-
|
|
230
|
-
### Secrets Management
|
|
231
|
-
- [ ] No hardcoded API keys
|
|
232
|
-
- [ ] No passwords in source code
|
|
233
|
-
- [ ] No private keys in repo
|
|
234
|
-
- [ ] Environment variables used for secrets
|
|
235
|
-
- [ ] Secrets not logged or exposed in errors
|
|
236
|
-
|
|
237
|
-
### Cryptography
|
|
238
|
-
- [ ] Strong algorithms used (AES-256, RSA-2048+)
|
|
239
|
-
- [ ] Proper key management
|
|
240
|
-
- [ ] Random number generation cryptographically secure
|
|
241
|
-
- [ ] TLS/HTTPS enforced for sensitive data
|
|
242
|
-
|
|
243
|
-
### Dependencies
|
|
244
|
-
- [ ] No known vulnerabilities in dependencies
|
|
245
|
-
- [ ] Dependencies up to date
|
|
246
|
-
- [ ] No CRITICAL or HIGH CVEs
|
|
247
|
-
- [ ] Dependency sources verified
|
|
248
|
-
|
|
249
|
-
## Severity Definitions
|
|
250
|
-
|
|
251
|
-
**CRITICAL** - Exploitable vulnerability with severe impact (data breach, RCE, credential theft)
|
|
252
|
-
**HIGH** - Vulnerability requiring specific conditions but serious impact
|
|
253
|
-
**MEDIUM** - Security weakness with limited impact or difficult exploitation
|
|
254
|
-
**LOW** - Best practice violation or minor security concern
|
|
255
|
-
|
|
256
|
-
## Remediation Priority
|
|
257
|
-
|
|
258
|
-
1. **Rotate exposed secrets** - Immediate (within 1 hour)
|
|
259
|
-
2. **Fix CRITICAL** - Urgent (within 24 hours)
|
|
260
|
-
3. **Fix HIGH** - Important (within 1 week)
|
|
261
|
-
4. **Fix MEDIUM** - Planned (within 1 month)
|
|
262
|
-
5. **Fix LOW** - Backlog (when convenient)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
## Scenario Examples
|
|
266
|
-
|
|
267
|
-
**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.
|
|
268
|
-
|
|
269
|
-
**Good:** The user changes only the output shape or downstream delivery step (for example `make a PR`). Preserve earlier non-conflicting workflow constraints and apply the update locally.
|
|
270
|
-
|
|
271
|
-
**Bad:** The user says `continue`, and the workflow restarts discovery or stops before the missing verification/evidence is gathered.
|
|
272
|
-
|
|
273
|
-
## Use with Other Skills
|
|
274
|
-
|
|
275
|
-
**With Team:**
|
|
276
|
-
```
|
|
277
|
-
/team "run security review on authentication module"
|
|
278
|
-
```
|
|
279
|
-
Uses: explore → security-reviewer → executor → security-reviewer (re-verify)
|
|
280
|
-
|
|
281
|
-
**With Swarm:**
|
|
282
|
-
```
|
|
283
|
-
/swarm 4:security-reviewer "audit all API endpoints"
|
|
284
|
-
```
|
|
285
|
-
Parallel security review across multiple endpoints.
|
|
286
|
-
|
|
287
|
-
**With Ralph:**
|
|
288
|
-
```
|
|
289
|
-
/ralph security-review then fix all issues
|
|
290
|
-
```
|
|
291
|
-
Review, fix, re-review until all issues resolved.
|
|
292
|
-
|
|
293
|
-
## Best Practices
|
|
294
|
-
|
|
295
|
-
- **Review early** - Security by design, not afterthought
|
|
296
|
-
- **Review often** - Every major feature or API change
|
|
297
|
-
- **Automate** - Run security scans in CI/CD pipeline
|
|
298
|
-
- **Fix immediately** - Don't accumulate security debt
|
|
299
|
-
- **Educate** - Learn from findings to prevent future issues
|
|
300
|
-
- **Verify fixes** - Re-run security review after remediation
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: trace
|
|
3
|
-
description: Show agent flow trace timeline and summary
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Agent Flow Trace
|
|
7
|
-
|
|
8
|
-
[TRACE MODE ACTIVATED]
|
|
9
|
-
|
|
10
|
-
## Objective
|
|
11
|
-
|
|
12
|
-
Display the flow trace showing how hooks, keywords, skills, agents, and tools interacted during this session.
|
|
13
|
-
|
|
14
|
-
## Instructions
|
|
15
|
-
|
|
16
|
-
1. **Use `trace_timeline` MCP tool** to show the chronological event timeline
|
|
17
|
-
- Call with no arguments to show the latest session
|
|
18
|
-
- Use `filter` parameter to focus on specific event types (hooks, skills, agents, keywords, tools, modes)
|
|
19
|
-
- Use `last` parameter to limit output
|
|
20
|
-
|
|
21
|
-
2. **Use `trace_summary` MCP tool** to show aggregate statistics
|
|
22
|
-
- Hook fire counts
|
|
23
|
-
- Keywords detected
|
|
24
|
-
- Skills activated
|
|
25
|
-
- Mode transitions
|
|
26
|
-
- Tool performance and bottlenecks
|
|
27
|
-
|
|
28
|
-
## Output Format
|
|
29
|
-
|
|
30
|
-
Present the timeline first, then the summary. Highlight:
|
|
31
|
-
- **Mode transitions** (how execution modes changed)
|
|
32
|
-
- **Bottlenecks** (slow tools or agents)
|
|
33
|
-
- **Flow patterns** (keyword -> skill -> agent chains)
|