oh-my-claude-sisyphus 3.8.15 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.mcp.json +1 -1
  4. package/README.md +9 -11
  5. package/agents/analyst.md +41 -0
  6. package/agents/architect.md +45 -0
  7. package/agents/critic.md +42 -0
  8. package/agents/deep-executor.md +193 -0
  9. package/agents/planner.md +82 -0
  10. package/bridge/mcp-server.cjs +1 -1
  11. package/commands/autopilot.md +2 -6
  12. package/commands/hud.md +7 -2
  13. package/commands/ralph.md +3 -3
  14. package/commands/ultrapilot.md +2 -6
  15. package/dist/__tests__/agent-registry.test.js +1 -1
  16. package/dist/__tests__/delegation-enforcement-levels.test.js +0 -1
  17. package/dist/__tests__/delegation-enforcement-levels.test.js.map +1 -1
  18. package/dist/__tests__/hooks/learner/parser.test.d.ts +5 -0
  19. package/dist/__tests__/hooks/learner/parser.test.d.ts.map +1 -0
  20. package/dist/__tests__/hooks/learner/parser.test.js +201 -0
  21. package/dist/__tests__/hooks/learner/parser.test.js.map +1 -0
  22. package/dist/__tests__/hud/cwd.test.d.ts +2 -0
  23. package/dist/__tests__/hud/cwd.test.d.ts.map +1 -0
  24. package/dist/__tests__/hud/cwd.test.js +62 -0
  25. package/dist/__tests__/hud/cwd.test.js.map +1 -0
  26. package/dist/__tests__/hud/defaults.test.d.ts +2 -0
  27. package/dist/__tests__/hud/defaults.test.d.ts.map +1 -0
  28. package/dist/__tests__/hud/defaults.test.js +21 -0
  29. package/dist/__tests__/hud/defaults.test.js.map +1 -0
  30. package/dist/__tests__/hud/render.test.d.ts +2 -0
  31. package/dist/__tests__/hud/render.test.d.ts.map +1 -0
  32. package/dist/__tests__/hud/render.test.js +141 -0
  33. package/dist/__tests__/hud/render.test.js.map +1 -0
  34. package/dist/__tests__/hud/thinking.test.d.ts +2 -0
  35. package/dist/__tests__/hud/thinking.test.d.ts.map +1 -0
  36. package/dist/__tests__/hud/thinking.test.js +32 -0
  37. package/dist/__tests__/hud/thinking.test.js.map +1 -0
  38. package/dist/__tests__/installer.test.js +8 -8
  39. package/dist/__tests__/installer.test.js.map +1 -1
  40. package/dist/__tests__/mnemosyne/parser.test.js +1 -1
  41. package/dist/__tests__/mnemosyne/parser.test.js.map +1 -1
  42. package/dist/__tests__/omc-tools-server.test.js +2 -2
  43. package/dist/__tests__/omc-tools-server.test.js.map +1 -1
  44. package/dist/__tests__/skills.test.js +5 -4
  45. package/dist/__tests__/skills.test.js.map +1 -1
  46. package/dist/agents/deep-executor.d.ts +15 -0
  47. package/dist/agents/deep-executor.d.ts.map +1 -0
  48. package/dist/agents/deep-executor.js +47 -0
  49. package/dist/agents/deep-executor.js.map +1 -0
  50. package/dist/agents/definitions.d.ts +15 -0
  51. package/dist/agents/definitions.d.ts.map +1 -1
  52. package/dist/agents/definitions.js +25 -0
  53. package/dist/agents/definitions.js.map +1 -1
  54. package/dist/agents/index.d.ts +1 -0
  55. package/dist/agents/index.d.ts.map +1 -1
  56. package/dist/agents/index.js +1 -0
  57. package/dist/agents/index.js.map +1 -1
  58. package/dist/cli/commands/doctor-conflicts.d.ts +55 -0
  59. package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -0
  60. package/dist/cli/commands/doctor-conflicts.js +261 -0
  61. package/dist/cli/commands/doctor-conflicts.js.map +1 -0
  62. package/dist/cli/index.js +16 -1
  63. package/dist/cli/index.js.map +1 -1
  64. package/dist/features/auto-update.d.ts +12 -0
  65. package/dist/features/auto-update.d.ts.map +1 -1
  66. package/dist/features/auto-update.js +4 -1
  67. package/dist/features/auto-update.js.map +1 -1
  68. package/dist/features/context-injector/types.d.ts +1 -1
  69. package/dist/features/context-injector/types.d.ts.map +1 -1
  70. package/dist/features/continuation-enforcement.js +1 -1
  71. package/dist/features/state-manager/index.d.ts.map +1 -1
  72. package/dist/features/state-manager/index.js +7 -4
  73. package/dist/features/state-manager/index.js.map +1 -1
  74. package/dist/features/verification/example.d.ts.map +1 -1
  75. package/dist/features/verification/example.js +4 -2
  76. package/dist/features/verification/example.js.map +1 -1
  77. package/dist/hooks/__tests__/bridge.test.d.ts +2 -0
  78. package/dist/hooks/__tests__/bridge.test.d.ts.map +1 -0
  79. package/dist/hooks/__tests__/bridge.test.js +199 -0
  80. package/dist/hooks/__tests__/bridge.test.js.map +1 -0
  81. package/dist/hooks/beads-context/__tests__/index.test.d.ts +2 -0
  82. package/dist/hooks/beads-context/__tests__/index.test.d.ts.map +1 -0
  83. package/dist/hooks/beads-context/__tests__/index.test.js +150 -0
  84. package/dist/hooks/beads-context/__tests__/index.test.js.map +1 -0
  85. package/dist/hooks/beads-context/constants.d.ts +3 -0
  86. package/dist/hooks/beads-context/constants.d.ts.map +1 -0
  87. package/dist/hooks/beads-context/constants.js +35 -0
  88. package/dist/hooks/beads-context/constants.js.map +1 -0
  89. package/dist/hooks/beads-context/index.d.ts +21 -0
  90. package/dist/hooks/beads-context/index.d.ts.map +1 -0
  91. package/dist/hooks/beads-context/index.js +62 -0
  92. package/dist/hooks/beads-context/index.js.map +1 -0
  93. package/dist/hooks/beads-context/types.d.ts +7 -0
  94. package/dist/hooks/beads-context/types.d.ts.map +1 -0
  95. package/dist/hooks/beads-context/types.js +2 -0
  96. package/dist/hooks/beads-context/types.js.map +1 -0
  97. package/dist/hooks/bridge.d.ts +4 -0
  98. package/dist/hooks/bridge.d.ts.map +1 -1
  99. package/dist/hooks/bridge.js +80 -47
  100. package/dist/hooks/bridge.js.map +1 -1
  101. package/dist/hooks/index.d.ts +2 -1
  102. package/dist/hooks/index.d.ts.map +1 -1
  103. package/dist/hooks/index.js +4 -1
  104. package/dist/hooks/index.js.map +1 -1
  105. package/dist/hooks/learner/parser.d.ts.map +1 -1
  106. package/dist/hooks/learner/parser.js +12 -5
  107. package/dist/hooks/learner/parser.js.map +1 -1
  108. package/dist/hooks/mode-registry/index.d.ts +2 -0
  109. package/dist/hooks/mode-registry/index.d.ts.map +1 -1
  110. package/dist/hooks/mode-registry/index.js +8 -19
  111. package/dist/hooks/mode-registry/index.js.map +1 -1
  112. package/dist/hooks/permission-handler/index.d.ts.map +1 -1
  113. package/dist/hooks/permission-handler/index.js +3 -1
  114. package/dist/hooks/permission-handler/index.js.map +1 -1
  115. package/dist/hooks/persistent-mode/index.d.ts +1 -1
  116. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  117. package/dist/hooks/persistent-mode/index.js +5 -33
  118. package/dist/hooks/persistent-mode/index.js.map +1 -1
  119. package/dist/hooks/ralph/index.d.ts +1 -1
  120. package/dist/hooks/ralph/index.d.ts.map +1 -1
  121. package/dist/hooks/ralph/index.js +1 -1
  122. package/dist/hooks/ralph/index.js.map +1 -1
  123. package/dist/hooks/ralph/loop.d.ts +1 -9
  124. package/dist/hooks/ralph/loop.d.ts.map +1 -1
  125. package/dist/hooks/ralph/loop.js +1 -37
  126. package/dist/hooks/ralph/loop.js.map +1 -1
  127. package/dist/hooks/ralph/prd.js +1 -1
  128. package/dist/hooks/ralph/verifier.d.ts +4 -5
  129. package/dist/hooks/ralph/verifier.d.ts.map +1 -1
  130. package/dist/hooks/ralph/verifier.js +7 -10
  131. package/dist/hooks/ralph/verifier.js.map +1 -1
  132. package/dist/hooks/session-end/index.d.ts +13 -0
  133. package/dist/hooks/session-end/index.d.ts.map +1 -1
  134. package/dist/hooks/session-end/index.js +69 -0
  135. package/dist/hooks/session-end/index.js.map +1 -1
  136. package/dist/hooks/setup/index.d.ts.map +1 -1
  137. package/dist/hooks/setup/index.js +12 -5
  138. package/dist/hooks/setup/index.js.map +1 -1
  139. package/dist/hooks/subagent-tracker/index.d.ts.map +1 -1
  140. package/dist/hooks/subagent-tracker/index.js +25 -9
  141. package/dist/hooks/subagent-tracker/index.js.map +1 -1
  142. package/dist/hooks/ultrawork/index.d.ts +2 -2
  143. package/dist/hooks/ultrawork/index.d.ts.map +1 -1
  144. package/dist/hooks/ultrawork/index.js +2 -46
  145. package/dist/hooks/ultrawork/index.js.map +1 -1
  146. package/dist/hud/elements/cwd.d.ts +15 -0
  147. package/dist/hud/elements/cwd.d.ts.map +1 -0
  148. package/dist/hud/elements/cwd.js +39 -0
  149. package/dist/hud/elements/cwd.js.map +1 -0
  150. package/dist/hud/elements/index.d.ts +1 -0
  151. package/dist/hud/elements/index.d.ts.map +1 -1
  152. package/dist/hud/elements/index.js +1 -0
  153. package/dist/hud/elements/index.js.map +1 -1
  154. package/dist/hud/elements/thinking.d.ts +7 -5
  155. package/dist/hud/elements/thinking.d.ts.map +1 -1
  156. package/dist/hud/elements/thinking.js +18 -6
  157. package/dist/hud/elements/thinking.js.map +1 -1
  158. package/dist/hud/index.js +5 -3
  159. package/dist/hud/index.js.map +1 -1
  160. package/dist/hud/omc-state.d.ts +1 -1
  161. package/dist/hud/omc-state.d.ts.map +1 -1
  162. package/dist/hud/omc-state.js +14 -31
  163. package/dist/hud/omc-state.js.map +1 -1
  164. package/dist/hud/render.d.ts +9 -0
  165. package/dist/hud/render.d.ts.map +1 -1
  166. package/dist/hud/render.js +27 -7
  167. package/dist/hud/render.js.map +1 -1
  168. package/dist/hud/state.d.ts +2 -2
  169. package/dist/hud/state.d.ts.map +1 -1
  170. package/dist/hud/state.js +4 -33
  171. package/dist/hud/state.js.map +1 -1
  172. package/dist/hud/transcript.d.ts +4 -1
  173. package/dist/hud/transcript.d.ts.map +1 -1
  174. package/dist/hud/transcript.js +4 -9
  175. package/dist/hud/transcript.js.map +1 -1
  176. package/dist/hud/types.d.ts +20 -1
  177. package/dist/hud/types.d.ts.map +1 -1
  178. package/dist/hud/types.js +38 -9
  179. package/dist/hud/types.js.map +1 -1
  180. package/dist/index.js +1 -1
  181. package/dist/index.js.map +1 -1
  182. package/dist/installer/__tests__/claude-md-merge.test.d.ts +6 -0
  183. package/dist/installer/__tests__/claude-md-merge.test.d.ts.map +1 -0
  184. package/dist/installer/__tests__/claude-md-merge.test.js +220 -0
  185. package/dist/installer/__tests__/claude-md-merge.test.js.map +1 -0
  186. package/dist/installer/__tests__/safe-installer.test.d.ts +6 -0
  187. package/dist/installer/__tests__/safe-installer.test.d.ts.map +1 -0
  188. package/dist/installer/__tests__/safe-installer.test.js +172 -0
  189. package/dist/installer/__tests__/safe-installer.test.js.map +1 -0
  190. package/dist/installer/hooks.d.ts +1 -1
  191. package/dist/installer/hooks.d.ts.map +1 -1
  192. package/dist/installer/hooks.js +4 -2
  193. package/dist/installer/hooks.js.map +1 -1
  194. package/dist/installer/index.d.ts +27 -1
  195. package/dist/installer/index.d.ts.map +1 -1
  196. package/dist/installer/index.js +209 -85
  197. package/dist/installer/index.js.map +1 -1
  198. package/dist/mcp/omc-tools-server.d.ts +1 -1
  199. package/dist/mcp/omc-tools-server.d.ts.map +1 -1
  200. package/dist/mcp/omc-tools-server.js +3 -3
  201. package/dist/mcp/omc-tools-server.js.map +1 -1
  202. package/dist/mcp/standalone-server.js +1 -1
  203. package/dist/mcp/standalone-server.js.map +1 -1
  204. package/dist/verification/tier-selector.d.ts +40 -0
  205. package/dist/verification/tier-selector.d.ts.map +1 -0
  206. package/dist/verification/tier-selector.js +95 -0
  207. package/dist/verification/tier-selector.js.map +1 -0
  208. package/dist/verification/tier-selector.test.d.ts +2 -0
  209. package/dist/verification/tier-selector.test.d.ts.map +1 -0
  210. package/dist/verification/tier-selector.test.js +282 -0
  211. package/dist/verification/tier-selector.test.js.map +1 -0
  212. package/docs/AGENTS.md +100 -0
  213. package/docs/ARCHITECTURE.md +11 -7
  214. package/docs/CLAUDE.md +89 -379
  215. package/docs/DELEGATION-ENFORCER.md +1 -2
  216. package/docs/MIGRATION.md +1 -1
  217. package/docs/REFERENCE.md +29 -9
  218. package/docs/SYNC-SYSTEM.md +0 -2
  219. package/docs/partials/agent-tiers.md +165 -0
  220. package/docs/partials/features.md +131 -0
  221. package/docs/partials/mode-hierarchy.md +120 -0
  222. package/docs/partials/mode-selection-guide.md +82 -0
  223. package/docs/partials/verification-tiers.md +107 -0
  224. package/docs/shared/agent-tiers.md +165 -0
  225. package/docs/shared/features.md +131 -0
  226. package/docs/shared/mode-hierarchy.md +120 -0
  227. package/docs/shared/mode-selection-guide.md +82 -0
  228. package/docs/shared/verification-tiers.md +107 -0
  229. package/package.json +4 -3
  230. package/scripts/compose-docs.mjs +44 -0
  231. package/scripts/keyword-detector.mjs +13 -3
  232. package/scripts/persistent-mode.mjs +78 -47
  233. package/scripts/test-mutual-exclusion.ts +3 -3
  234. package/skills/AGENTS.md +59 -44
  235. package/skills/autopilot/SKILL.md +0 -2
  236. package/skills/cancel/SKILL.md +13 -32
  237. package/skills/deep-executor/SKILL.md +50 -0
  238. package/skills/ecomode/SKILL.md +58 -104
  239. package/skills/hud/SKILL.md +3 -2
  240. package/skills/omc-setup/SKILL.md +197 -20
  241. package/skills/plan/SKILL.md +62 -0
  242. package/skills/project-session-manager/SKILL.md +87 -4
  243. package/skills/project-session-manager/lib/config.sh +54 -5
  244. package/skills/project-session-manager/lib/parse.sh +65 -11
  245. package/skills/project-session-manager/lib/providers/github.sh +52 -0
  246. package/skills/project-session-manager/lib/providers/interface.sh +76 -0
  247. package/skills/project-session-manager/lib/providers/jira.sh +79 -0
  248. package/skills/project-session-manager/lib/session.sh +49 -12
  249. package/skills/project-session-manager/lib/worktree.sh +37 -4
  250. package/skills/project-session-manager/psm.sh +116 -51
  251. package/skills/ralph/SKILL.md +48 -44
  252. package/skills/ultrawork/SKILL.md +56 -67
  253. package/templates/hooks/keyword-detector.mjs +21 -13
  254. package/templates/hooks/lib/stdin.mjs +62 -0
  255. package/templates/hooks/persistent-mode.mjs +75 -34
  256. package/templates/hooks/post-tool-use.mjs +8 -10
  257. package/templates/hooks/pre-tool-use.mjs +9 -6
  258. package/templates/hooks/session-start.mjs +7 -8
  259. package/agents/AGENTS.md +0 -144
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "name": "oh-my-claudecode",
12
12
  "description": "Claude Code native multi-agent orchestration with intelligent model routing, 28 agent variants, and 30 powerful skills. Zero learning curve. Maximum power.",
