oh-my-opencode 4.12.1 → 4.14.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 (911) hide show
  1. package/.agents/skills/codex-qa/SKILL.md +15 -0
  2. package/.agents/skills/codex-qa/references/logging-debug.md +12 -0
  3. package/.agents/skills/opencode-qa/SKILL.md +17 -0
  4. package/.agents/skills/opencode-qa/references/tui-tmux.md +17 -0
  5. package/.agents/skills/work-with-pr/SKILL.md +18 -10
  6. package/.opencode/skills/work-with-pr/SKILL.md +18 -10
  7. package/README.md +3 -3
  8. package/THIRD-PARTY-NOTICES.md +1 -1
  9. package/dist/agents/sisyphus-agent-factory.d.ts +9 -0
  10. package/dist/agents/sisyphus-runtime-prompt-reconciler.d.ts +31 -0
  11. package/dist/cli/doctor/checks/telemetry.d.ts +2 -0
  12. package/dist/cli/doctor/framework/constants.d.ts +1 -0
  13. package/dist/cli/doctor/framework/doctor-target.d.ts +1 -1
  14. package/dist/cli/index.js +25417 -16991
  15. package/dist/cli-node/index.js +25598 -17172
  16. package/dist/config/schema/codegraph.d.ts +1 -0
  17. package/dist/config/schema/oh-my-opencode-config.d.ts +3 -0
  18. package/dist/config/schema/runtime-fallback.d.ts +1 -0
  19. package/dist/features/background-agent/background-task-marker.d.ts +8 -0
  20. package/dist/features/background-agent/fallback-retry-handler.d.ts +1 -0
  21. package/dist/features/background-agent/manager.d.ts +1 -0
  22. package/dist/features/background-agent/parent-wake-dedupe.d.ts +1 -0
  23. package/dist/features/background-agent/parent-wake-notifier-types.d.ts +2 -0
  24. package/dist/features/background-agent/parent-wake-notifier.d.ts +1 -0
  25. package/dist/features/background-agent/parent-wake-window-recovery.d.ts +2 -0
  26. package/dist/features/team-mode/test-support/async-test-helpers.d.ts +19 -0
  27. package/dist/hooks/atlas/final-wave-approval-gate.d.ts +1 -0
  28. package/dist/hooks/atlas/subagent-completion-reminder.d.ts +30 -0
  29. package/dist/hooks/atlas/types.d.ts +2 -0
  30. package/dist/hooks/atlas/verification-reminders.d.ts +3 -0
  31. package/dist/hooks/runtime-fallback/auto-retry-dispatch.d.ts +2 -2
  32. package/dist/hooks/runtime-fallback/auto-retry-timeout.d.ts +2 -2
  33. package/dist/hooks/runtime-fallback/auto-retry.d.ts +1 -1
  34. package/dist/hooks/runtime-fallback/fallback-state-snapshot.d.ts +13 -0
  35. package/dist/hooks/runtime-fallback/types.d.ts +8 -0
  36. package/dist/hooks/team-session-events/team-idle-wake-hint.d.ts +1 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.js +33620 -19652
  39. package/dist/mcp/context7.d.ts +9 -8
  40. package/dist/oh-my-opencode.schema.json +12 -0
  41. package/dist/plugin/runtime-skill-resolver.d.ts +35 -0
  42. package/dist/plugin/skill-context.d.ts +9 -0
  43. package/dist/shared/posthog.d.ts +17 -10
  44. package/dist/shared/telemetry-product-identity.d.ts +2 -0
  45. package/dist/skills/coding-agent-sessions/SKILL.md +128 -0
  46. package/dist/skills/coding-agent-sessions/agents/openai.yaml +4 -0
  47. package/dist/skills/coding-agent-sessions/references/all-platforms.md +71 -0
  48. package/dist/skills/coding-agent-sessions/references/claude.md +32 -0
  49. package/dist/skills/coding-agent-sessions/references/codex.md +30 -0
  50. package/dist/skills/coding-agent-sessions/references/opencode.md +43 -0
  51. package/dist/skills/coding-agent-sessions/references/senpi.md +17 -0
  52. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
  53. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
  54. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
  55. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
  56. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
  57. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
  58. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
  59. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
  60. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +92 -0
  61. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
  62. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
  63. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
  64. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
  65. package/dist/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
  66. package/dist/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
  67. package/dist/skills/frontend/ATTRIBUTION.md +77 -9
  68. package/dist/skills/frontend/SKILL.md +29 -8
  69. package/dist/skills/frontend/references/design/README.md +29 -12
  70. package/dist/skills/frontend/references/design/_INDEX.md +3 -3
  71. package/dist/skills/frontend/references/design/airbnb.md +3 -0
  72. package/dist/skills/frontend/references/design/airtable.md +3 -0
  73. package/dist/skills/frontend/references/design/apple.md +3 -0
  74. package/dist/skills/frontend/references/design/binance.md +3 -0
  75. package/dist/skills/frontend/references/design/bmw.md +3 -0
  76. package/dist/skills/frontend/references/design/bugatti.md +3 -0
  77. package/dist/skills/frontend/references/design/cal.md +3 -0
  78. package/dist/skills/frontend/references/design/claude.md +3 -0
  79. package/dist/skills/frontend/references/design/clay.md +3 -0
  80. package/dist/skills/frontend/references/design/clickhouse.md +3 -0
  81. package/dist/skills/frontend/references/design/cohere.md +3 -0
  82. package/dist/skills/frontend/references/design/coinbase.md +3 -0
  83. package/dist/skills/frontend/references/design/composio.md +3 -0
  84. package/dist/skills/frontend/references/design/cursor.md +3 -0
  85. package/dist/skills/frontend/references/design/design-system-architecture.md +22 -19
  86. package/dist/skills/frontend/references/design/elevenlabs.md +3 -0
  87. package/dist/skills/frontend/references/design/expo.md +3 -0
  88. package/dist/skills/frontend/references/design/ferrari.md +3 -0
  89. package/dist/skills/frontend/references/design/figma.md +3 -0
  90. package/dist/skills/frontend/references/design/framer.md +3 -0
  91. package/dist/skills/frontend/references/design/hashicorp.md +3 -0
  92. package/dist/skills/frontend/references/design/ibm.md +3 -0
  93. package/dist/skills/frontend/references/design/imagegen-frontend-web.md +380 -79
  94. package/dist/skills/frontend/references/design/intercom.md +3 -0
  95. package/dist/skills/frontend/references/design/kraken.md +3 -0
  96. package/dist/skills/frontend/references/design/lamborghini.md +3 -0
  97. package/dist/skills/frontend/references/design/linear.app.md +3 -0
  98. package/dist/skills/frontend/references/design/lovable.md +3 -0
  99. package/dist/skills/frontend/references/design/mastercard.md +3 -0
  100. package/dist/skills/frontend/references/design/meta.md +3 -0
  101. package/dist/skills/frontend/references/design/minimax.md +3 -0
  102. package/dist/skills/frontend/references/design/mintlify.md +3 -0
  103. package/dist/skills/frontend/references/design/miro.md +3 -0
  104. package/dist/skills/frontend/references/design/mistral.ai.md +3 -0
  105. package/dist/skills/frontend/references/design/mongodb.md +3 -0
  106. package/dist/skills/frontend/references/design/nike.md +3 -0
  107. package/dist/skills/frontend/references/design/notion.md +3 -0
  108. package/dist/skills/frontend/references/design/nvidia.md +3 -0
  109. package/dist/skills/frontend/references/design/ollama.md +3 -0
  110. package/dist/skills/frontend/references/design/opencode.ai.md +3 -0
  111. package/dist/skills/frontend/references/design/pinterest.md +3 -0
  112. package/dist/skills/frontend/references/design/playstation.md +3 -0
  113. package/dist/skills/frontend/references/design/posthog.md +3 -0
  114. package/dist/skills/frontend/references/design/raycast.md +3 -0
  115. package/dist/skills/frontend/references/design/renault.md +3 -0
  116. package/dist/skills/frontend/references/design/replicate.md +3 -0
  117. package/dist/skills/frontend/references/design/resend.md +3 -0
  118. package/dist/skills/frontend/references/design/revolut.md +3 -0
  119. package/dist/skills/frontend/references/design/runwayml.md +3 -0
  120. package/dist/skills/frontend/references/design/sanity.md +3 -0
  121. package/dist/skills/frontend/references/design/sentry.md +3 -0
  122. package/dist/skills/frontend/references/design/shopify.md +3 -0
  123. package/dist/skills/frontend/references/design/spacex.md +3 -0
  124. package/dist/skills/frontend/references/design/spotify.md +3 -0
  125. package/dist/skills/frontend/references/design/starbucks.md +3 -0
  126. package/dist/skills/frontend/references/design/stitch-skill.md +1 -1
  127. package/dist/skills/frontend/references/design/stripe.md +3 -0
  128. package/dist/skills/frontend/references/design/supabase.md +3 -0
  129. package/dist/skills/frontend/references/design/superhuman.md +3 -0
  130. package/dist/skills/frontend/references/design/taste-skill.md +1188 -208
  131. package/dist/skills/frontend/references/design/tesla.md +3 -0
  132. package/dist/skills/frontend/references/design/theverge.md +3 -0
  133. package/dist/skills/frontend/references/design/together.ai.md +3 -0
  134. package/dist/skills/frontend/references/design/uber.md +3 -0
  135. package/dist/skills/frontend/references/design/vercel.md +3 -0
  136. package/dist/skills/frontend/references/design/vodafone.md +3 -0
  137. package/dist/skills/frontend/references/design/voltagent.md +3 -0
  138. package/dist/skills/frontend/references/design/warp.md +3 -0
  139. package/dist/skills/frontend/references/design/webflow.md +3 -0
  140. package/dist/skills/frontend/references/design/wired.md +3 -0
  141. package/dist/skills/frontend/references/design/wise.md +3 -0
  142. package/dist/skills/frontend/references/design/x.ai.md +3 -0
  143. package/dist/skills/frontend/references/design/zapier.md +3 -0
  144. package/dist/skills/frontend/references/designpowers/EVIDENCE.md +89 -0
  145. package/dist/skills/frontend/references/designpowers/README.md +48 -0
  146. package/dist/skills/frontend/references/designpowers/UPSTREAM.md +80 -0
  147. package/dist/skills/frontend/references/designpowers/lane-a-direction.md +64 -0
  148. package/dist/skills/frontend/references/designpowers/lane-b-execution.md +65 -0
  149. package/dist/skills/frontend/references/designpowers/lane-c-review.md +65 -0
  150. package/dist/skills/frontend/references/designpowers/lane-d-memory.md +83 -0
  151. package/dist/skills/frontend/references/designpowers/orchestration.md +80 -0
  152. package/dist/skills/frontend/references/designpowers/routing.md +79 -0
  153. package/dist/skills/frontend/references/designpowers/vendor/LICENSE +21 -0
  154. package/dist/skills/frontend/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  155. package/dist/skills/frontend/references/designpowers/vendor/agents/content-writer.md +132 -0
  156. package/dist/skills/frontend/references/designpowers/vendor/agents/design-builder.md +109 -0
  157. package/dist/skills/frontend/references/designpowers/vendor/agents/design-critic.md +89 -0
  158. package/dist/skills/frontend/references/designpowers/vendor/agents/design-lead.md +113 -0
  159. package/dist/skills/frontend/references/designpowers/vendor/agents/design-scout.md +78 -0
  160. package/dist/skills/frontend/references/designpowers/vendor/agents/design-strategist.md +121 -0
  161. package/dist/skills/frontend/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  162. package/dist/skills/frontend/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
  163. package/dist/skills/frontend/references/designpowers/vendor/agents/motion-designer.md +120 -0
  164. package/dist/skills/frontend/references/designpowers/vendor/skills/accessible-content/SKILL.md +101 -0
  165. package/dist/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/SKILL.md +109 -0
  166. package/dist/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/SKILL.md +107 -0
  167. package/dist/skills/frontend/references/designpowers/vendor/skills/design-debate/SKILL.md +199 -0
  168. package/dist/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/SKILL.md +174 -0
  169. package/dist/skills/frontend/references/designpowers/vendor/skills/design-handoff/SKILL.md +125 -0
  170. package/dist/skills/frontend/references/designpowers/vendor/skills/design-md/SKILL.md +106 -0
  171. package/dist/skills/frontend/references/designpowers/vendor/skills/design-retrospective/SKILL.md +266 -0
  172. package/dist/skills/frontend/references/designpowers/vendor/skills/design-review/SKILL.md +123 -0
  173. package/dist/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/SKILL.md +120 -0
  174. package/dist/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/SKILL.md +164 -0
  175. package/dist/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/SKILL.md +85 -0
  176. package/dist/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/SKILL.md +98 -0
  177. package/dist/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/SKILL.md +165 -0
  178. package/dist/skills/frontend/references/designpowers/vendor/skills/interaction-design/SKILL.md +122 -0
  179. package/dist/skills/frontend/references/designpowers/vendor/skills/motion-choreography/SKILL.md +81 -0
  180. package/dist/skills/frontend/references/designpowers/vendor/skills/research-planning/SKILL.md +96 -0
  181. package/dist/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/SKILL.md +77 -0
  182. package/dist/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/SKILL.md +192 -0
  183. package/dist/skills/frontend/references/designpowers/vendor/skills/taste-feedback/SKILL.md +165 -0
  184. package/dist/skills/frontend/references/designpowers/vendor/skills/taste-report/SKILL.md +78 -0
  185. package/dist/skills/frontend/references/designpowers/vendor/skills/token-architecture/SKILL.md +75 -0
  186. package/dist/skills/frontend/references/designpowers/vendor/skills/ui-composition/SKILL.md +117 -0
  187. package/dist/skills/frontend/references/designpowers/vendor/skills/usability-testing/SKILL.md +78 -0
  188. package/dist/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/SKILL.md +125 -0
  189. package/dist/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/SKILL.md +79 -0
  190. package/dist/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/SKILL.md +119 -0
  191. package/dist/skills/frontend/references/ui-ux-db/README.md +501 -115
  192. package/dist/skills/frontend/references/ui-ux-db/data/charts.csv +26 -26
  193. package/dist/skills/frontend/references/ui-ux-db/data/colors.csv +162 -97
  194. package/dist/skills/frontend/references/ui-ux-db/data/icons.csv +105 -100
  195. package/dist/skills/frontend/references/ui-ux-db/data/landing.csv +22 -18
  196. package/dist/skills/frontend/references/ui-ux-db/data/products.csv +162 -97
  197. package/dist/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -53
  198. package/dist/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -56
  199. package/dist/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -53
  200. package/dist/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -54
  201. package/dist/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -54
  202. package/dist/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -51
  203. package/dist/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -50
  204. package/dist/skills/frontend/references/ui-ux-db/data/styles.csv +17 -0
  205. package/dist/skills/frontend/references/ui-ux-db/data/typography.csv +17 -1
  206. package/dist/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -101
  207. package/dist/skills/frontend/references/ui-ux-db/data/web-interface.csv +30 -30
  208. package/dist/skills/frontend/references/ui-ux-db/scripts/core.py +31 -22
  209. package/dist/skills/frontend/references/ui-ux-db/scripts/design_system.py +150 -69
  210. package/dist/skills/frontend/references/ui-ux-db/scripts/search.py +3 -3
  211. package/dist/skills/git-master/SKILL.md +4 -0
  212. package/dist/skills/lcx-doctor/SKILL.md +1 -1
  213. package/dist/skills/review-work/SKILL.md +3 -3
  214. package/dist/skills/start-work/SKILL.md +7 -5
  215. package/dist/skills/ultimate-browsing/ATTRIBUTION.md +105 -0
  216. package/dist/skills/ultimate-browsing/SKILL.md +140 -0
  217. package/dist/skills/ultimate-browsing/engine/__init__.py +24 -0
  218. package/dist/skills/ultimate-browsing/engine/__main__.py +106 -0
  219. package/dist/skills/ultimate-browsing/engine/bias_check.py +174 -0
  220. package/dist/skills/ultimate-browsing/engine/curl_probe.py +91 -0
  221. package/dist/skills/ultimate-browsing/engine/executor.py +192 -0
  222. package/dist/skills/ultimate-browsing/engine/fetch_chain.py +268 -0
  223. package/dist/skills/ultimate-browsing/engine/referers.py +15 -0
  224. package/dist/skills/ultimate-browsing/engine/result_schema.py +45 -0
  225. package/dist/skills/ultimate-browsing/engine/summary.py +37 -0
  226. package/dist/skills/ultimate-browsing/engine/templates/package.json +11 -0
  227. package/dist/skills/ultimate-browsing/engine/templates/playwright_mobile_chrome.js +129 -0
  228. package/dist/skills/ultimate-browsing/engine/templates/playwright_real_chrome.js +167 -0
  229. package/dist/skills/ultimate-browsing/engine/tests/test_fetch_chain.py +77 -0
  230. package/dist/skills/ultimate-browsing/engine/tests/test_playwright_templates.py +282 -0
  231. package/dist/skills/ultimate-browsing/engine/url_transforms.py +98 -0
  232. package/dist/skills/ultimate-browsing/engine/validators.py +216 -0
  233. package/dist/skills/ultimate-browsing/engine/waf_detector.py +214 -0
  234. package/dist/skills/ultimate-browsing/engine/waf_profiles.yaml +162 -0
  235. package/dist/skills/ultimate-browsing/references/agent-reach/README.md +79 -0
  236. package/dist/skills/ultimate-browsing/references/agent-reach/career.md +29 -0
  237. package/dist/skills/ultimate-browsing/references/agent-reach/dev.md +62 -0
  238. package/dist/skills/ultimate-browsing/references/agent-reach/search.md +33 -0
  239. package/dist/skills/ultimate-browsing/references/agent-reach/social.md +207 -0
  240. package/dist/skills/ultimate-browsing/references/agent-reach/video.md +115 -0
  241. package/dist/skills/ultimate-browsing/references/agent-reach/web.md +76 -0
  242. package/dist/skills/ultimate-browsing/references/chrome-stealth.md +120 -0
  243. package/dist/skills/ultimate-browsing/references/insane-search/README.md +319 -0
  244. package/dist/skills/ultimate-browsing/references/insane-search/cache-archive.md +83 -0
  245. package/dist/skills/ultimate-browsing/references/insane-search/fallback.md +159 -0
  246. package/dist/skills/ultimate-browsing/references/insane-search/jina.md +130 -0
  247. package/dist/skills/ultimate-browsing/references/insane-search/json-api.md +133 -0
  248. package/dist/skills/ultimate-browsing/references/insane-search/media.md +123 -0
  249. package/dist/skills/ultimate-browsing/references/insane-search/metadata.md +116 -0
  250. package/dist/skills/ultimate-browsing/references/insane-search/naver.md +107 -0
  251. package/dist/skills/ultimate-browsing/references/insane-search/playwright.md +142 -0
  252. package/dist/skills/ultimate-browsing/references/insane-search/public-api.md +119 -0
  253. package/dist/skills/ultimate-browsing/references/insane-search/rss.md +123 -0
  254. package/dist/skills/ultimate-browsing/references/insane-search/tls-impersonate.md +186 -0
  255. package/dist/skills/ultimate-browsing/references/insane-search/twitter.md +104 -0
  256. package/dist/skills/ultimate-browsing/scripts/cookie_crypto.py +75 -0
  257. package/dist/skills/ultimate-browsing/scripts/cookie_domains.py +38 -0
  258. package/dist/skills/ultimate-browsing/scripts/cookie_paths.py +112 -0
  259. package/dist/skills/ultimate-browsing/scripts/extract_cookies.py +280 -0
  260. package/dist/skills/ultimate-browsing/scripts/tests/test_cookie_domain_filter.py +110 -0
  261. package/dist/skills/ultimate-browsing/scripts/tests/test_extract_cookies.py +245 -0
  262. package/dist/skills/ultraresearch/SKILL.md +4 -233
  263. package/dist/skills/ulw-plan/SKILL.md +9 -4
  264. package/dist/skills/ulw-plan/references/full-workflow.md +11 -6
  265. package/dist/skills/ulw-plan/references/intent-clear.md +3 -3
  266. package/dist/skills/ulw-plan/references/intent-unclear.md +1 -1
  267. package/dist/skills/ulw-research/ATTRIBUTION.md +49 -0
  268. package/dist/skills/ulw-research/SKILL.md +260 -0
  269. package/dist/skills/visual-qa/SKILL.md +105 -14
  270. package/dist/skills/visual-qa/scripts/skill-prompt-contract.test.ts +120 -1
  271. package/dist/testing/create-plugin-module.d.ts +2 -0
  272. package/dist/tools/delegate-task/sync-task-deps.d.ts +8 -6
  273. package/dist/tools/skill-mcp/tools.d.ts +1 -1
  274. package/dist/tui.js +23924 -16116
  275. package/docs/reference/github-attachment-upload.md +51 -0
  276. package/docs/reference/web-terminal-visual-qa.md +81 -0
  277. package/package.json +23 -15
  278. package/packages/lsp-core/src/lsp/process.ts +4 -1
  279. package/packages/lsp-core/src/mcp.ts +1 -0
  280. package/packages/lsp-daemon/dist/cli.js +5 -1
  281. package/packages/lsp-daemon/dist/index.js +5 -1
  282. package/packages/lsp-daemon/dist/proxy.js +1 -0
  283. package/packages/lsp-tools-mcp/dist/cli.js +5 -1
  284. package/packages/lsp-tools-mcp/dist/lsp/manager.js +4 -1
  285. package/packages/lsp-tools-mcp/dist/mcp.js +5 -1
  286. package/packages/lsp-tools-mcp/dist/tools.js +4 -1
  287. package/packages/omo-codex/THIRD-PARTY-NOTICES.md +27 -4
  288. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  289. package/packages/omo-codex/plugin/README.md +1 -1
  290. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +447 -94
  291. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  292. package/packages/omo-codex/plugin/components/bootstrap/scripts/bootstrap.ps1 +37 -68
  293. package/packages/omo-codex/plugin/components/bootstrap/scripts/node-dispatch.ps1 +75 -0
  294. package/packages/omo-codex/plugin/components/bootstrap/src/cli.ts +1 -1
  295. package/packages/omo-codex/plugin/components/bootstrap/src/setup.ts +2 -18
  296. package/packages/omo-codex/plugin/components/codegraph/LICENSE +21 -0
  297. package/packages/omo-codex/plugin/components/codegraph/NODE-RUNTIME-LICENSES.md +2951 -0
  298. package/packages/omo-codex/plugin/components/codegraph/NOTICE +16 -0
  299. package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +889 -364
  300. package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +497 -59
  301. package/packages/omo-codex/plugin/components/codegraph/package.json +10 -4
  302. package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +7 -1
  303. package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +103 -3
  304. package/packages/omo-codex/plugin/components/codegraph/src/mcp-bridge.ts +114 -0
  305. package/packages/omo-codex/plugin/components/codegraph/src/mcp-unavailable.ts +75 -0
  306. package/packages/omo-codex/plugin/components/codegraph/src/serve-invocation.ts +29 -0
  307. package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +60 -70
  308. package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +27 -11
  309. package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +31 -239
  310. package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +91 -0
  311. package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +1 -1
  312. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +146 -0
  313. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +68 -0
  314. package/packages/omo-codex/plugin/components/codegraph/test/serve-node-support.test.ts +11 -1
  315. package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +133 -0
  316. package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +13 -120
  317. package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +8 -1
  318. package/packages/omo-codex/plugin/components/codegraph/test/session-start-trust-boundary.test.ts +63 -0
  319. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-availability.test.ts +106 -0
  320. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +220 -0
  321. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  322. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  323. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  324. package/packages/omo-codex/plugin/components/lsp/dist/cli.js +4 -1
  325. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  326. package/packages/omo-codex/plugin/components/rules/dist/cli.js +3 -3
  327. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  328. package/packages/omo-codex/plugin/components/rules/src/sparkshell-awareness.ts +3 -3
  329. package/packages/omo-codex/plugin/components/rules/test/sparkshell-awareness.test.ts +42 -9
  330. package/packages/omo-codex/plugin/components/start-work-continuation/directive.md +6 -6
  331. package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
  332. package/packages/omo-codex/plugin/components/start-work-continuation/test/codex-hook.test.ts +23 -0
  333. package/packages/omo-codex/plugin/components/teammode/dist/cli.js +22 -4
  334. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  335. package/packages/omo-codex/plugin/components/teammode/skills/teammode/SKILL.md +97 -32
  336. package/packages/omo-codex/plugin/components/teammode/skills/teammode/scripts/team-guide.mjs +48 -20
  337. package/packages/omo-codex/plugin/components/teammode/skills/teammode/scripts/team-state.mjs +70 -3
  338. package/packages/omo-codex/plugin/components/teammode/skills/teammode/scripts/team-worktree.mjs +113 -0
  339. package/packages/omo-codex/plugin/components/teammode/skills/teammode/scripts/team.mjs +69 -6
  340. package/packages/omo-codex/plugin/components/teammode/src/codex-hook.ts +19 -4
  341. package/packages/omo-codex/plugin/components/teammode/test/thread-title-hook.test.ts +32 -2
  342. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  343. package/packages/omo-codex/plugin/components/ultrawork/README.md +1 -1
  344. package/packages/omo-codex/plugin/components/ultrawork/agents/explorer.toml +1 -1
  345. package/packages/omo-codex/plugin/components/ultrawork/agents/plan.toml +2 -2
  346. package/packages/omo-codex/plugin/components/ultrawork/directive.md +24 -7
  347. package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +1 -1
  348. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  349. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +6 -4
  350. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +11 -6
  351. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-clear.md +3 -3
  352. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-unclear.md +1 -1
  353. package/packages/omo-codex/plugin/components/ultrawork/src/codex-hook.ts +1 -1
  354. package/packages/omo-codex/plugin/components/ultrawork/test/codex-hook-trigger-policy.test.ts +24 -0
  355. package/packages/omo-codex/plugin/components/ultrawork/test/package-smoke.test.ts +29 -3
  356. package/packages/omo-codex/plugin/components/ulw-loop/AGENTS.md +1 -1
  357. package/packages/omo-codex/plugin/components/ulw-loop/README.md +25 -21
  358. package/packages/omo-codex/plugin/components/ulw-loop/biome.json +1 -1
  359. package/packages/omo-codex/plugin/components/ulw-loop/directive.md +381 -0
  360. package/packages/omo-codex/plugin/components/ulw-loop/dist/cli-steering.js +14 -1
  361. package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +145 -14
  362. package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.d.ts +6 -3
  363. package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.js +16 -6
  364. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.d.ts +5 -0
  365. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.js +104 -0
  366. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +1 -1
  367. package/packages/omo-codex/plugin/components/ulw-loop/package.json +2 -1
  368. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +23 -14
  369. package/packages/omo-codex/plugin/components/ulw-loop/src/cli-steering.ts +14 -1
  370. package/packages/omo-codex/plugin/components/ulw-loop/src/cli.ts +4 -2
  371. package/packages/omo-codex/plugin/components/ulw-loop/src/codex-hook.ts +28 -6
  372. package/packages/omo-codex/plugin/components/ulw-loop/src/ultrawork-directive.ts +113 -0
  373. package/packages/omo-codex/plugin/components/ulw-loop/test/cli-entrypoint.test.ts +33 -2
  374. package/packages/omo-codex/plugin/components/ulw-loop/test/cli-steering-kind-guidance.test.ts +31 -0
  375. package/packages/omo-codex/plugin/components/ulw-loop/test/codex-hook.test.ts +13 -0
  376. package/packages/omo-codex/plugin/components/ulw-loop/test/package-smoke.test.ts +36 -0
  377. package/packages/omo-codex/plugin/components/ulw-loop/test/skill-contract.test.ts +13 -1
  378. package/packages/omo-codex/plugin/components/ulw-loop/test/ultrawork-directive.test.ts +64 -0
  379. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +2 -1
  380. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +2 -1
  381. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +2 -1
  382. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +2 -1
  383. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +2 -1
  384. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +2 -1
  385. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +2 -1
  386. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +2 -1
  387. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +2 -1
  388. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +2 -1
  389. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +2 -1
  390. package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +2 -1
  391. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +2 -1
  392. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +2 -1
  393. package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +2 -1
  394. package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +2 -1
  395. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +2 -1
  396. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +2 -1
  397. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +2 -1
  398. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +2 -1
  399. package/packages/omo-codex/plugin/package-lock.json +112 -13
  400. package/packages/omo-codex/plugin/package.json +2 -2
  401. package/packages/omo-codex/plugin/scripts/auto-update-plan.mjs +133 -0
  402. package/packages/omo-codex/plugin/scripts/auto-update-release-notes.mjs +135 -0
  403. package/packages/omo-codex/plugin/scripts/auto-update.mjs +42 -138
  404. package/packages/omo-codex/plugin/scripts/materialize-shared-upstreams.mjs +42 -0
  405. package/packages/omo-codex/plugin/scripts/migrate-codex-config/context7-placeholder-guard.mjs +131 -0
  406. package/packages/omo-codex/plugin/scripts/migrate-codex-config/multi-agent-mode-guard.mjs +60 -0
  407. package/packages/omo-codex/plugin/scripts/migrate-codex-config/multi-agent-v2-guard.mjs +3 -10
  408. package/packages/omo-codex/plugin/scripts/migrate-codex-config/root-settings.mjs +31 -1
  409. package/packages/omo-codex/plugin/scripts/migrate-codex-config/subagent-limit-guard.mjs +73 -0
  410. package/packages/omo-codex/plugin/scripts/migrate-codex-config.mjs +20 -3
  411. package/packages/omo-codex/plugin/scripts/sync-skills.mjs +30 -8
  412. package/packages/omo-codex/plugin/shared/src/config-loader.ts +20 -2
  413. package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +16 -0
  414. package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +128 -0
  415. package/packages/omo-codex/plugin/skills/coding-agent-sessions/agents/openai.yaml +4 -0
  416. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/all-platforms.md +71 -0
  417. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/claude.md +32 -0
  418. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/codex.md +30 -0
  419. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/opencode.md +43 -0
  420. package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/senpi.md +17 -0
  421. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
  422. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
  423. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
  424. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
  425. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
  426. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
  427. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
  428. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
  429. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +92 -0
  430. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
  431. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
  432. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
  433. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
  434. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
  435. package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
  436. package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +77 -9
  437. package/packages/omo-codex/plugin/skills/frontend/SKILL.md +29 -8
  438. package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +29 -12
  439. package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +3 -3
  440. package/packages/omo-codex/plugin/skills/frontend/references/design/airbnb.md +3 -0
  441. package/packages/omo-codex/plugin/skills/frontend/references/design/airtable.md +3 -0
  442. package/packages/omo-codex/plugin/skills/frontend/references/design/apple.md +3 -0
  443. package/packages/omo-codex/plugin/skills/frontend/references/design/binance.md +3 -0
  444. package/packages/omo-codex/plugin/skills/frontend/references/design/bmw.md +3 -0
  445. package/packages/omo-codex/plugin/skills/frontend/references/design/bugatti.md +3 -0
  446. package/packages/omo-codex/plugin/skills/frontend/references/design/cal.md +3 -0
  447. package/packages/omo-codex/plugin/skills/frontend/references/design/claude.md +3 -0
  448. package/packages/omo-codex/plugin/skills/frontend/references/design/clay.md +3 -0
  449. package/packages/omo-codex/plugin/skills/frontend/references/design/clickhouse.md +3 -0
  450. package/packages/omo-codex/plugin/skills/frontend/references/design/cohere.md +3 -0
  451. package/packages/omo-codex/plugin/skills/frontend/references/design/coinbase.md +3 -0
  452. package/packages/omo-codex/plugin/skills/frontend/references/design/composio.md +3 -0
  453. package/packages/omo-codex/plugin/skills/frontend/references/design/cursor.md +3 -0
  454. package/packages/omo-codex/plugin/skills/frontend/references/design/design-system-architecture.md +22 -19
  455. package/packages/omo-codex/plugin/skills/frontend/references/design/elevenlabs.md +3 -0
  456. package/packages/omo-codex/plugin/skills/frontend/references/design/expo.md +3 -0
  457. package/packages/omo-codex/plugin/skills/frontend/references/design/ferrari.md +3 -0
  458. package/packages/omo-codex/plugin/skills/frontend/references/design/figma.md +3 -0
  459. package/packages/omo-codex/plugin/skills/frontend/references/design/framer.md +3 -0
  460. package/packages/omo-codex/plugin/skills/frontend/references/design/hashicorp.md +3 -0
  461. package/packages/omo-codex/plugin/skills/frontend/references/design/ibm.md +3 -0
  462. package/packages/omo-codex/plugin/skills/frontend/references/design/imagegen-frontend-web.md +380 -79
  463. package/packages/omo-codex/plugin/skills/frontend/references/design/intercom.md +3 -0
  464. package/packages/omo-codex/plugin/skills/frontend/references/design/kraken.md +3 -0
  465. package/packages/omo-codex/plugin/skills/frontend/references/design/lamborghini.md +3 -0
  466. package/packages/omo-codex/plugin/skills/frontend/references/design/linear.app.md +3 -0
  467. package/packages/omo-codex/plugin/skills/frontend/references/design/lovable.md +3 -0
  468. package/packages/omo-codex/plugin/skills/frontend/references/design/mastercard.md +3 -0
  469. package/packages/omo-codex/plugin/skills/frontend/references/design/meta.md +3 -0
  470. package/packages/omo-codex/plugin/skills/frontend/references/design/minimax.md +3 -0
  471. package/packages/omo-codex/plugin/skills/frontend/references/design/mintlify.md +3 -0
  472. package/packages/omo-codex/plugin/skills/frontend/references/design/miro.md +3 -0
  473. package/packages/omo-codex/plugin/skills/frontend/references/design/mistral.ai.md +3 -0
  474. package/packages/omo-codex/plugin/skills/frontend/references/design/mongodb.md +3 -0
  475. package/packages/omo-codex/plugin/skills/frontend/references/design/nike.md +3 -0
  476. package/packages/omo-codex/plugin/skills/frontend/references/design/notion.md +3 -0
  477. package/packages/omo-codex/plugin/skills/frontend/references/design/nvidia.md +3 -0
  478. package/packages/omo-codex/plugin/skills/frontend/references/design/ollama.md +3 -0
  479. package/packages/omo-codex/plugin/skills/frontend/references/design/opencode.ai.md +3 -0
  480. package/packages/omo-codex/plugin/skills/frontend/references/design/pinterest.md +3 -0
  481. package/packages/omo-codex/plugin/skills/frontend/references/design/playstation.md +3 -0
  482. package/packages/omo-codex/plugin/skills/frontend/references/design/posthog.md +3 -0
  483. package/packages/omo-codex/plugin/skills/frontend/references/design/raycast.md +3 -0
  484. package/packages/omo-codex/plugin/skills/frontend/references/design/renault.md +3 -0
  485. package/packages/omo-codex/plugin/skills/frontend/references/design/replicate.md +3 -0
  486. package/packages/omo-codex/plugin/skills/frontend/references/design/resend.md +3 -0
  487. package/packages/omo-codex/plugin/skills/frontend/references/design/revolut.md +3 -0
  488. package/packages/omo-codex/plugin/skills/frontend/references/design/runwayml.md +3 -0
  489. package/packages/omo-codex/plugin/skills/frontend/references/design/sanity.md +3 -0
  490. package/packages/omo-codex/plugin/skills/frontend/references/design/sentry.md +3 -0
  491. package/packages/omo-codex/plugin/skills/frontend/references/design/shopify.md +3 -0
  492. package/packages/omo-codex/plugin/skills/frontend/references/design/spacex.md +3 -0
  493. package/packages/omo-codex/plugin/skills/frontend/references/design/spotify.md +3 -0
  494. package/packages/omo-codex/plugin/skills/frontend/references/design/starbucks.md +3 -0
  495. package/packages/omo-codex/plugin/skills/frontend/references/design/stitch-skill.md +1 -1
  496. package/packages/omo-codex/plugin/skills/frontend/references/design/stripe.md +3 -0
  497. package/packages/omo-codex/plugin/skills/frontend/references/design/supabase.md +3 -0
  498. package/packages/omo-codex/plugin/skills/frontend/references/design/superhuman.md +3 -0
  499. package/packages/omo-codex/plugin/skills/frontend/references/design/taste-skill.md +1188 -208
  500. package/packages/omo-codex/plugin/skills/frontend/references/design/tesla.md +3 -0
  501. package/packages/omo-codex/plugin/skills/frontend/references/design/theverge.md +3 -0
  502. package/packages/omo-codex/plugin/skills/frontend/references/design/together.ai.md +3 -0
  503. package/packages/omo-codex/plugin/skills/frontend/references/design/uber.md +3 -0
  504. package/packages/omo-codex/plugin/skills/frontend/references/design/vercel.md +3 -0
  505. package/packages/omo-codex/plugin/skills/frontend/references/design/vodafone.md +3 -0
  506. package/packages/omo-codex/plugin/skills/frontend/references/design/voltagent.md +3 -0
  507. package/packages/omo-codex/plugin/skills/frontend/references/design/warp.md +3 -0
  508. package/packages/omo-codex/plugin/skills/frontend/references/design/webflow.md +3 -0
  509. package/packages/omo-codex/plugin/skills/frontend/references/design/wired.md +3 -0
  510. package/packages/omo-codex/plugin/skills/frontend/references/design/wise.md +3 -0
  511. package/packages/omo-codex/plugin/skills/frontend/references/design/x.ai.md +3 -0
  512. package/packages/omo-codex/plugin/skills/frontend/references/design/zapier.md +3 -0
  513. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/EVIDENCE.md +89 -0
  514. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/README.md +48 -0
  515. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/UPSTREAM.md +80 -0
  516. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/lane-a-direction.md +64 -0
  517. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/lane-b-execution.md +65 -0
  518. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/lane-c-review.md +65 -0
  519. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/lane-d-memory.md +83 -0
  520. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/orchestration.md +80 -0
  521. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/routing.md +79 -0
  522. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/LICENSE +21 -0
  523. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  524. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/content-writer.md +132 -0
  525. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/design-builder.md +109 -0
  526. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/design-critic.md +89 -0
  527. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/design-lead.md +113 -0
  528. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/design-scout.md +78 -0
  529. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/design-strategist.md +121 -0
  530. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  531. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
  532. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/agents/motion-designer.md +120 -0
  533. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/accessible-content/SKILL.md +101 -0
  534. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/SKILL.md +109 -0
  535. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/SKILL.md +107 -0
  536. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-debate/SKILL.md +199 -0
  537. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/SKILL.md +174 -0
  538. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-handoff/SKILL.md +125 -0
  539. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-md/SKILL.md +106 -0
  540. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-retrospective/SKILL.md +266 -0
  541. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-review/SKILL.md +123 -0
  542. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/SKILL.md +120 -0
  543. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/SKILL.md +164 -0
  544. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/SKILL.md +85 -0
  545. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/SKILL.md +98 -0
  546. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/SKILL.md +165 -0
  547. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/interaction-design/SKILL.md +122 -0
  548. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/motion-choreography/SKILL.md +81 -0
  549. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/research-planning/SKILL.md +96 -0
  550. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/SKILL.md +77 -0
  551. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/SKILL.md +192 -0
  552. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/taste-feedback/SKILL.md +165 -0
  553. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/taste-report/SKILL.md +78 -0
  554. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/token-architecture/SKILL.md +75 -0
  555. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/ui-composition/SKILL.md +117 -0
  556. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/usability-testing/SKILL.md +78 -0
  557. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/SKILL.md +125 -0
  558. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/SKILL.md +79 -0
  559. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/SKILL.md +119 -0
  560. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/README.md +501 -115
  561. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/charts.csv +26 -26
  562. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/colors.csv +162 -97
  563. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/icons.csv +105 -100
  564. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/landing.csv +22 -18
  565. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/products.csv +162 -97
  566. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -53
  567. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -56
  568. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -53
  569. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -54
  570. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -54
  571. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -51
  572. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -50
  573. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/styles.csv +17 -0
  574. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/typography.csv +17 -1
  575. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -101
  576. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/data/web-interface.csv +30 -30
  577. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/scripts/core.py +31 -22
  578. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/scripts/design_system.py +150 -69
  579. package/packages/omo-codex/plugin/skills/frontend/references/ui-ux-db/scripts/search.py +3 -3
  580. package/packages/omo-codex/plugin/skills/git-master/SKILL.md +4 -0
  581. package/packages/omo-codex/plugin/skills/init-deep/SKILL.md +4 -0
  582. package/packages/omo-codex/plugin/skills/lcx-doctor/SKILL.md +1 -1
  583. package/packages/omo-codex/plugin/skills/refactor/SKILL.md +4 -0
  584. package/packages/omo-codex/plugin/skills/remove-ai-slops/SKILL.md +4 -0
  585. package/packages/omo-codex/plugin/skills/review-work/SKILL.md +12 -4
  586. package/packages/omo-codex/plugin/skills/start-work/SKILL.md +14 -8
  587. package/packages/omo-codex/plugin/skills/teammode/SKILL.md +97 -32
  588. package/packages/omo-codex/plugin/skills/teammode/scripts/team-guide.mjs +48 -20
  589. package/packages/omo-codex/plugin/skills/teammode/scripts/team-state.mjs +70 -3
  590. package/packages/omo-codex/plugin/skills/teammode/scripts/team-worktree.mjs +113 -0
  591. package/packages/omo-codex/plugin/skills/teammode/scripts/team.mjs +69 -6
  592. package/packages/omo-codex/plugin/skills/ultimate-browsing/ATTRIBUTION.md +105 -0
  593. package/packages/omo-codex/plugin/skills/ultimate-browsing/SKILL.md +140 -0
  594. package/packages/omo-codex/plugin/skills/ultimate-browsing/agents/openai.yaml +2 -0
  595. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/__init__.py +24 -0
  596. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/__main__.py +106 -0
  597. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/bias_check.py +174 -0
  598. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/curl_probe.py +91 -0
  599. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/executor.py +192 -0
  600. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/fetch_chain.py +268 -0
  601. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/referers.py +15 -0
  602. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/result_schema.py +45 -0
  603. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/summary.py +37 -0
  604. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/templates/package.json +11 -0
  605. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/templates/playwright_mobile_chrome.js +129 -0
  606. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/templates/playwright_real_chrome.js +167 -0
  607. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/tests/test_fetch_chain.py +77 -0
  608. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/tests/test_playwright_templates.py +282 -0
  609. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/url_transforms.py +98 -0
  610. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/validators.py +216 -0
  611. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/waf_detector.py +214 -0
  612. package/packages/omo-codex/plugin/skills/ultimate-browsing/engine/waf_profiles.yaml +162 -0
  613. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/README.md +79 -0
  614. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/career.md +29 -0
  615. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/dev.md +62 -0
  616. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/search.md +33 -0
  617. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/social.md +207 -0
  618. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/video.md +115 -0
  619. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/agent-reach/web.md +76 -0
  620. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/chrome-stealth.md +120 -0
  621. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/README.md +319 -0
  622. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/cache-archive.md +83 -0
  623. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/fallback.md +159 -0
  624. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/jina.md +130 -0
  625. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/json-api.md +133 -0
  626. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/media.md +123 -0
  627. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/metadata.md +116 -0
  628. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/naver.md +107 -0
  629. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/playwright.md +142 -0
  630. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/public-api.md +119 -0
  631. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/rss.md +123 -0
  632. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/tls-impersonate.md +186 -0
  633. package/packages/omo-codex/plugin/skills/ultimate-browsing/references/insane-search/twitter.md +104 -0
  634. package/packages/omo-codex/plugin/skills/ultimate-browsing/scripts/cookie_crypto.py +75 -0
  635. package/packages/omo-codex/plugin/skills/ultimate-browsing/scripts/cookie_domains.py +38 -0
  636. package/packages/omo-codex/plugin/skills/ultimate-browsing/scripts/cookie_paths.py +112 -0
  637. package/packages/omo-codex/plugin/skills/ultimate-browsing/scripts/extract_cookies.py +280 -0
  638. package/packages/omo-codex/plugin/skills/ultraresearch/SKILL.md +4 -231
  639. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +23 -14
  640. package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +6 -4
  641. package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +11 -6
  642. package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-clear.md +3 -3
  643. package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-unclear.md +1 -1
  644. package/packages/omo-codex/plugin/skills/ulw-research/ATTRIBUTION.md +49 -0
  645. package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +262 -0
  646. package/packages/omo-codex/plugin/skills/ulw-research/agents/openai.yaml +2 -0
  647. package/packages/omo-codex/plugin/skills/visual-qa/SKILL.md +109 -14
  648. package/packages/omo-codex/plugin/test/aggregate-build.test.mjs +2 -1
  649. package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +23 -0
  650. package/packages/omo-codex/plugin/test/aggregate-manifest.test.mjs +1 -0
  651. package/packages/omo-codex/plugin/test/auto-update-release-notes.test.mjs +96 -0
  652. package/packages/omo-codex/plugin/test/auto-update-restart-notice.test.mjs +36 -4
  653. package/packages/omo-codex/plugin/test/bootstrap-binlinks.test.mjs +23 -5
  654. package/packages/omo-codex/plugin/test/bootstrap-hooks.test.mjs +38 -0
  655. package/packages/omo-codex/plugin/test/bootstrap-ps-guard.test.mjs +25 -0
  656. package/packages/omo-codex/plugin/test/bootstrap-setup.test.mjs +1 -7
  657. package/packages/omo-codex/plugin/test/component-codegraph-mcp-smoke.test.mjs +76 -0
  658. package/packages/omo-codex/plugin/test/migrate-codex-config.test.mjs +206 -6
  659. package/packages/omo-codex/plugin/test/subagent-limit-migration.test.mjs +44 -0
  660. package/packages/omo-codex/plugin/test/sync-skills-orchestration.test.mjs +50 -1
  661. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +11 -7
  662. package/packages/omo-codex/plugin/test/sync-skills.test.mjs +28 -2
  663. package/packages/omo-codex/plugin/test/teammode-communication.test.mjs +107 -0
  664. package/packages/omo-codex/plugin/test/teammode-thread-links.test.mjs +117 -0
  665. package/packages/omo-codex/plugin/test/teammode-thread-title.test.mjs +169 -0
  666. package/packages/omo-codex/plugin/test/teammode-worktree.test.mjs +249 -0
  667. package/packages/omo-codex/plugin/test/ulw-research-skill-contract.test.mjs +285 -0
  668. package/packages/omo-codex/scripts/install-bin-links.test.mjs +6 -1
  669. package/packages/omo-codex/scripts/install-cache-copy.test.mjs +51 -0
  670. package/packages/omo-codex/scripts/install-cli-args.test.mjs +1 -1
  671. package/packages/omo-codex/scripts/install-config-git-bash.test.mjs +23 -0
  672. package/packages/omo-codex/scripts/install-config.test.mjs +198 -17
  673. package/packages/omo-codex/scripts/install-delegated-command.test.mjs +76 -4
  674. package/packages/omo-codex/scripts/install-dist/install-local.mjs +1021 -298
  675. package/packages/omo-codex/scripts/install-local-entrypoint.test.mjs +40 -3
  676. package/packages/omo-codex/scripts/install-local-git-bash-preflight.test.mjs +24 -15
  677. package/packages/omo-codex/scripts/install-local.test.mjs +5 -1
  678. package/packages/omo-codex/scripts/install-mcp-context7-runtime.test.mjs +84 -0
  679. package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +128 -0
  680. package/packages/shared-skills/skills/coding-agent-sessions/agents/openai.yaml +4 -0
  681. package/packages/shared-skills/skills/coding-agent-sessions/references/all-platforms.md +71 -0
  682. package/packages/shared-skills/skills/coding-agent-sessions/references/claude.md +32 -0
  683. package/packages/shared-skills/skills/coding-agent-sessions/references/codex.md +30 -0
  684. package/packages/shared-skills/skills/coding-agent-sessions/references/opencode.md +43 -0
  685. package/packages/shared-skills/skills/coding-agent-sessions/references/senpi.md +17 -0
  686. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
  687. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
  688. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
  689. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
  690. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
  691. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
  692. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
  693. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
  694. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +92 -0
  695. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
  696. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
  697. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
  698. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
  699. package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
  700. package/packages/shared-skills/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
  701. package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +77 -9
  702. package/packages/shared-skills/skills/frontend/SKILL.md +29 -8
  703. package/packages/shared-skills/skills/frontend/references/design/README.md +29 -12
  704. package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +3 -3
  705. package/packages/shared-skills/skills/frontend/references/design/airbnb.md +3 -0
  706. package/packages/shared-skills/skills/frontend/references/design/airtable.md +3 -0
  707. package/packages/shared-skills/skills/frontend/references/design/apple.md +3 -0
  708. package/packages/shared-skills/skills/frontend/references/design/binance.md +3 -0
  709. package/packages/shared-skills/skills/frontend/references/design/bmw.md +3 -0
  710. package/packages/shared-skills/skills/frontend/references/design/bugatti.md +3 -0
  711. package/packages/shared-skills/skills/frontend/references/design/cal.md +3 -0
  712. package/packages/shared-skills/skills/frontend/references/design/claude.md +3 -0
  713. package/packages/shared-skills/skills/frontend/references/design/clay.md +3 -0
  714. package/packages/shared-skills/skills/frontend/references/design/clickhouse.md +3 -0
  715. package/packages/shared-skills/skills/frontend/references/design/cohere.md +3 -0
  716. package/packages/shared-skills/skills/frontend/references/design/coinbase.md +3 -0
  717. package/packages/shared-skills/skills/frontend/references/design/composio.md +3 -0
  718. package/packages/shared-skills/skills/frontend/references/design/cursor.md +3 -0
  719. package/packages/shared-skills/skills/frontend/references/design/design-system-architecture.md +22 -19
  720. package/packages/shared-skills/skills/frontend/references/design/elevenlabs.md +3 -0
  721. package/packages/shared-skills/skills/frontend/references/design/expo.md +3 -0
  722. package/packages/shared-skills/skills/frontend/references/design/ferrari.md +3 -0
  723. package/packages/shared-skills/skills/frontend/references/design/figma.md +3 -0
  724. package/packages/shared-skills/skills/frontend/references/design/framer.md +3 -0
  725. package/packages/shared-skills/skills/frontend/references/design/hashicorp.md +3 -0
  726. package/packages/shared-skills/skills/frontend/references/design/ibm.md +3 -0
  727. package/packages/shared-skills/skills/frontend/references/design/imagegen-frontend-web.md +380 -79
  728. package/packages/shared-skills/skills/frontend/references/design/intercom.md +3 -0
  729. package/packages/shared-skills/skills/frontend/references/design/kraken.md +3 -0
  730. package/packages/shared-skills/skills/frontend/references/design/lamborghini.md +3 -0
  731. package/packages/shared-skills/skills/frontend/references/design/linear.app.md +3 -0
  732. package/packages/shared-skills/skills/frontend/references/design/lovable.md +3 -0
  733. package/packages/shared-skills/skills/frontend/references/design/mastercard.md +3 -0
  734. package/packages/shared-skills/skills/frontend/references/design/meta.md +3 -0
  735. package/packages/shared-skills/skills/frontend/references/design/minimax.md +3 -0
  736. package/packages/shared-skills/skills/frontend/references/design/mintlify.md +3 -0
  737. package/packages/shared-skills/skills/frontend/references/design/miro.md +3 -0
  738. package/packages/shared-skills/skills/frontend/references/design/mistral.ai.md +3 -0
  739. package/packages/shared-skills/skills/frontend/references/design/mongodb.md +3 -0
  740. package/packages/shared-skills/skills/frontend/references/design/nike.md +3 -0
  741. package/packages/shared-skills/skills/frontend/references/design/notion.md +3 -0
  742. package/packages/shared-skills/skills/frontend/references/design/nvidia.md +3 -0
  743. package/packages/shared-skills/skills/frontend/references/design/ollama.md +3 -0
  744. package/packages/shared-skills/skills/frontend/references/design/opencode.ai.md +3 -0
  745. package/packages/shared-skills/skills/frontend/references/design/pinterest.md +3 -0
  746. package/packages/shared-skills/skills/frontend/references/design/playstation.md +3 -0
  747. package/packages/shared-skills/skills/frontend/references/design/posthog.md +3 -0
  748. package/packages/shared-skills/skills/frontend/references/design/raycast.md +3 -0
  749. package/packages/shared-skills/skills/frontend/references/design/renault.md +3 -0
  750. package/packages/shared-skills/skills/frontend/references/design/replicate.md +3 -0
  751. package/packages/shared-skills/skills/frontend/references/design/resend.md +3 -0
  752. package/packages/shared-skills/skills/frontend/references/design/revolut.md +3 -0
  753. package/packages/shared-skills/skills/frontend/references/design/runwayml.md +3 -0
  754. package/packages/shared-skills/skills/frontend/references/design/sanity.md +3 -0
  755. package/packages/shared-skills/skills/frontend/references/design/sentry.md +3 -0
  756. package/packages/shared-skills/skills/frontend/references/design/shopify.md +3 -0
  757. package/packages/shared-skills/skills/frontend/references/design/spacex.md +3 -0
  758. package/packages/shared-skills/skills/frontend/references/design/spotify.md +3 -0
  759. package/packages/shared-skills/skills/frontend/references/design/starbucks.md +3 -0
  760. package/packages/shared-skills/skills/frontend/references/design/stitch-skill.md +1 -1
  761. package/packages/shared-skills/skills/frontend/references/design/stripe.md +3 -0
  762. package/packages/shared-skills/skills/frontend/references/design/supabase.md +3 -0
  763. package/packages/shared-skills/skills/frontend/references/design/superhuman.md +3 -0
  764. package/packages/shared-skills/skills/frontend/references/design/taste-skill.md +1188 -208
  765. package/packages/shared-skills/skills/frontend/references/design/tesla.md +3 -0
  766. package/packages/shared-skills/skills/frontend/references/design/theverge.md +3 -0
  767. package/packages/shared-skills/skills/frontend/references/design/together.ai.md +3 -0
  768. package/packages/shared-skills/skills/frontend/references/design/uber.md +3 -0
  769. package/packages/shared-skills/skills/frontend/references/design/vercel.md +3 -0
  770. package/packages/shared-skills/skills/frontend/references/design/vodafone.md +3 -0
  771. package/packages/shared-skills/skills/frontend/references/design/voltagent.md +3 -0
  772. package/packages/shared-skills/skills/frontend/references/design/warp.md +3 -0
  773. package/packages/shared-skills/skills/frontend/references/design/webflow.md +3 -0
  774. package/packages/shared-skills/skills/frontend/references/design/wired.md +3 -0
  775. package/packages/shared-skills/skills/frontend/references/design/wise.md +3 -0
  776. package/packages/shared-skills/skills/frontend/references/design/x.ai.md +3 -0
  777. package/packages/shared-skills/skills/frontend/references/design/zapier.md +3 -0
  778. package/packages/shared-skills/skills/frontend/references/designpowers/EVIDENCE.md +89 -0
  779. package/packages/shared-skills/skills/frontend/references/designpowers/README.md +48 -0
  780. package/packages/shared-skills/skills/frontend/references/designpowers/UPSTREAM.md +80 -0
  781. package/packages/shared-skills/skills/frontend/references/designpowers/lane-a-direction.md +64 -0
  782. package/packages/shared-skills/skills/frontend/references/designpowers/lane-b-execution.md +65 -0
  783. package/packages/shared-skills/skills/frontend/references/designpowers/lane-c-review.md +65 -0
  784. package/packages/shared-skills/skills/frontend/references/designpowers/lane-d-memory.md +83 -0
  785. package/packages/shared-skills/skills/frontend/references/designpowers/orchestration.md +80 -0
  786. package/packages/shared-skills/skills/frontend/references/designpowers/routing.md +79 -0
  787. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/LICENSE +21 -0
  788. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  789. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/content-writer.md +132 -0
  790. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/design-builder.md +109 -0
  791. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/design-critic.md +89 -0
  792. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/design-lead.md +113 -0
  793. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/design-scout.md +78 -0
  794. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/design-strategist.md +121 -0
  795. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  796. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/inspiration-scout.md +107 -0
  797. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/agents/motion-designer.md +120 -0
  798. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/accessible-content/SKILL.md +101 -0
  799. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/SKILL.md +109 -0
  800. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/SKILL.md +107 -0
  801. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-debate/SKILL.md +199 -0
  802. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/SKILL.md +174 -0
  803. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-handoff/SKILL.md +125 -0
  804. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-md/SKILL.md +106 -0
  805. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-retrospective/SKILL.md +266 -0
  806. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-review/SKILL.md +123 -0
  807. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/SKILL.md +120 -0
  808. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/SKILL.md +164 -0
  809. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/SKILL.md +85 -0
  810. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/SKILL.md +98 -0
  811. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/SKILL.md +165 -0
  812. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/interaction-design/SKILL.md +122 -0
  813. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/motion-choreography/SKILL.md +81 -0
  814. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/research-planning/SKILL.md +96 -0
  815. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/SKILL.md +77 -0
  816. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/SKILL.md +192 -0
  817. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/taste-feedback/SKILL.md +165 -0
  818. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/taste-report/SKILL.md +78 -0
  819. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/token-architecture/SKILL.md +75 -0
  820. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/ui-composition/SKILL.md +117 -0
  821. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/usability-testing/SKILL.md +78 -0
  822. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/SKILL.md +125 -0
  823. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/SKILL.md +79 -0
  824. package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/SKILL.md +119 -0
  825. package/packages/shared-skills/skills/frontend/references/ui-ux-db/README.md +501 -115
  826. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/charts.csv +26 -26
  827. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/colors.csv +162 -97
  828. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/icons.csv +105 -100
  829. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/landing.csv +22 -18
  830. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/products.csv +162 -97
  831. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -53
  832. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -56
  833. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -53
  834. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -54
  835. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -54
  836. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -51
  837. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -50
  838. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/styles.csv +17 -0
  839. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/typography.csv +17 -1
  840. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -101
  841. package/packages/shared-skills/skills/frontend/references/ui-ux-db/data/web-interface.csv +30 -30
  842. package/packages/shared-skills/skills/frontend/references/ui-ux-db/scripts/core.py +31 -22
  843. package/packages/shared-skills/skills/frontend/references/ui-ux-db/scripts/design_system.py +150 -69
  844. package/packages/shared-skills/skills/frontend/references/ui-ux-db/scripts/search.py +3 -3
  845. package/packages/shared-skills/skills/git-master/SKILL.md +4 -0
  846. package/packages/shared-skills/skills/lcx-doctor/SKILL.md +1 -1
  847. package/packages/shared-skills/skills/review-work/SKILL.md +3 -3
  848. package/packages/shared-skills/skills/start-work/SKILL.md +7 -5
  849. package/packages/shared-skills/skills/ultimate-browsing/ATTRIBUTION.md +105 -0
  850. package/packages/shared-skills/skills/ultimate-browsing/SKILL.md +140 -0
  851. package/packages/shared-skills/skills/ultimate-browsing/engine/__init__.py +24 -0
  852. package/packages/shared-skills/skills/ultimate-browsing/engine/__main__.py +106 -0
  853. package/packages/shared-skills/skills/ultimate-browsing/engine/bias_check.py +174 -0
  854. package/packages/shared-skills/skills/ultimate-browsing/engine/curl_probe.py +91 -0
  855. package/packages/shared-skills/skills/ultimate-browsing/engine/executor.py +192 -0
  856. package/packages/shared-skills/skills/ultimate-browsing/engine/fetch_chain.py +268 -0
  857. package/packages/shared-skills/skills/ultimate-browsing/engine/referers.py +15 -0
  858. package/packages/shared-skills/skills/ultimate-browsing/engine/result_schema.py +45 -0
  859. package/packages/shared-skills/skills/ultimate-browsing/engine/summary.py +37 -0
  860. package/packages/shared-skills/skills/ultimate-browsing/engine/templates/package.json +11 -0
  861. package/packages/shared-skills/skills/ultimate-browsing/engine/templates/playwright_mobile_chrome.js +129 -0
  862. package/packages/shared-skills/skills/ultimate-browsing/engine/templates/playwright_real_chrome.js +167 -0
  863. package/packages/shared-skills/skills/ultimate-browsing/engine/tests/test_fetch_chain.py +77 -0
  864. package/packages/shared-skills/skills/ultimate-browsing/engine/tests/test_playwright_templates.py +282 -0
  865. package/packages/shared-skills/skills/ultimate-browsing/engine/url_transforms.py +98 -0
  866. package/packages/shared-skills/skills/ultimate-browsing/engine/validators.py +216 -0
  867. package/packages/shared-skills/skills/ultimate-browsing/engine/waf_detector.py +214 -0
  868. package/packages/shared-skills/skills/ultimate-browsing/engine/waf_profiles.yaml +162 -0
  869. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/README.md +79 -0
  870. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/career.md +29 -0
  871. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/dev.md +62 -0
  872. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/search.md +33 -0
  873. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/social.md +207 -0
  874. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/video.md +115 -0
  875. package/packages/shared-skills/skills/ultimate-browsing/references/agent-reach/web.md +76 -0
  876. package/packages/shared-skills/skills/ultimate-browsing/references/chrome-stealth.md +120 -0
  877. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/README.md +319 -0
  878. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/cache-archive.md +83 -0
  879. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/fallback.md +159 -0
  880. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/jina.md +130 -0
  881. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/json-api.md +133 -0
  882. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/media.md +123 -0
  883. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/metadata.md +116 -0
  884. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/naver.md +107 -0
  885. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/playwright.md +142 -0
  886. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/public-api.md +119 -0
  887. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/rss.md +123 -0
  888. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/tls-impersonate.md +186 -0
  889. package/packages/shared-skills/skills/ultimate-browsing/references/insane-search/twitter.md +104 -0
  890. package/packages/shared-skills/skills/ultimate-browsing/scripts/cookie_crypto.py +75 -0
  891. package/packages/shared-skills/skills/ultimate-browsing/scripts/cookie_domains.py +38 -0
  892. package/packages/shared-skills/skills/ultimate-browsing/scripts/cookie_paths.py +112 -0
  893. package/packages/shared-skills/skills/ultimate-browsing/scripts/extract_cookies.py +280 -0
  894. package/packages/shared-skills/skills/ultimate-browsing/scripts/tests/test_cookie_domain_filter.py +110 -0
  895. package/packages/shared-skills/skills/ultimate-browsing/scripts/tests/test_extract_cookies.py +245 -0
  896. package/packages/shared-skills/skills/ultraresearch/SKILL.md +4 -233
  897. package/packages/shared-skills/skills/ulw-plan/SKILL.md +9 -4
  898. package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +11 -6
  899. package/packages/shared-skills/skills/ulw-plan/references/intent-clear.md +3 -3
  900. package/packages/shared-skills/skills/ulw-plan/references/intent-unclear.md +1 -1
  901. package/packages/shared-skills/skills/ulw-research/ATTRIBUTION.md +49 -0
  902. package/packages/shared-skills/skills/ulw-research/SKILL.md +260 -0
  903. package/packages/shared-skills/skills/visual-qa/SKILL.md +105 -14
  904. package/packages/shared-skills/skills/visual-qa/scripts/skill-prompt-contract.test.ts +120 -1
  905. package/script/qa/web-terminal-redaction.d.mts +13 -0
  906. package/script/qa/web-terminal-redaction.mjs +43 -0
  907. package/script/qa/web-terminal-renderer.mjs +218 -0
  908. package/script/qa/web-terminal-visual-qa.mjs +264 -0
  909. package/packages/omo-codex/plugin/components/codegraph/dist/cli.d.ts +0 -2
  910. package/packages/omo-codex/plugin/components/codegraph/dist/serve.d.ts +0 -32
  911. package/packages/omo-codex/plugin/test/ultraresearch-skill-contract.test.mjs +0 -174
