claudecode-omc 4.8.1 → 4.8.3
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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +3 -3
- package/README.de.md +60 -0
- package/README.es.md +60 -0
- package/README.fr.md +60 -0
- package/README.it.md +60 -0
- package/README.ja.md +60 -0
- package/README.ko.md +60 -0
- package/README.md +101 -16
- package/README.pt.md +60 -0
- package/README.ru.md +60 -0
- package/README.tr.md +60 -0
- package/README.vi.md +60 -0
- package/README.zh.md +60 -0
- package/agents/code-reviewer.md +107 -6
- package/agents/critic.md +212 -42
- package/agents/debugger.md +52 -4
- package/agents/document-specialist.md +39 -60
- package/agents/executor.md +29 -9
- package/agents/explore.md +3 -1
- package/agents/security-reviewer.md +57 -0
- package/agents/test-engineer.md +21 -0
- package/agents/verifier.md +2 -0
- package/agents/writer.md +2 -0
- package/bridge/cli.cjs +7412 -3577
- package/bridge/mcp-server.cjs +558 -43
- package/bridge/runtime-cli.cjs +3034 -1801
- package/bridge/team-bridge.cjs +25 -1
- package/bridge/team-mcp.cjs +257 -88
- package/bridge/team.js +5226 -413
- package/dist/__tests__/agent-boundary-guidance.test.d.ts +2 -0
- package/dist/__tests__/agent-boundary-guidance.test.d.ts.map +1 -0
- package/dist/__tests__/agent-boundary-guidance.test.js +48 -0
- package/dist/__tests__/agent-boundary-guidance.test.js.map +1 -0
- package/dist/__tests__/agent-registry.test.js +48 -11
- package/dist/__tests__/agent-registry.test.js.map +1 -1
- package/dist/__tests__/auto-slash-aliases.test.js +25 -0
- package/dist/__tests__/auto-slash-aliases.test.js.map +1 -1
- package/dist/__tests__/bedrock-model-routing.test.d.ts +21 -0
- package/dist/__tests__/bedrock-model-routing.test.d.ts.map +1 -0
- package/dist/__tests__/bedrock-model-routing.test.js +397 -0
- package/dist/__tests__/bedrock-model-routing.test.js.map +1 -0
- package/dist/__tests__/cleanup-validation.test.js +7 -3
- package/dist/__tests__/cleanup-validation.test.js.map +1 -1
- package/dist/__tests__/cli-win32-warning.test.js +15 -2
- package/dist/__tests__/cli-win32-warning.test.js.map +1 -1
- package/dist/__tests__/consolidation-contracts.test.js +28 -3
- package/dist/__tests__/consolidation-contracts.test.js.map +1 -1
- package/dist/__tests__/context-guard-stop.test.d.ts +2 -0
- package/dist/__tests__/context-guard-stop.test.d.ts.map +1 -0
- package/dist/__tests__/context-guard-stop.test.js +58 -0
- package/dist/__tests__/context-guard-stop.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.js +76 -11
- package/dist/__tests__/delegation-enforcer.test.js.map +1 -1
- package/dist/__tests__/doctor-conflicts.test.js +62 -1
- package/dist/__tests__/doctor-conflicts.test.js.map +1 -1
- package/dist/__tests__/hooks.test.js +165 -4
- package/dist/__tests__/hooks.test.js.map +1 -1
- package/dist/__tests__/hud/defaults.test.js +4 -0
- package/dist/__tests__/hud/defaults.test.js.map +1 -1
- package/dist/__tests__/hud/limits-error.test.js +2 -4
- package/dist/__tests__/hud/limits-error.test.js.map +1 -1
- package/dist/__tests__/hud/mission-board-state.test.d.ts +2 -0
- package/dist/__tests__/hud/mission-board-state.test.d.ts.map +1 -0
- package/dist/__tests__/hud/mission-board-state.test.js +170 -0
- package/dist/__tests__/hud/mission-board-state.test.js.map +1 -0
- package/dist/__tests__/hud/mission-board.test.d.ts +2 -0
- package/dist/__tests__/hud/mission-board.test.d.ts.map +1 -0
- package/dist/__tests__/hud/mission-board.test.js +143 -0
- package/dist/__tests__/hud/mission-board.test.js.map +1 -0
- package/dist/__tests__/hud/rate-limits-error.test.js +13 -0
- package/dist/__tests__/hud/rate-limits-error.test.js.map +1 -1
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts +8 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts.map +1 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js +145 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +1 -0
- package/dist/__tests__/hud/render.test.js +22 -0
- package/dist/__tests__/hud/render.test.js.map +1 -1
- package/dist/__tests__/hud/stale-indicator.test.d.ts +9 -0
- package/dist/__tests__/hud/stale-indicator.test.d.ts.map +1 -0
- package/dist/__tests__/hud/stale-indicator.test.js +81 -0
- package/dist/__tests__/hud/stale-indicator.test.js.map +1 -0
- package/dist/__tests__/hud/state.test.js +30 -0
- package/dist/__tests__/hud/state.test.js.map +1 -1
- package/dist/__tests__/hud/usage-api-lock.test.d.ts +2 -0
- package/dist/__tests__/hud/usage-api-lock.test.d.ts.map +1 -0
- package/dist/__tests__/hud/usage-api-lock.test.js +245 -0
- package/dist/__tests__/hud/usage-api-lock.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api-stale.test.d.ts +9 -0
- package/dist/__tests__/hud/usage-api-stale.test.d.ts.map +1 -0
- package/dist/__tests__/hud/usage-api-stale.test.js +297 -0
- package/dist/__tests__/hud/usage-api-stale.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api.test.js +223 -0
- package/dist/__tests__/hud/usage-api.test.js.map +1 -1
- package/dist/__tests__/hud/watch-mode-init.test.d.ts +2 -0
- package/dist/__tests__/hud/watch-mode-init.test.d.ts.map +1 -0
- package/dist/__tests__/hud/watch-mode-init.test.js +133 -0
- package/dist/__tests__/hud/watch-mode-init.test.js.map +1 -0
- package/dist/__tests__/hud-agents.test.js +12 -10
- package/dist/__tests__/hud-agents.test.js.map +1 -1
- package/dist/__tests__/hud-build-guidance.test.js +6 -2
- package/dist/__tests__/hud-build-guidance.test.js.map +1 -1
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts +2 -0
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts.map +1 -0
- package/dist/__tests__/hud-marketplace-resolution.test.js +53 -0
- package/dist/__tests__/hud-marketplace-resolution.test.js.map +1 -0
- package/dist/__tests__/installer-hud-skip.test.js +12 -0
- package/dist/__tests__/installer-hud-skip.test.js.map +1 -1
- package/dist/__tests__/installer-plugin-agents.test.d.ts +2 -0
- package/dist/__tests__/installer-plugin-agents.test.d.ts.map +1 -0
- package/dist/__tests__/installer-plugin-agents.test.js +111 -0
- package/dist/__tests__/installer-plugin-agents.test.js.map +1 -0
- package/dist/__tests__/installer-version-guard.test.d.ts +2 -0
- package/dist/__tests__/installer-version-guard.test.d.ts.map +1 -0
- package/dist/__tests__/installer-version-guard.test.js +75 -0
- package/dist/__tests__/installer-version-guard.test.js.map +1 -0
- package/dist/__tests__/installer.test.js +58 -4
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/__tests__/omc-tools-server.test.js +8 -5
- package/dist/__tests__/omc-tools-server.test.js.map +1 -1
- package/dist/__tests__/pre-tool-enforcer.test.js +38 -0
- package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -1
- package/dist/__tests__/prompt-injection.test.js +3 -3
- package/dist/__tests__/prompt-injection.test.js.map +1 -1
- package/dist/__tests__/ralph-prd-mandatory.test.js +53 -2
- package/dist/__tests__/ralph-prd-mandatory.test.js.map +1 -1
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js +42 -0
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js.map +1 -1
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.js +1 -1
- package/dist/__tests__/session-history-search.test.d.ts +2 -0
- package/dist/__tests__/session-history-search.test.d.ts.map +1 -0
- package/dist/__tests__/session-history-search.test.js +115 -0
- package/dist/__tests__/session-history-search.test.js.map +1 -0
- package/dist/__tests__/session-start-script-context.test.d.ts +2 -0
- package/dist/__tests__/session-start-script-context.test.d.ts.map +1 -0
- package/dist/__tests__/session-start-script-context.test.js +49 -0
- package/dist/__tests__/session-start-script-context.test.js.map +1 -0
- package/dist/__tests__/skills.test.js +71 -24
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/__tests__/standalone-server.test.js +8 -4
- package/dist/__tests__/standalone-server.test.js.map +1 -1
- package/dist/__tests__/tier0-docs-consistency.test.js +10 -2
- package/dist/__tests__/tier0-docs-consistency.test.js.map +1 -1
- package/dist/agents/definitions.d.ts +5 -15
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +48 -49
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/document-specialist.d.ts +1 -1
- package/dist/agents/document-specialist.d.ts.map +1 -1
- package/dist/agents/document-specialist.js +46 -21
- package/dist/agents/document-specialist.js.map +1 -1
- package/dist/agents/explore.d.ts.map +1 -1
- package/dist/agents/explore.js +3 -2
- package/dist/agents/explore.js.map +1 -1
- package/dist/agents/index.d.ts +2 -4
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +3 -6
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/types.d.ts +2 -2
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/cli/__tests__/ask.test.js +255 -8
- package/dist/cli/__tests__/ask.test.js.map +1 -1
- package/dist/cli/__tests__/session-search-help.test.d.ts +2 -0
- package/dist/cli/__tests__/session-search-help.test.d.ts.map +1 -0
- package/dist/cli/__tests__/session-search-help.test.js +13 -0
- package/dist/cli/__tests__/session-search-help.test.js.map +1 -0
- package/dist/cli/__tests__/session-search.test.d.ts +2 -0
- package/dist/cli/__tests__/session-search.test.d.ts.map +1 -0
- package/dist/cli/__tests__/session-search.test.js +72 -0
- package/dist/cli/__tests__/session-search.test.js.map +1 -0
- package/dist/cli/__tests__/team-help.test.js +1 -1
- package/dist/cli/__tests__/team-help.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +256 -4
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/commands/__tests__/team.test.js +52 -2
- package/dist/cli/commands/__tests__/team.test.js.map +1 -1
- package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -1
- package/dist/cli/commands/doctor-conflicts.js +15 -1
- package/dist/cli/commands/doctor-conflicts.js.map +1 -1
- package/dist/cli/commands/session-search.d.ts +18 -0
- package/dist/cli/commands/session-search.d.ts.map +1 -0
- package/dist/cli/commands/session-search.js +47 -0
- package/dist/cli/commands/session-search.js.map +1 -0
- package/dist/cli/commands/team.d.ts +11 -0
- package/dist/cli/commands/team.d.ts.map +1 -1
- package/dist/cli/commands/team.js +94 -24
- package/dist/cli/commands/team.js.map +1 -1
- package/dist/cli/commands/wait.d.ts.map +1 -1
- package/dist/cli/commands/wait.js +12 -1
- package/dist/cli/commands/wait.js.map +1 -1
- package/dist/cli/index.js +70 -2
- package/dist/cli/index.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 +100 -214
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/win32-warning.d.ts +2 -1
- package/dist/cli/win32-warning.d.ts.map +1 -1
- package/dist/cli/win32-warning.js +20 -6
- package/dist/cli/win32-warning.js.map +1 -1
- package/dist/config/__tests__/loader.test.d.ts +2 -0
- package/dist/config/__tests__/loader.test.d.ts.map +1 -0
- package/dist/config/__tests__/loader.test.js +145 -0
- package/dist/config/__tests__/loader.test.js.map +1 -0
- package/dist/config/__tests__/models.test.d.ts +2 -0
- package/dist/config/__tests__/models.test.d.ts.map +1 -0
- package/dist/config/__tests__/models.test.js +147 -0
- package/dist/config/__tests__/models.test.js.map +1 -0
- package/dist/config/__tests__/test-helpers.d.ts +3 -0
- package/dist/config/__tests__/test-helpers.d.ts.map +1 -0
- package/dist/config/__tests__/test-helpers.js +19 -0
- package/dist/config/__tests__/test-helpers.js.map +1 -0
- package/dist/config/loader.d.ts +3 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +140 -126
- package/dist/config/loader.js.map +1 -1
- package/dist/config/models.d.ts +29 -10
- package/dist/config/models.d.ts.map +1 -1
- package/dist/config/models.js +96 -10
- package/dist/config/models.js.map +1 -1
- package/dist/features/builtin-skills/skills.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.js +8 -1
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/features/builtin-skills/types.d.ts +3 -0
- package/dist/features/builtin-skills/types.d.ts.map +1 -1
- package/dist/features/delegation-enforcer.d.ts +5 -12
- package/dist/features/delegation-enforcer.d.ts.map +1 -1
- package/dist/features/delegation-enforcer.js +48 -54
- package/dist/features/delegation-enforcer.js.map +1 -1
- package/dist/features/delegation-routing/__tests__/resolver.test.js +4 -3
- package/dist/features/delegation-routing/__tests__/resolver.test.js.map +1 -1
- package/dist/features/delegation-routing/types.d.ts.map +1 -1
- package/dist/features/delegation-routing/types.js +7 -4
- package/dist/features/delegation-routing/types.js.map +1 -1
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +2 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/rate-limit-wait/daemon.d.ts.map +1 -1
- package/dist/features/rate-limit-wait/daemon.js +8 -5
- package/dist/features/rate-limit-wait/daemon.js.map +1 -1
- package/dist/features/rate-limit-wait/index.d.ts +1 -1
- package/dist/features/rate-limit-wait/index.d.ts.map +1 -1
- package/dist/features/rate-limit-wait/index.js +1 -1
- package/dist/features/rate-limit-wait/index.js.map +1 -1
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts +9 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts.map +1 -1
- package/dist/features/rate-limit-wait/rate-limit-monitor.js +38 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.js.map +1 -1
- package/dist/features/rate-limit-wait/tmux-detector.d.ts +2 -1
- package/dist/features/rate-limit-wait/tmux-detector.d.ts.map +1 -1
- package/dist/features/rate-limit-wait/tmux-detector.js +8 -9
- package/dist/features/rate-limit-wait/tmux-detector.js.map +1 -1
- package/dist/features/rate-limit-wait/types.d.ts +11 -0
- package/dist/features/rate-limit-wait/types.d.ts.map +1 -1
- package/dist/features/session-history-search/index.d.ts +6 -0
- package/dist/features/session-history-search/index.d.ts.map +1 -0
- package/dist/features/session-history-search/index.js +480 -0
- package/dist/features/session-history-search/index.js.map +1 -0
- package/dist/features/session-history-search/types.d.ts +36 -0
- package/dist/features/session-history-search/types.d.ts.map +1 -0
- package/dist/features/session-history-search/types.js +2 -0
- package/dist/features/session-history-search/types.js.map +1 -0
- package/dist/hooks/__tests__/background-process-guard.test.js +101 -5
- package/dist/hooks/__tests__/background-process-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/bridge-openclaw.test.js +16 -5
- package/dist/hooks/__tests__/bridge-openclaw.test.js.map +1 -1
- package/dist/hooks/__tests__/bridge-routing.test.js +48 -1
- package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/executor.js +9 -1
- package/dist/hooks/auto-slash-command/executor.js.map +1 -1
- package/dist/hooks/auto-slash-command/types.d.ts +2 -0
- package/dist/hooks/auto-slash-command/types.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/types.js +0 -7
- package/dist/hooks/auto-slash-command/types.js.map +1 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.js +3 -3
- package/dist/hooks/autopilot/prompts.js +1 -1
- package/dist/hooks/bridge-normalize.d.ts.map +1 -1
- package/dist/hooks/bridge-normalize.js +2 -0
- package/dist/hooks/bridge-normalize.js.map +1 -1
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +248 -39
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/keyword-detector/__tests__/index.test.js +41 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -1
- package/dist/hooks/keyword-detector/index.d.ts +1 -1
- package/dist/hooks/keyword-detector/index.d.ts.map +1 -1
- package/dist/hooks/keyword-detector/index.js +3 -1
- package/dist/hooks/keyword-detector/index.js.map +1 -1
- package/dist/hooks/permission-handler/index.d.ts +8 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -1
- package/dist/hooks/permission-handler/index.js +76 -0
- package/dist/hooks/permission-handler/index.js.map +1 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js +90 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js +535 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js.map +1 -0
- package/dist/hooks/persistent-mode/index.d.ts +1 -1
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +296 -21
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +156 -0
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -1
- package/dist/hooks/project-memory/__tests__/integration.test.js +27 -2
- package/dist/hooks/project-memory/__tests__/integration.test.js.map +1 -1
- package/dist/hooks/project-memory/__tests__/storage.test.js +37 -0
- package/dist/hooks/project-memory/__tests__/storage.test.js.map +1 -1
- package/dist/hooks/project-memory/storage.d.ts +1 -1
- package/dist/hooks/project-memory/storage.d.ts.map +1 -1
- package/dist/hooks/project-memory/storage.js +5 -4
- package/dist/hooks/project-memory/storage.js.map +1 -1
- package/dist/hooks/ralph/index.d.ts +1 -1
- package/dist/hooks/ralph/index.d.ts.map +1 -1
- package/dist/hooks/ralph/index.js +1 -1
- package/dist/hooks/ralph/index.js.map +1 -1
- package/dist/hooks/ralph/loop.d.ts +18 -0
- package/dist/hooks/ralph/loop.d.ts.map +1 -1
- package/dist/hooks/ralph/loop.js +31 -0
- package/dist/hooks/ralph/loop.js.map +1 -1
- package/dist/hooks/ralph/verifier.d.ts +4 -1
- package/dist/hooks/ralph/verifier.d.ts.map +1 -1
- package/dist/hooks/ralph/verifier.js +56 -21
- package/dist/hooks/ralph/verifier.js.map +1 -1
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +65 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/storage.d.ts +5 -1
- package/dist/hooks/recovery/storage.d.ts.map +1 -1
- package/dist/hooks/recovery/storage.js +7 -29
- package/dist/hooks/recovery/storage.js.map +1 -1
- package/dist/hooks/recovery/types.d.ts +1 -1
- package/dist/hooks/recovery/types.d.ts.map +1 -1
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js +140 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js +122 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js +38 -12
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js.map +1 -1
- package/dist/hooks/session-end/callbacks.d.ts +4 -1
- package/dist/hooks/session-end/callbacks.d.ts.map +1 -1
- package/dist/hooks/session-end/callbacks.js +5 -4
- package/dist/hooks/session-end/callbacks.js.map +1 -1
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js +162 -36
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/skill-state/__tests__/skill-state.test.js +35 -33
- package/dist/hooks/skill-state/__tests__/skill-state.test.js.map +1 -1
- package/dist/hooks/skill-state/index.d.ts +3 -3
- package/dist/hooks/skill-state/index.d.ts.map +1 -1
- package/dist/hooks/skill-state/index.js +7 -11
- package/dist/hooks/skill-state/index.js.map +1 -1
- package/dist/hooks/subagent-tracker/index.d.ts.map +1 -1
- package/dist/hooks/subagent-tracker/index.js +22 -0
- package/dist/hooks/subagent-tracker/index.js.map +1 -1
- package/dist/hooks/think-mode/__tests__/index.test.js +20 -20
- package/dist/hooks/think-mode/__tests__/index.test.js.map +1 -1
- package/dist/hooks/think-mode/switcher.d.ts.map +1 -1
- package/dist/hooks/think-mode/switcher.js +13 -10
- package/dist/hooks/think-mode/switcher.js.map +1 -1
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js +56 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js.map +1 -0
- package/dist/hooks/thinking-block-validator/index.d.ts.map +1 -1
- package/dist/hooks/thinking-block-validator/index.js +7 -6
- package/dist/hooks/thinking-block-validator/index.js.map +1 -1
- package/dist/hooks/todo-continuation/index.d.ts +6 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -1
- package/dist/hooks/todo-continuation/index.js +14 -5
- package/dist/hooks/todo-continuation/index.js.map +1 -1
- package/dist/hud/elements/agents.d.ts.map +1 -1
- package/dist/hud/elements/agents.js +8 -14
- package/dist/hud/elements/agents.js.map +1 -1
- package/dist/hud/elements/index.d.ts +1 -0
- package/dist/hud/elements/index.d.ts.map +1 -1
- package/dist/hud/elements/index.js +1 -0
- package/dist/hud/elements/index.js.map +1 -1
- package/dist/hud/elements/limits.d.ts +3 -3
- package/dist/hud/elements/limits.d.ts.map +1 -1
- package/dist/hud/elements/limits.js +26 -18
- package/dist/hud/elements/limits.js.map +1 -1
- package/dist/hud/elements/mission-board.d.ts +2 -0
- package/dist/hud/elements/mission-board.d.ts.map +1 -0
- package/dist/hud/elements/mission-board.js +2 -0
- package/dist/hud/elements/mission-board.js.map +1 -0
- package/dist/hud/index.d.ts +1 -1
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +10 -2
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/mission-board.d.ts +75 -0
- package/dist/hud/mission-board.d.ts.map +1 -0
- package/dist/hud/mission-board.js +420 -0
- package/dist/hud/mission-board.js.map +1 -0
- package/dist/hud/render.d.ts.map +1 -1
- package/dist/hud/render.js +16 -8
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +13 -0
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +11 -0
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +10 -0
- package/dist/hud/types.js.map +1 -1
- package/dist/hud/usage-api.d.ts +2 -1
- package/dist/hud/usage-api.d.ts.map +1 -1
- package/dist/hud/usage-api.js +219 -103
- package/dist/hud/usage-api.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/installer/__tests__/claude-md-merge.test.js +53 -9
- package/dist/installer/__tests__/claude-md-merge.test.js.map +1 -1
- package/dist/installer/__tests__/hook-templates.test.d.ts +2 -0
- package/dist/installer/__tests__/hook-templates.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hook-templates.test.js +76 -0
- package/dist/installer/__tests__/hook-templates.test.js.map +1 -0
- package/dist/installer/hooks.d.ts +15 -0
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +51 -0
- package/dist/installer/hooks.js.map +1 -1
- package/dist/installer/index.d.ts +25 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +273 -64
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/mode-names.d.ts.map +1 -1
- package/dist/lib/mode-names.js +2 -0
- package/dist/lib/mode-names.js.map +1 -1
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +30 -3
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +1 -1
- package/dist/mcp/__tests__/team-server-deprecation.test.js +2 -0
- package/dist/mcp/__tests__/team-server-deprecation.test.js.map +1 -1
- package/dist/mcp/team-job-convergence.d.ts.map +1 -1
- package/dist/mcp/team-job-convergence.js +12 -3
- package/dist/mcp/team-job-convergence.js.map +1 -1
- package/dist/mcp/team-server.d.ts.map +1 -1
- package/dist/mcp/team-server.js +18 -4
- package/dist/mcp/team-server.js.map +1 -1
- package/dist/notifications/__tests__/config-merge.test.js +36 -1
- package/dist/notifications/__tests__/config-merge.test.js.map +1 -1
- package/dist/notifications/__tests__/formatter.test.js +13 -5
- package/dist/notifications/__tests__/formatter.test.js.map +1 -1
- package/dist/notifications/__tests__/notify-registry-integration.test.js +27 -1
- package/dist/notifications/__tests__/notify-registry-integration.test.js.map +1 -1
- package/dist/notifications/__tests__/verbosity.test.js +33 -1
- package/dist/notifications/__tests__/verbosity.test.js.map +1 -1
- package/dist/notifications/config.d.ts +7 -0
- package/dist/notifications/config.d.ts.map +1 -1
- package/dist/notifications/config.js +18 -0
- package/dist/notifications/config.js.map +1 -1
- package/dist/notifications/formatter.d.ts +2 -2
- package/dist/notifications/formatter.d.ts.map +1 -1
- package/dist/notifications/formatter.js +7 -6
- package/dist/notifications/formatter.js.map +1 -1
- package/dist/notifications/index.d.ts +1 -1
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +5 -3
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/template-engine.js +1 -1
- package/dist/notifications/template-engine.js.map +1 -1
- package/dist/notifications/types.d.ts +4 -0
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/openclaw/__tests__/dispatcher.test.js +26 -0
- package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
- package/dist/openclaw/__tests__/index.test.js +42 -0
- package/dist/openclaw/__tests__/index.test.js.map +1 -1
- package/dist/openclaw/__tests__/signal.test.d.ts +2 -0
- package/dist/openclaw/__tests__/signal.test.d.ts.map +1 -0
- package/dist/openclaw/__tests__/signal.test.js +69 -0
- package/dist/openclaw/__tests__/signal.test.js.map +1 -0
- package/dist/openclaw/dispatcher.d.ts +5 -1
- package/dist/openclaw/dispatcher.d.ts.map +1 -1
- package/dist/openclaw/dispatcher.js +13 -2
- package/dist/openclaw/dispatcher.js.map +1 -1
- package/dist/openclaw/index.d.ts +2 -1
- package/dist/openclaw/index.d.ts.map +1 -1
- package/dist/openclaw/index.js +29 -15
- package/dist/openclaw/index.js.map +1 -1
- package/dist/openclaw/signal.d.ts +3 -0
- package/dist/openclaw/signal.d.ts.map +1 -0
- package/dist/openclaw/signal.js +215 -0
- package/dist/openclaw/signal.js.map +1 -0
- package/dist/openclaw/types.d.ts +35 -0
- package/dist/openclaw/types.d.ts.map +1 -1
- package/dist/shared/types.d.ts +2 -12
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/skills/__tests__/mingw-escape.test.js +41 -11
- package/dist/skills/__tests__/mingw-escape.test.js.map +1 -1
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js +78 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.dispatch.test.js +125 -0
- package/dist/team/__tests__/api-interop.dispatch.test.js.map +1 -0
- package/dist/team/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/team/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/team/__tests__/cli-detection.test.js +36 -0
- package/dist/team/__tests__/cli-detection.test.js.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +79 -2
- package/dist/team/__tests__/model-contract.test.js.map +1 -1
- package/dist/team/__tests__/runtime-done-recovery.test.js +1 -0
- package/dist/team/__tests__/runtime-done-recovery.test.js.map +1 -1
- package/dist/team/__tests__/runtime-prompt-mode.test.js +84 -8
- package/dist/team/__tests__/runtime-prompt-mode.test.js.map +1 -1
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.js +237 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.js +103 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.js +49 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.js.map +1 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.js +3 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.create-team.test.js +29 -12
- package/dist/team/__tests__/tmux-session.create-team.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js +6 -0
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +9 -0
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +32 -3
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +153 -2
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/cli-detection.d.ts.map +1 -1
- package/dist/team/cli-detection.js +6 -2
- package/dist/team/cli-detection.js.map +1 -1
- package/dist/team/idle-nudge.js +1 -1
- package/dist/team/idle-nudge.js.map +1 -1
- package/dist/team/mcp-team-bridge.d.ts.map +1 -1
- package/dist/team/mcp-team-bridge.js +2 -1
- package/dist/team/mcp-team-bridge.js.map +1 -1
- package/dist/team/model-contract.d.ts +1 -1
- package/dist/team/model-contract.d.ts.map +1 -1
- package/dist/team/model-contract.js +35 -4
- package/dist/team/model-contract.js.map +1 -1
- package/dist/team/runtime-cli.d.ts.map +1 -1
- package/dist/team/runtime-cli.js +10 -7
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime-v2.d.ts +4 -0
- package/dist/team/runtime-v2.d.ts.map +1 -1
- package/dist/team/runtime-v2.js +231 -59
- package/dist/team/runtime-v2.js.map +1 -1
- package/dist/team/runtime.d.ts +6 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +39 -14
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/tmux-session.d.ts +20 -11
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +108 -51
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/types.d.ts +1 -0
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts +2 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +46 -12
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/tools/__tests__/memory-tools.test.js +29 -1
- package/dist/tools/__tests__/memory-tools.test.js.map +1 -1
- package/dist/tools/lsp/client.d.ts +11 -0
- package/dist/tools/lsp/client.d.ts.map +1 -1
- package/dist/tools/lsp/client.js +46 -0
- package/dist/tools/lsp/client.js.map +1 -1
- package/dist/tools/session-history-tools.d.ts +23 -0
- package/dist/tools/session-history-tools.d.ts.map +1 -0
- package/dist/tools/session-history-tools.js +41 -0
- package/dist/tools/session-history-tools.js.map +1 -0
- package/dist/tools/trace-tools.d.ts +9 -0
- package/dist/tools/trace-tools.d.ts.map +1 -1
- package/dist/tools/trace-tools.js +2 -1
- package/dist/tools/trace-tools.js.map +1 -1
- package/dist/utils/frontmatter.d.ts +5 -0
- package/dist/utils/frontmatter.d.ts.map +1 -1
- package/dist/utils/frontmatter.js +22 -0
- package/dist/utils/frontmatter.js.map +1 -1
- package/dist/utils/skill-pipeline.d.ts +9 -0
- package/dist/utils/skill-pipeline.d.ts.map +1 -0
- package/dist/utils/skill-pipeline.js +97 -0
- package/dist/utils/skill-pipeline.js.map +1 -0
- package/docs/AGENTS.md +1 -1
- package/docs/ANALYTICS-SYSTEM.md +23 -132
- package/docs/CLAUDE.md +40 -139
- package/docs/MIGRATION.md +4 -4
- package/docs/OPENCLAW-ROUTING.md +102 -0
- package/docs/PERFORMANCE-MONITORING.md +30 -55
- package/docs/REFERENCE.md +62 -35
- package/docs/TIERED_AGENTS_V2.md +3 -2
- package/docs/design/SKILL_AUDIT_1445.md +75 -0
- package/docs/ko/MIGRATION.md +2 -2
- package/docs/ko/REFERENCE.md +14 -22
- package/docs/partials/agent-tiers.md +11 -15
- package/docs/partials/features.md +2 -2
- package/docs/partials/mode-selection-guide.md +2 -2
- package/docs/shared/agent-tiers.md +11 -15
- package/docs/shared/features.md +2 -2
- package/docs/shared/mode-selection-guide.md +2 -2
- package/package.json +4 -1
- package/scripts/code-simplifier.mjs +1 -1
- package/scripts/context-guard-stop.mjs +26 -10
- package/scripts/keyword-detector.mjs +99 -39
- package/scripts/persistent-mode.cjs +295 -34
- package/scripts/persistent-mode.mjs +79 -21
- package/scripts/plugin-setup.mjs +10 -1
- package/scripts/post-tool-verifier.mjs +57 -3
- package/scripts/pre-tool-enforcer.mjs +207 -2
- package/scripts/run-provider-advisor.js +30 -3
- package/scripts/session-start.mjs +3 -3
- package/scripts/setup-claude-md.sh +159 -0
- package/scripts/setup-progress.sh +123 -0
- package/scripts/sync-metadata.ts +11 -1
- package/skills/AGENTS.md +13 -17
- package/skills/ai-slop-cleaner/SKILL.md +130 -0
- package/skills/ask/SKILL.md +51 -0
- package/skills/ccg/SKILL.md +6 -6
- package/skills/deep-interview/SKILL.md +4 -0
- package/skills/omc-doctor/SKILL.md +2 -2
- package/skills/omc-setup/SKILL.md +75 -1206
- package/skills/omc-setup/phases/01-install-claude-md.md +76 -0
- package/skills/omc-setup/phases/02-configure.md +211 -0
- package/skills/omc-setup/phases/03-integrations.md +192 -0
- package/skills/omc-setup/phases/04-welcome.md +192 -0
- package/skills/omc-teams/SKILL.md +35 -2
- package/skills/plan/SKILL.md +3 -0
- package/skills/ralph/SKILL.md +16 -10
- package/skills/release/SKILL.md +4 -0
- package/skills/setup/SKILL.md +40 -0
- package/skills/team/SKILL.md +6 -6
- package/templates/hooks/code-simplifier.mjs +1 -1
- package/templates/hooks/keyword-detector.mjs +100 -32
- package/templates/hooks/persistent-mode.mjs +43 -4
- package/templates/hooks/pre-tool-use.mjs +115 -1
- package/templates/hooks/session-start.mjs +1 -1
- package/agents/build-fixer.md +0 -90
- package/agents/deep-executor.md +0 -112
- package/agents/harsh-critic.md +0 -254
- package/agents/quality-reviewer.md +0 -151
- package/skills/analyze/SKILL.md +0 -87
- package/skills/ask-codex/SKILL.md +0 -47
- package/skills/ask-gemini/SKILL.md +0 -47
- package/skills/build-fix/SKILL.md +0 -123
- package/skills/code-review/SKILL.md +0 -573
- package/skills/configure-openclaw/SKILL.md +0 -383
- package/skills/learn-about-omc/SKILL.md +0 -37
- package/skills/note/SKILL.md +0 -62
- package/skills/omc-help/SKILL.md +0 -192
- package/skills/ralph-init/SKILL.md +0 -40
- package/skills/security-review/SKILL.md +0 -282
- package/skills/tdd/SKILL.md +0 -104
- package/skills/trace/SKILL.md +0 -33
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: quality-reviewer
|
|
3
|
-
description: Logic defects, maintainability, anti-patterns, SOLID principles
|
|
4
|
-
model: claude-opus-4-6
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
<Agent_Prompt>
|
|
8
|
-
<Role>
|
|
9
|
-
You are Quality Reviewer. Your mission is to catch logic defects, anti-patterns, and maintainability issues in code.
|
|
10
|
-
You are responsible for logic correctness, error handling completeness, anti-pattern detection, SOLID principle compliance, complexity analysis, and code duplication identification.
|
|
11
|
-
You are not responsible for security audits (security-reviewer). Style checks are in scope when invoked with model=haiku; performance hotspot analysis is in scope when explicitly requested.
|
|
12
|
-
</Role>
|
|
13
|
-
|
|
14
|
-
<Why_This_Matters>
|
|
15
|
-
Logic defects cause production bugs. Anti-patterns cause maintenance nightmares. These rules exist because catching an off-by-one error or a God Object in review prevents hours of debugging later. Quality review focuses on "does this actually work correctly and can it be maintained?" -- not style or security.
|
|
16
|
-
</Why_This_Matters>
|
|
17
|
-
|
|
18
|
-
<Success_Criteria>
|
|
19
|
-
- Logic correctness verified: all branches reachable, no off-by-one, no null/undefined gaps
|
|
20
|
-
- Error handling assessed: happy path AND error paths covered
|
|
21
|
-
- Anti-patterns identified with specific file:line references
|
|
22
|
-
- SOLID violations called out with concrete improvement suggestions
|
|
23
|
-
- Issues rated by severity: CRITICAL (will cause bugs), HIGH (likely problems), MEDIUM (maintainability), LOW (minor smell)
|
|
24
|
-
- Positive observations noted to reinforce good practices
|
|
25
|
-
</Success_Criteria>
|
|
26
|
-
|
|
27
|
-
<Constraints>
|
|
28
|
-
- Read the code before forming opinions. Never judge code you have not opened.
|
|
29
|
-
- Focus on CRITICAL and HIGH issues. Document MEDIUM/LOW but do not block on them.
|
|
30
|
-
- Provide concrete improvement suggestions, not vague directives.
|
|
31
|
-
- Review logic and maintainability only. Do not comment on style, security, or performance.
|
|
32
|
-
</Constraints>
|
|
33
|
-
|
|
34
|
-
<Investigation_Protocol>
|
|
35
|
-
1) Read the code under review. For each changed file, understand the full context (not just the diff).
|
|
36
|
-
2) Check logic correctness: loop bounds, null handling, type mismatches, control flow, data flow.
|
|
37
|
-
3) Check error handling: are error cases handled? Do errors propagate correctly? Resource cleanup?
|
|
38
|
-
4) Scan for anti-patterns: God Object, spaghetti code, magic numbers, copy-paste, shotgun surgery, feature envy.
|
|
39
|
-
5) Evaluate SOLID principles: SRP (one reason to change?), OCP (extend without modifying?), LSP (substitutability?), ISP (small interfaces?), DIP (abstractions?).
|
|
40
|
-
6) Assess maintainability: readability, complexity (cyclomatic < 10), testability, naming clarity.
|
|
41
|
-
7) Use lsp_diagnostics and ast_grep_search to supplement manual review.
|
|
42
|
-
</Investigation_Protocol>
|
|
43
|
-
|
|
44
|
-
<Tool_Usage>
|
|
45
|
-
- Use Read to review code logic and structure in full context.
|
|
46
|
-
- Use Grep to find duplicated code patterns.
|
|
47
|
-
- Use lsp_diagnostics to check for type errors.
|
|
48
|
-
- Use ast_grep_search to find structural anti-patterns (e.g., functions > 50 lines, deeply nested conditionals).
|
|
49
|
-
<External_Consultation>
|
|
50
|
-
When a second opinion would improve quality, spawn a Claude Task agent:
|
|
51
|
-
- Use `Task(subagent_type="oh-my-claudecode:quality-reviewer", ...)` for cross-validation
|
|
52
|
-
- Use `/team` to spin up a CLI worker for large-scale quality analysis tasks
|
|
53
|
-
Skip silently if delegation is unavailable. Never block on external consultation.
|
|
54
|
-
</External_Consultation>
|
|
55
|
-
</Tool_Usage>
|
|
56
|
-
|
|
57
|
-
<Execution_Policy>
|
|
58
|
-
- Default effort: high (thorough logic analysis).
|
|
59
|
-
- Stop when all changed files are reviewed and issues are severity-rated.
|
|
60
|
-
</Execution_Policy>
|
|
61
|
-
|
|
62
|
-
<Output_Format>
|
|
63
|
-
## Quality Review
|
|
64
|
-
|
|
65
|
-
### Summary
|
|
66
|
-
**Overall**: [EXCELLENT / GOOD / NEEDS WORK / POOR]
|
|
67
|
-
**Logic**: [pass / warn / fail]
|
|
68
|
-
**Error Handling**: [pass / warn / fail]
|
|
69
|
-
**Design**: [pass / warn / fail]
|
|
70
|
-
**Maintainability**: [pass / warn / fail]
|
|
71
|
-
|
|
72
|
-
### Critical Issues
|
|
73
|
-
- `file.ts:42` - [CRITICAL] - [description and fix suggestion]
|
|
74
|
-
|
|
75
|
-
### Design Issues
|
|
76
|
-
- `file.ts:156` - [anti-pattern name] - [description and improvement]
|
|
77
|
-
|
|
78
|
-
### Positive Observations
|
|
79
|
-
- [Things done well to reinforce]
|
|
80
|
-
|
|
81
|
-
### Recommendations
|
|
82
|
-
1. [Priority 1 fix] - [Impact: High/Medium/Low]
|
|
83
|
-
</Output_Format>
|
|
84
|
-
|
|
85
|
-
<Failure_Modes_To_Avoid>
|
|
86
|
-
- Reviewing without reading: Forming opinions based on file names or diff summaries. Always read the full code context.
|
|
87
|
-
- Style masquerading as quality: Flagging naming conventions or formatting as "quality issues." Use model=haiku to invoke style-mode checks explicitly.
|
|
88
|
-
- Missing the forest for trees: Cataloging 20 minor smells while missing that the core algorithm is incorrect. Check logic first.
|
|
89
|
-
- Vague criticism: "This function is too complex." Instead: "`processOrder()` at `order.ts:42` has cyclomatic complexity of 15 with 6 nested levels. Extract the discount calculation (lines 55-80) and tax computation (lines 82-100) into separate functions."
|
|
90
|
-
- No positive feedback: Only listing problems. Note what is done well to reinforce good patterns.
|
|
91
|
-
</Failure_Modes_To_Avoid>
|
|
92
|
-
|
|
93
|
-
<Examples>
|
|
94
|
-
<Good>[CRITICAL] Off-by-one at `paginator.ts:42`: `for (let i = 0; i <= items.length; i++)` will access `items[items.length]` which is undefined. Fix: change `<=` to `<`.</Good>
|
|
95
|
-
<Bad>"The code could use some refactoring for better maintainability." No file reference, no specific issue, no fix suggestion.</Bad>
|
|
96
|
-
</Examples>
|
|
97
|
-
|
|
98
|
-
<Final_Checklist>
|
|
99
|
-
- Did I read the full code context (not just diffs)?
|
|
100
|
-
- Did I check logic correctness before design patterns?
|
|
101
|
-
- Does every issue cite file:line with severity and fix suggestion?
|
|
102
|
-
- Did I note positive observations?
|
|
103
|
-
- Did I stay in my lane (logic/maintainability, not style/security/performance)?
|
|
104
|
-
</Final_Checklist>
|
|
105
|
-
|
|
106
|
-
<Style_Review_Mode>
|
|
107
|
-
When invoked with model=haiku for lightweight style-only checks, quality-reviewer also covers code style concerns formerly handled by the style-reviewer agent:
|
|
108
|
-
|
|
109
|
-
**Scope**: formatting consistency, naming convention enforcement, language idiom verification, lint rule compliance, import organization.
|
|
110
|
-
|
|
111
|
-
**Protocol**:
|
|
112
|
-
1) Read project config files first (.eslintrc, .prettierrc, tsconfig.json, pyproject.toml, etc.) to understand conventions.
|
|
113
|
-
2) Check formatting: indentation, line length, whitespace, brace style.
|
|
114
|
-
3) Check naming: variables (camelCase/snake_case per language), constants (UPPER_SNAKE), classes (PascalCase), files (project convention).
|
|
115
|
-
4) Check language idioms: const/let not var (JS), list comprehensions (Python), defer for cleanup (Go).
|
|
116
|
-
5) Check imports: organized by convention, no unused imports, alphabetized if project does this.
|
|
117
|
-
6) Note which issues are auto-fixable (prettier, eslint --fix, gofmt).
|
|
118
|
-
|
|
119
|
-
**Constraints**: Cite project conventions, not personal preferences. Focus on CRITICAL (mixed tabs/spaces, wildly inconsistent naming) and MAJOR (wrong case convention, non-idiomatic patterns). Do not bikeshed on TRIVIAL issues.
|
|
120
|
-
|
|
121
|
-
**Output**:
|
|
122
|
-
## Style Review
|
|
123
|
-
### Summary
|
|
124
|
-
**Overall**: [PASS / MINOR ISSUES / MAJOR ISSUES]
|
|
125
|
-
### Issues Found
|
|
126
|
-
- `file.ts:42` - [MAJOR] Wrong naming convention: `MyFunc` should be `myFunc` (project uses camelCase)
|
|
127
|
-
### Auto-Fix Available
|
|
128
|
-
- Run `prettier --write src/` to fix formatting issues
|
|
129
|
-
</Style_Review_Mode>
|
|
130
|
-
|
|
131
|
-
<Performance_Review_Mode>
|
|
132
|
-
When the request is about performance analysis, hotspot identification, or optimization:
|
|
133
|
-
- Identify algorithmic complexity issues (O(n²) loops, unnecessary re-renders, N+1 queries)
|
|
134
|
-
- Flag memory leaks, excessive allocations, and GC pressure
|
|
135
|
-
- Analyze latency-sensitive paths and I/O bottlenecks
|
|
136
|
-
- Suggest profiling instrumentation points
|
|
137
|
-
- Evaluate data structure and algorithm choices vs alternatives
|
|
138
|
-
- Assess caching opportunities and invalidation correctness
|
|
139
|
-
- Rate findings: CRITICAL (production impact) / HIGH (measurable degradation) / LOW (minor)
|
|
140
|
-
</Performance_Review_Mode>
|
|
141
|
-
|
|
142
|
-
<Quality_Strategy_Mode>
|
|
143
|
-
When the request is about release readiness, quality gates, or risk assessment:
|
|
144
|
-
- Evaluate test coverage adequacy (unit, integration, e2e) against risk surface
|
|
145
|
-
- Identify missing regression tests for changed code paths
|
|
146
|
-
- Assess release readiness: blocking defects, known regressions, untested paths
|
|
147
|
-
- Flag quality gates that must pass before shipping
|
|
148
|
-
- Evaluate monitoring and alerting coverage for new features
|
|
149
|
-
- Risk-tier changes: SAFE / MONITOR / HOLD based on evidence
|
|
150
|
-
</Quality_Strategy_Mode>
|
|
151
|
-
</Agent_Prompt>
|
package/skills/analyze/SKILL.md
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: analyze
|
|
3
|
-
description: Deep analysis and investigation
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<Purpose>
|
|
7
|
-
Analyze performs deep investigation of architecture, bugs, performance issues, and dependencies. It routes to the architect Claude agent for thorough analysis and returns structured findings with evidence.
|
|
8
|
-
</Purpose>
|
|
9
|
-
|
|
10
|
-
<Use_When>
|
|
11
|
-
- User says "analyze", "investigate", "debug", "why does", or "what's causing"
|
|
12
|
-
- User needs to understand a system's architecture or behavior before making changes
|
|
13
|
-
- User wants root cause analysis of a bug or performance issue
|
|
14
|
-
- User needs dependency analysis or impact assessment for a proposed change
|
|
15
|
-
- A complex question requires reading multiple files and reasoning across them
|
|
16
|
-
</Use_When>
|
|
17
|
-
|
|
18
|
-
<Do_Not_Use_When>
|
|
19
|
-
- User wants code changes made -- use executor agents or `ralph` instead
|
|
20
|
-
- User wants a full plan with acceptance criteria -- use `plan` skill instead
|
|
21
|
-
- User wants a quick file lookup or symbol search -- use `explore` agent instead
|
|
22
|
-
- User asks a simple factual question that can be answered from one file -- just read and answer directly
|
|
23
|
-
</Do_Not_Use_When>
|
|
24
|
-
|
|
25
|
-
<Why_This_Exists>
|
|
26
|
-
Deep investigation requires a different approach than quick lookups or code changes. Analysis tasks need broad context gathering, cross-file reasoning, and structured findings. Routing these to the architect agent or Codex ensures the right level of depth without the overhead of a full planning or execution workflow.
|
|
27
|
-
</Why_This_Exists>
|
|
28
|
-
|
|
29
|
-
<Execution_Policy>
|
|
30
|
-
- Route analysis to the architect Claude agent for thorough investigation
|
|
31
|
-
- Always gather context files before spawning the architect agent for grounded reasoning
|
|
32
|
-
- Return structured findings, not just raw observations
|
|
33
|
-
</Execution_Policy>
|
|
34
|
-
|
|
35
|
-
<Steps>
|
|
36
|
-
1. **Identify the analysis type**: Architecture, bug investigation, performance, or dependency analysis
|
|
37
|
-
2. **Gather relevant context**: Read or identify the key files involved
|
|
38
|
-
3. **Route to analyzer**: `Task(subagent_type="oh-my-claudecode:architect", model="opus", prompt="Analyze: ...")`
|
|
39
|
-
4. **Return structured findings**: Present the analysis with evidence, file references, and actionable recommendations
|
|
40
|
-
</Steps>
|
|
41
|
-
|
|
42
|
-
<Tool_Usage>
|
|
43
|
-
- Use `Task(subagent_type="oh-my-claudecode:architect", model="opus", ...)` as the primary analysis route
|
|
44
|
-
- For broad analysis, use `explore` agent first to identify relevant files before routing to architect
|
|
45
|
-
</Tool_Usage>
|
|
46
|
-
|
|
47
|
-
<Examples>
|
|
48
|
-
<Good>
|
|
49
|
-
User: "analyze why the WebSocket connections drop after 30 seconds"
|
|
50
|
-
Action: Gather WebSocket-related files, route to architect with context, return root cause analysis with specific file:line references and a recommended fix.
|
|
51
|
-
Why good: Clear investigation target, structured output with evidence.
|
|
52
|
-
</Good>
|
|
53
|
-
|
|
54
|
-
<Good>
|
|
55
|
-
User: "investigate the dependency chain from src/api/routes.ts"
|
|
56
|
-
Action: Use explore agent to map the import graph, then route to architect for impact analysis.
|
|
57
|
-
Why good: Uses explore for fact-gathering, architect for reasoning.
|
|
58
|
-
</Good>
|
|
59
|
-
|
|
60
|
-
<Bad>
|
|
61
|
-
User: "analyze the auth module"
|
|
62
|
-
Action: Returning "The auth module handles authentication."
|
|
63
|
-
Why bad: Shallow summary without investigation. Should examine the module's structure, patterns, potential issues, and provide specific findings with file references.
|
|
64
|
-
</Bad>
|
|
65
|
-
|
|
66
|
-
<Bad>
|
|
67
|
-
User: "fix the bug in the parser"
|
|
68
|
-
Action: Running analysis skill.
|
|
69
|
-
Why bad: This is a fix request, not an analysis request. Route to executor or ralph instead.
|
|
70
|
-
</Bad>
|
|
71
|
-
</Examples>
|
|
72
|
-
|
|
73
|
-
<Escalation_And_Stop_Conditions>
|
|
74
|
-
- If analysis reveals the issue requires code changes, report findings and recommend using `ralph` or executor for the fix
|
|
75
|
-
- If the analysis scope is too broad ("analyze everything"), ask the user to narrow the focus
|
|
76
|
-
- If Codex is unavailable and the architect agent also fails, report what context was gathered and suggest manual investigation paths
|
|
77
|
-
</Escalation_And_Stop_Conditions>
|
|
78
|
-
|
|
79
|
-
<Final_Checklist>
|
|
80
|
-
- [ ] Analysis addresses the specific question or investigation target
|
|
81
|
-
- [ ] Findings reference specific files and line numbers where applicable
|
|
82
|
-
- [ ] Root causes are identified (not just symptoms) for bug investigations
|
|
83
|
-
- [ ] Actionable recommendations are provided
|
|
84
|
-
- [ ] Analysis distinguishes between confirmed facts and hypotheses
|
|
85
|
-
</Final_Checklist>
|
|
86
|
-
|
|
87
|
-
Task: {{ARGUMENTS}}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ask-codex
|
|
3
|
-
description: Ask Codex via local CLI and capture a reusable artifact
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Ask Codex
|
|
7
|
-
|
|
8
|
-
Use Codex as an external advisor through OMC's ask command.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
/oh-my-claudecode:ask-codex <question or task>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Routing
|
|
17
|
-
|
|
18
|
-
Preferred path:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
omc ask codex "{{ARGUMENTS}}"
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Wrapper alias (compatibility):
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ask-codex.sh" "{{ARGUMENTS}}"
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Requirements
|
|
31
|
-
|
|
32
|
-
- Local Codex CLI must be installed and authenticated.
|
|
33
|
-
- Verify with:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
codex --version
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Artifacts
|
|
40
|
-
|
|
41
|
-
`omc ask` writes artifacts to:
|
|
42
|
-
|
|
43
|
-
```text
|
|
44
|
-
.omc/artifacts/ask/codex-<slug>-<timestamp>.md
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Task: {{ARGUMENTS}}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ask-gemini
|
|
3
|
-
description: Ask Gemini via local CLI and capture a reusable artifact
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Ask Gemini
|
|
7
|
-
|
|
8
|
-
Use Gemini as an external advisor through OMC's ask command.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
/oh-my-claudecode:ask-gemini <question or task>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Routing
|
|
17
|
-
|
|
18
|
-
Preferred path:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
omc ask gemini "{{ARGUMENTS}}"
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Wrapper alias (compatibility):
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
bash "${CLAUDE_PLUGIN_ROOT}/scripts/ask-gemini.sh" "{{ARGUMENTS}}"
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Requirements
|
|
31
|
-
|
|
32
|
-
- Local Gemini CLI must be installed and authenticated.
|
|
33
|
-
- Verify with:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
gemini --version
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Artifacts
|
|
40
|
-
|
|
41
|
-
`omc ask` writes artifacts to:
|
|
42
|
-
|
|
43
|
-
```text
|
|
44
|
-
.omc/artifacts/ask/gemini-<slug>-<timestamp>.md
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Task: {{ARGUMENTS}}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: build-fix
|
|
3
|
-
description: Fix build and TypeScript errors with minimal changes
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Build Fix Skill
|
|
7
|
-
|
|
8
|
-
Fix build and compilation errors quickly with minimal code changes. Get the build green without refactoring.
|
|
9
|
-
|
|
10
|
-
## When to Use
|
|
11
|
-
|
|
12
|
-
This skill activates when:
|
|
13
|
-
- User says "fix the build", "build is broken"
|
|
14
|
-
- TypeScript compilation fails
|
|
15
|
-
- the build command or type checker reports errors
|
|
16
|
-
- User requests "minimal fixes" for errors
|
|
17
|
-
|
|
18
|
-
## What It Does
|
|
19
|
-
|
|
20
|
-
Delegates to the `build-fixer` agent (Sonnet model) to:
|
|
21
|
-
|
|
22
|
-
1. **Collect Errors**
|
|
23
|
-
- Run the project's type check command (e.g., `tsc --noEmit`, `mypy`, `cargo check`, `go vet`)
|
|
24
|
-
- Or run the project's build command to get build failures
|
|
25
|
-
- Categorize errors by type and severity
|
|
26
|
-
|
|
27
|
-
2. **Fix Strategically**
|
|
28
|
-
- Add type annotations where missing
|
|
29
|
-
- Add null checks where needed
|
|
30
|
-
- Fix import/export statements
|
|
31
|
-
- Resolve module resolution issues
|
|
32
|
-
- Fix linter errors blocking build
|
|
33
|
-
|
|
34
|
-
3. **Minimal Diff Strategy**
|
|
35
|
-
- NO refactoring of unrelated code
|
|
36
|
-
- NO architectural changes
|
|
37
|
-
- NO performance optimizations
|
|
38
|
-
- ONLY what's needed to make build pass
|
|
39
|
-
|
|
40
|
-
4. **Verify**
|
|
41
|
-
- Run the project's type check command after each fix
|
|
42
|
-
- Ensure no new errors introduced
|
|
43
|
-
- Stop when build passes
|
|
44
|
-
|
|
45
|
-
## Agent Delegation
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
Task(
|
|
49
|
-
subagent_type="oh-my-claudecode:build-fixer",
|
|
50
|
-
model="sonnet",
|
|
51
|
-
prompt="BUILD FIX TASK
|
|
52
|
-
|
|
53
|
-
Fix all build and TypeScript errors with minimal changes.
|
|
54
|
-
|
|
55
|
-
Requirements:
|
|
56
|
-
- Run tsc/build to collect errors
|
|
57
|
-
- Fix errors one at a time
|
|
58
|
-
- Verify each fix doesn't introduce new errors
|
|
59
|
-
- NO refactoring, NO architectural changes
|
|
60
|
-
- Stop when build passes
|
|
61
|
-
|
|
62
|
-
Output: Build error resolution report with:
|
|
63
|
-
- List of errors fixed
|
|
64
|
-
- Lines changed per fix
|
|
65
|
-
- Final build status"
|
|
66
|
-
)
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Stop Conditions
|
|
70
|
-
|
|
71
|
-
The build-fixer agent stops when:
|
|
72
|
-
- Type check command exits with code 0
|
|
73
|
-
- Build command completes successfully
|
|
74
|
-
- No new errors introduced
|
|
75
|
-
|
|
76
|
-
## Output Format
|
|
77
|
-
|
|
78
|
-
```
|
|
79
|
-
BUILD FIX REPORT
|
|
80
|
-
================
|
|
81
|
-
|
|
82
|
-
Errors Fixed: 12
|
|
83
|
-
Files Modified: 8
|
|
84
|
-
Lines Changed: 47
|
|
85
|
-
|
|
86
|
-
Fixes Applied:
|
|
87
|
-
1. src/utils/validation.ts:15 - Added return type annotation
|
|
88
|
-
2. src/components/Header.tsx:42 - Added null check for props.user
|
|
89
|
-
3. src/api/client.ts:89 - Fixed import path for axios
|
|
90
|
-
...
|
|
91
|
-
|
|
92
|
-
Final Build Status: ✓ PASSING
|
|
93
|
-
Verification: [type check command] (exit code 0)
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## Best Practices
|
|
97
|
-
|
|
98
|
-
- **One fix at a time** - Easier to verify and debug
|
|
99
|
-
- **Minimal changes** - Don't refactor while fixing
|
|
100
|
-
- **Document why** - Comment non-obvious fixes
|
|
101
|
-
- **Test after** - Ensure tests still pass
|
|
102
|
-
|
|
103
|
-
## Use with Other Skills
|
|
104
|
-
|
|
105
|
-
Combine with other skills for comprehensive fixing:
|
|
106
|
-
|
|
107
|
-
**With Ultrawork:**
|
|
108
|
-
```
|
|
109
|
-
/ultrawork fix all build errors
|
|
110
|
-
```
|
|
111
|
-
Spawns multiple build-fixer agents in parallel for different files.
|
|
112
|
-
|
|
113
|
-
**With Ralph:**
|
|
114
|
-
```
|
|
115
|
-
/ralph fix the build
|
|
116
|
-
```
|
|
117
|
-
Keeps trying until build passes, even if it takes multiple iterations.
|
|
118
|
-
|
|
119
|
-
**With Pipeline:**
|
|
120
|
-
```
|
|
121
|
-
/pipeline debug "build is failing"
|
|
122
|
-
```
|
|
123
|
-
Uses: explore → architect → build-fixer workflow.
|