oh-my-copilot 5.19.2 → 5.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +70 -67
- package/agents/planner.md +4 -4
- package/bin/oh-my-copilot.js +5 -1
- package/bridge/claude-md-coordinator.cjs +2 -2
- package/bridge/cli.cjs +3043 -2635
- package/bridge/mcp-server.cjs +969 -867
- package/bridge/runtime-cli.cjs +244 -184
- package/bridge/team-bridge.cjs +17 -1
- package/bridge/team-mcp.cjs +208 -140
- package/bridge/team.js +73 -13
- package/copilot/agents/planner.md +4 -4
- package/dist/__tests__/ci-evidence.test.d.ts +2 -0
- package/dist/__tests__/ci-evidence.test.d.ts.map +1 -0
- package/dist/__tests__/ci-evidence.test.js +210 -0
- package/dist/__tests__/ci-evidence.test.js.map +1 -0
- package/dist/__tests__/copilot-hooks-manifest.test.js +1 -0
- package/dist/__tests__/copilot-hooks-manifest.test.js.map +1 -1
- package/dist/__tests__/doctor-conflicts.test.js +6 -5
- package/dist/__tests__/doctor-conflicts.test.js.map +1 -1
- package/dist/__tests__/hud/cli-diagnostic.test.js +4 -3
- package/dist/__tests__/hud/cli-diagnostic.test.js.map +1 -1
- package/dist/__tests__/mnemosyne/detector.test.js +3 -2
- package/dist/__tests__/mnemosyne/detector.test.js.map +1 -1
- package/dist/__tests__/run-cjs-windows-stdio-contract.test.js +50 -10
- package/dist/__tests__/run-cjs-windows-stdio-contract.test.js.map +1 -1
- package/dist/__tests__/session-end-process-exit.test.js +15 -5
- package/dist/__tests__/session-end-process-exit.test.js.map +1 -1
- package/dist/__tests__/session-start-script-context.test.js +1 -1
- package/dist/__tests__/session-start-script-context.test.js.map +1 -1
- package/dist/__tests__/setup/stub-skill-list-probe.d.ts +2 -0
- package/dist/__tests__/setup/stub-skill-list-probe.d.ts.map +1 -0
- package/dist/__tests__/setup/stub-skill-list-probe.js +11 -0
- package/dist/__tests__/setup/stub-skill-list-probe.js.map +1 -0
- package/dist/__tests__/setup-claude-md-script.test.js +7 -4
- package/dist/__tests__/setup-claude-md-script.test.js.map +1 -1
- package/dist/__tests__/setup-config-script.test.d.ts +2 -0
- package/dist/__tests__/setup-config-script.test.d.ts.map +1 -0
- package/dist/__tests__/setup-config-script.test.js +350 -0
- package/dist/__tests__/setup-config-script.test.js.map +1 -0
- package/dist/__tests__/shipyard-seed-locale.test.js +1 -1
- package/dist/__tests__/shipyard-seed-locale.test.js.map +1 -1
- package/dist/__tests__/shipyard-skills.test.js +9 -9
- package/dist/__tests__/shipyard-skills.test.js.map +1 -1
- package/dist/__tests__/tier0-docs-consistency.test.js +5 -5
- package/dist/__tests__/tier0-docs-consistency.test.js.map +1 -1
- package/dist/__tests__/trusted-publishing-contract.test.js +56 -7
- package/dist/__tests__/trusted-publishing-contract.test.js.map +1 -1
- package/dist/__tests__/visual-verdict-skill.test.js +1 -1
- package/dist/__tests__/visual-verdict-skill.test.js.map +1 -1
- package/dist/cli/__tests__/autoresearch.test.js +3 -2
- package/dist/cli/__tests__/autoresearch.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 +2 -1
- package/dist/cli/autoresearch.js.map +1 -1
- package/dist/cli/commands/__tests__/factory-init.test.js +2 -1
- package/dist/cli/commands/__tests__/factory-init.test.js.map +1 -1
- package/dist/cli/commands/__tests__/intake.test.js +26 -4
- package/dist/cli/commands/__tests__/intake.test.js.map +1 -1
- package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -1
- package/dist/cli/commands/doctor-conflicts.js +5 -4
- package/dist/cli/commands/doctor-conflicts.js.map +1 -1
- package/dist/cli/commands/factory.d.ts.map +1 -1
- package/dist/cli/commands/factory.js +4 -3
- package/dist/cli/commands/factory.js.map +1 -1
- package/dist/cli/commands/intake.d.ts.map +1 -1
- package/dist/cli/commands/intake.js +13 -4
- package/dist/cli/commands/intake.js.map +1 -1
- package/dist/cli/commands/release.d.ts.map +1 -1
- package/dist/cli/commands/release.js +11 -2
- package/dist/cli/commands/release.js.map +1 -1
- package/dist/cli/commands/ship.d.ts +1 -1
- package/dist/cli/commands/ship.js +1 -1
- package/dist/copilot-run/job.d.ts.map +1 -1
- package/dist/copilot-run/job.js +4 -1
- package/dist/copilot-run/job.js.map +1 -1
- package/dist/copilot-run/sandbox.d.ts +2 -7
- package/dist/copilot-run/sandbox.d.ts.map +1 -1
- package/dist/copilot-run/sandbox.js +2 -26
- package/dist/copilot-run/sandbox.js.map +1 -1
- package/dist/factory/__tests__/listener.test.js +22 -4
- package/dist/factory/__tests__/listener.test.js.map +1 -1
- package/dist/factory/listener.d.ts +2 -2
- package/dist/factory/listener.d.ts.map +1 -1
- package/dist/factory/listener.js +20 -5
- package/dist/factory/listener.js.map +1 -1
- package/dist/factory/run/__tests__/prepare-gates.test.js +7 -1
- package/dist/factory/run/__tests__/prepare-gates.test.js.map +1 -1
- package/dist/factory/run/engine.d.ts.map +1 -1
- package/dist/factory/run/engine.js +1 -0
- package/dist/factory/run/engine.js.map +1 -1
- package/dist/features/continuation-enforcement.d.ts.map +1 -1
- package/dist/features/continuation-enforcement.js +2 -1
- package/dist/features/continuation-enforcement.js.map +1 -1
- package/dist/features/lookout/__tests__/lookout.test.js +9 -6
- package/dist/features/lookout/__tests__/lookout.test.js.map +1 -1
- package/dist/forge/__tests__/gh-argv-baseline.factory.test.js +7 -1
- package/dist/forge/__tests__/gh-argv-baseline.factory.test.js.map +1 -1
- package/dist/hooks/__tests__/bridge.test.js +10 -2
- package/dist/hooks/__tests__/bridge.test.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.js +2 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +1 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.d.ts.map +1 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.js +3 -2
- package/dist/hooks/autopilot/adapters/execution-adapter.js.map +1 -1
- package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts.map +1 -1
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js +2 -1
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js.map +1 -1
- package/dist/hooks/learner/detector.d.ts.map +1 -1
- package/dist/hooks/learner/detector.js +2 -6
- package/dist/hooks/learner/detector.js.map +1 -1
- package/dist/hooks/mode-registry/index.d.ts.map +1 -1
- package/dist/hooks/mode-registry/index.js +2 -1
- package/dist/hooks/mode-registry/index.js.map +1 -1
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js +7 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js.map +1 -1
- 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 +6 -5
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/persistent-mode/session-isolation.test.js +23 -14
- package/dist/hooks/persistent-mode/session-isolation.test.js.map +1 -1
- package/dist/hooks/ralph/loop.d.ts +1 -1
- package/dist/hooks/ralph/loop.js +1 -1
- package/dist/hooks/ralph/prd.d.ts.map +1 -1
- package/dist/hooks/ralph/prd.js +2 -1
- package/dist/hooks/ralph/prd.js.map +1 -1
- package/dist/hooks/ralph/stale-prd.d.ts +2 -2
- package/dist/hooks/ralph/stale-prd.js +3 -3
- package/dist/hooks/ralph/stale-prd.js.map +1 -1
- package/dist/hooks/ralph/verifier.d.ts +1 -1
- package/dist/hooks/ralph/verifier.d.ts.map +1 -1
- package/dist/hooks/ralph/verifier.js +4 -3
- package/dist/hooks/ralph/verifier.js.map +1 -1
- package/dist/hooks/session-end/__tests__/spawn-next.test.js +31 -4
- package/dist/hooks/session-end/__tests__/spawn-next.test.js.map +1 -1
- package/dist/hooks/session-end/spawn-next.d.ts +6 -3
- package/dist/hooks/session-end/spawn-next.d.ts.map +1 -1
- package/dist/hooks/session-end/spawn-next.js +19 -6
- package/dist/hooks/session-end/spawn-next.js.map +1 -1
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +3 -2
- package/dist/hud/index.js.map +1 -1
- package/dist/installer/__tests__/hook-templates.test.js +3 -1
- package/dist/installer/__tests__/hook-templates.test.js.map +1 -1
- package/dist/installer/__tests__/session-start-template.test.js +16 -8
- package/dist/installer/__tests__/session-start-template.test.js.map +1 -1
- package/dist/installer/hooks.d.ts +1 -1
- package/dist/installer/hooks.d.ts.map +1 -1
- package/dist/installer/hooks.js +2 -1
- package/dist/installer/hooks.js.map +1 -1
- package/dist/release/__tests__/checks.test.js +39 -1
- package/dist/release/__tests__/checks.test.js.map +1 -1
- package/dist/release/__tests__/engine.test.js +236 -3
- package/dist/release/__tests__/engine.test.js.map +1 -1
- package/dist/release/checks.d.ts +18 -1
- package/dist/release/checks.d.ts.map +1 -1
- package/dist/release/checks.js +40 -1
- package/dist/release/checks.js.map +1 -1
- package/dist/release/engine.d.ts +14 -2
- package/dist/release/engine.d.ts.map +1 -1
- package/dist/release/engine.js +211 -44
- package/dist/release/engine.js.map +1 -1
- package/dist/ship/__tests__/exec-env.test.d.ts +2 -0
- package/dist/ship/__tests__/exec-env.test.d.ts.map +1 -0
- package/dist/ship/__tests__/exec-env.test.js +26 -0
- package/dist/ship/__tests__/exec-env.test.js.map +1 -0
- package/dist/ship/__tests__/exec-plant.test.d.ts +2 -0
- package/dist/ship/__tests__/exec-plant.test.d.ts.map +1 -0
- package/dist/ship/__tests__/exec-plant.test.js +34 -0
- package/dist/ship/__tests__/exec-plant.test.js.map +1 -0
- package/dist/ship/__tests__/gates.test.js +35 -0
- package/dist/ship/__tests__/gates.test.js.map +1 -1
- package/dist/ship/__tests__/workflow-checks.test.js +34 -5
- package/dist/ship/__tests__/workflow-checks.test.js.map +1 -1
- package/dist/ship/config.js +3 -3
- package/dist/ship/config.js.map +1 -1
- package/dist/ship/exec.d.ts.map +1 -1
- package/dist/ship/exec.js +10 -2
- package/dist/ship/exec.js.map +1 -1
- package/dist/ship/gates.d.ts.map +1 -1
- package/dist/ship/gates.js +3 -1
- package/dist/ship/gates.js.map +1 -1
- package/dist/skills/__tests__/mingw-escape.test.js +0 -35
- package/dist/skills/__tests__/mingw-escape.test.js.map +1 -1
- package/dist/skills/__tests__/omc-setup-optout.test.js +4 -3
- package/dist/skills/__tests__/omc-setup-optout.test.js.map +1 -1
- package/dist/smoke/__tests__/copilot-factory-run-scenario.test.js +7 -1
- package/dist/smoke/__tests__/copilot-factory-run-scenario.test.js.map +1 -1
- package/dist/smoke/__tests__/copilot-sdk-driver.test.js +2 -2
- package/dist/smoke/__tests__/copilot-sdk-driver.test.js.map +1 -1
- package/dist/smoke/copilot-sdk-scenarios.d.ts.map +1 -1
- package/dist/smoke/copilot-sdk-scenarios.js +2 -1
- package/dist/smoke/copilot-sdk-scenarios.js.map +1 -1
- package/dist/team/__tests__/git-worktree.test.js +10 -1
- package/dist/team/__tests__/git-worktree.test.js.map +1 -1
- package/dist/team/__tests__/runtime-cli.test.js +4 -4
- package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +16 -2
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/worker-launch-ack.test.js +14 -0
- package/dist/team/__tests__/worker-launch-ack.test.js.map +1 -1
- package/dist/team/git-worktree.d.ts.map +1 -1
- package/dist/team/git-worktree.js +13 -5
- package/dist/team/git-worktree.js.map +1 -1
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +8 -6
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/ultragoal/goal-record.d.ts.map +1 -1
- package/dist/ultragoal/goal-record.js +2 -1
- package/dist/ultragoal/goal-record.js.map +1 -1
- package/dist/utils/__tests__/skill-slash.test.d.ts +2 -0
- package/dist/utils/__tests__/skill-slash.test.d.ts.map +1 -0
- package/dist/utils/__tests__/skill-slash.test.js +307 -0
- package/dist/utils/__tests__/skill-slash.test.js.map +1 -0
- package/dist/utils/__tests__/windows-search.test.d.ts +2 -0
- package/dist/utils/__tests__/windows-search.test.d.ts.map +1 -0
- package/dist/utils/__tests__/windows-search.test.js +154 -0
- package/dist/utils/__tests__/windows-search.test.js.map +1 -0
- package/dist/utils/skill-registry.d.ts +51 -0
- package/dist/utils/skill-registry.d.ts.map +1 -0
- package/dist/utils/skill-registry.js +168 -0
- package/dist/utils/skill-registry.js.map +1 -0
- package/dist/utils/skill-slash.d.ts +18 -0
- package/dist/utils/skill-slash.d.ts.map +1 -0
- package/dist/utils/skill-slash.js +20 -0
- package/dist/utils/skill-slash.js.map +1 -0
- package/dist/utils/windows-search.d.ts +42 -0
- package/dist/utils/windows-search.d.ts.map +1 -0
- package/dist/utils/windows-search.js +94 -0
- package/dist/utils/windows-search.js.map +1 -0
- package/docs/ARCHITECTURE.md +29 -29
- package/docs/CLAUDE.md +4 -4
- package/docs/FIELD-TESTING.md +563 -0
- package/docs/GETTING-STARTED.md +11 -11
- package/docs/HOOKS.md +8 -8
- package/docs/MIGRATION.md +100 -100
- package/docs/PERFORMANCE-MONITORING.md +2 -2
- package/docs/REFERENCE.md +131 -131
- package/docs/TOOLS.md +1 -1
- package/docs/cancel-skill-active-state-gap.md +2 -2
- package/docs/copilot-instructions.md +3 -3
- package/docs/design/P2-RUN-LEDGER-AND-INTAKE-PLAN.md +1 -1
- package/docs/design/project-session-manager.md +1 -1
- package/docs/field-testing-first-prompt.md +36 -0
- package/docs/shared/features.md +5 -5
- package/docs/shipyard.md +8 -8
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/scripts/build-workflow-stage-prompts.mjs +15 -6
- package/scripts/ci/duration-sequencer.mjs +69 -0
- package/scripts/ci/durations-reporter.mjs +34 -0
- package/scripts/ci/tree-reuse.mjs +166 -0
- package/scripts/ci/update-test-durations.mjs +62 -0
- package/scripts/copilot/dispatch.cjs +3 -0
- package/scripts/find-node.sh +1 -1
- package/scripts/keyword-detector.mjs +5 -4
- package/scripts/lib/copilot-hook-adapter.cjs +3 -0
- package/scripts/lib/hud-wrapper-template.txt +2 -2
- package/scripts/lib/skill-slash.mjs +11 -0
- package/scripts/lib/windows-search.cjs +40 -0
- package/scripts/lib/windows-search.mjs +7 -0
- package/scripts/lib/workflow-stage-prompts.mjs +6 -2
- package/scripts/persistent-mode.cjs +11 -10
- package/scripts/persistent-mode.mjs +16 -11
- package/scripts/plugin-shipping-surface.mjs +1 -0
- package/scripts/pre-tool-enforcer.mjs +1 -1
- package/scripts/session-start.mjs +3 -3
- package/scripts/setup-claude-md.mjs +3 -0
- package/scripts/setup-config.mjs +420 -0
- package/scripts/setup-progress.mjs +3 -0
- package/scripts/shipyard-audit.mjs +2 -1
- package/scripts/stale-run-reporter.mjs +2 -1
- package/skills/AGENTS.md +4 -4
- package/skills/ai-slop-cleaner/SKILL.md +3 -3
- package/skills/ask/SKILL.md +7 -7
- package/skills/ask-navigator/SKILL.md +11 -11
- package/skills/autopilot/SKILL.md +5 -5
- package/skills/cancel/SKILL.md +5 -5
- package/skills/configure-notifications/SKILL.md +10 -10
- package/skills/critique/SKILL.md +1 -1
- package/skills/discover/SKILL.md +1 -1
- package/skills/drydock/SKILL.md +5 -5
- package/skills/external-context/SKILL.md +4 -4
- package/skills/graph/SKILL.md +2 -2
- package/skills/harbor/SKILL.md +7 -7
- package/skills/hud/SKILL.md +10 -10
- package/skills/intent/SKILL.md +1 -1
- package/skills/launch/SKILL.md +13 -13
- package/skills/loft/SKILL.md +2 -2
- package/skills/map/SKILL.md +1 -1
- package/skills/omc-ado-auto-review/SKILL.md +2 -2
- package/skills/omc-ado-review/SKILL.md +2 -2
- package/skills/omc-ado-setup/SKILL.md +1 -1
- package/skills/omc-ado-sprint/SKILL.md +2 -2
- package/skills/omc-ado-triage/SKILL.md +2 -2
- package/skills/omc-doctor/SKILL.md +1 -1
- package/skills/omc-gh-auto-review/SKILL.md +2 -2
- package/skills/omc-gh-project/SKILL.md +2 -2
- package/skills/omc-gh-review/SKILL.md +2 -2
- package/skills/omc-gh-setup/SKILL.md +2 -2
- package/skills/omc-gh-triage/SKILL.md +3 -3
- package/skills/omc-setup/SKILL.md +16 -14
- package/skills/omc-setup/phases/01-install-claude-md.md +1 -18
- package/skills/omc-setup/phases/02-configure.md +10 -30
- package/skills/omc-setup/phases/03-integrations.md +5 -5
- package/skills/omc-setup/phases/04-welcome.md +7 -7
- package/skills/plan/SKILL.md +1 -1
- package/skills/project-session-manager/SKILL.md +1 -1
- package/skills/ralph/SKILL.md +6 -6
- package/skills/ralph-experiment/SKILL.md +3 -3
- package/skills/ralplan/SKILL.md +4 -4
- package/skills/release/SKILL.md +1 -1
- package/skills/self-improve/SKILL.md +1 -1
- package/skills/skill/SKILL.md +12 -12
- package/skills/team/SKILL.md +8 -8
- package/skills/trace/SKILL.md +1 -1
- package/skills/visual-verdict/SKILL.md +1 -1
- package/templates/hooks/keyword-detector.mjs +4 -4
- package/templates/hooks/lib/workflow-stage-prompts.mjs +6 -2
- package/templates/hooks/persistent-mode.mjs +12 -8
- package/templates/hooks/session-start.mjs +1 -1
- package/bridge/__pycache__/gyoshu_bridge.cpython-314.pyc +0 -0
|
@@ -32,7 +32,7 @@ Extract from the `github` key:
|
|
|
32
32
|
- `owner` — GitHub owner (org or user)
|
|
33
33
|
- `repo` — repository name
|
|
34
34
|
|
|
35
|
-
If config is NOT_FOUND or missing the `github` key: tell the user to run `/
|
|
35
|
+
If config is NOT_FOUND or missing the `github` key: tell the user to run `/omc-gh-setup` first and stop.
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -229,7 +229,7 @@ gh pr edit {prNumber} --repo {owner}/{repo} --add-label "{label}" 2>&1
|
|
|
229
229
|
|
|
230
230
|
| Error | Action |
|
|
231
231
|
|-------|--------|
|
|
232
|
-
| `.omg/config.json` missing | Tell user to run `/
|
|
232
|
+
| `.omg/config.json` missing | Tell user to run `/omc-gh-setup` first |
|
|
233
233
|
| `gh auth` required | Prompt user to authenticate; stop execution |
|
|
234
234
|
| PR not found | Verify PR number and that the repository in config matches |
|
|
235
235
|
| No permission to review | User may need write access to the repo |
|
|
@@ -194,8 +194,8 @@ Triage Label : {labelTriage or "none"}
|
|
|
194
194
|
Config file : .omg/config.json
|
|
195
195
|
|
|
196
196
|
Next steps:
|
|
197
|
-
/
|
|
198
|
-
/
|
|
197
|
+
/omc-gh-triage — run a full triage of issues, PRs, and CI
|
|
198
|
+
/omc-gh-review — review open pull requests
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
---
|
|
@@ -34,7 +34,7 @@ Extract from the `github` key:
|
|
|
34
34
|
- `defaultBranch` — default branch name
|
|
35
35
|
- `labelTriage` — triage label filter (optional)
|
|
36
36
|
|
|
37
|
-
If config is NOT_FOUND or missing the `github` key: tell the user to run `/
|
|
37
|
+
If config is NOT_FOUND or missing the `github` key: tell the user to run `/omc-gh-setup` first and stop.
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
@@ -163,7 +163,7 @@ After presenting the summary, ask the user (via AskUserQuestion):
|
|
|
163
163
|
1. Fix failing CI — delegate to `build-fixer` agent
|
|
164
164
|
2. Address PR feedback — open the PR diff and summarize changes needed
|
|
165
165
|
3. Triage issues — walk through untriaged issues one by one
|
|
166
|
-
4. Review a PR — delegate to `/
|
|
166
|
+
4. Review a PR — delegate to `/omc-gh-review`
|
|
167
167
|
5. Show details for a specific item — enter issue or PR number
|
|
168
168
|
6. No action needed — exit triage
|
|
169
169
|
|
|
@@ -173,7 +173,7 @@ After presenting the summary, ask the user (via AskUserQuestion):
|
|
|
173
173
|
|
|
174
174
|
| Error | Action |
|
|
175
175
|
|-------|--------|
|
|
176
|
-
| `.omg/config.json` missing | Tell user to run `/
|
|
176
|
+
| `.omg/config.json` missing | Tell user to run `/omc-gh-setup` first |
|
|
177
177
|
| `gh auth` required | Prompt user to authenticate; do not abort — skip that section |
|
|
178
178
|
| Dependabot not enabled | Skip security alerts section, note it in summary |
|
|
179
179
|
| Query returns 0 results | Show the section with count "(0)" — do not omit the header |
|
|
@@ -37,11 +37,11 @@ When user runs with `--help`, display this and stop:
|
|
|
37
37
|
OMC Setup - Configure oh-my-copilot
|
|
38
38
|
|
|
39
39
|
USAGE:
|
|
40
|
-
/
|
|
41
|
-
/
|
|
42
|
-
/
|
|
43
|
-
/
|
|
44
|
-
/
|
|
40
|
+
/omc-setup Run initial setup wizard (or update if already configured)
|
|
41
|
+
/omc-setup --local Configure local project (.claude/CLAUDE.md)
|
|
42
|
+
/omc-setup --global Configure global settings (~/.claude/CLAUDE.md)
|
|
43
|
+
/omc-setup --force Force full setup wizard even if already configured
|
|
44
|
+
/omc-setup --help Show this help
|
|
45
45
|
|
|
46
46
|
MODES:
|
|
47
47
|
Initial Setup (no flags)
|
|
@@ -74,10 +74,10 @@ MODES:
|
|
|
74
74
|
- Use when you want to reconfigure preferences
|
|
75
75
|
|
|
76
76
|
EXAMPLES:
|
|
77
|
-
/
|
|
78
|
-
/
|
|
79
|
-
/
|
|
80
|
-
/
|
|
77
|
+
/omc-setup # First time setup (or update CLAUDE.md if configured)
|
|
78
|
+
/omc-setup --local # Update this project
|
|
79
|
+
/omc-setup --global # Update all projects
|
|
80
|
+
/omc-setup --force # Re-run full setup wizard
|
|
81
81
|
|
|
82
82
|
For more info: https://github.com/RobinNorberg/oh-my-copilot
|
|
83
83
|
```
|
|
@@ -100,9 +100,11 @@ The script is the sole cache resolver. It accepts only complete plugin roots (ca
|
|
|
100
100
|
**CRITICAL**: Before doing anything else, check if setup has already been completed. This prevents users from having to re-run the full setup wizard after every update.
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
node
|
|
103
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" configured
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
All setup checks and config writes run through `scripts/setup-config.mjs` subcommands, never inline interpreter code, so setup also works on hosts that block inline interpreter execution.
|
|
107
|
+
|
|
106
108
|
Treat `ALREADY_CONFIGURED=true` in the output as the configured case. A non-zero exit
|
|
107
109
|
means the existing config could not be parsed; stop and report that rather than
|
|
108
110
|
overwriting it.
|
|
@@ -184,13 +186,13 @@ Execute phases sequentially. For each phase, read the corresponding file and fol
|
|
|
184
186
|
|
|
185
187
|
After installing oh-my-copilot updates (via npm or plugin update):
|
|
186
188
|
|
|
187
|
-
**Automatic**: Just run `/
|
|
189
|
+
**Automatic**: Just run `/omc-setup` - it will detect you've already configured and offer a quick "Update CLAUDE.md and clear retired setup values" option that skips the rest of the wizard.
|
|
188
190
|
|
|
189
191
|
The quick update path must still perform Phase 2 Step 2.4 so upgrades remove the retired `defaultExecutionMode` value; it must not write any replacement execution-mode setting.
|
|
190
192
|
|
|
191
193
|
**Manual options**:
|
|
192
|
-
- `/
|
|
193
|
-
- `/
|
|
194
|
-
- `/
|
|
194
|
+
- `/omc-setup --local` to update project config only
|
|
195
|
+
- `/omc-setup --global` to update global config only
|
|
196
|
+
- `/omc-setup --force` to re-run the full wizard (reconfigure preferences)
|
|
195
197
|
|
|
196
198
|
This ensures you have the newest features and agent configurations without the token cost of repeating the full setup.
|
|
@@ -20,24 +20,7 @@ Set `CONFIG_TARGET` to `local` or `global` based on the user's choice.
|
|
|
20
20
|
Only when `CONFIG_TARGET=global`, run this probe before any overwrite/preserve question. It checks the same `.omc-config.json` used by the installer and respects `COPILOT_HOME`, including `~`, `~/...`, and `~\...` values:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
node -
|
|
24
|
-
const fs = require('node:fs');
|
|
25
|
-
const os = require('node:os');
|
|
26
|
-
const path = require('node:path');
|
|
27
|
-
let configDir = (process.env.COPILOT_HOME || '').trim();
|
|
28
|
-
if (configDir === '') configDir = path.join(os.homedir(), '.copilot');
|
|
29
|
-
if (configDir === '~') configDir = os.homedir();
|
|
30
|
-
else if (configDir.startsWith('~/') || configDir.startsWith('~' + String.fromCharCode(92))) {
|
|
31
|
-
configDir = path.join(os.homedir(), configDir.slice(2));
|
|
32
|
-
}
|
|
33
|
-
try {
|
|
34
|
-
const config = JSON.parse(fs.readFileSync(path.join(configDir, '.omc-config.json'), 'utf8'));
|
|
35
|
-
const disabled = Boolean(config && typeof config === 'object' && config.claudeMdEnabled === false);
|
|
36
|
-
console.log(disabled ? 'disabled' : 'enabled');
|
|
37
|
-
} catch {
|
|
38
|
-
console.log('enabled');
|
|
39
|
-
}
|
|
40
|
-
"
|
|
23
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" claude-md-enabled
|
|
41
24
|
```
|
|
42
25
|
|
|
43
26
|
If the probe prints `disabled`, do not ask the overwrite/preserve question; set `GLOBAL_INSTALL_STYLE=overwrite` and continue through the coordinator so it can report the skip. If it prints `enabled`, continue below. If the probe fails or prints neither status, stop before asking or running setup; do not assume management is enabled.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Capture the original progress marker once when Phase 2 starts. A resumed run that enters at Step 2.4 must not repeat the completed Steps 2.5/2.6 prompts or overwrite a higher progress marker:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
node
|
|
10
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" resume-boundary
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Step 2.0: Check Ralph Runtime Prerequisites
|
|
@@ -16,7 +16,7 @@ Ralph is an agent-driven persistence loop with no external language dependency.
|
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
node --version || echo "ERROR: Node is required for OMC hooks and Ralph state persistence."
|
|
19
|
-
node
|
|
19
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" probe-write
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Step 2.1: Setup HUD Statusline
|
|
@@ -54,29 +54,10 @@ node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/repair-plugin-cach
|
|
|
54
54
|
Notify user if a newer version is available:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
|
|
58
|
-
node -e "
|
|
59
|
-
const p=require('path'),f=require('fs'),h=require('os').homedir();
|
|
60
|
-
const raw=process.env.COPILOT_HOME?.trim();
|
|
61
|
-
const d=raw==null||raw===''? p.join(h,'.claude'):raw==='~'?h:raw.startsWith('~/')||raw.startsWith('~\\\\')?p.join(h,raw.slice(2)):raw;
|
|
62
|
-
let v='';
|
|
63
|
-
// Try cache directory first
|
|
64
|
-
const b=p.join(d,'plugins','cache','omc','oh-my-copilot');
|
|
65
|
-
try{const vs=f.readdirSync(b).filter(x=>/^\d/.test(x)).sort((a,c)=>a.localeCompare(c,void 0,{numeric:true}));if(vs.length)v=vs[vs.length-1]}catch{}
|
|
66
|
-
// Try .omc-version.json second
|
|
67
|
-
if(v==='')try{const j=JSON.parse(f.readFileSync('.omc-version.json','utf-8'));v=j.version||''}catch{}
|
|
68
|
-
// Try CLAUDE.md header third
|
|
69
|
-
if(v==='')for(const c of['.claude/CLAUDE.md',p.join(d,'CLAUDE.md')]){try{const m=f.readFileSync(c,'utf-8').match(/^# oh-my-copilot.*?(v?\d+\.\d+\.\d+)/m);if(m){v=m[1].replace(/^v/,'');break}}catch{}}
|
|
70
|
-
console.log('Installed:',v||'(not found)');
|
|
71
|
-
"
|
|
57
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" update-check
|
|
72
58
|
```
|
|
73
59
|
|
|
74
|
-
|
|
75
|
-
as the argument:
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
node -e "const{spawnSync}=require('node:child_process');const installed=(process.argv[1]||'').trim();const r=spawnSync('npm',['view','oh-my-copilot','version'],{encoding:'utf8',shell:process.platform==='win32'});const latest=r.status===0?(r.stdout||'').trim():'';if(installed&&latest){if(installed===latest){console.log('You are on the latest version: v'+installed)}else{console.log('UPDATE AVAILABLE:');console.log(' Installed: v'+installed);console.log(' Latest: v'+latest);console.log('To update, run: claude /install-plugin oh-my-copilot')}}else if(latest){console.log('Latest version available: v'+latest)}else{console.log('Latest version: (unavailable)')}" "INSTALLED_VERSION"
|
|
79
|
-
```
|
|
60
|
+
It detects the installed version (plugin cache, then `.omc-version.json`, then the `CLAUDE.md` header) and compares it against the published version.
|
|
80
61
|
|
|
81
62
|
## Step 2.4: Clear Retired Setup Values
|
|
82
63
|
|
|
@@ -85,10 +66,10 @@ The `ultrawork` workflow was removed in 5.0.0 and the `defaultExecutionMode` con
|
|
|
85
66
|
The write goes through a temp file, so a failure leaves the existing config untouched:
|
|
86
67
|
|
|
87
68
|
```bash
|
|
88
|
-
node
|
|
69
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" clear-retired
|
|
89
70
|
```
|
|
90
71
|
|
|
91
|
-
**Note:** Never write a new `defaultExecutionMode` value. Generic keywords no longer route through a configured execution mode; invoke `/
|
|
72
|
+
**Note:** Never write a new `defaultExecutionMode` value. Generic keywords no longer route through a configured execution mode; invoke `/execute` or `/team` directly instead.
|
|
92
73
|
|
|
93
74
|
**Resume-only boundary:** If `RESUMED_PHASE_TWO_BOUNDARY` is `true`, stop Phase 2 after this cleanup. Do not execute Steps 2.5 or 2.6, do not prompt for task-tool or team settings again, and do not save a new progress value. Return to the setup orchestrator with the original `RESUME_LAST_COMPLETED_STEP` unchanged.
|
|
94
75
|
|
|
@@ -99,7 +80,7 @@ The OMC CLI (`omg` command) provides standalone helper commands such as `omg hud
|
|
|
99
80
|
First, check if the CLI is already installed:
|
|
100
81
|
|
|
101
82
|
```bash
|
|
102
|
-
node
|
|
83
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" cli-installed
|
|
103
84
|
```
|
|
104
85
|
|
|
105
86
|
If `OMC_CLI_INSTALLED` is `"true"`, skip the rest of this step.
|
|
@@ -115,7 +96,7 @@ If `OMC_CLI_INSTALLED` is `"false"`, use AskUserQuestion:
|
|
|
115
96
|
If user chooses **Yes**:
|
|
116
97
|
|
|
117
98
|
```bash
|
|
118
|
-
node
|
|
99
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" install-cli
|
|
119
100
|
```
|
|
120
101
|
|
|
121
102
|
**Note**: The CLI is optional. All core functionality is also available through the plugin system.
|
|
@@ -125,8 +106,7 @@ node -e "const{spawnSync}=require('node:child_process');const sh=process.platfor
|
|
|
125
106
|
First, detect available task tools:
|
|
126
107
|
|
|
127
108
|
```bash
|
|
128
|
-
node
|
|
129
|
-
fi
|
|
109
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" detect-task-tools
|
|
130
110
|
```
|
|
131
111
|
|
|
132
112
|
If **neither** beads nor beads-rust is detected, skip this step (default to built-in).
|
|
@@ -148,7 +128,7 @@ Pass the user's selection (`builtin`, `beads`, or `beads-rust`) as the argument.
|
|
|
148
128
|
goes through a temp file, so a failure leaves the existing config untouched:
|
|
149
129
|
|
|
150
130
|
```bash
|
|
151
|
-
node
|
|
131
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" set-task-tool "USER_CHOICE"
|
|
152
132
|
```
|
|
153
133
|
|
|
154
134
|
**Note:** The beads context instructions will be injected automatically on the next session start.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
## Step 3.1: Verify Plugin Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
node
|
|
8
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" plugin-verify
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Step 3.2: MCP Server Configuration (Pointer Only)
|
|
@@ -43,7 +43,7 @@ Use AskUserQuestion:
|
|
|
43
43
|
First, read the current settings.json:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
node
|
|
46
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" show-settings
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Then use the Read tool to read `${COPILOT_HOME:-~/.copilot}/settings.json` (if it exists). Use the Edit tool to merge the teams configuration while preserving ALL existing settings.
|
|
@@ -55,7 +55,7 @@ refuses to touch a file it cannot parse. It runs unchanged in bash, zsh, and Pow
|
|
|
55
55
|
with no external JSON tooling, no heredoc, and no shell redirection:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
node
|
|
58
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" merge-json "settings.json" "{\"env\":{\"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS\":\"1\"}}"
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
**IMPORTANT**: The Edit tool is preferred for modifying settings.json when possible, since it preserves formatting and comments. The merge command above is the fallback for when the file needs structural merging.
|
|
@@ -118,7 +118,7 @@ teammates inherit your session model.
|
|
|
118
118
|
After all modifications, verify settings.json is valid JSON and contains the expected keys:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
node
|
|
121
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" verify-settings
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
### If User Chooses NO:
|
|
@@ -132,7 +132,7 @@ Skip this step. Agent teams will remain disabled. User can enable later by addin
|
|
|
132
132
|
}
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
Or by running `/
|
|
135
|
+
Or by running `/omc-setup --force` and choosing to enable teams.
|
|
136
136
|
|
|
137
137
|
## Save Progress
|
|
138
138
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Check if user has existing 2.x configuration:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
node -
|
|
8
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" detect-upgrade
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
If found, this is an upgrade from 2.x. Set `IS_UPGRADE=true`.
|
|
@@ -39,14 +39,14 @@ Just include these words naturally in your request:
|
|
|
39
39
|
| cancelomc | Stop active OMC modes | "cancelomc" |
|
|
40
40
|
|
|
41
41
|
CANONICAL WORKFLOWS (Tier-0):
|
|
42
|
-
omc-plan -> execute -> omc-review -> verify, invoked as /
|
|
42
|
+
omc-plan -> execute -> omc-review -> verify, invoked as /omc-plan and /omc-review.
|
|
43
43
|
/deep-interview and /ralplan are independent planning workflows.
|
|
44
44
|
/research and /team are internal lanes; /autopilot, /autoresearch, /ralph, /ultragoal stay directly invocable.
|
|
45
45
|
|
|
46
46
|
TEAMS:
|
|
47
47
|
Spawn coordinated agents with shared task lists and real-time messaging:
|
|
48
|
-
- /
|
|
49
|
-
- /
|
|
48
|
+
- /team 3:executor "fix all TypeScript errors"
|
|
49
|
+
- /team 5:debugger "fix build errors in src/"
|
|
50
50
|
Teams use Claude Code's implicit agent team (spawn teammates directly with distinct `name` values; no TeamCreate/TeamDelete in Claude Code 2.1.178+). Team orchestration is explicit via /team — there is no bare "team" keyword.
|
|
51
51
|
|
|
52
52
|
MCP SERVERS:
|
|
@@ -100,7 +100,7 @@ MAGIC KEYWORDS (power-user shortcuts):
|
|
|
100
100
|
|
|
101
101
|
TEAMS (NEW!):
|
|
102
102
|
Spawn coordinated agents with shared task lists and real-time messaging:
|
|
103
|
-
- /
|
|
103
|
+
- /team 3:executor "fix all TypeScript errors"
|
|
104
104
|
- Uses Claude Code's implicit agent team (spawn teammates directly with distinct `name` values; no TeamCreate/TeamDelete in Claude Code 2.1.178+)
|
|
105
105
|
|
|
106
106
|
HUD STATUSLINE:
|
|
@@ -130,7 +130,7 @@ OMC includes rule templates you can copy to your project's `.claude/rules/` dire
|
|
|
130
130
|
|
|
131
131
|
Copy with:
|
|
132
132
|
```bash
|
|
133
|
-
node
|
|
133
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" copy-rules
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
See `templates/rules/README.md` for details.
|
|
@@ -169,7 +169,7 @@ Use AskUserQuestion:
|
|
|
169
169
|
If user chooses "Yes, star it!":
|
|
170
170
|
|
|
171
171
|
```bash
|
|
172
|
-
node
|
|
172
|
+
node "${OMC_SETUP_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/setup-config.mjs" star-repo
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
**Note:** Fail silently if the API call doesn't work - never block setup completion.
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -288,5 +288,5 @@ Before asking any interview question, classify it:
|
|
|
288
288
|
|
|
289
289
|
## Deprecation Notice
|
|
290
290
|
|
|
291
|
-
The separate `/planner`, `/ralplan`, and
|
|
291
|
+
The separate `/planner`, `/ralplan`, and `review` skills have been merged into `/omc-plan`. All workflows (interview, direct, consensus, review) are available through `/omc-plan`.
|
|
292
292
|
</Advanced>
|
|
@@ -19,7 +19,7 @@ level: 2
|
|
|
19
19
|
|
|
20
20
|
Automate isolated development environments using git worktrees and tmux sessions with Claude Code. Enables parallel work across multiple tasks, projects, and repositories.
|
|
21
21
|
|
|
22
|
-
Canonical slash command: `/
|
|
22
|
+
Canonical slash command: `/project-session-manager` (alias: `/psm`).
|
|
23
23
|
|
|
24
24
|
## Commands
|
|
25
25
|
|
package/skills/ralph/SKILL.md
CHANGED
|
@@ -56,7 +56,7 @@ By default, ralph operates in PRD mode. A scaffold `prd.json` is auto-generated
|
|
|
56
56
|
|
|
57
57
|
**Reviewer selection:** Pass `--critic=architect`, `--critic=critic`, or `--critic=codex` in the Ralph prompt to choose the completion reviewer for that run. `architect` remains the default.
|
|
58
58
|
|
|
59
|
-
**Stale-state detection & reconciliation (#3669):** If a PRD is left unfinished by an abnormal/non-Step 8 exit (crash, force-kill, cancel before `/
|
|
59
|
+
**Stale-state detection & reconciliation (#3669):** If a PRD is left unfinished by an abnormal/non-Step 8 exit (crash, force-kill, cancel before `/cancel`, session end), Ralph surfaces an explicit `[STALE PRD WARNING]` at startup/resume, in the continuation context, and at session end — with unfinished counts, last-touched age, and stale-pointer signals (PRD `branchName` merged/gone). Completion is NEVER inferred from PR/branch/merge status alone; git state is a warning signal only. A story is auto-reconciled to `passes: true` ONLY when the PRD carries configured observable evidence and every check passes:
|
|
60
60
|
|
|
61
61
|
```json
|
|
62
62
|
{
|
|
@@ -76,7 +76,7 @@ Check types: `fileExists` / `fileContains` (working tree) and `gitGrep` (content
|
|
|
76
76
|
|
|
77
77
|
**Repo quality class:** The PRD carries a top-level `repoQualityClass` — `prototype`, `production` (default), or `library` — set during scaffold refinement. If the task does not say, ask the user once when a human is present; when running headless (`omg ralph afk`) there is nobody to ask, so INFER it from repo signals (CI config and test depth, published-package metadata, publishing docs) and record the inference in the PRD. Only escalate when the signals genuinely conflict. Never silently assume a lower bar than reality. It scales two things: story ordering (architectural and integration stories weigh heavier in `production`/`library`) and acceptance strictness — `prototype` may relax test depth for speed, `production` applies the full bar, `library` must add a backward-compatibility check to every story that touches a public surface. The repo itself outranks instructions either way: if existing code contradicts the declared class, surface the contradiction instead of copying the codebase's worst habits.
|
|
78
78
|
|
|
79
|
-
**Feedback commands:** The PRD may carry a top-level `feedbackCommands` array (e.g. `["npm run build", "npm test", "npm run lint"]`). When absent, detect them from the repo's package scripts (build / lint / test variants). These are the commands `omg ralph verify` runs — the single executor of the baseline (Step 1f) and every feedback gate (Steps 4 and 7.6).
|
|
79
|
+
**Feedback commands:** The PRD may carry a top-level `feedbackCommands` array (e.g. `["npm run build", "npm test", "npm run lint"]`). When absent, detect them from the repo's package scripts (build / lint / test variants). These are the commands `omg ralph verify` runs — the single executor of the baseline (Step 1f) and every feedback gate (Steps 4 and 7.6). On Windows, call repo-local scripts as `.\name` (`.\gradlew build`, `.\build.bat`): a bare name does not search the project folder.
|
|
80
80
|
</PRD_Mode>
|
|
81
81
|
|
|
82
82
|
<PRD_Criterion_Amendments>
|
|
@@ -165,7 +165,7 @@ Rules:
|
|
|
165
165
|
4. The list of files changed during the ralph session for context
|
|
166
166
|
- Ralph floor: always at least STANDARD, even for small changes
|
|
167
167
|
- The selected reviewer verifies against the SPECIFIC acceptance criteria from prd.json, not vague "is it done?"
|
|
168
|
-
- **On APPROVAL: immediately proceed to Step 7.5 in the same turn. Do NOT pause to report the verdict to the user — reporting happens only at Step 8 (terminal closeout and `/
|
|
168
|
+
- **On APPROVAL: immediately proceed to Step 7.5 in the same turn. Do NOT pause to report the verdict to the user — reporting happens only at Step 8 (terminal closeout and `/cancel`) or on rejection (Step 9). Treating an approved verdict as a reporting checkpoint is a polite-stop anti-pattern.**
|
|
169
169
|
|
|
170
170
|
7.5 **Mandatory Deslop Pass** (runs unconditionally after Step 7 approval, unless `{{PROMPT}}` contains `--no-deslop`):
|
|
171
171
|
|
|
@@ -179,7 +179,7 @@ Rules:
|
|
|
179
179
|
- Exit 0 confirms the post-deslop regression state matches the baseline (baseline-only failures are recorded warnings, not a reason to loop here forever). Exit 1 means NEW failures — roll back the cleaner changes or fix the regression, then re-verify until it exits 0.
|
|
180
180
|
- Only proceed to completion after the verify call exits 0 (or `--no-deslop` was explicitly specified).
|
|
181
181
|
|
|
182
|
-
8. **On approval, terminal closeout and cleanup**: After Step 7.6 passes (with Step 7.5 completed, or skipped via `--no-deslop`), run the closeout below and any applicable Step 10 incident work item before PR creation or `/
|
|
182
|
+
8. **On approval, terminal closeout and cleanup**: After Step 7.6 passes (with Step 7.5 completed, or skipped via `--no-deslop`), run the closeout below and any applicable Step 10 incident work item before PR creation or `/cancel` state cleanup. When the user or mode invocation explicitly authorizes publishing and draft-PR creation, draft the body with `/pr` and create the draft PR. Do not push or open a PR based on completion alone. Mark an authorized draft ready only after the user accepts the completion report. Before any other terminal `/cancel` or state cleanup, including user-requested cancellation, run the same closeout first.
|
|
183
183
|
|
|
184
184
|
Append at most three factual lines to `.omg/notepads/ralph/problems.md` — what broke (errors that survived retries, verdicts that came back rejected) and what dragged (missing checks, unreachable information, environment friction); blockers additionally go in `.omg/notepads/ralph/issues.md`. Preserve existing entries: append only and never replace the shared file. If there are no observations, append nothing; an empty closeout is valid, so do not write “no lessons.” These are observations only; landing them on repo surfaces is `refit`'s job, with the user's approval.
|
|
185
185
|
|
|
@@ -297,7 +297,7 @@ Why good: The falsified criterion stops governing, the measurement is preserved
|
|
|
297
297
|
|
|
298
298
|
<Escalation_And_Stop_Conditions>
|
|
299
299
|
- Stop and report when a fundamental blocker requires user input (missing credentials, unclear requirements, external service down)
|
|
300
|
-
- Stop when the user says "stop", "cancel", or "abort" -- run the terminal closeout in Step 8 before `/
|
|
300
|
+
- Stop when the user says "stop", "cancel", or "abort" -- run the terminal closeout in Step 8 before `/cancel`
|
|
301
301
|
- Continue working when the hook system sends "The boulder never stops" -- this means the iteration continues
|
|
302
302
|
- If the selected reviewer rejects verification, fix the issues and re-verify (do not stop)
|
|
303
303
|
- If the same issue recurs across 3+ iterations, report it as a potential fundamental problem
|
|
@@ -318,7 +318,7 @@ Why good: The falsified criterion stops governing, the measurement is preserved
|
|
|
318
318
|
- [ ] Selected reviewer verification passed against specific acceptance criteria
|
|
319
319
|
- [ ] ai-slop-cleaner pass completed on changed files (or `--no-deslop` specified)
|
|
320
320
|
- [ ] Post-deslop regression tests pass, or only failures already present in the feedback baseline (same treatment as the test/build lines)
|
|
321
|
-
- [ ] `/
|
|
321
|
+
- [ ] `/cancel` run for clean state cleanup
|
|
322
322
|
</Final_Checklist>
|
|
323
323
|
|
|
324
324
|
## Parallel session caveats
|
|
@@ -211,7 +211,7 @@ Branch: experiment/{tag}
|
|
|
211
211
|
Notebook: .omg/experiment-notebook.json
|
|
212
212
|
```
|
|
213
213
|
|
|
214
|
-
Then run `/
|
|
214
|
+
Then run `/cancel` for clean state cleanup.
|
|
215
215
|
|
|
216
216
|
</Steps>
|
|
217
217
|
|
|
@@ -334,7 +334,7 @@ Why bad: If metrics improve, which change helped? If they worsen, which hurt? On
|
|
|
334
334
|
<Escalation_And_Stop_Conditions>
|
|
335
335
|
- Stop and report when success criteria are met — produce exit report
|
|
336
336
|
- Stop when budget is exhausted — produce exit report with best result
|
|
337
|
-
- Stop when human interrupts — run `/
|
|
337
|
+
- Stop when human interrupts — run `/cancel`
|
|
338
338
|
- Continue when hook sends "The boulder never stops" — this means keep experimenting
|
|
339
339
|
- Escalate to human when same crash occurs 3+ times
|
|
340
340
|
- Escalate to human when 5+ consecutive discards yield no new learnings (loop is stuck)
|
|
@@ -349,5 +349,5 @@ Why bad: If metrics improve, which change helped? If they worsen, which hurt? On
|
|
|
349
349
|
- [ ] Discarded experiments were reverted (git reset)
|
|
350
350
|
- [ ] Best result is recorded in notebook
|
|
351
351
|
- [ ] Exit report produced with summary, learnings, and file list
|
|
352
|
-
- [ ] `/
|
|
352
|
+
- [ ] `/cancel` run for clean state cleanup
|
|
353
353
|
</Final_Checklist>
|
package/skills/ralplan/SKILL.md
CHANGED
|
@@ -7,12 +7,12 @@ level: 4
|
|
|
7
7
|
|
|
8
8
|
# Ralplan (Consensus Planning Alias)
|
|
9
9
|
|
|
10
|
-
Ralplan is a shorthand alias for `/
|
|
10
|
+
Ralplan is a shorthand alias for `/omc-plan --consensus`. It triggers iterative planning with Planner, Architect, and Critic agents until consensus is reached, with **RALPLAN-DR structured deliberation** (short mode by default, deliberate mode for high-risk work).
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
14
|
```
|
|
15
|
-
/
|
|
15
|
+
/ralplan "task description"
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Flags
|
|
@@ -25,7 +25,7 @@ Ralplan is a shorthand alias for `/oh-my-copilot:plan --consensus`. It triggers
|
|
|
25
25
|
## Usage with interactive mode
|
|
26
26
|
|
|
27
27
|
```
|
|
28
|
-
/
|
|
28
|
+
/ralplan --interactive "task description"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Behavior
|
|
@@ -37,7 +37,7 @@ Ralplan is a planning module. It may inspect context and draft or update plan/sp
|
|
|
37
37
|
This skill invokes the Plan skill in consensus mode:
|
|
38
38
|
|
|
39
39
|
```
|
|
40
|
-
/
|
|
40
|
+
/omc-plan --consensus <arguments>
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
The consensus workflow:
|
package/skills/release/SKILL.md
CHANGED
|
@@ -11,7 +11,7 @@ A thin, repo-aware release assistant. On first run it inspects the project and C
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```
|
|
14
|
-
/
|
|
14
|
+
/release [version]
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
- `version` is optional. If omitted the skill will ask. Accepts `patch`, `minor`, `major`, or an explicit semver like `2.4.0`.
|
package/skills/skill/SKILL.md
CHANGED
|
@@ -94,7 +94,7 @@ argument-hint: "<args>"
|
|
|
94
94
|
## Examples
|
|
95
95
|
|
|
96
96
|
```
|
|
97
|
-
|
|
97
|
+
/<name> example-arg
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## Notes
|
|
@@ -649,9 +649,9 @@ How to work with this integration correctly:
|
|
|
649
649
|
|
|
650
650
|
When invoked with an argument, skip the interactive wizard:
|
|
651
651
|
|
|
652
|
-
- `/
|
|
653
|
-
- `/
|
|
654
|
-
- `/
|
|
652
|
+
- `/skill list` - Show detailed skill inventory
|
|
653
|
+
- `/skill add` - Start skill creation (invoke skillify)
|
|
654
|
+
- `/skill scan` - Scan both skill directories
|
|
655
655
|
|
|
656
656
|
### Interactive Mode
|
|
657
657
|
|
|
@@ -697,16 +697,16 @@ Good skills are:
|
|
|
697
697
|
|
|
698
698
|
## Related Skills
|
|
699
699
|
|
|
700
|
-
- `/
|
|
701
|
-
- `/
|
|
702
|
-
- `/
|
|
700
|
+
- `/skillify` - Extract a skill from current conversation (`/learner` is a deprecated alias)
|
|
701
|
+
- `/note` - Save quick notes (less formal than skills)
|
|
702
|
+
- `/deepinit` - Generate AGENTS.md codebase hierarchy
|
|
703
703
|
|
|
704
704
|
---
|
|
705
705
|
|
|
706
706
|
## Example Session
|
|
707
707
|
|
|
708
708
|
```
|
|
709
|
-
> /
|
|
709
|
+
> /skill list
|
|
710
710
|
|
|
711
711
|
Checking skill directories...
|
|
712
712
|
✓ User skills directory exists: ~/.claude/skills/omc-learned/
|
|
@@ -749,7 +749,7 @@ What would you like to do?
|
|
|
749
749
|
|
|
750
750
|
## Tips for Users
|
|
751
751
|
|
|
752
|
-
- Run `/
|
|
752
|
+
- Run `/skill list` periodically to review your skill library
|
|
753
753
|
- After solving a tricky bug, immediately run skillify to capture it
|
|
754
754
|
- Use project-level skills for codebase-specific knowledge
|
|
755
755
|
- Use user-level skills for general patterns that apply everywhere
|
|
@@ -770,9 +770,9 @@ What would you like to do?
|
|
|
770
770
|
|
|
771
771
|
## Related Skills
|
|
772
772
|
|
|
773
|
-
- `/
|
|
774
|
-
- `/
|
|
775
|
-
- `/
|
|
773
|
+
- `/skillify` - Extract a skill from current conversation (`/learner` is a deprecated alias)
|
|
774
|
+
- `/note` - Save quick notes (less formal than skills)
|
|
775
|
+
- `/deepinit` - Generate AGENTS.md codebase hierarchy
|
|
776
776
|
|
|
777
777
|
---
|
|
778
778
|
|