@@ -0,0 +1,106 @@
1
+ import { describe, expect, it } from "bun:test";
2
+ import { existsSync, mkdtempSync, rmSync } from "node:fs";
3
+ import { tmpdir } from "node:os";
4
+ import { join } from "node:path";
5
+
6
+ import { runCodegraphSessionStartWorker } from "../src/hook.ts";
7
+
8
+ describe("CodeGraph SessionStart worker availability", () => {
9
+ it("#given CodeGraph cannot be resolved or provisioned #when worker runs #then it logs a graceful skip", async () => {
10
+ // given
11
+ const workspace = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-"));
12
+ const homeDir = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-home-"));
13
+ const outcomes: unknown[] = [];
14
+ const calls: string[] = [];
15
+
16
+ try {
17
+ // when
18
+ const result = await runCodegraphSessionStartWorker({
19
+ cwd: workspace,
20
+ env: { HOME: homeDir },
21
+ nodeVersion: "22.14.0",
22
+ logOutcome: (outcome) => outcomes.push(outcome),
23
+ deps: {
24
+ ensureGitignored: () => {
25
+ calls.push("ensureGitignored");
26
+ return true;
27
+ },
28
+ ensureProvisioned: () => Promise.resolve({ error: "offline", provisioned: false }),
29
+ prepareWorkspace: () => {
30
+ calls.push("prepareWorkspace");
31
+ return {
32
+ dataDir: join(homeDir, ".omo/codegraph/projects/test"),
33
+ dataRoot: join(homeDir, ".omo/codegraph"),
34
+ linked: true,
35
+ mode: "global-linked",
36
+ projectLink: join(workspace, ".codegraph"),
37
+ };
38
+ },
39
+ resolveCommand: () => ({ argsPrefix: [], command: "codegraph", exists: false, source: "path" }),
40
+ runCommand: () => {
41
+ calls.push("runCommand");
42
+ return Promise.resolve({ exitCode: 0, stdout: "", timedOut: false });
43
+ },
44
+ },
45
+ });
46
+
47
+ // then
48
+ expect(result).toEqual({ action: "skipped-unavailable" });
49
+ expect(calls).toEqual([]);
50
+ expect(outcomes).toEqual([
51
+ {
52
+ action: "skipped-unavailable",
53
+ error: "offline",
54
+ projectRoot: workspace,
55
+ source: "path",
56
+ },
57
+ ]);
58
+ } finally {
59
+ rmSync(workspace, { recursive: true, force: true });
60
+ rmSync(homeDir, { recursive: true, force: true });
61
+ }
62
+ });
63
+
64
+ it("#given CodeGraph is unavailable and auto provisioning is disabled #when worker runs #then it leaves the project untouched", async () => {
65
+ // given
66
+ const workspace = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-unavailable-"));
67
+ const homeDir = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-unavailable-home-"));
68
+ const outcomes: unknown[] = [];
69
+
70
+ try {
71
+ // when
72
+ const result = await runCodegraphSessionStartWorker({
73
+ config: { codegraph: { auto_provision: false, enabled: true }, sources: [], warnings: [] },
74
+ nodeVersion: "22.14.0",
75
+ cwd: workspace,
76
+ env: { HOME: homeDir },
77
+ logOutcome: (outcome) => outcomes.push(outcome),
78
+ deps: {
79
+ ensureProvisioned: () => {
80
+ throw new Error("auto provision should not run");
81
+ },
82
+ resolveCommand: () => ({ argsPrefix: [], command: "missing-codegraph", exists: false, source: "path" }),
83
+ runCommand: () => {
84
+ throw new Error("codegraph command should not run");
85
+ },
86
+ },
87
+ });
88
+
89
+ // then
90
+ expect(result).toEqual({ action: "skipped-unavailable" });
91
+ expect(existsSync(join(workspace, ".codegraph"))).toBe(false);
92
+ expect(existsSync(join(workspace, ".git", "info", "exclude"))).toBe(false);
93
+ expect(outcomes).toEqual([
94
+ {
95
+ action: "skipped-unavailable",
96
+ error: "codegraph binary unavailable and auto_provision is disabled",
97
+ projectRoot: workspace,
98
+ source: "path",
99
+ },
100
+ ]);
101
+ } finally {
102
+ rmSync(workspace, { recursive: true, force: true });
103
+ rmSync(homeDir, { recursive: true, force: true });
104
+ }
105
+ });
106
+ });
@@ -0,0 +1,220 @@
1
+ import { describe, expect, it } from "bun:test";
2
+ import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
3
+ import { tmpdir } from "node:os";
4
+ import { join } from "node:path";
5
+
6
+ import { resolveCodegraphCommandInvocation, runCodegraphSessionStartWorker } from "../src/hook.ts";
7
+
8
+ describe("CodeGraph SessionStart worker flow", () => {
9
+ it("#given Windows install_dir has codegraph.cmd #when worker resolves provisioned CodeGraph #then it uses the cmd shim", async () => {
10
+ await withProcessPlatform("win32", async () => {
11
+ // given
12
+ const workspace = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-win32-"));
13
+ const homeDir = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-win32-home-"));
14
+ const installDir = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-win32-install-"));
15
+ const binPath = join(installDir, "bin", "codegraph.cmd");
16
+ const calls: { readonly args: readonly string[]; readonly command: string; readonly env: Record<string, string> }[] = [];
17
+ const outcomes: unknown[] = [];
18
+ try {
19
+ mkdirSync(join(installDir, "bin"), { recursive: true });
20
+ writeFileSync(binPath, "");
21
+
22
+ // when
23
+ const result = await runCodegraphSessionStartWorker({
24
+ config: { codegraph: { enabled: true, install_dir: installDir }, sources: [], trustedCodegraphInstallDir: installDir, warnings: [] },
25
+ nodeVersion: "22.14.0",
26
+ cwd: workspace,
27
+ env: { HOME: homeDir },
28
+ logOutcome: (outcome) => outcomes.push(outcome),
29
+ deps: {
30
+ ensureGitignored: () => true,
31
+ ensureProvisioned: () => {
32
+ throw new Error("provisioning should not run when install_dir binary exists");
33
+ },
34
+ prepareWorkspace: () => ({
35
+ dataDir: join(homeDir, ".omo/codegraph/projects/test"),
36
+ dataRoot: join(homeDir, ".omo/codegraph"),
37
+ linked: true,
38
+ mode: "global-linked",
39
+ projectLink: join(workspace, ".codegraph"),
40
+ }),
41
+ resolveCommand: (options) => {
42
+ const provisioned = options?.provisioned?.() ?? null;
43
+ return { argsPrefix: [], command: provisioned ?? "missing-codegraph", exists: provisioned !== null, source: provisioned === null ? "path" : "provisioned" };
44
+ },
45
+ runCommand: (_projectRoot, command, args, options) => {
46
+ calls.push({ args, command, env: options.env });
47
+ return Promise.resolve({ exitCode: 0, stdout: calls.length === 1 ? '{"initialized":false}' : "", timedOut: false });
48
+ },
49
+ },
50
+ });
51
+
52
+ // then
53
+ expect(result).toEqual({ action: "initialized" });
54
+ expect(calls.map((call) => ({ args: [...call.args], command: call.command }))).toEqual([
55
+ { args: ["status", "--json"], command: binPath },
56
+ { args: ["init"], command: binPath },
57
+ ]);
58
+ expect(calls[0]?.env["CODEGRAPH_INSTALL_DIR"]).toBe(installDir);
59
+ expect(outcomes).toEqual([{ action: "initialized", exitCode: 0, projectRoot: workspace, source: "provisioned", timedOut: false }]);
60
+ } finally {
61
+ rmSync(workspace, { recursive: true, force: true });
62
+ rmSync(homeDir, { recursive: true, force: true });
63
+ rmSync(installDir, { recursive: true, force: true });
64
+ }
65
+ });
66
+ });
67
+
68
+ it("#given Windows codegraph.cmd #when default worker runner builds invocation #then it runs through cmd.exe", () => {
69
+ // given
70
+ const command = "C:\\Users\\test\\.omo\\codegraph\\bin\\codegraph.cmd";
71
+
72
+ // when
73
+ const invocation = resolveCodegraphCommandInvocation(command, ["status", "--json"], "win32");
74
+
75
+ // then
76
+ expect(invocation).toEqual({
77
+ args: ["/d", "/s", "/c", command, "status", "--json"],
78
+ command: "cmd.exe",
79
+ });
80
+ });
81
+
82
+ it("#given Windows CodeGraph resolves to a Node script #when default worker runner builds invocation #then Node executes it", () => {
83
+ // given
84
+ const command = "C:\\Users\\test\\.omo\\codegraph\\bin\\codegraph.cjs";
85
+
86
+ // when
87
+ const invocation = resolveCodegraphCommandInvocation(command, ["status", "--json"], "win32");
88
+
89
+ // then
90
+ expect(invocation).toEqual({
91
+ args: [command, "status", "--json"],
92
+ command: process.execPath,
93
+ });
94
+ });
95
+
96
+ it("#given non-Windows codegraph command #when default worker runner builds invocation #then it executes directly", () => {
97
+ // given
98
+ const command = "/home/test/.omo/codegraph/bin/codegraph";
99
+
100
+ // when
101
+ const invocation = resolveCodegraphCommandInvocation(command, ["sync"], "linux");
102
+
103
+ // then
104
+ expect(invocation).toEqual({ args: ["sync"], command });
105
+ });
106
+
107
+ it("#given resolved CodeGraph status #when worker runs #then it runs status before init or sync", async () => {
108
+ for (const scenario of [
109
+ { action: "initialized", args: [["status", "--json"], ["init"]], stdout: '{"initialized":false}' },
110
+ { action: "synced", args: [["status", "--json"], ["sync"]], stdout: '{"initialized":true}' },
111
+ ] as const) {
112
+ // given
113
+ const workspace = mkdtempSync(join(tmpdir(), "omo-codegraph-status-"));
114
+ const homeDir = mkdtempSync(join(tmpdir(), "omo-codegraph-status-home-"));
115
+ const calls: { readonly args: readonly string[]; readonly command: string; readonly env: Record<string, string> }[] = [];
116
+ const outcomes: unknown[] = [];
117
+ try {
118
+ // when
119
+ const result = await runCodegraphSessionStartWorker({
120
+ config: { codegraph: { enabled: true, install_dir: "/tmp/codegraph-install" }, sources: [], trustedCodegraphInstallDir: "/tmp/codegraph-install", warnings: [] },
121
+ nodeVersion: "22.14.0",
122
+ cwd: workspace,
123
+ env: { HOME: homeDir },
124
+ logOutcome: (outcome) => outcomes.push(outcome),
125
+ deps: {
126
+ ensureGitignored: () => true,
127
+ ensureProvisioned: () => Promise.resolve({ binPath: "/tmp/codegraph", provisioned: true }),
128
+ prepareWorkspace: () => ({
129
+ dataDir: join(homeDir, ".omo/codegraph/projects/test"),
130
+ dataRoot: join(homeDir, ".omo/codegraph"),
131
+ linked: true,
132
+ mode: "global-linked",
133
+ projectLink: join(workspace, ".codegraph"),
134
+ }),
135
+ resolveCommand: () => ({ argsPrefix: [], command: "/tmp/codegraph", exists: true, source: "path" }),
136
+ runCommand: (_projectRoot, command, args, options) => {
137
+ calls.push({ args, command, env: options.env });
138
+ return Promise.resolve({ exitCode: 0, stdout: calls.length === 1 ? scenario.stdout : "", timedOut: false });
139
+ },
140
+ },
141
+ });
142
+
143
+ // then
144
+ expect(result).toEqual({ action: scenario.action });
145
+ expect(calls.map((call) => [...call.args])).toEqual(scenario.args.map((args) => [...args]));
146
+ expect(calls[0]?.env["CODEGRAPH_INSTALL_DIR"]).toBe("/tmp/codegraph-install");
147
+ expect(outcomes).toEqual([{ action: scenario.action, exitCode: 0, projectRoot: workspace, source: "path", timedOut: false }]);
148
+ } finally {
149
+ rmSync(workspace, { recursive: true, force: true });
150
+ rmSync(homeDir, { recursive: true, force: true });
151
+ }
152
+ }
153
+ });
154
+
155
+ it("#given ambient provider tokens #when default worker runner spawns CodeGraph #then child env only gets safe and controlled variables", async () => {
156
+ // given
157
+ const workspace = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-env-"));
158
+ const homeDir = mkdtempSync(join(tmpdir(), "omo-codegraph-worker-env-home-"));
159
+ const logPath = join(homeDir, "child-env.jsonl");
160
+ const originalOpenAiKey = process.env["OPENAI_API_KEY"];
161
+ process.env["OPENAI_API_KEY"] = "sk-test-secret";
162
+
163
+ try {
164
+ const fakeCodegraphScript = [
165
+ "const fs = require('node:fs');",
166
+ `fs.appendFileSync(${JSON.stringify(logPath)}, JSON.stringify({install:process.env.CODEGRAPH_INSTALL_DIR,openai:process.env.OPENAI_API_KEY}) + '\\n');`,
167
+ "process.stdout.write('{\"initialized\":true}');",
168
+ ].join("");
169
+
170
+ // when
171
+ const result = await runCodegraphSessionStartWorker({
172
+ config: { codegraph: { enabled: true }, sources: [], warnings: [] },
173
+ cwd: workspace,
174
+ env: { HOME: homeDir },
175
+ logOutcome: () => undefined,
176
+ nodeVersion: "22.14.0",
177
+ deps: {
178
+ ensureGitignored: () => true,
179
+ ensureProvisioned: () => {
180
+ throw new Error("provisioning should not run when command is resolved");
181
+ },
182
+ prepareWorkspace: () => ({
183
+ dataDir: join(homeDir, ".omo/codegraph/projects/test"),
184
+ dataRoot: join(homeDir, ".omo/codegraph"),
185
+ linked: true,
186
+ mode: "global-linked",
187
+ projectLink: join(workspace, ".codegraph"),
188
+ }),
189
+ resolveCommand: () => ({ argsPrefix: ["-e", fakeCodegraphScript], command: process.execPath, exists: true, source: "bundled" }),
190
+ },
191
+ });
192
+
193
+ // then
194
+ expect(result).toEqual({ action: "synced" });
195
+ const captured = readFileSync(logPath, "utf8")
196
+ .trim()
197
+ .split("\n")
198
+ .map((line) => JSON.parse(line));
199
+ expect(captured).toEqual([
200
+ { install: join(homeDir, ".omo", "codegraph") },
201
+ { install: join(homeDir, ".omo", "codegraph") },
202
+ ]);
203
+ } finally {
204
+ if (originalOpenAiKey === undefined) delete process.env["OPENAI_API_KEY"];
205
+ else process.env["OPENAI_API_KEY"] = originalOpenAiKey;
206
+ rmSync(workspace, { recursive: true, force: true });
207
+ rmSync(homeDir, { recursive: true, force: true });
208
+ }
209
+ });
210
+ });
211
+
212
+ async function withProcessPlatform(platform: NodeJS.Platform, run: () => Promise<void>): Promise<void> {
213
+ const descriptor = Object.getOwnPropertyDescriptor(process, "platform");
214
+ Object.defineProperty(process, "platform", { configurable: true, enumerable: true, value: platform });
215
+ try {
216
+ await run();
217
+ } finally {
218
+ if (descriptor !== undefined) Object.defineProperty(process, "platform", descriptor);
219
+ }
220
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-comment-checker",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex plugin that runs comment-checker after edit-like PostToolUse hooks.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/codex-git-bash-hook",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex hook component that reminds Windows sessions to prefer the OMO git_bash MCP.",
5
5
  "type": "module",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-lazycodex-executor-verify",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex SubagentStop evidence verifier for LazyCodex executor completions.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -446,7 +446,10 @@ function wrap(proc) {
446
446
  }
