oh-my-copilot 4.13.1 → 4.13.21
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 +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +3 -3
- package/bridge/cli.cjs +4709 -1961
- package/bridge/mcp-server.cjs +112 -11
- package/bridge/runtime-cli.cjs +4917 -2645
- package/bridge/team-bridge.cjs +6 -4
- package/bridge/team-mcp.cjs +19607 -0
- package/bridge/team.js +4895 -2215
- package/dist/__tests__/auto-slash-aliases.test.js +91 -0
- package/dist/__tests__/auto-slash-aliases.test.js.map +1 -1
- package/dist/__tests__/hooks/learner/bridge.test.js +25 -0
- package/dist/__tests__/hooks/learner/bridge.test.js.map +1 -1
- package/dist/__tests__/hooks/learner/parser.test.js +30 -0
- package/dist/__tests__/hooks/learner/parser.test.js.map +1 -1
- package/dist/__tests__/hud/extra-usage.test.js +42 -0
- package/dist/__tests__/hud/extra-usage.test.js.map +1 -1
- package/dist/__tests__/hud/labels.test.d.ts +2 -0
- package/dist/__tests__/hud/labels.test.d.ts.map +1 -0
- package/dist/__tests__/hud/labels.test.js +158 -0
- package/dist/__tests__/hud/labels.test.js.map +1 -0
- package/dist/__tests__/hud/render-enterprise.test.d.ts +5 -0
- package/dist/__tests__/hud/render-enterprise.test.d.ts.map +1 -0
- package/dist/__tests__/hud/render-enterprise.test.js +232 -0
- package/dist/__tests__/hud/render-enterprise.test.js.map +1 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js +185 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +1 -1
- package/dist/__tests__/hud/stdin-session-scope.test.d.ts +2 -0
- package/dist/__tests__/hud/stdin-session-scope.test.d.ts.map +1 -0
- package/dist/__tests__/hud/stdin-session-scope.test.js +169 -0
- package/dist/__tests__/hud/stdin-session-scope.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api.test.js +111 -1
- package/dist/__tests__/hud/usage-api.test.js.map +1 -1
- package/dist/__tests__/hud-marketplace-resolution.test.js +34 -0
- package/dist/__tests__/hud-marketplace-resolution.test.js.map +1 -1
- package/dist/__tests__/installer-hud-skip.test.js +6 -0
- package/dist/__tests__/installer-hud-skip.test.js.map +1 -1
- package/dist/__tests__/installer-omc-reference.test.js +1 -1
- package/dist/__tests__/installer-omc-reference.test.js.map +1 -1
- package/dist/__tests__/keyword-detector-echo-guard.test.d.ts +2 -0
- package/dist/__tests__/keyword-detector-echo-guard.test.d.ts.map +1 -0
- package/dist/__tests__/keyword-detector-echo-guard.test.js +218 -0
- package/dist/__tests__/keyword-detector-echo-guard.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.js +2 -0
- package/dist/__tests__/mnemosyne/detector.test.js.map +1 -1
- package/dist/__tests__/notepad.test.js +2 -2
- package/dist/__tests__/notepad.test.js.map +1 -1
- package/dist/__tests__/pre-tool-enforcer.test.js +84 -1
- package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -1
- package/dist/__tests__/preemptive-compaction-hook.test.js +63 -0
- package/dist/__tests__/preemptive-compaction-hook.test.js.map +1 -1
- package/dist/__tests__/ralph-prd-mandatory.test.js +11 -1
- package/dist/__tests__/ralph-prd-mandatory.test.js.map +1 -1
- package/dist/__tests__/ralph-prd.test.js +40 -2
- package/dist/__tests__/ralph-prd.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +363 -4
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/__tests__/state-root-resolution.test.js +120 -6
- package/dist/__tests__/state-root-resolution.test.js.map +1 -1
- package/dist/autoresearch/__tests__/runtime.test.js +225 -28
- package/dist/autoresearch/__tests__/runtime.test.js.map +1 -1
- package/dist/autoresearch/runtime.d.ts.map +1 -1
- package/dist/autoresearch/runtime.js +9 -5
- package/dist/autoresearch/runtime.js.map +1 -1
- package/dist/cli/__tests__/team-status-worktree.test.d.ts +2 -0
- package/dist/cli/__tests__/team-status-worktree.test.d.ts.map +1 -0
- package/dist/cli/__tests__/team-status-worktree.test.js +96 -0
- package/dist/cli/__tests__/team-status-worktree.test.js.map +1 -0
- package/dist/cli/__tests__/team.test.js +164 -0
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/autoresearch.d.ts +1 -1
- package/dist/cli/autoresearch.d.ts.map +1 -1
- package/dist/cli/autoresearch.js +4 -4
- package/dist/cli/commands/team.d.ts +1 -0
- package/dist/cli/commands/team.d.ts.map +1 -1
- package/dist/cli/commands/team.js +15 -3
- package/dist/cli/commands/team.js.map +1 -1
- package/dist/cli/index.js +3 -0
- package/dist/cli/index.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 +126 -5
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/utils/formatting.d.ts +0 -10
- package/dist/cli/utils/formatting.d.ts.map +1 -1
- package/dist/cli/utils/formatting.js +0 -52
- package/dist/cli/utils/formatting.js.map +1 -1
- package/dist/config/__tests__/loader.test.js.map +1 -1
- package/dist/features/boulder-state/constants.d.ts +1 -1
- package/dist/features/boulder-state/constants.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.d.ts.map +1 -1
- package/dist/features/builtin-skills/skills.js +11 -3
- package/dist/features/builtin-skills/skills.js.map +1 -1
- package/dist/features/builtin-skills/types.d.ts +7 -0
- package/dist/features/builtin-skills/types.d.ts.map +1 -1
- package/dist/features/delegation-enforcer.d.ts +2 -0
- package/dist/features/delegation-enforcer.d.ts.map +1 -1
- package/dist/features/delegation-enforcer.js +10 -0
- package/dist/features/delegation-enforcer.js.map +1 -1
- package/dist/features/magic-keywords.d.ts.map +1 -1
- package/dist/features/magic-keywords.js +30 -1
- package/dist/features/magic-keywords.js.map +1 -1
- package/dist/features/rate-limit-wait/tmux-detector.d.ts +4 -4
- package/dist/features/rate-limit-wait/tmux-detector.js +9 -9
- package/dist/features/rate-limit-wait/tmux-detector.js.map +1 -1
- package/dist/hooks/__tests__/bridge-routing.test.js +156 -0
- package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/constants.js +1 -0
- package/dist/hooks/auto-slash-command/constants.js.map +1 -1
- package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/executor.js +29 -0
- package/dist/hooks/auto-slash-command/executor.js.map +1 -1
- package/dist/hooks/bridge.d.ts.map +1 -1
- package/dist/hooks/bridge.js +184 -1
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/learner/bridge.d.ts.map +1 -1
- package/dist/hooks/learner/bridge.js +4 -109
- package/dist/hooks/learner/bridge.js.map +1 -1
- package/dist/hooks/learner/detector.js +1 -1
- package/dist/hooks/learner/parser.d.ts +9 -0
- package/dist/hooks/learner/parser.d.ts.map +1 -1
- package/dist/hooks/learner/parser.js +18 -5
- package/dist/hooks/learner/parser.js.map +1 -1
- package/dist/hooks/learner/types.d.ts +6 -0
- package/dist/hooks/learner/types.d.ts.map +1 -1
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js +16 -0
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js.map +1 -1
- package/dist/hooks/notepad/index.d.ts +4 -1
- package/dist/hooks/notepad/index.d.ts.map +1 -1
- package/dist/hooks/notepad/index.js +7 -4
- package/dist/hooks/notepad/index.js.map +1 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js +70 -3
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +17 -13
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +175 -3
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -1
- package/dist/hooks/project-memory/__tests__/integration.test.js +117 -3
- package/dist/hooks/project-memory/__tests__/integration.test.js.map +1 -1
- package/dist/hooks/project-memory/__tests__/storage.test.js +11 -11
- package/dist/hooks/project-memory/__tests__/storage.test.js.map +1 -1
- package/dist/hooks/project-memory/index.d.ts.map +1 -1
- package/dist/hooks/project-memory/index.js +24 -12
- package/dist/hooks/project-memory/index.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 +6 -6
- package/dist/hooks/ralph/loop.d.ts.map +1 -1
- package/dist/hooks/ralph/loop.js +18 -18
- package/dist/hooks/ralph/loop.js.map +1 -1
- package/dist/hooks/ralph/prd.d.ts +23 -12
- package/dist/hooks/ralph/prd.d.ts.map +1 -1
- package/dist/hooks/ralph/prd.js +88 -42
- package/dist/hooks/ralph/prd.js.map +1 -1
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js +20 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js.map +1 -1
- package/dist/hooks/session-end/index.d.ts +9 -0
- package/dist/hooks/session-end/index.d.ts.map +1 -1
- package/dist/hooks/session-end/index.js +110 -0
- package/dist/hooks/session-end/index.js.map +1 -1
- package/dist/hooks/skill-bridge.cjs +114 -92
- package/dist/hooks/skill-state/index.d.ts.map +1 -1
- package/dist/hooks/skill-state/index.js +1 -0
- package/dist/hooks/skill-state/index.js.map +1 -1
- package/dist/hud/__tests__/enterprise-cost.test.d.ts +5 -0
- package/dist/hud/__tests__/enterprise-cost.test.d.ts.map +1 -0
- package/dist/hud/__tests__/enterprise-cost.test.js +151 -0
- package/dist/hud/__tests__/enterprise-cost.test.js.map +1 -0
- package/dist/hud/__tests__/git-status.test.js +18 -0
- package/dist/hud/__tests__/git-status.test.js.map +1 -1
- package/dist/hud/__tests__/usage-api-enterprise.test.d.ts +5 -0
- package/dist/hud/__tests__/usage-api-enterprise.test.d.ts.map +1 -0
- package/dist/hud/__tests__/usage-api-enterprise.test.js +249 -0
- package/dist/hud/__tests__/usage-api-enterprise.test.js.map +1 -0
- package/dist/hud/elements/background.d.ts +3 -3
- package/dist/hud/elements/background.d.ts.map +1 -1
- package/dist/hud/elements/background.js +5 -4
- package/dist/hud/elements/background.js.map +1 -1
- package/dist/hud/elements/call-counts.d.ts +2 -2
- package/dist/hud/elements/call-counts.d.ts.map +1 -1
- package/dist/hud/elements/call-counts.js +7 -6
- package/dist/hud/elements/call-counts.js.map +1 -1
- package/dist/hud/elements/context.d.ts +3 -3
- package/dist/hud/elements/context.d.ts.map +1 -1
- package/dist/hud/elements/context.js +5 -4
- package/dist/hud/elements/context.js.map +1 -1
- package/dist/hud/elements/enterprise-cost.d.ts +16 -0
- package/dist/hud/elements/enterprise-cost.d.ts.map +1 -0
- package/dist/hud/elements/enterprise-cost.js +63 -0
- package/dist/hud/elements/enterprise-cost.js.map +1 -0
- package/dist/hud/elements/git.d.ts +2 -1
- package/dist/hud/elements/git.d.ts.map +1 -1
- package/dist/hud/elements/git.js +7 -6
- package/dist/hud/elements/git.js.map +1 -1
- package/dist/hud/elements/permission.d.ts.map +1 -1
- package/dist/hud/elements/permission.js +2 -5
- package/dist/hud/elements/permission.js.map +1 -1
- package/dist/hud/elements/ralph.d.ts +2 -2
- package/dist/hud/elements/ralph.d.ts.map +1 -1
- package/dist/hud/elements/ralph.js +3 -2
- package/dist/hud/elements/ralph.js.map +1 -1
- package/dist/hud/elements/session.d.ts.map +1 -1
- package/dist/hud/elements/session.js +5 -9
- package/dist/hud/elements/session.js.map +1 -1
- package/dist/hud/elements/thinking.d.ts +2 -2
- package/dist/hud/elements/thinking.d.ts.map +1 -1
- package/dist/hud/elements/thinking.js +3 -2
- package/dist/hud/elements/thinking.js.map +1 -1
- package/dist/hud/elements/token-usage.d.ts +2 -2
- package/dist/hud/elements/token-usage.d.ts.map +1 -1
- package/dist/hud/elements/token-usage.js +3 -2
- package/dist/hud/elements/token-usage.js.map +1 -1
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +5 -1
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/render.d.ts.map +1 -1
- package/dist/hud/render.js +43 -10
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +18 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/stdin.d.ts.map +1 -1
- package/dist/hud/stdin.js +49 -5
- package/dist/hud/stdin.js.map +1 -1
- package/dist/hud/types.d.ts +42 -0
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +59 -1
- package/dist/hud/types.js.map +1 -1
- package/dist/hud/usage-api.d.ts +19 -1
- package/dist/hud/usage-api.d.ts.map +1 -1
- package/dist/hud/usage-api.js +101 -18
- package/dist/hud/usage-api.js.map +1 -1
- package/dist/installer/__tests__/hud-cache-wrapper.test.d.ts +2 -0
- package/dist/installer/__tests__/hud-cache-wrapper.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hud-cache-wrapper.test.js +235 -0
- package/dist/installer/__tests__/hud-cache-wrapper.test.js.map +1 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.js +2 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.js.map +1 -1
- package/dist/installer/index.d.ts +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +83 -31
- package/dist/installer/index.js.map +1 -1
- package/dist/lib/__tests__/worktree-paths.test.js +162 -39
- package/dist/lib/__tests__/worktree-paths.test.js.map +1 -1
- package/dist/lib/worktree-paths.d.ts +87 -9
- package/dist/lib/worktree-paths.d.ts.map +1 -1
- package/dist/lib/worktree-paths.js +209 -27
- package/dist/lib/worktree-paths.js.map +1 -1
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +156 -4
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +1 -1
- package/dist/mcp/omc-tools-server.d.ts +11 -17
- package/dist/mcp/omc-tools-server.d.ts.map +1 -1
- package/dist/mcp/omc-tools-server.js +22 -32
- package/dist/mcp/omc-tools-server.js.map +1 -1
- package/dist/mcp/team-job-convergence.d.ts +9 -2
- package/dist/mcp/team-job-convergence.d.ts.map +1 -1
- package/dist/mcp/team-job-convergence.js +35 -14
- 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 +93 -13
- package/dist/mcp/team-server.js.map +1 -1
- package/dist/ralphthon/prd.d.ts.map +1 -1
- package/dist/ralphthon/prd.js +13 -17
- package/dist/ralphthon/prd.js.map +1 -1
- package/dist/shared/types.d.ts +2 -0
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.cleanup.test.js +234 -0
- package/dist/team/__tests__/api-interop.cleanup.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.dispatch.test.js +2 -1
- package/dist/team/__tests__/api-interop.dispatch.test.js.map +1 -1
- package/dist/team/__tests__/auto-merge-restart.test.d.ts +2 -0
- package/dist/team/__tests__/auto-merge-restart.test.d.ts.map +1 -0
- package/dist/team/__tests__/auto-merge-restart.test.js +128 -0
- package/dist/team/__tests__/auto-merge-restart.test.js.map +1 -0
- package/dist/team/__tests__/auto-merge.perf.test.d.ts +2 -0
- package/dist/team/__tests__/auto-merge.perf.test.d.ts.map +1 -0
- package/dist/team/__tests__/auto-merge.perf.test.js +85 -0
- package/dist/team/__tests__/auto-merge.perf.test.js.map +1 -0
- package/dist/team/__tests__/conflict-mailbox.test.d.ts +2 -0
- package/dist/team/__tests__/conflict-mailbox.test.d.ts.map +1 -0
- package/dist/team/__tests__/conflict-mailbox.test.js +238 -0
- package/dist/team/__tests__/conflict-mailbox.test.js.map +1 -0
- package/dist/team/__tests__/git-worktree.test.js +164 -3
- package/dist/team/__tests__/git-worktree.test.js.map +1 -1
- package/dist/team/__tests__/helpers/git-fixture.d.ts +72 -0
- package/dist/team/__tests__/helpers/git-fixture.d.ts.map +1 -0
- package/dist/team/__tests__/helpers/git-fixture.js +252 -0
- package/dist/team/__tests__/helpers/git-fixture.js.map +1 -0
- package/dist/team/__tests__/leader-inbox.test.d.ts +2 -0
- package/dist/team/__tests__/leader-inbox.test.d.ts.map +1 -0
- package/dist/team/__tests__/leader-inbox.test.js +152 -0
- package/dist/team/__tests__/leader-inbox.test.js.map +1 -0
- package/dist/team/__tests__/merge-orchestrator.test.d.ts +2 -0
- package/dist/team/__tests__/merge-orchestrator.test.d.ts.map +1 -0
- package/dist/team/__tests__/merge-orchestrator.test.js +779 -0
- package/dist/team/__tests__/merge-orchestrator.test.js.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +35 -21
- package/dist/team/__tests__/model-contract.test.js.map +1 -1
- package/dist/team/__tests__/rebase-smoke.test.d.ts +2 -0
- package/dist/team/__tests__/rebase-smoke.test.d.ts.map +1 -0
- package/dist/team/__tests__/rebase-smoke.test.js +272 -0
- package/dist/team/__tests__/rebase-smoke.test.js.map +1 -0
- package/dist/team/__tests__/runtime-cli.test.js +11 -3
- package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
- package/dist/team/__tests__/runtime-prompt-mode.test.js +14 -16
- package/dist/team/__tests__/runtime-prompt-mode.test.js.map +1 -1
- package/dist/team/__tests__/runtime-v2-role-routing.test.js +7 -1
- package/dist/team/__tests__/runtime-v2-role-routing.test.js.map +1 -1
- package/dist/team/__tests__/runtime-v2.dispatch.test.js +293 -15
- package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +1 -1
- 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 +219 -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 +292 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.js.map +1 -0
- package/dist/team/__tests__/scaling-launch-config.test.js +203 -3
- package/dist/team/__tests__/scaling-launch-config.test.js.map +1 -1
- package/dist/team/__tests__/team-summary-worktree.test.d.ts +2 -0
- package/dist/team/__tests__/team-summary-worktree.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-summary-worktree.test.js +85 -0
- package/dist/team/__tests__/team-summary-worktree.test.js.map +1 -0
- package/dist/team/__tests__/teardown-invariant.test.d.ts +2 -0
- package/dist/team/__tests__/teardown-invariant.test.d.ts.map +1 -0
- package/dist/team/__tests__/teardown-invariant.test.js +176 -0
- package/dist/team/__tests__/teardown-invariant.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session-liveness.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-session-liveness.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-session-liveness.test.js +37 -0
- package/dist/team/__tests__/tmux-session-liveness.test.js.map +1 -0
- package/dist/team/__tests__/worker-bootstrap.test.js +47 -1
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/__tests__/worker-commit-cadence.test.d.ts +2 -0
- package/dist/team/__tests__/worker-commit-cadence.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-commit-cadence.test.js +315 -0
- package/dist/team/__tests__/worker-commit-cadence.test.js.map +1 -0
- package/dist/team/__tests__/worktree-contract-fields.test.d.ts +2 -0
- package/dist/team/__tests__/worktree-contract-fields.test.d.ts.map +1 -0
- package/dist/team/__tests__/worktree-contract-fields.test.js +157 -0
- package/dist/team/__tests__/worktree-contract-fields.test.js.map +1 -0
- package/dist/team/__tests__/worktree-runtime-e2e.test.d.ts +2 -0
- package/dist/team/__tests__/worktree-runtime-e2e.test.d.ts.map +1 -0
- package/dist/team/__tests__/worktree-runtime-e2e.test.js +182 -0
- package/dist/team/__tests__/worktree-runtime-e2e.test.js.map +1 -0
- package/dist/team/api-interop.d.ts +2 -1
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +121 -14
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/capabilities.d.ts.map +1 -1
- package/dist/team/capabilities.js +2 -0
- package/dist/team/capabilities.js.map +1 -1
- package/dist/team/cli-worker-contract.d.ts +7 -6
- package/dist/team/cli-worker-contract.d.ts.map +1 -1
- package/dist/team/cli-worker-contract.js +7 -6
- package/dist/team/cli-worker-contract.js.map +1 -1
- package/dist/team/conflict-mailbox.d.ts +49 -0
- package/dist/team/conflict-mailbox.d.ts.map +1 -0
- package/dist/team/conflict-mailbox.js +98 -0
- package/dist/team/conflict-mailbox.js.map +1 -0
- package/dist/team/events.d.ts +3 -0
- package/dist/team/events.d.ts.map +1 -1
- package/dist/team/events.js +2 -1
- package/dist/team/events.js.map +1 -1
- package/dist/team/git-worktree.d.ts +78 -10
- package/dist/team/git-worktree.d.ts.map +1 -1
- package/dist/team/git-worktree.js +453 -97
- package/dist/team/git-worktree.js.map +1 -1
- package/dist/team/governance.d.ts +3 -2
- package/dist/team/governance.d.ts.map +1 -1
- package/dist/team/governance.js.map +1 -1
- package/dist/team/leader-inbox.d.ts +28 -0
- package/dist/team/leader-inbox.d.ts.map +1 -0
- package/dist/team/leader-inbox.js +68 -0
- package/dist/team/leader-inbox.js.map +1 -0
- package/dist/team/merge-coordinator.d.ts +6 -0
- package/dist/team/merge-coordinator.d.ts.map +1 -1
- package/dist/team/merge-coordinator.js +6 -2
- package/dist/team/merge-coordinator.js.map +1 -1
- package/dist/team/merge-orchestrator.d.ts +41 -0
- package/dist/team/merge-orchestrator.d.ts.map +1 -0
- package/dist/team/merge-orchestrator.js +736 -0
- package/dist/team/merge-orchestrator.js.map +1 -0
- package/dist/team/model-contract.d.ts +18 -2
- package/dist/team/model-contract.d.ts.map +1 -1
- package/dist/team/model-contract.js +55 -28
- package/dist/team/model-contract.js.map +1 -1
- package/dist/team/monitor.d.ts.map +1 -1
- package/dist/team/monitor.js +47 -3
- package/dist/team/monitor.js.map +1 -1
- package/dist/team/runtime-cli.d.ts +1 -0
- package/dist/team/runtime-cli.d.ts.map +1 -1
- package/dist/team/runtime-cli.js +15 -2
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime-flags.d.ts +5 -0
- package/dist/team/runtime-flags.d.ts.map +1 -0
- package/dist/team/runtime-flags.js +12 -0
- package/dist/team/runtime-flags.js.map +1 -0
- package/dist/team/runtime-v2.d.ts +16 -1
- package/dist/team/runtime-v2.d.ts.map +1 -1
- package/dist/team/runtime-v2.js +531 -127
- package/dist/team/runtime-v2.js.map +1 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +4 -1
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +110 -13
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/tasks.d.ts.map +1 -1
- package/dist/team/state/tasks.js +1 -0
- package/dist/team/state/tasks.js.map +1 -1
- package/dist/team/team-ops.d.ts.map +1 -1
- package/dist/team/team-ops.js +112 -16
- package/dist/team/team-ops.js.map +1 -1
- package/dist/team/tmux-session.d.ts +17 -29
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +117 -108
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/types.d.ts +31 -17
- package/dist/team/types.d.ts.map +1 -1
- package/dist/team/types.js.map +1 -1
- package/dist/team/worker-bootstrap.d.ts +11 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -1
- package/dist/team/worker-bootstrap.js +37 -14
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/team/worker-canonicalization.d.ts.map +1 -1
- package/dist/team/worker-canonicalization.js +2 -0
- package/dist/team/worker-canonicalization.js.map +1 -1
- package/dist/team/worker-commit-cadence.d.ts +70 -0
- package/dist/team/worker-commit-cadence.d.ts.map +1 -0
- package/dist/team/worker-commit-cadence.js +271 -0
- package/dist/team/worker-commit-cadence.js.map +1 -0
- package/dist/tools/__tests__/memory-tools.test.js +4 -4
- package/dist/tools/__tests__/memory-tools.test.js.map +1 -1
- package/dist/tools/__tests__/state-tools.test.js +13 -1
- package/dist/tools/__tests__/state-tools.test.js.map +1 -1
- package/dist/utils/frontmatter.d.ts.map +1 -1
- package/dist/utils/frontmatter.js +1 -16
- package/dist/utils/frontmatter.js.map +1 -1
- package/dist/utils/resolve-node.d.ts.map +1 -1
- package/dist/utils/resolve-node.js +22 -28
- package/dist/utils/resolve-node.js.map +1 -1
- package/docs/GETTING-STARTED.md +415 -0
- package/docs/MIGRATION.md +1003 -0
- package/docs/REFERENCE.md +21 -4
- package/docs/TEAM-WORKTREE-MODE.md +86 -0
- package/docs/company-context-interface.md +5 -16
- package/docs/copilot-instructions.md +1 -1
- package/package.json +1 -1
- package/scripts/keyword-detector.mjs +168 -20
- package/scripts/lib/hud-cache-wrapper.sh +122 -0
- package/scripts/persistent-mode.cjs +28 -2
- package/scripts/persistent-mode.mjs +28 -2
- package/scripts/plugin-setup.mjs +10 -1
- package/scripts/post-tool-verifier.mjs +153 -3
- package/scripts/pre-tool-enforcer.mjs +54 -6
- package/scripts/session-start.mjs +194 -2
- package/skills/AGENTS.md +22 -91
- package/skills/ai-slop-cleaner/SKILL.md +118 -120
- package/skills/ask/SKILL.md +6 -8
- package/skills/autopilot/SKILL.md +1 -28
- package/skills/autoresearch/SKILL.md +5 -5
- package/skills/cancel/SKILL.md +13 -13
- package/skills/cccg/SKILL.md +1 -0
- package/skills/configure-notifications/SKILL.md +80 -215
- package/skills/debug/SKILL.md +3 -2
- package/skills/deep-dive/SKILL.md +20 -9
- package/skills/deep-interview/SKILL.md +32 -4
- package/skills/deepinit/SKILL.md +1 -0
- package/skills/external-context/SKILL.md +2 -1
- package/skills/hud/SKILL.md +22 -52
- package/skills/learner/SKILL.md +90 -57
- package/skills/mcp-setup/SKILL.md +45 -60
- package/skills/omc-doctor/SKILL.md +1 -1
- package/skills/omc-reference/SKILL.md +6 -6
- package/skills/omc-setup/SKILL.md +30 -74
- package/skills/omc-setup/phases/01-install-claude-md.md +97 -0
- package/skills/omc-setup/phases/02-configure.md +25 -40
- package/skills/omc-setup/phases/03-integrations.md +100 -69
- package/skills/omc-setup/phases/04-welcome.md +102 -44
- package/skills/omc-teams/SKILL.md +63 -26
- package/skills/plan/SKILL.md +11 -9
- package/skills/ralph/SKILL.md +42 -41
- package/skills/ralplan/SKILL.md +3 -10
- package/skills/release/SKILL.md +168 -57
- package/skills/remember/SKILL.md +2 -1
- package/skills/sciomc/SKILL.md +12 -11
- package/skills/self-improve/SKILL.md +4 -4
- package/skills/setup/SKILL.md +1 -0
- package/skills/skill/SKILL.md +21 -20
- package/skills/skillify/SKILL.md +34 -3
- package/skills/team/SKILL.md +62 -44
- package/skills/ultraqa/SKILL.md +1 -2
- package/skills/ultrawork/SKILL.md +28 -21
- package/skills/verify/SKILL.md +2 -1
- package/skills/writer-memory/SKILL.md +2 -1
- package/templates/hooks/keyword-detector.mjs +129 -11
- package/templates/hooks/persistent-mode.mjs +28 -2
- package/templates/hooks/pre-tool-use.mjs +144 -45
- package/templates/hooks/session-start.mjs +25 -1
package/skills/AGENTS.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# skills
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
30 skill directories for workflow automation and specialized behaviors.
|
|
7
7
|
|
|
8
8
|
## Purpose
|
|
9
9
|
|
|
@@ -31,18 +31,7 @@ Skills are reusable workflow templates that can be invoked via `/oh-my-copilot:s
|
|
|
31
31
|
| `plan/SKILL.md` | omc-plan | Strategic planning with interview workflow |
|
|
32
32
|
| `ralplan/SKILL.md` | ralplan | Iterative planning (Planner+Architect+Critic) with RALPLAN-DR structured deliberation (`--deliberate` for high-risk) |
|
|
33
33
|
| `deep-interview/SKILL.md` | deep-interview | Socratic deep interview with mathematical ambiguity gating (Ouroboros-inspired) |
|
|
34
|
-
| `
|
|
35
|
-
|
|
36
|
-
### Analysis Skills
|
|
37
|
-
|
|
38
|
-
| File | Skill | Purpose |
|
|
39
|
-
|-----------|-------|---------|
|
|
40
|
-
| `critique/SKILL.md` | critique | Pre-push adversarial critique of unpushed commits via independent devils-advocate agent |
|
|
41
|
-
| `deep-review/SKILL.md` | deep-review | Multi-pass code review with security, quality, structural analysis, and validation |
|
|
42
|
-
| `discover/SKILL.md` | discover | Spawn parallel specialist agents to scan the codebase and produce a prioritized improvement backlog |
|
|
43
|
-
| `trace/SKILL.md` | trace | Evidence-driven causal tracing with competing hypotheses |
|
|
44
|
-
| `verify/SKILL.md` | verify | Verify changes work before claiming completion |
|
|
45
|
-
| `debug/SKILL.md` | debug | Diagnose session or repo state using logs, traces, state, and focused reproduction |
|
|
34
|
+
| `ralph-init/SKILL.md` | ralph-init | Initialize PRD for structured ralph |
|
|
46
35
|
|
|
47
36
|
### Exploration Skills
|
|
48
37
|
|
|
@@ -50,8 +39,6 @@ Skills are reusable workflow templates that can be invoked via `/oh-my-copilot:s
|
|
|
50
39
|
|-----------|-------|---------|
|
|
51
40
|
| `deepinit/SKILL.md` | deepinit | Generate hierarchical AGENTS.md |
|
|
52
41
|
| `sciomc/SKILL.md` | sciomc | Parallel scientist orchestration |
|
|
53
|
-
| `external-context/SKILL.md` | external-context | Parallel document-specialist agents for external web searches and documentation lookup |
|
|
54
|
-
| `self-improve/SKILL.md` | self-improve | Autonomous evolutionary code improvement engine with tournament selection |
|
|
55
42
|
|
|
56
43
|
### Visual Skills
|
|
57
44
|
|
|
@@ -59,57 +46,23 @@ Skills are reusable workflow templates that can be invoked via `/oh-my-copilot:s
|
|
|
59
46
|
|-----------|-------|---------|
|
|
60
47
|
| `visual-verdict/SKILL.md` | visual-verdict | Structured visual QA verdict for screenshot/reference comparisons |
|
|
61
48
|
|
|
62
|
-
### Orchestration Skills
|
|
63
|
-
|
|
64
|
-
| File | Skill | Purpose |
|
|
65
|
-
|-----------|-------|---------|
|
|
66
|
-
| `cccg/SKILL.md` | cccg | Quadri-model orchestration — Claude, Codex, Gemini provide independent analysis, Copilot synthesizes |
|
|
67
|
-
| `omc-teams/SKILL.md` | omc-teams | CLI-team runtime for claude, codex, or gemini workers in tmux panes |
|
|
68
|
-
| `omc-reference/SKILL.md` | omc-reference | OMC agent catalog, tools, team pipeline routing, commit protocol, and skills registry |
|
|
69
|
-
|
|
70
|
-
### Notification Skills
|
|
71
|
-
|
|
72
|
-
| File | Skill | Purpose |
|
|
73
|
-
|-----------|-------|---------|
|
|
74
|
-
| `configure-notifications/SKILL.md` | configure-notifications | Configure notification integrations (Telegram, Discord, Slack, Teams) |
|
|
75
|
-
|
|
76
|
-
### Azure DevOps Skills
|
|
77
|
-
|
|
78
|
-
| File | Skill | Purpose |
|
|
79
|
-
|-----------|-------|---------|
|
|
80
|
-
| `omc-ado-setup/SKILL.md` | omc-ado-setup | Configure Azure DevOps integration |
|
|
81
|
-
| `omc-ado-review/SKILL.md` | omc-ado-review | Review Azure DevOps pull requests |
|
|
82
|
-
| `omc-ado-auto-review/SKILL.md` | omc-ado-auto-review | Automated Azure DevOps PR review |
|
|
83
|
-
| `omc-ado-sprint/SKILL.md` | omc-ado-sprint | Azure DevOps sprint management |
|
|
84
|
-
| `omc-ado-triage/SKILL.md` | omc-ado-triage | Azure DevOps work item triage |
|
|
85
|
-
|
|
86
|
-
### GitHub Skills
|
|
87
|
-
|
|
88
|
-
| File | Skill | Purpose |
|
|
89
|
-
|-----------|-------|---------|
|
|
90
|
-
| `omc-gh-setup/SKILL.md` | omc-gh-setup | Configure GitHub integration |
|
|
91
|
-
| `omc-gh-triage/SKILL.md` | omc-gh-triage | Issue/PR/CI triage dashboard |
|
|
92
|
-
| `omc-gh-review/SKILL.md` | omc-gh-review | Interactive PR review |
|
|
93
|
-
| `omc-gh-auto-review/SKILL.md` | omc-gh-auto-review | Automated PR code review |
|
|
94
|
-
| `omc-gh-project/SKILL.md` | omc-gh-project | GitHub Projects board management |
|
|
95
|
-
|
|
96
49
|
### Utility Skills
|
|
97
50
|
|
|
98
51
|
| File | Skill | Purpose |
|
|
99
52
|
|-----------|-------|---------|
|
|
100
53
|
| `ai-slop-cleaner/SKILL.md` | ai-slop-cleaner | Regression-safe cleanup workflow for AI-generated code slop |
|
|
101
|
-
| `
|
|
102
|
-
| `
|
|
54
|
+
| `skillify/SKILL.md` | skillify | Extract reusable skill from session |
|
|
55
|
+
| `learner/SKILL.md` | learner | Deprecated compatibility alias/internal implementation history for skillify |
|
|
56
|
+
| `ask/SKILL.md` | ask | Ask Claude, Codex, or Gemini via `omc ask` and capture an artifact |
|
|
57
|
+
| `note/SKILL.md` | note | Save notes for compaction resilience |
|
|
103
58
|
| `cancel/SKILL.md` | cancel | Cancel any active OMC mode |
|
|
104
|
-
| `hud/SKILL.md` | hud | Configure HUD display
|
|
59
|
+
| `hud/SKILL.md` | hud | Configure HUD display |
|
|
105
60
|
| `omc-doctor/SKILL.md` | omc-doctor | Diagnose installation issues |
|
|
106
|
-
| `remember/SKILL.md` | remember | Review reusable project knowledge and decide what belongs in project memory, notepad, or docs |
|
|
107
61
|
| `setup/SKILL.md` | setup | Unified setup entrypoint for install, diagnostics, and MCP configuration |
|
|
108
62
|
| `omc-setup/SKILL.md` | omc-setup | One-time setup wizard |
|
|
63
|
+
| `omc-help/SKILL.md` | omc-help | Usage guide |
|
|
109
64
|
| `mcp-setup/SKILL.md` | mcp-setup | Configure MCP servers |
|
|
110
65
|
| `skill/SKILL.md` | skill | Manage local skills |
|
|
111
|
-
| `skillify/SKILL.md` | skillify | Turn a repeatable workflow into a reusable OMC skill draft |
|
|
112
|
-
| `wiki/SKILL.md` | wiki | Persistent markdown knowledge base that compounds across sessions |
|
|
113
66
|
|
|
114
67
|
### Domain Skills
|
|
115
68
|
|
|
@@ -117,22 +70,7 @@ Skills are reusable workflow templates that can be invoked via `/oh-my-copilot:s
|
|
|
117
70
|
|-----------|-------|---------|
|
|
118
71
|
| `project-session-manager/SKILL.md` | project-session-manager (+ `psm` alias) | Isolated dev environments |
|
|
119
72
|
| `writer-memory/SKILL.md` | writer-memory | Agentic memory for writers |
|
|
120
|
-
| `release/SKILL.md` | release |
|
|
121
|
-
| `ralph-experiment/SKILL.md` | ralph-experiment | Hypothesis-driven experiment loop with structured notebook and git checkpoints |
|
|
122
|
-
|
|
123
|
-
## Permission Model
|
|
124
|
-
|
|
125
|
-
All plugin MCP tools use a **three-tier auto-approval system** so agents can operate without `/yolo`:
|
|
126
|
-
|
|
127
|
-
- **Tier 1** (read-only): LSP nav, code search, state/memory reads — always auto-approved via `readOnlyHint` annotation
|
|
128
|
-
- **Tier 2** (write): State/memory writes, AST replace, LSP rename — auto-approved via `permissions.allow` in `settings.local.json`
|
|
129
|
-
- **Tier 3** (destructive): `shared_memory_delete`, `shared_memory_cleanup`, `kill_job` — always prompt user
|
|
130
|
-
|
|
131
|
-
Safe bash patterns (git, npm, dotnet, gh, az, grep, find, ls) are auto-approved by the `permissionRequest` hook. Shell metacharacters are always rejected.
|
|
132
|
-
|
|
133
|
-
Deny escalation: 3 consecutive or 20 total denials stops the session. All decisions are audit-logged to `.omcp/logs/permissions.log`.
|
|
134
|
-
|
|
135
|
-
See [permission architecture](../docs/architecture/permissions.md) for details.
|
|
73
|
+
| `release/SKILL.md` | release | Generic release assistant — analyzes repo CI/rules, caches in `.omcp/RELEASE_RULE.md`, guides the release |
|
|
136
74
|
|
|
137
75
|
## For AI Agents
|
|
138
76
|
|
|
@@ -149,6 +87,10 @@ triggers:
|
|
|
149
87
|
- "keyword2"
|
|
150
88
|
agent: executor # Optional: which agent to use
|
|
151
89
|
model: sonnet # Optional: model override
|
|
90
|
+
pipeline: [skill-name, follow-up-skill] # Optional: standardized multi-skill flow
|
|
91
|
+
next-skill: follow-up-skill # Optional: explicit handoff target
|
|
92
|
+
next-skill-args: --direct # Optional: arguments for the next skill
|
|
93
|
+
handoff: .omcp/plans/example.md # Optional: artifact/context handed to next skill
|
|
152
94
|
---
|
|
153
95
|
|
|
154
96
|
# Skill Name
|
|
@@ -187,7 +129,7 @@ Any configurable options.
|
|
|
187
129
|
2. Define purpose, workflow, and usage
|
|
188
130
|
3. Add to skill registry (auto-detected from frontmatter)
|
|
189
131
|
4. Optionally add activation triggers
|
|
190
|
-
5. Create corresponding `
|
|
132
|
+
5. Create corresponding plugin-scoped skill/slash surface via `skills/new-skill/SKILL.md` (and generated artifacts when the build requires them)
|
|
191
133
|
6. Update `docs/REFERENCE.md` (Skills section, count)
|
|
192
134
|
7. If execution mode skill, also create `src/hooks/new-skill/` hook
|
|
193
135
|
|
|
@@ -202,6 +144,8 @@ Any configurable options.
|
|
|
202
144
|
4. Invoke `qa-tester` for verification
|
|
203
145
|
```
|
|
204
146
|
|
|
147
|
+
If `pipeline` / `next-skill` metadata is present, OMC appends a standardized **Skill Pipeline** handoff block to the rendered skill prompt so downstream steps are explicit.
|
|
148
|
+
|
|
205
149
|
**Conditional behavior:**
|
|
206
150
|
```markdown
|
|
207
151
|
## Workflow
|
|
@@ -232,18 +176,12 @@ None - pure markdown files.
|
|
|
232
176
|
|
|
233
177
|
| Category | Skills | Trigger Keywords |
|
|
234
178
|
|----------|--------|------------------|
|
|
235
|
-
| Execution | autopilot, ultrawork, ralph, team, ultraqa
|
|
236
|
-
|
|
|
237
|
-
|
|
|
238
|
-
| Exploration | deepinit, sciomc, external-context | "deepinit", "
|
|
239
|
-
|
|
|
240
|
-
|
|
|
241
|
-
| Cleanup | ai-slop-cleaner | "deslop", "anti-slop" |
|
|
242
|
-
| Azure DevOps | omc-ado-setup, omc-ado-review, omc-ado-auto-review, omc-ado-sprint, omc-ado-triage | "ado setup", "ado triage" |
|
|
243
|
-
| GitHub | omc-gh-setup, omc-gh-triage, omc-gh-review, omc-gh-auto-review, omc-gh-project | "gh setup", "gh triage", "gh review" |
|
|
244
|
-
| Notifications | configure-notifications | "configure discord", "setup telegram" |
|
|
245
|
-
| Utility | learner, ask, cancel, setup, omc-doctor, omc-setup, mcp-setup, skill, skillify, wiki, hud, remember | "cancelomc", "stopomc", "wiki", "skillify" |
|
|
246
|
-
| Domain | project-session-manager, writer-memory, release | psm context |
|
|
179
|
+
| Execution | autopilot, ultrawork, ralph, team, ultraqa | "autopilot", "ulw", "ralph", "team" |
|
|
180
|
+
| Cleanup | ai-slop-cleaner | "deslop", "anti-slop", cleanup/refactor + slop smells |
|
|
181
|
+
| Planning | omc-plan, ralplan, deep-interview, ralph-init | "plan this", "interview me", "ouroboros" |
|
|
182
|
+
| Exploration | deepinit, sciomc, external-context | "deepinit", "research" |
|
|
183
|
+
| Utility | skillify, learner (deprecated alias), note, cancel, hud, setup, omc-doctor, omc-setup, omc-help, mcp-setup | "stop", "cancel" |
|
|
184
|
+
| Domain | psm, writer-memory, release | psm context |
|
|
247
185
|
|
|
248
186
|
## Auto-Activation
|
|
249
187
|
|
|
@@ -255,13 +193,6 @@ Some skills activate automatically based on context:
|
|
|
255
193
|
| ultrawork | "ulw", "ultrawork" |
|
|
256
194
|
| ralph | "ralph", "don't stop until" |
|
|
257
195
|
| deep-interview | "deep interview", "interview me", "ouroboros", "don't assume" |
|
|
258
|
-
| critique | "critique", "review before push", "critique my changes" |
|
|
259
|
-
| self-improve | "self-improve" |
|
|
260
|
-
| ai-slop-cleaner | "deslop", "anti-slop", "clean slop" |
|
|
261
|
-
| discover | "discover" |
|
|
262
|
-
| trace | "trace" |
|
|
263
|
-
| verify | "verify" |
|
|
264
|
-
| wiki | "wiki" |
|
|
265
196
|
| cancel | "stop", "cancel", "abort" |
|
|
266
197
|
|
|
267
198
|
<!-- MANUAL:
|
|
@@ -1,135 +1,133 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ai-slop-cleaner
|
|
3
|
-
description: Clean AI-generated code slop with a
|
|
3
|
+
description: Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
|
|
4
|
+
level: 3
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
7
|
+
# AI Slop Cleaner
|
|
8
|
+
|
|
9
|
+
Use this skill to clean AI-generated code slop without drifting scope or changing intended behavior. In OMC, this is the bounded cleanup workflow for code that works but feels bloated, repetitive, weakly tested, or over-abstracted.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
Use this skill when:
|
|
14
|
+
- the user explicitly says `deslop`, `anti-slop`, or `AI slop`
|
|
15
|
+
- the request is to clean up or refactor code that feels noisy, repetitive, or overly abstract
|
|
16
|
+
- follow-up implementation left duplicate logic, dead code, wrapper layers, boundary leaks, or weak regression coverage
|
|
17
|
+
- the user wants a reviewer-only anti-slop pass via `--review`
|
|
18
|
+
- the goal is simplification and cleanup, not new feature delivery
|
|
19
|
+
|
|
20
|
+
## When Not to Use
|
|
21
|
+
|
|
22
|
+
Do not use this skill when:
|
|
23
|
+
- the task is mainly a new feature build or product change
|
|
24
|
+
- the user wants a broad redesign instead of an incremental cleanup pass
|
|
25
|
+
- the request is a generic refactor with no simplification or anti-slop intent
|
|
26
|
+
- behavior is too unclear to protect with tests or a concrete verification plan
|
|
27
|
+
|
|
28
|
+
## OMC Execution Posture
|
|
29
|
+
|
|
30
|
+
- Preserve behavior unless the user explicitly asks for behavior changes.
|
|
31
|
+
- Lock behavior with focused regression tests first whenever practical.
|
|
32
|
+
- Write a cleanup plan before editing code.
|
|
33
|
+
- Prefer deletion over addition.
|
|
34
|
+
- Reuse existing utilities and patterns before introducing new ones.
|
|
35
|
+
- Avoid new dependencies unless the user explicitly requests them.
|
|
36
|
+
- Keep diffs small, reversible, and smell-focused.
|
|
37
|
+
- Stay concise and evidence-dense: inspect, edit, verify, and report.
|
|
38
|
+
- Treat new user instructions as local scope updates without dropping earlier non-conflicting constraints.
|
|
39
|
+
|
|
40
|
+
## Scoped File-List Usage
|
|
41
|
+
|
|
42
|
+
This skill can be bounded to an explicit file list or changed-file scope when the caller already knows the safe cleanup surface.
|
|
43
|
+
|
|
44
|
+
- Good fit: `oh-my-copilot:ai-slop-cleaner skills/ralph/SKILL.md skills/ai-slop-cleaner/SKILL.md`
|
|
45
|
+
- Good fit: a Ralph session handing off only the files changed in that session
|
|
46
|
+
- Preserve the same regression-safe workflow even when the scope is a short file list
|
|
47
|
+
- Do not silently expand a changed-file scope into broader cleanup work unless the user explicitly asks for it
|
|
48
|
+
|
|
49
|
+
## Ralph Integration
|
|
50
|
+
|
|
51
|
+
Ralph can invoke this skill as a bounded post-review cleanup pass.
|
|
52
|
+
|
|
53
|
+
- In that workflow, the cleaner runs in standard mode (not `--review`)
|
|
54
|
+
- The cleanup scope is the Ralph session's changed files only
|
|
55
|
+
- After the cleanup pass, Ralph re-runs regression verification before completion
|
|
56
|
+
- `--review` remains the reviewer-only follow-up mode, not the default Ralph integration path
|
|
57
|
+
|
|
58
|
+
## Review Mode (`--review`)
|
|
59
|
+
|
|
60
|
+
`--review` is a reviewer-only pass after cleanup work is drafted. It exists to preserve explicit writer/reviewer separation for anti-slop work.
|
|
32
61
|
|
|
33
62
|
- **Writer pass**: make the cleanup changes with behavior locked by tests.
|
|
34
|
-
- **Reviewer pass
|
|
35
|
-
- The same pass must not both write and self-approve without a separate review step.
|
|
63
|
+
- **Reviewer pass**: inspect the cleanup plan, changed files, and verification evidence.
|
|
64
|
+
- The same pass must not both write and self-approve high-impact cleanup without a separate review step.
|
|
36
65
|
|
|
37
66
|
In review mode:
|
|
38
|
-
1. Do **not**
|
|
39
|
-
2.
|
|
67
|
+
1. Do **not** start by editing files.
|
|
68
|
+
2. Review the cleanup plan, changed files, and regression coverage.
|
|
40
69
|
3. Check specifically for:
|
|
41
70
|
- leftover dead code or unused exports
|
|
42
|
-
- duplicate logic that
|
|
71
|
+
- duplicate logic that should have been consolidated
|
|
43
72
|
- needless wrappers or abstractions that still blur boundaries
|
|
44
73
|
- missing tests or weak verification for preserved behavior
|
|
45
|
-
-
|
|
74
|
+
- cleanup that appears to have changed behavior without intent
|
|
46
75
|
4. Produce a reviewer verdict with required follow-ups.
|
|
47
|
-
5.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- **
|
|
85
|
-
- **
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
6. **Optional `--review` pass**
|
|
92
|
-
- Run a distinct reviewer pass that checks duplication, dead code, boundary violations, test coverage, and needless abstractions
|
|
93
|
-
- If the reviewer finds issues, address them in a follow-up cleanup pass before closing the task
|
|
94
|
-
|
|
95
|
-
7. **Report outcome**
|
|
96
|
-
- Changed files
|
|
97
|
-
- Simplifications made
|
|
98
|
-
- Behavior locked by tests
|
|
99
|
-
- Remaining risks or slop intentionally left for a later pass
|
|
100
|
-
</Steps>
|
|
101
|
-
|
|
102
|
-
<Examples>
|
|
103
|
-
<Good>
|
|
104
|
-
User: "deslop this module -- too many wrappers, duplicate helpers, and dead code"
|
|
105
|
-
Why good: Explicit anti-slop intent with concrete cleanup smells.
|
|
106
|
-
</Good>
|
|
107
|
-
|
|
108
|
-
<Good>
|
|
109
|
-
User: "cleanup the AI slop in src/auth: remove dead code and tighten boundaries"
|
|
110
|
-
Why good: Cleanup/refactor request is clearly about simplification, not feature work.
|
|
111
|
-
</Good>
|
|
112
|
-
|
|
113
|
-
<Bad>
|
|
114
|
-
User: "refactor auth to support SSO"
|
|
115
|
-
Why bad: This is feature work disguised as refactoring, not anti-slop cleanup.
|
|
116
|
-
</Bad>
|
|
117
|
-
|
|
118
|
-
<Bad>
|
|
119
|
-
User: "clean up formatting"
|
|
120
|
-
Why bad: Formatting-only work does not need the full anti-slop workflow.
|
|
121
|
-
</Bad>
|
|
122
|
-
</Examples>
|
|
123
|
-
|
|
124
|
-
<Final_Report>
|
|
125
|
-
Always end with:
|
|
126
|
-
- **Changed files**
|
|
127
|
-
- **Simplifications**
|
|
128
|
-
- **Verification run**
|
|
129
|
-
- **Remaining risks**
|
|
130
|
-
</Final_Report>
|
|
131
|
-
|
|
132
|
-
<Usage>
|
|
76
|
+
5. Hand needed changes back to a separate writer pass instead of fixing and approving in one step.
|
|
77
|
+
|
|
78
|
+
## Workflow
|
|
79
|
+
|
|
80
|
+
1. **Protect current behavior first**
|
|
81
|
+
- Identify what must stay the same.
|
|
82
|
+
- Add or run the narrowest regression tests needed before editing.
|
|
83
|
+
- If tests cannot come first, record the verification plan explicitly before touching code.
|
|
84
|
+
|
|
85
|
+
2. **Write a cleanup plan before code**
|
|
86
|
+
- Bound the pass to the requested files or feature area.
|
|
87
|
+
- List the concrete smells to remove.
|
|
88
|
+
- Order the work from safest deletion to riskier consolidation.
|
|
89
|
+
|
|
90
|
+
3. **Classify the slop before editing**
|
|
91
|
+
- **Duplication** — repeated logic, copy-paste branches, redundant helpers
|
|
92
|
+
- **Dead code** — unused code, unreachable branches, stale flags, debug leftovers
|
|
93
|
+
- **Needless abstraction** — pass-through wrappers, speculative indirection, single-use helper layers
|
|
94
|
+
- **Boundary violations** — hidden coupling, misplaced responsibilities, wrong-layer imports or side effects
|
|
95
|
+
- **Missing tests** — behavior not locked, weak regression coverage, edge-case gaps
|
|
96
|
+
|
|
97
|
+
4. **Run one smell-focused pass at a time**
|
|
98
|
+
- **Pass 1: Dead code deletion**
|
|
99
|
+
- **Pass 2: Duplicate removal**
|
|
100
|
+
- **Pass 3: Naming and error-handling cleanup**
|
|
101
|
+
- **Pass 4: Test reinforcement**
|
|
102
|
+
- Re-run targeted verification after each pass.
|
|
103
|
+
- Do not bundle unrelated refactors into the same edit set.
|
|
104
|
+
|
|
105
|
+
5. **Run the quality gates**
|
|
106
|
+
- Keep regression tests green.
|
|
107
|
+
- Run the relevant lint, typecheck, and unit/integration tests for the touched area.
|
|
108
|
+
- Run existing static or security checks when available.
|
|
109
|
+
- If a gate fails, fix the issue or back out the risky cleanup instead of forcing it through.
|
|
110
|
+
|
|
111
|
+
6. **Close with an evidence-dense report**
|
|
112
|
+
Always report:
|
|
113
|
+
- **Changed files**
|
|
114
|
+
- **Simplifications**
|
|
115
|
+
- **Behavior lock / verification run**
|
|
116
|
+
- **Remaining risks**
|
|
117
|
+
|
|
118
|
+
## Usage
|
|
119
|
+
|
|
133
120
|
- `/oh-my-copilot:ai-slop-cleaner <target>`
|
|
134
121
|
- `/oh-my-copilot:ai-slop-cleaner <target> --review`
|
|
135
|
-
|
|
122
|
+
- `/oh-my-copilot:ai-slop-cleaner <file-a> <file-b> <file-c>`
|
|
123
|
+
- From Ralph: run the cleaner on the Ralph session's changed files only, then return to Ralph for post-cleanup regression verification
|
|
124
|
+
|
|
125
|
+
## Good Fits
|
|
126
|
+
|
|
127
|
+
**Good:** `deslop this module: too many wrappers, duplicate helpers, and dead code`
|
|
128
|
+
|
|
129
|
+
**Good:** `cleanup the AI slop in src/auth and tighten boundaries without changing behavior`
|
|
130
|
+
|
|
131
|
+
**Bad:** `refactor auth to support SSO`
|
|
132
|
+
|
|
133
|
+
**Bad:** `clean up formatting`
|
package/skills/ask/SKILL.md
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ask
|
|
3
|
-
description: Process-first advisor routing for
|
|
3
|
+
description: Process-first advisor routing for Claude, Codex, or Gemini via `omc ask`, with artifact capture and no raw CLI assembly
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Ask
|
|
7
7
|
|
|
8
|
-
Use OMC's canonical advisor skill to route a prompt through
|
|
8
|
+
Use OMC's canonical advisor skill to route a prompt through the local Claude, Codex, or Gemini CLI and persist the result as an ask artifact.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
/oh-my-copilot:ask <
|
|
13
|
+
/oh-my-copilot:ask <claude|codex|gemini> <question or task>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Examples:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
/oh-my-copilot:ask copilot "get a fresh perspective on this design decision"
|
|
20
19
|
/oh-my-copilot:ask codex "review this patch from a security perspective"
|
|
21
20
|
/oh-my-copilot:ask gemini "suggest UX improvements for this flow"
|
|
22
21
|
/oh-my-copilot:ask claude "draft an implementation plan for issue #123"
|
|
@@ -27,10 +26,10 @@ Examples:
|
|
|
27
26
|
**Required execution path — always use this command:**
|
|
28
27
|
|
|
29
28
|
```bash
|
|
30
|
-
|
|
29
|
+
omc ask {{ARGUMENTS}}
|
|
31
30
|
```
|
|
32
31
|
|
|
33
|
-
**Do NOT manually construct raw provider CLI commands.** Never run `
|
|
32
|
+
**Do NOT manually construct raw provider CLI commands.** Never run `codex`, `claude`, or `gemini` directly to fulfill this skill. The `omc ask` wrapper handles correct flag selection, artifact persistence, and provider-version compatibility automatically. Manually assembling provider CLI flags will produce incorrect or outdated invocations.
|
|
34
33
|
|
|
35
34
|
## Requirements
|
|
36
35
|
|
|
@@ -38,7 +37,6 @@ omcp ask {{ARGUMENTS}}
|
|
|
38
37
|
- Verify availability with the matching command:
|
|
39
38
|
|
|
40
39
|
```bash
|
|
41
|
-
copilot --version
|
|
42
40
|
claude --version
|
|
43
41
|
codex --version
|
|
44
42
|
gemini --version
|
|
@@ -46,7 +44,7 @@ gemini --version
|
|
|
46
44
|
|
|
47
45
|
## Artifacts
|
|
48
46
|
|
|
49
|
-
`
|
|
47
|
+
`omc ask` writes artifacts to:
|
|
50
48
|
|
|
51
49
|
```text
|
|
52
50
|
.omcp/artifacts/ask/<provider>-<slug>-<timestamp>.md
|
|
@@ -28,20 +28,6 @@ Autopilot takes a brief product idea and autonomously handles the full lifecycle
|
|
|
28
28
|
Most non-trivial software tasks require coordinated phases: understanding requirements, designing a solution, implementing in parallel, testing, and validating quality. Autopilot orchestrates all of these phases automatically so the user can describe what they want and receive working code without managing each step.
|
|
29
29
|
</Why_This_Exists>
|
|
30
30
|
|
|
31
|
-
<Complexity_Gate>
|
|
32
|
-
Before starting Phase 0, classify the task complexity:
|
|
33
|
-
|
|
34
|
-
1. **Heuristic check** (zero-cost): The system's complexity classifier runs pattern matching on your prompt
|
|
35
|
-
2. **AI assessment** (if heuristic inconclusive): Spawn an `explore` agent (haiku) to assess complexity
|
|
36
|
-
|
|
37
|
-
**Routing by complexity:**
|
|
38
|
-
- **SIMPLE** (e.g., "fix typo", "rename variable", "bump version"): Skip Phase 0 and Phase 1 entirely. Jump directly to Phase 2 (Execution) with a minimal plan.
|
|
39
|
-
- **STANDARD** (default): Run the normal autopilot flow (all phases)
|
|
40
|
-
- **COMPLEX** (e.g., auth systems, migrations, distributed architecture): Run all phases AND add Critic review after Phase 0 and Phase 1 for additional quality gates
|
|
41
|
-
|
|
42
|
-
Complexity result is stored in `.omcp/state/sessions/{sessionId}/complexity.json` for downstream phases to reference.
|
|
43
|
-
</Complexity_Gate>
|
|
44
|
-
|
|
45
31
|
<Execution_Policy>
|
|
46
32
|
- Each phase must complete before the next begins
|
|
47
33
|
- Parallel execution is used within phases where possible (Phase 2 and Phase 4)
|
|
@@ -58,27 +44,23 @@ Complexity result is stored in `.omcp/state/sessions/{sessionId}/complexity.json
|
|
|
58
44
|
- **If input is vague** (no file paths, function names, or concrete anchors): Offer redirect to `/deep-interview` for Socratic clarification before expanding
|
|
59
45
|
- **Otherwise**: Analyst (Opus) extracts requirements, Architect (Opus) creates technical specification
|
|
60
46
|
- Output: `.omcp/autopilot/spec.md`
|
|
61
|
-
- **Context capture**: Phase 0 output (spec summary) is captured for injection into Phase 1
|
|
62
47
|
|
|
63
48
|
2. **Phase 1 - Planning**: Create an implementation plan from the spec
|
|
64
49
|
- **If ralplan consensus plan exists**: Skip — already done in the 3-stage pipeline
|
|
65
50
|
- Architect (Opus): Create plan (direct mode, no interview)
|
|
66
51
|
- Critic (Opus): Validate plan
|
|
67
52
|
- Output: `.omcp/plans/autopilot-impl.md`
|
|
68
|
-
- **Context capture**: Phase 1 output (plan summary) is captured for injection into Phase 2
|
|
69
53
|
|
|
70
54
|
3. **Phase 2 - Execution**: Implement the plan using Ralph + Ultrawork
|
|
71
55
|
- Executor (Haiku): Simple tasks
|
|
72
56
|
- Executor (Sonnet): Standard tasks
|
|
73
57
|
- Executor (Opus): Complex tasks
|
|
74
58
|
- Run independent tasks in parallel
|
|
75
|
-
- **Context capture**: Phase 2 output (implementation summary: files changed, decisions made) is captured for injection into Phase 3
|
|
76
59
|
|
|
77
60
|
4. **Phase 3 - QA**: Cycle until all tests pass (UltraQA mode)
|
|
78
61
|
- Build, lint, test, fix failures
|
|
79
62
|
- Repeat up to 5 cycles
|
|
80
63
|
- Stop early if the same error repeats 3 times (indicates a fundamental issue)
|
|
81
|
-
- **Context capture**: Phase 3 output (QA results) is captured for injection into Phase 4
|
|
82
64
|
|
|
83
65
|
5. **Phase 4 - Validation**: Multi-perspective review in parallel
|
|
84
66
|
- Architect: Functional completeness
|
|
@@ -95,7 +77,7 @@ Complexity result is stored in `.omcp/state/sessions/{sessionId}/complexity.json
|
|
|
95
77
|
- Use `Task(subagent_type="oh-my-copilot:architect", ...)` for Phase 4 architecture validation
|
|
96
78
|
- Use `Task(subagent_type="oh-my-copilot:security-reviewer", ...)` for Phase 4 security review
|
|
97
79
|
- Use `Task(subagent_type="oh-my-copilot:code-reviewer", ...)` for Phase 4 quality review
|
|
98
|
-
- Agents form their own analysis first, then spawn
|
|
80
|
+
- Agents form their own analysis first, then spawn Claude Task agents for cross-validation
|
|
99
81
|
- Never block on external tools; proceed with available agents if delegation fails
|
|
100
82
|
</Tool_Usage>
|
|
101
83
|
|
|
@@ -138,15 +120,6 @@ Why bad: This is an exploration/brainstorming request. Respond conversationally
|
|
|
138
120
|
</Final_Checklist>
|
|
139
121
|
|
|
140
122
|
<Advanced>
|
|
141
|
-
## Context Accumulation
|
|
142
|
-
|
|
143
|
-
Autopilot captures key outputs from each phase and injects them into the next phase's agent prompt as a `<prior-phase-context>` block. This ensures downstream agents have context from earlier phases without needing to re-read files.
|
|
144
|
-
|
|
145
|
-
- Phase outputs are truncated to 12KB each
|
|
146
|
-
- Context is session-scoped and cleared on `/cancel`
|
|
147
|
-
- Includes: spec summaries, plan summaries, implementation decisions, QA results
|
|
148
|
-
- Stored in `.omcp/state/sessions/{sessionId}/phase-context.json`
|
|
149
|
-
|
|
150
123
|
## Configuration
|
|
151
124
|
|
|
152
125
|
Optional settings in `.copilot/omg.jsonc` (project) or `~/.config/copilot-omg/config.jsonc` (user):
|
|
@@ -12,14 +12,14 @@ Autoresearch is a stateful skill for bounded, evaluator-driven iterative improve
|
|
|
12
12
|
<Use_When>
|
|
13
13
|
- You already have a mission and evaluator from `/deep-interview --autoresearch`
|
|
14
14
|
- You want persistent single-mission improvement with strict evaluation
|
|
15
|
-
- You need durable experiment logs under `.
|
|
15
|
+
- You need durable experiment logs under `.omcp/autoresearch/`
|
|
16
16
|
- You want a supported path for periodic reruns via Claude Code native cron
|
|
17
17
|
</Use_When>
|
|
18
18
|
|
|
19
19
|
<Do_Not_Use_When>
|
|
20
20
|
- You need evaluator generation at runtime — use `/deep-interview --autoresearch` first
|
|
21
21
|
- You need multiple missions orchestrated together — v1 forbids that
|
|
22
|
-
- You want the deprecated `
|
|
22
|
+
- You want the deprecated `omc autoresearch` CLI flow — it is no longer authoritative
|
|
23
23
|
</Do_Not_Use_When>
|
|
24
24
|
|
|
25
25
|
<Contract>
|
|
@@ -31,7 +31,7 @@ Autoresearch is a stateful skill for bounded, evaluator-driven iterative improve
|
|
|
31
31
|
</Contract>
|
|
32
32
|
|
|
33
33
|
<Required_Artifacts>
|
|
34
|
-
Canonical persistent storage lives under `.
|
|
34
|
+
Canonical persistent storage lives under `.omcp/autoresearch/<mission-slug>/` and/or `.omcp/logs/autoresearch/<run-id>/`.
|
|
35
35
|
|
|
36
36
|
Minimum required artifacts:
|
|
37
37
|
- mission spec
|
|
@@ -41,7 +41,7 @@ Minimum required artifacts:
|
|
|
41
41
|
|
|
42
42
|
Recommended canonical shape:
|
|
43
43
|
```text
|
|
44
|
-
.
|
|
44
|
+
.omcp/autoresearch/<mission-slug>/
|
|
45
45
|
mission.md
|
|
46
46
|
evaluator.json
|
|
47
47
|
runs/<run-id>/
|
|
@@ -83,7 +83,7 @@ If cron is used:
|
|
|
83
83
|
</Cron_Integration>
|
|
84
84
|
|
|
85
85
|
<Execution_Policy>
|
|
86
|
-
- Do not hand execution back to `
|
|
86
|
+
- Do not hand execution back to `omc autoresearch`
|
|
87
87
|
- Do not create multi-mission orchestration
|
|
88
88
|
- Prefer reusing `src/autoresearch/*` runtime/schema helpers where they already match the stricter contract
|
|
89
89
|
- Keep logs useful to humans, not only machines
|