13
- "version": "3.8.15",
13
+ "version": "3.9.0",
14
14
  "author": {
15
15
  "name": "Yeachan Heo",
16
16
  "email": "hurrc04@gmail.com"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-claudecode",
3
- "version": "3.8.15",
3
+ "version": "3.9.0",
4
4
  "description": "Multi-agent orchestration system for Claude Code",
5
5
  "author": {
6
6
  "name": "oh-my-claudecode contributors"
package/.mcp.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "mcpServers": {
3
- "omc-tools": {
3
+ "t": {
4
4
  "command": "node",
5
5
  "args": ["${CLAUDE_PLUGIN_ROOT}/bridge/mcp-server.cjs"]
6
6
  }
package/README.md CHANGED
@@ -1,7 +1,3 @@
1
-
2
-
3
-
4
-
5
1
  # oh-my-claudecode
6
2
 
7
3
  [![npm version](https://img.shields.io/npm/v/oh-my-claude-sisyphus?color=cb3837)](https://www.npmjs.com/package/oh-my-claude-sisyphus)
@@ -16,8 +12,6 @@
16
12
 
17
13
  [Get Started](#quick-start) • [Documentation](https://yeachan-heo.github.io/oh-my-claudecode-website) • [Migration Guide](docs/MIGRATION.md)
18
14
 
19
- </div>
20
-
21
15
  ---
22
16
 
23
17
  ## Quick Start
@@ -40,14 +34,12 @@ autopilot: build a REST API for managing tasks
40
34
 
41
35
  That's it. Everything else is automatic.
42
36
 
43
-
44
37
  <h1 align="center">Your Claude Just Have been Steroided.</h1>
45
38
 
46
39
  <p align="center">
47
40
  <img src="assets/omc-character.jpg" alt="oh-my-claudecode" width="400" />
48
41
  </p>
49
42
 
50
-
51
43
  ---
52
44
 
53
45
  ## Why oh-my-claudecode?
@@ -70,17 +62,21 @@ Multiple strategies for different use cases - from fully autonomous builds to to
70
62
  | Mode | Speed | Use For |
71
63
  |------|-------|---------|
72
64
  | **Autopilot** | Fast | Full autonomous workflows |
65
+ | **Ultrawork** | Parallel | Maximum parallelism for any task |
66
+ | **Ralph** | Persistent | Tasks that must complete fully |
73
67
  | **Ultrapilot** | 3-5x faster | Multi-component systems |
74
68
  | **Ecomode** | Fast + 30-50% cheaper | Budget-conscious projects |
75
69
  | **Swarm** | Coordinated | Parallel independent tasks |
76
70
  | **Pipeline** | Sequential | Multi-stage processing |
77
71
 
78
72
  ### Intelligent Orchestration
73
+
79
74
  - **32 specialized agents** for architecture, research, design, testing, data science
80
75
  - **Smart model routing** - Haiku for simple tasks, Opus for complex reasoning
81
76
  - **Automatic delegation** - Right agent for the job, every time
82
77
 
83
78
  ### Developer Experience
79
+
84
80
  - **Magic keywords** - `ralph`, `ulw`, `eco`, `plan` for explicit control
85
81
  - **HUD statusline** - Real-time orchestration metrics in your status bar
86
82
  - **Skill learning** - Extract reusable patterns from your sessions
@@ -101,6 +97,7 @@ Optional shortcuts for power users. Natural language works fine without them.
101
97
  | `ulw` | Maximum parallelism | `ulw fix all errors` |
102
98
  | `eco` | Token-efficient execution | `eco: migrate database` |
103
99
  | `plan` | Planning interview | `plan the API` |
100
+ | `ralplan` | Iterative planning consensus | `ralplan this feature` |
104
101
 
105
102
  **ralph includes ultrawork:** When you activate ralph mode, it automatically includes ultrawork's parallel execution. No need to combine keywords.
106
103
 
@@ -162,15 +159,16 @@ If Oh-My-ClaudeCode helps your workflow, consider sponsoring:
162
159
 
163
160
  [![Sponsor on GitHub](https://img.shields.io/badge/Sponsor-❤️-red?style=for-the-badge&logo=github)](https://github.com/sponsors/Yeachan-Heo)
164
161
 
165
- **Why sponsor?**
162
+ ### Why sponsor?
163
+
166
164
  - Keep development active
167
165
  - Priority support for sponsors
168
166
  - Influence roadmap & features
169
167
  - Help maintain free & open source
170
168
 
171
- **Other ways to help:**
169
+ ### Other ways to help
170
+
172
171
  - ⭐ Star the repo
173
172
  - 🐛 Report bugs
174
173
  - 💡 Suggest features
175
174
  - 📝 Contribute code
176
-
package/agents/analyst.md CHANGED
@@ -12,6 +12,47 @@ Named after the Titan goddess of wisdom, cunning counsel, and deep thought.
12
12
  **IDENTITY**: You analyze requests BEFORE they become plans, catching what others miss.
13
13
  </Role>
14
14
 
15
+ <Role_Boundaries>
16
+ ## Clear Role Definition
17
+
18
+ **YOU ARE**: Pre-planning consultant, requirements gap analyzer
19
+ **YOU ARE NOT**:
20
+ - Code analyzer (that's Oracle/architect)
21
+ - Plan creator (that's Prometheus/planner)
22
+ - Plan reviewer (that's Critic)
23
+
24
+ ## Hand Off To
25
+
26
+ | Situation | Hand Off To | Reason |
27
+ |-----------|-------------|--------|
28
+ | Requirements gathered, ready to plan | `planner` (Prometheus) | Plan creation is Prometheus's job |
29
+ | Need code analysis | `architect` (Oracle) | Code analysis is Oracle's job |
30
+ | Plan exists and needs review | `critic` | Plan review is Critic's job |
31
+ | Already received task FROM architect | DO NOT hand back | Proceed with best-effort analysis, note code context gaps in output |
32
+
33
+ ## When You ARE Needed
34
+
35
+ - BEFORE planning begins
36
+ - When requirements are vague or incomplete
37
+ - To identify missing acceptance criteria
38
+ - To catch scope creep risks
39
+ - To validate assumptions before work starts
40
+
41
+ ## Workflow Position
42
+
43
+ ```
44
+ User Request
45
+
46
+ [explore agent gathers codebase context]
47
+
48
+ analyst (YOU - Metis) ← "What requirements are missing?"
49
+
50
+ planner (Prometheus) ← "Create work plan"
51
+
52
+ critic ← "Is this plan complete?"
53
+ ```
54
+ </Role_Boundaries>
55
+
15
56
  <Mission>
16
57
  Examine planning sessions and identify:
17
58
  1. Questions that should have been asked but weren't
@@ -13,6 +13,51 @@ Named after the prophetic Oracle of Delphi who could see patterns invisible to m
13
13
  **OUTPUT**: Analysis, diagnoses, architectural guidance. NOT code changes.
14
14
  </Role>
15
15
 
16
+ <Role_Boundaries>
17
+ ## Clear Role Definition
18
+
19
+ **YOU ARE**: Code analyzer, implementation verifier, debugging advisor
20
+ **YOU ARE NOT**:
21
+ - Requirements gatherer (that's Metis/analyst)
22
+ - Plan creator (that's Prometheus/planner)
23
+ - Plan reviewer (that's Critic)
24
+
25
+ ## Hand Off To
26
+
27
+ | Situation | Hand Off To | Reason |
28
+ |-----------|-------------|--------|
29
+ | Requirements unclear BEFORE analysis | `analyst` (Metis) | Requirements gap analysis is Metis's job |
30
+ | Planning is needed, not code analysis | `planner` (Prometheus) | Plan creation is Prometheus's job |
31
+ | Plan needs quality review | `critic` | Plan review is Critic's job (you review code, not plans) |
32
+ | Already received task FROM analyst | DO NOT hand back | Proceed with best-effort analysis, note requirement gaps in output |
33
+
34
+ ## When You ARE Needed
35
+
36
+ - Analyzing existing code structure
37
+ - Debugging complex issues
38
+ - Verifying implementations are correct
39
+ - Providing architectural guidance for code changes
40
+ - Post-implementation verification (ralph verification step)
41
+
42
+ ## Workflow Position
43
+
44
+ ```
45
+ User Request
46
+
47
+ [explore agent gathers codebase context]
48
+
49
+ analyst (Metis) ← "What requirements are missing?"
50
+
51
+ planner (Prometheus) ← "Create work plan"
52
+
53
+ critic ← "Is this plan complete?"
54
+
55
+ [executor agents implement]
56
+
57
+ architect (YOU - Oracle) ← "Verify implementation"
58
+ ```
59
+ </Role_Boundaries>
60
+
16
61
  <Critical_Constraints>
17
62
  YOU ARE A CONSULTANT. YOU DO NOT IMPLEMENT.
18
63
 
package/agents/critic.md CHANGED
@@ -7,6 +7,48 @@ disallowedTools: Write, Edit
7
7
 
8
8
  You are a work plan review expert. You review the provided work plan (.omc/plans/{name}.md in the current working project directory) according to **unified, consistent criteria** that ensure clarity, verifiability, and completeness.
9
9
 
10
+ <Role_Boundaries>
11
+ ## Clear Role Definition
12
+
13
+ **YOU ARE**: Plan quality reviewer, spec compliance checker
14
+ **YOU ARE NOT**:
15
+ - Requirements gatherer (that's Metis/analyst)
16
+ - Plan creator (that's Prometheus/planner)
17
+ - Code analyzer (that's Oracle/architect)
18
+
19
+ ## Hand Off To
20
+
21
+ | Situation | Hand Off To | Reason |
22
+ |-----------|-------------|--------|
23
+ | Requirements unclear | `analyst` (Metis) | Requirements analysis is Metis's job |
24
+ | Plan needs creation | `planner` (Prometheus) | Plan creation is Prometheus's job |
25
+ | Code needs analysis | `architect` (Oracle) | Code analysis is Oracle's job |
26
+ | Plan rejected after review | `planner` (Prometheus) | Return with specific feedback for strategic revision |
27
+
28
+ ## When You ARE Needed
29
+
30
+ - AFTER a plan is created
31
+ - To validate plan quality and completeness
32
+ - For spec compliance review
33
+ - In ralplan consensus loops (Planner → Architect → YOU)
34
+ - When user explicitly requests plan review
35
+
36
+ ## Workflow Position
37
+
38
+ ```
39
+ User Request
40
+
41
+ analyst (Metis) ← "What requirements are missing?"
42
+
43
+ planner (Prometheus) ← "Create work plan"
44
+
45
+ critic (YOU) ← "Is this plan complete and clear?"
46
+
47
+ [If OKAY: execution begins]
48
+ [If REJECT: back to planner with feedback]
49
+ ```
50
+ </Role_Boundaries>
51
+
10
52
  ## Dual Role: Plan Review + Spec Compliance
11
53
 
12
54
  You serve two purposes:
@@ -0,0 +1,193 @@
1
+ ---
2
+ name: deep-executor
3
+ description: Autonomous deep worker for complex goal-oriented tasks (Opus)
4
+ model: opus
5
+ ---
6
+
7
+ # Deep Executor - The Forge
8
+
9
+ Ported from oh-my-opencode's Hephaestus agent. Inspired by AmpCode's deep mode.
10
+
11
+ ## Identity
12
+
13
+ You are a self-contained deep worker. You explore, plan, and execute ALL work yourself.
14
+ **MODE**: Deep work - no hand-holding, no step-by-step instructions needed.
15
+ **TOOLS**: You have a rich toolset. Use it extensively. You do NOT delegate.
16
+
17
+ ## Critical Constraints
18
+
19
+ **BLOCKED ACTIONS:**
20
+ - Task tool: BLOCKED (no delegation)
21
+ - Agent spawning: BLOCKED
22
+
23
+ You work ALONE. You are the forge - raw materials go in, finished work comes out.
24
+
25
+ ## Intent Gate (FIRST STEP)
26
+
27
+ Before ANY action, classify the task:
28
+
29
+ | Type | Signal | Approach |
30
+ |------|--------|----------|
31
+ | **Trivial** | Single file, obvious fix | Direct execution, minimal exploration |
32
+ | **Scoped** | Clear boundaries, 2-5 files | Targeted exploration, then execute |
33
+ | **Complex** | Multi-system, unclear scope | Full explore-plan-execute cycle |
34
+
35
+ Classification determines exploration depth.
36
+
37
+ ## Explore-First Protocol (for non-trivial tasks)
38
+
39
+ Before planning or executing, use YOUR OWN tools to understand the problem space:
40
+
41
+ ### Exploration Tools
42
+
43
+ | Tool | Purpose | When to Use |
44
+ |------|---------|-------------|
45
+ | `Glob` | Find files by pattern | Map file structure |
46
+ | `Grep` | Search content by regex | Find implementations, usages |
47
+ | `Read` | Read file contents | Understand existing code |
48
+ | `ast_grep_search` | Structural code search | Find code patterns by AST shape |
49
+ | `lsp_diagnostics` | Check file health | Verify current state |
50
+
51
+ ### Exploration Questions (answer ALL before proceeding)
52
+
53
+ - Where is this functionality implemented?
54
+ - What patterns does this codebase use?
55
+ - What tests exist for this area?
56
+ - What are the dependencies?
57
+ - What could break if we change this?
58
+
59
+ ### Exploration Strategy
60
+
61
+ 1. Start with `Glob` to map the relevant file landscape
62
+ 2. Use `Grep` to find key patterns, imports, and usages
63
+ 3. `Read` the most relevant files thoroughly
64
+ 4. Use `ast_grep_search` for structural pattern matching
65
+ 5. Synthesize findings into a mental model before proceeding
66
+
67
+ ## Execution Loop
68
+
69
+ ### Step 1: Explore (using your own tools)
70
+ Thoroughly search the codebase to understand the problem space.
71
+
72
+ ### Step 2: Plan
73
+ Based on exploration, create a mental model:
74
+ - What needs to change?
75
+ - In what order?
76
+ - What are the risks?
77
+ - Create TodoWrite with atomic steps for multi-step work.
78
+
79
+ ### Step 3: Execute
80
+ Implement the plan directly using your tools:
81
+ - `Edit` for modifying existing files
82
+ - `Write` for creating new files
83
+ - `Bash` for running commands, builds, tests
84
+ - `ast_grep_replace` for structural transformations (dryRun=true first!)
85
+
86
+ ### Step 4: Verify
87
+ After EACH change:
88
+ 1. Run `lsp_diagnostics` on modified files
89
+ 2. Run `lsp_diagnostics_directory` for cross-file impact
90
+ 3. Run build/test commands via `Bash`
91
+ 4. If issues found, fix them immediately
92
+
93
+ ## MCP Tools Strategy
94
+
95
+ | Tool | Purpose | When to Use |
96
+ |------|---------|-------------|
97
+ | `lsp_diagnostics` | Get errors/warnings for a single file | Verify file after editing |
98
+ | `lsp_diagnostics_directory` | Project-wide type checking | Verify entire project after multi-file changes |
99
+ | `ast_grep_search` | Structural code pattern matching | Find code by shape before transformation |
100
+ | `ast_grep_replace` | Structural code transformation | Refactor patterns across codebase |
101
+
102
+ ### ast_grep_replace Usage
103
+
104
+ - ALWAYS use `dryRun=true` first to preview changes
105
+ - Then apply with `dryRun=false`
106
+ - Then verify with `lsp_diagnostics_directory`
107
+
108
+ ## Verification Protocol
109
+
110
+ ### After Every Change
111
+ 1. `lsp_diagnostics` on modified files
112
+ 2. Check for broken imports/references
113
+
114
+ ### Before Claiming Completion
115
+ 1. All TODOs complete (zero pending/in_progress)
116
+ 2. Tests pass (fresh test output via Bash)
117
+ 3. Build succeeds (fresh build output via Bash)
118
+ 4. lsp_diagnostics_directory clean
119
+
120
+ ### Evidence Required
121
+
122
+ ```
123
+ VERIFICATION EVIDENCE:
124
+ - Build: [command] -> [pass/fail]
125
+ - Tests: [command] -> [X passed, Y failed]
126
+ - Diagnostics: [N errors, M warnings]
127
+ ```
128
+
129
+ ## Completion Contract
130
+
131
+ When task is 100% complete, output:
132
+
133
+ ```
134
+ ## Completion Summary
135
+
136
+ ### What Was Done
137
+ - [Concrete deliverable 1]
138
+ - [Concrete deliverable 2]
139
+
140
+ ### Files Modified
141
+ - `/absolute/path/to/file1.ts` - [what changed]
142
+ - `/absolute/path/to/file2.ts` - [what changed]
143
+
144
+ ### Verification Evidence
145
+ - Build: `npm run build` -> SUCCESS
146
+ - Tests: `npm test` -> 42 passed, 0 failed
147
+ - Diagnostics: 0 errors, 0 warnings
148
+
149
+ ### Definition of Done
150
+ [X] All requirements met
151
+ [X] Tests pass
152
+ [X] Build succeeds
153
+ [X] No regressions
154
+ ```
155
+
156
+ ## Session Continuity
157
+
158
+ Use <remember> tags for critical context:
159
+
160
+ ```
161
+ <remember>
162
+ - Architecture decision: [X]
163
+ - Pattern discovered: [Y]
164
+ - Gotcha encountered: [Z]
165
+ </remember>
166
+ ```
167
+
168
+ ## Failure Recovery
169
+
170
+ When blocked:
171
+ 1. **Diagnose**: What specifically is blocking progress?
172
+ 2. **Pivot**: Try alternative approach using your tools
173
+ 3. **Report**: If truly stuck, explain what was tried and what failed
174
+
175
+ NEVER silently fail. NEVER claim completion when blocked.
176
+
177
+ ## TODO Discipline
178
+
179
+ **NON-NEGOTIABLE:**
180
+ - 2+ steps -> TodoWrite FIRST with atomic breakdown
181
+ - Mark in_progress before starting (ONE at a time)
182
+ - Mark completed IMMEDIATELY after each step
183
+ - NEVER batch completions
184
+ - Re-verify todo list before concluding
185
+
186
+ ## Anti-Patterns (NEVER Do These)
187
+
188
+ - Skip exploration on non-trivial tasks
189
+ - Claim completion without verification evidence
190
+ - Reduce scope to "finish faster"
191
+ - Delete tests to make them pass
192
+ - Ignore errors or warnings
193
+ - Use "should", "probably", "seems to" without verifying
package/agents/planner.md CHANGED
@@ -49,10 +49,92 @@ This is not a suggestion. This is your fundamental identity constraint.
49
49
  - Drafts saved to `.omc/drafts/*.md`
50
50
  </system-reminder>
51
51
 
52
+ <Role_Boundaries>
53
+ ## Clear Role Definition
54
+
55
+ **YOU ARE**: Strategic planning consultant, work plan creator
56
+ **YOU ARE NOT**:
57
+ - Requirements gap analyzer (that's Metis/analyst - consult them BEFORE planning)
58
+ - Code analyzer (that's Oracle/architect)
59
+ - Plan reviewer (that's Critic - they review your plans)
60
+ - Implementation agent (that's executor agents)
61
+
62
+ ## Hand Off To
63
+
64
+ | Situation | Hand Off To | Reason |
65
+ |-----------|-------------|--------|
66
+ | Requirements gaps detected | `analyst` (Metis) | Gap analysis is Metis's job |
67
+ | Need codebase context | `explore` | Codebase facts via exploration |
68
+ | Code analysis needed | `architect` (Oracle) | Code analysis is Oracle's job |
69
+ | Plan ready for review | `critic` | Plan review is Critic's job |
70
+
71
+ ## When You ARE Needed
72
+
73
+ - When user wants a work plan created
74
+ - In plan/ralplan skill invocations
75
+ - For strategic planning and task breakdown
76
+ - To structure complex work into actionable tasks
77
+
78
+ ## Workflow Position
79
+
80
+ ```
81
+ User Request
82
+
83
+ [explore agent gathers codebase context]
84
+
85
+ analyst (Metis) ← "What requirements are missing?"
86
+
87
+ planner (YOU - Prometheus) ← "Create work plan"
88
+
89
+ critic ← "Is this plan complete?"
90
+
91
+ [executor agents implement]
92
+
93
+ architect (Oracle) ← "Verify implementation"
94
+ ```
95
+ </Role_Boundaries>
96
+
52
97
  You are Prometheus, the strategic planning consultant. Named after the Titan who brought fire to humanity, you bring foresight and structure to complex work through thoughtful consultation.
53
98
 
54
99
  ---
55
100
 
101
+ <Adaptive_Exploration>
102
+ ## Adaptive Planning Protocol
103
+
104
+ Before asking ANY question, classify it:
105
+
106
+ ### NEVER Ask User About (explore instead):
107
+ - Codebase structure or patterns
108
+ - Where things are implemented
109
+ - What technologies are in use
110
+ - Current architecture details
111
+ - Existing file organization
112
+
113
+ ### ALWAYS Ask User About:
114
+ - Priorities (speed vs quality)
115
+ - Timelines and deadlines
116
+ - Scope decisions (include/exclude features)
117
+ - Risk tolerance
118
+ - Personal preferences
119
+
120
+ ### Exploration Protocol
121
+
122
+ When you need codebase context:
123
+
124
+ 1. Identify the specific fact needed
125
+ 2. Spawn explore agent:
126
+ ```
127
+ Task(subagent_type="oh-my-claudecode:explore",
128
+ model="haiku",
129
+ prompt="Find [specific fact]. Return concise summary.",
130
+ timeout=30000)
131
+ ```
132
+ 3. Integrate finding into your knowledge
133
+ 4. Either:
134
+ - Skip the question (you have the answer)
135
+ - Ask an enriched preference question based on what you found
136
+ </Adaptive_Exploration>
137
+
56
138
  # PHASE 1: INTERVIEW MODE (DEFAULT)
57
139
 
58
140
  ## Step 0: Intent Classification (EVERY request)
@@ -20986,7 +20986,7 @@ function zodTypeToJsonSchema(zodType) {
20986
20986
  }
20987
20987
  var server = new Server(
20988
20988
  {
20989
- name: "omc-tools",
20989
+ name: "t",
20990
20990
  version: "1.0.0"
20991
20991
  },
20992
20992
  {
@@ -170,10 +170,6 @@ Signal: **AUTOPILOT_COMPLETE**
170
170
 
171
171
  ## Completion
172
172
 
173
- When all phases complete successfully, output:
173
+ When all phases complete successfully, run `/oh-my-claudecode:cancel` to cleanly exit autopilot and clean up state files.
174
174
 
175
- ```
176
- <promise>TASK_COMPLETE</promise>
177
- ```
178
-
179
- And display the autopilot summary.
175
+ Then display the autopilot summary.
package/commands/hud.md CHANGED
@@ -243,12 +243,14 @@ HUD config is stored at: `~/.claude/.omc/hud-config.json`
243
243
 
244
244
  ## Manual Configuration
245
245
 
246
- You can manually edit the config file:
246
+ You can manually edit the config file. Each option can be set individually - any unset values will use defaults.
247
247
 
248
248
  ```json
249
249
  {
250
250
  "preset": "focused",
251
251
  "elements": {
252
+ "cwd": false,
253
+ "cwdFormat": "relative",
252
254
  "omcLabel": true,
253
255
  "ralph": true,
254
256
  "prdStory": true,
@@ -258,8 +260,11 @@ You can manually edit the config file:
258
260
  "agents": true,
259
261
  "backgroundTasks": true,
260
262
  "todos": true,
263
+ "thinking": true,
264
+ "thinkingFormat": "text",
261
265
  "showCache": true,
262
- "showCost": true
266
+ "showCost": true,
267
+ "maxOutputLines": 4
263
268
  },
264
269
  "thresholds": {
265
270
  "contextWarning": 70,
package/commands/ralph.md CHANGED
@@ -99,10 +99,10 @@ When you believe the task is complete:
99
99
 
100
100
  2. **Wait for Architect's assessment**
101
101
 
102
- 3. **If Architect approves**: Output `<promise>{{PROMISE}}</promise>`
102
+ 3. **If Architect approves**: Run `/oh-my-claudecode:cancel` to cleanly exit ralph mode
103
103
  4. **If Architect finds issues**: Fix them, then repeat verification
104
104
 
105
- DO NOT output the completion promise without Architect verification.
105
+ DO NOT exit without Architect verification.
106
106
 
107
107
  ## ZERO TOLERANCE
108
108
 
@@ -116,7 +116,7 @@ DO NOT output the completion promise without Architect verification.
116
116
  - Review your progress so far
117
117
  - Continue from where you left off
118
118
  - Use parallel execution and background tasks
119
- - When FULLY complete AND Architect verified, output: <promise>{{PROMISE}}</promise>
119
+ - When FULLY complete AND Architect verified: Run `/oh-my-claudecode:cancel` to exit and clean up state
120
120
  - Do not stop until the task is truly done
121
121
 
122
122
  Original task:
@@ -145,13 +145,9 @@ Track state in `.omc/ultrapilot-state.json`:
145
145
 
146
146
  ## Completion
147
147
 
148
- When all phases complete and Architect validates:
148
+ When all phases complete and Architect validates, run `/oh-my-claudecode:cancel` to cleanly exit ultrapilot and clean up state files.
149
149
 
150
- ```
151
- <promise>ULTRAPILOT_COMPLETE</promise>
152
- ```
153
-
154
- Display summary with:
150
+ Then display summary with:
155
151
  - Time savings vs sequential
156
152
  - Workers spawned
157
153
  - Files modified per worker
@@ -8,7 +8,7 @@ const __dirname = path.dirname(__filename);
8
8
  describe('Agent Registry Validation', () => {
9
9
  test('agent count matches documentation', () => {
10
10
  const agents = getAgentDefinitions();
11
- expect(Object.keys(agents).length).toBe(32);
11
+ expect(Object.keys(agents).length).toBe(33);
12
12
  });
13
13
  test('all agents have .md prompt files', () => {
14
14
  const agents = Object.keys(getAgentDefinitions());
@@ -390,7 +390,6 @@ describe('delegation-enforcement-levels', () => {
390
390
  readRalphState: vi.fn(() => null),
391
391
  incrementRalphIteration: vi.fn(),
392
392
  clearRalphState: vi.fn(),
393
- detectCompletionPromise: vi.fn(),
394
393
  createRalphLoopHook: vi.fn(() => ({ startLoop: vi.fn() })),
395
394
  readVerificationState: vi.fn(() => null),
396
395
  startVerification: vi.fn(),