447
447
  function killProcessTree(proc, signal) {
448
448
  if (process.platform === "win32" && proc.pid) {
449
- const result = spawnSync("taskkill", ["/pid", String(proc.pid), "/f", "/t"], { stdio: "ignore" });
449
+ const result = spawnSync("taskkill", ["/pid", String(proc.pid), "/f", "/t"], {
450
+ stdio: "ignore",
451
+ windowsHide: true
452
+ });
450
453
  if (!result.error && result.status === 0)
451
454
  return;
452
455
  if (result.error)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-lsp",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex plugin that exposes Language Server Protocol tools and post-edit diagnostics.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -4032,9 +4032,9 @@ function getSparkShellRuntimeAwareness(env = process.env, deps = {}) {
4032
4032
  return [
4033
4033
  SPARKSHELL_AWARENESS_MARKER,
4034
4034
  "",
4035
- `- Prefer \`${command} sparkshell <command>\` for repo inspection, CLI smoke tests, git/history checks, and bounded verification before falling back to raw shell commands.`,
4036
- `- Use \`${command} sparkshell --shell '<command>'\` only when shell metacharacters are required.`,
4037
- `- Use \`${command} sparkshell --tmux-pane <pane-id> --tail-lines 400\` to inspect an existing tmux pane. Tail lines must stay between 100 and 1000.`,
4035
+ `- Use \`${command} sparkshell <command> [args...]\` first for repo inspection, CLI smoke tests, git/history checks, and bounded command output. Pass ordinary commands as executable and arguments in separate argv tokens, for example \`${command} sparkshell rg --files\`; not \`${command} sparkshell 'rg --files'\`, because the quoted string is treated as one executable name. Raw \`rg\`/\`grep\`/\`cat\`/\`git\` are fallbacks when Sparkshell is unavailable or too narrow for the task.`,
4036
+ `- Use \`${command} sparkshell --shell '<command>'\` only for shell syntax such as metacharacters, pipelines, redirects, command substitution, or variable expansion.`,
4037
+ `- Use \`${command} sparkshell --tmux-pane <pane-id> --tail-lines 400\` only to inspect an existing pane, never to launch ordinary commands. Tail lines must stay between 100 and 1000.`,
4038
4038
  "- When no native sidecar or appserver is available, Sparkshell silently falls back to raw command execution. `OMO_SPARKSHELL_BIN` selects a native sidecar path.",
4039
4039
  "- When `CODEX_THREAD_ID` identifies a Codex session, Sparkshell feeds recent session context (first/latest user request + last 5 conversation messages) into oversized-output condensation for relevance ranking, but never appends that context to command output. `OMO_SPARKSHELL_SESSION_CONTEXT=0` disables the lookup.",
4040
4040
  `- Route potentially huge output (full log files, big diffs, \`cat\`/\`grep\` over large artifacts) through \`${command} sparkshell\` instead of reading it raw: oversized output is condensed to a budget while preserving error signatures, repeated patterns, session-goal-relevant lines, and head/tail. Tune with \`--budget <chars>\`; disable with \`OMO_SPARKSHELL_CONDENSE=0\`.`,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-rules",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex plugin that injects project rule files into model context through lifecycle hooks.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -81,9 +81,9 @@ export function getSparkShellRuntimeAwareness(env: RuntimeEnv = process.env, dep
81
81
  return [
82
82
  SPARKSHELL_AWARENESS_MARKER,
83
83
  "",
84
- `- Prefer \`${command} sparkshell <command>\` for repo inspection, CLI smoke tests, git/history checks, and bounded verification before falling back to raw shell commands.`,
85
- `- Use \`${command} sparkshell --shell '<command>'\` only when shell metacharacters are required.`,
86
- `- Use \`${command} sparkshell --tmux-pane <pane-id> --tail-lines 400\` to inspect an existing tmux pane. Tail lines must stay between 100 and 1000.`,
84
+ `- Use \`${command} sparkshell <command> [args...]\` first for repo inspection, CLI smoke tests, git/history checks, and bounded command output. Pass ordinary commands as executable and arguments in separate argv tokens, for example \`${command} sparkshell rg --files\`; not \`${command} sparkshell 'rg --files'\`, because the quoted string is treated as one executable name. Raw \`rg\`/\`grep\`/\`cat\`/\`git\` are fallbacks when Sparkshell is unavailable or too narrow for the task.`,
85
+ `- Use \`${command} sparkshell --shell '<command>'\` only for shell syntax such as metacharacters, pipelines, redirects, command substitution, or variable expansion.`,
86
+ `- Use \`${command} sparkshell --tmux-pane <pane-id> --tail-lines 400\` only to inspect an existing pane, never to launch ordinary commands. Tail lines must stay between 100 and 1000.`,
87
87
  "- When no native sidecar or appserver is available, Sparkshell silently falls back to raw command execution. `OMO_SPARKSHELL_BIN` selects a native sidecar path.",
88
88
  "- When `CODEX_THREAD_ID` identifies a Codex session, Sparkshell feeds recent session context (first/latest user request + last 5 conversation messages) into oversized-output condensation for relevance ranking, but never appends that context to command output. `OMO_SPARKSHELL_SESSION_CONTEXT=0` disables the lookup.",
89
89
  `- Route potentially huge output (full log files, big diffs, \`cat\`/\`grep\` over large artifacts) through \`${command} sparkshell\` instead of reading it raw: oversized output is condensed to a budget while preserving error signatures, repeated patterns, session-goal-relevant lines, and head/tail. Tune with \`--budget <chars>\`; disable with \`OMO_SPARKSHELL_CONDENSE=0\`.`,
@@ -1,3 +1,5 @@
1
+ // allow: SIZE_OK - rules sparkshell-awareness coverage validates one injected guidance contract; this release adds narrow prompt cases and future growth should split by guidance surface.
2
+
1
3
  import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
2
4
  import { tmpdir } from "node:os";
3
5
  import { join } from "node:path";
@@ -19,6 +21,36 @@ function parseAdditionalContext(output: string): string {
19
21
  return parsed.hookSpecificOutput?.additionalContext ?? "";
20
22
  }
21
23
 
24
+ function normalizeGuidance(value: string): string {
25
+ return value.toLowerCase().replace(/\s+/g, " ").trim();
26
+ }
27
+
28
+ function expectSparkshellFirstContract(value: string): void {
29
+ const guidance = normalizeGuidance(value);
30
+
31
+ expect(value).toContain("`omo sparkshell <command> [args...]`");
32
+ expect(guidance).toMatch(/`omo sparkshell <command> \[args\.\.\.\]`[^.]*\bfirst\b/);
33
+ expect(guidance).toMatch(/\brepo inspection\b/);
34
+ expect(guidance).toMatch(/\bcli smoke tests\b/);
35
+ expect(guidance).toMatch(/\bgit\/history checks\b/);
36
+ expect(guidance).toMatch(/\bbounded command output\b/);
37
+ expect(guidance).toMatch(/\braw\b[^.]*`rg`\/`grep`\/`cat`\/`git`[^.]*\bfallbacks?\b/);
38
+ expect(guidance).toMatch(/\bsparkshell is unavailable\b/);
39
+ expect(guidance).toMatch(/\btoo narrow\b/);
40
+ expect(value).toContain("`omo sparkshell rg --files`");
41
+ expect(guidance).toMatch(/\bseparate argv tokens\b/);
42
+ expect(value).toContain("not `omo sparkshell 'rg --files'`");
43
+ expect(guidance).toMatch(/\bone executable name\b/);
44
+ expect(guidance).toMatch(/`omo sparkshell --shell '<command>'`[^.]*\bmetacharacters\b[^.]*\bpipelines\b/);
45
+ expect(guidance).toMatch(
46
+ /`omo sparkshell --tmux-pane <pane-id> --tail-lines 400`[^.]*\bonly\b[^.]*\binspect\b[^.]*\bexisting pane\b/,
47
+ );
48
+ expect(guidance).toMatch(
49
+ /`omo sparkshell --tmux-pane <pane-id> --tail-lines 400`[^.]*\bnever\b[^.]*\blaunch ordinary commands\b/,
50
+ );
51
+ expect(guidance).not.toMatch(/\bprefer\b[^.]*\bbefore raw shell commands\b/);
52
+ }
53
+
22
54
  function parseHookOutput(value: unknown): HookOutput {
23
55
  if (typeof value !== "object" || value === null) {
24
56
  return {};
@@ -85,15 +117,16 @@ describe("Codex Sparkshell awareness", () => {
85
117
  );
86
118
 
87
119
  // then
88
- expect(parseAdditionalContext(output)).toContain("omo sparkshell <command>");
89
- expect(parseAdditionalContext(output)).toContain("OMO_SPARKSHELL_SESSION_CONTEXT");
90
- expect(parseAdditionalContext(output)).toContain("OMO_SPARKSHELL_CONDENSE");
91
- expect(parseAdditionalContext(output)).toContain("OMO_SPARKSHELL_SPARK");
92
- expect(parseAdditionalContext(output)).toContain("[sparkshell caption]");
93
- expect(parseAdditionalContext(output)).toContain("never appends that context to command output");
94
- expect(parseAdditionalContext(output)).toContain("what the full output contained");
95
- expect(parseAdditionalContext(output)).not.toContain("[REDACTED]");
96
- expect(parseAdditionalContext(output)).not.toContain("appends recent session context");
120
+ const context = parseAdditionalContext(output);
121
+ expectSparkshellFirstContract(context);
122
+ expect(context).toContain("OMO_SPARKSHELL_SESSION_CONTEXT");
123
+ expect(context).toContain("OMO_SPARKSHELL_CONDENSE");
124
+ expect(context).toContain("OMO_SPARKSHELL_SPARK");
125
+ expect(context).toContain("[sparkshell caption]");
126
+ expect(context).toContain("never appends that context to command output");
127
+ expect(context).toContain("what the full output contained");
128
+ expect(context).not.toContain("[REDACTED]");
129
+ expect(context).not.toContain("appends recent session context");
97
130
  });
98
131
 
99
132
  it("#given inactive env #when SessionStart runs #then emits no Sparkshell guidance", async () => {
@@ -20,7 +20,7 @@ You are mid-flight on a Prometheus work plan; this turn is an automatic continua
20
20
  3. Follow the `start-work` skill in full. The skill is already loaded from your earlier turn — re-read its file at `packages/omo-codex/plugin/skills/start-work/SKILL.md` if you have lost context.
21
21
  4. Apply the checkbox's tier from its ledger entry, or classify it now per the start-work skill: LIGHT (default — a narrow change inside existing layers) needs one real-surface proof of the deliverable, with auxiliary surfaces first-class for CLI- or data-shaped work, and only trigger-mapped adversarial classes; HEAVY (new module/abstraction, auth/security, external integration, schema/migration, concurrency, cross-domain refactor, care signals) takes the full per-criterion regime. When unsure, take HEAVY; never downgrade.
22
22
  5. Decompose the checkbox into atomic sub-tasks. Dispatch them in PARALLEL via `multi_agent_v1.spawn_agent` calls in this same response unless a sub-task has a NAMED blocking dependency (input from another sub-task or shared file). Use `fork_context: false` unless full history is truly required. Put role and specialty instructions inside `message`.
23
- 6. Every sub-task message MUST be self-contained, an executable assignment rather than a context handoff: start with `TASK: <imperative assignment>`, then name `DELIVERABLE`, `SCOPE`, and `VERIFY`. It must include all 7 sections and name one Manual-QA channel with its exact tool and exact invocation (the literal `curl` / `send-keys` / `page.click` with concrete inputs and the binary PASS/FAIL observable), plus the applicable ultraqa adversarial classes, a captured artifact, and a cleanup receipt. Channels: HTTP call (`curl -i`); tmux (`send-keys` + `capture-pane`); browser use use Chrome to drive the page, else download and use agent-browser (https://github.com/vercel-labs/agent-browser); computer use — OS-level GUI automation for a desktop app.
23
+ 6. Every sub-task message MUST be self-contained, executable, not a context handoff: start with `TASK: <imperative assignment>`, then name `DELIVERABLE`, `SCOPE`, and `VERIFY`. It must include all 7 sections and a Manual-QA channel with exact invocation (`curl`, `send-keys`, `browser:control-in-app-browser` action, `page.click`) and PASS/FAIL observable, plus ultraqa classes, artifact, and cleanup receipt. Channels: HTTP (`curl -i`); tmux (`send-keys` + `capture-pane`); browser (Codex: `browser:control-in-app-browser` first unless auth/persistent profile needed; else Chrome/agent-browser); computer use.
24
24
  7. Treat every worker DoneClaim as untrusted input. Run independent AdversarialVerify before any checkbox can become FullyDone; `confirmed` is the only pass verdict, while `false-positive`, `needs-fix`, and `needs-human-review` loop back to the executor with exact feedback.
25
25
  8. Use `multi_agent_v1.wait_agent` for mailbox signals, not proof of completion — a timeout only means no new mailbox update arrived; a running child is alive. For sub-tasks likely to exceed one wait cycle, require `WORKING: <task> - <current phase>` before long passes and `BLOCKED: <reason>` only when progress stops. Send `TASK STILL ACTIVE: return <deliverable> or BLOCKED: <reason>` only when the child is completed without the deliverable, ack-only, or no longer running. If that followup is still silent or ack-only, record inconclusive, do not count it as pass/review approval, close if safe, and respawn a smaller `fork_context: false` task with the missing deliverable.
26
26
  9. After verification of ALL sub-tasks under this checkbox: `apply_patch` the plan to change `- [ ]` → `- [x]`, re-read the plan to confirm the count decreased, append a `task-completed` line to the ledger, then continue.
@@ -30,17 +30,17 @@ You are mid-flight on a Prometheus work plan; this turn is an automatic continua
30
30
 
31
31
  - No production code before a failing-first proof exists: a unit test at a seam, otherwise the sub-task's Manual-QA scenario captured failing. A test that mirrors its implementation (mock-call assertions, pinned constants) is not evidence. When the change touches existing behavior, PIN it first: a baseline characterization test that passes on the unchanged code, with exact inputs, exact observable, and exact assertion. PIN → RED → GREEN → SURFACE.
32
32
  - No `--dry-run` as evidence. No "should work". No "tests pass" as completion proof.
33
+ - TUI visual evidence MUST use the web terminal pattern when a task drives an OpenCode/Codex/terminal UI: capture the pane or run `node script/qa/web-terminal-visual-qa.mjs --title "<surface>" --from-file <capture.txt> --evidence-dir <dir>` (or `--command` when tmux is available), then cite `terminal.png`, `terminal.txt`, and `metadata.json`.
33
34
  - No `as any` / `@ts-ignore` / `@ts-expect-error`. No deleting failing tests.
34
35
  - Probe every ultraqa adversarial class whose trigger fact holds (malformed input, prompt injection, cancel/resume, stale state, dirty worktree, hung or long commands, flaky tests, misleading success output, repeated interruptions — trigger map in the start-work skill) and capture the observable for each. A clean happy-path artifact alone is NOT a PASS when an applicable class went unprobed; record skipped classes with a one-line not-applicable reason.
35
- - Cleanup receipt is mandatory. Register each QA resource teardown (scripts, tmux sessions, browser contexts, PIDs, ports, containers, temp dirs) as its own todo the moment it spawns, then execute it. Leftover QA state = BLOCKED, not PASS.
36
+ - Cleanup receipt is mandatory. Register each QA teardown (scripts, tmux, browser contexts, PIDs, ports, containers, temp dirs) as a todo when it spawns, then execute it. Leftover QA state = BLOCKED, not PASS.
36
37
  - The worktree path (if set in boulder.json) governs every file edit and command. Do not stray into the main repo.
38
+ - PR or branch implementation/review/merge work requires a task-owned git worktree. Treat the main worktree as read-only context.
37
39
  - session_ids you write to boulder.json MUST be prefixed `codex:`. Bare ids on read are legacy `opencode:`.
38
40
 
39
- # Global Review and Debugging Gate
41
+ # Final gate
40
42
 
41
- Before completion, run `review-work` and a `debugging` runtime audit. Treat timeout, missing deliverable, ack-only, `BLOCKED:`, and inconclusive review lanes as failures, not progress. Record at least three debugging hypotheses and the runtime evidence that confirms or refutes each one.
42
-
43
- Do not print `ORCHESTRATION COMPLETE`. Do not create a PR, PR handoff, or branch handoff. Do not write a final completion answer until this gate passes. Always redact secrets, tokens, credentials, auth headers, cookies, env dumps, private logs, and PII from ledgers, PR bodies, and handoffs.
43
+ Before completion, run `review-work` and a `debugging` runtime audit; inconclusive lanes fail. Do not create a PR, PR handoff, branch handoff, merge, or final completion answer until this gate passes. For PR/branch work, stay in the task-owned worktree: create/update the PR, wait for CI/review/Cubic gates, merge by default unless explicitly opted out, then clean up. Redact secrets, tokens, credentials, auth headers, cookies, env dumps, logs, and PII.
44
44
 
45
45
  # Stop conditions for THIS turn
46
46
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-yeongyu/codex-start-work-continuation",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex Stop hook continuation injector for omo-codex start-work plans.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -138,6 +138,29 @@ describe("start-work Stop hook", () => {
138
138
  expect(parsed.reason.split(/\s+/).filter(Boolean).length).toBeLessThanOrEqual(1100);
139
139
  });
140
140
 
141
+ it("#given active codex work #when continuation directive is emitted #then PR lifecycle stays worktree-bound", () => {
142
+ // given
143
+ const workspace = createWorkspace({
144
+ boulderJson: createBoulderJson({
145
+ sessionIds: ["codex:sess_abc"],
146
+ status: "active",
147
+ worktreePath: "/tmp/worktree",
148
+ }),
149
+ planMarkdown: ["# Plan", "", "## TODOs", "- [ ] First"].join("\n"),
150
+ });
151
+ const fs = createMemoryFs();
152
+
153
+ // when
154
+ const output = runStopHook(createStopInput(workspace), fs);
155
+
156
+ // then
157
+ const parsed = parseBlockOutput(output);
158
+ expect(parsed.reason).toContain("PR or branch implementation/review/merge work requires a task-owned git worktree");
159
+ expect(parsed.reason).toContain("Treat the main worktree as read-only context");
160
+ expect(parsed.reason).toContain("create/update the PR, wait for CI/review/Cubic gates, merge by default");
161
+ expect(parsed.reason).toContain("Do not create a PR, PR handoff, branch handoff, merge");
162
+ });
163
+
141
164
  it("#given stop hook source #when inspected #then it remains Boulder-only without planning bootstrap logic", () => {
142
165
  // given
143
166
  const hook = readFileSync(new URL("../src/codex-hook.ts", import.meta.url), "utf8");
@@ -41,25 +41,43 @@ async function runTeammodeHookCli(stdin, stdout) {
41
41
  }
42
42
  function threadTitleReminder(threadReference) {
43
43
  const id = formatIdentifier(threadReference.id);
44
- return threadReference.kind === "thread" ? `THREAD ID ${id}: CALL codex_app.set_thread_title NOW. USE THE REAL TASK/ROLE.` : `PENDING WORKTREE ID ${id}: CALL codex_app.set_thread_title AS SOON AS THREAD ID EXISTS. USE THE REAL TASK/ROLE.`;
44
+ return threadReference.kind === "thread" ? `THREAD ID ${id}: CALL codex_app.set_thread_title NOW. USE THE REAL TASK/ROLE.` : `PENDING WORKTREE ID ${id}: WORKTREE THREAD IS NOT READY YET. DO NOT bind-thread OR SEND THE MEMBER BOOTSTRAP UNTIL A REAL THREAD ID EXISTS. THEN CALL codex_app.set_thread_title USING THE REAL TASK/ROLE.`;
45
45
  }
46
46
  function formatIdentifier(value) {
47
47
  const normalized = value.replace(/\s+/g, " ").trim();
48
48
  return normalized.length <= 200 ? normalized : `${normalized.slice(0, 197)}...`;
49
49
  }
50
50
  function extractThreadCreationReference(toolResponse) {
51
- if (!isRecord(toolResponse))
51
+ const response = parseToolResponseRecord(toolResponse);
52
+ if (response === null)
52
53
  return null;
53
- const threadId = toolResponse["threadId"];
54
+ const threadId = response["threadId"];
54
55
  if (typeof threadId === "string" && threadId.trim().length > 0) {
55
56
  return { kind: "thread", id: threadId };
56
57
  }
57
- const pendingWorktreeId = toolResponse["pendingWorktreeId"];
58
+ const pendingWorktreeId = response["pendingWorktreeId"];
58
59
  if (typeof pendingWorktreeId === "string" && pendingWorktreeId.trim().length > 0) {
59
60
  return { kind: "pendingWorktree", id: pendingWorktreeId };
60
61
  }
61
62
  return null;
62
63
  }
64
+ function parseToolResponseRecord(toolResponse) {
65
+ if (isRecord(toolResponse))
66
+ return toolResponse;
67
+ if (typeof toolResponse !== "string")
68
+ return null;
69
+ const trimmed = toolResponse.trim();
70
+ if (trimmed.length === 0)
71
+ return null;
72
+ try {
73
+ const parsed = JSON.parse(trimmed);
74
+ return isRecord(parsed) ? parsed : null;
75
+ } catch (error) {
76
+ if (error instanceof SyntaxError)
77
+ return null;
78
+ return null;
79
+ }
80
+ }
63
81
  function isPostToolUsePayload(value) {
64
82
  if (!isRecord(value))
65
83
  return false;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/codex-teammode",
3
- "version": "4.12.1",
3
+ "version": "4.14.0",
4
4
  "description": "Codex team-mode hook component that keeps background thread titles descriptive after create_thread.",
5
5
  "type": "module",
6
6
  "private": true,