oh-my-opencode 4.15.0 → 4.16.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 (239) hide show
  1. package/dist/cli/doctor/checks/tui-plugin-config.d.ts +4 -4
  2. package/dist/cli/index.js +1149 -1040
  3. package/dist/cli/install-senpi/index.d.ts +1 -0
  4. package/dist/cli/run/poll-for-completion.d.ts +4 -0
  5. package/dist/cli/run/session-resolver.d.ts +1 -0
  6. package/dist/cli/senpi-platform-flag.d.ts +4 -0
  7. package/dist/cli/types.d.ts +2 -1
  8. package/dist/cli-node/index.js +1149 -1040
  9. package/dist/features/background-agent/manager.d.ts +16 -0
  10. package/dist/hooks/anthropic-context-window-limit-recovery/aggressive-truncation-strategy.d.ts +1 -0
  11. package/dist/index.js +1334 -1146
  12. package/dist/skills/debugging/references/methodology/06-fix.md +6 -0
  13. package/dist/skills/frontend/ATTRIBUTION.md +13 -3
  14. package/dist/skills/frontend/SKILL.md +8 -3
  15. package/dist/skills/frontend/references/design/README.md +1 -1
  16. package/dist/skills/frontend/references/design/_INDEX.md +1 -1
  17. package/dist/skills/frontend/references/design/lazyweb.md +77 -0
  18. package/dist/skills/frontend/references/design/stitch-design-example.md +121 -0
  19. package/dist/skills/frontend/references/designpowers/EVIDENCE.md +10 -2
  20. package/dist/skills/frontend/references/designpowers/UPSTREAM.md +1 -1
  21. package/dist/skills/programming/SKILL.md +10 -1
  22. package/dist/skills/programming/references/logging.md +91 -0
  23. package/dist/skills/ulw-plan/SKILL.md +5 -5
  24. package/dist/skills/ulw-plan/references/full-workflow.md +7 -7
  25. package/dist/skills/ulw-plan/references/intent-unclear.md +3 -3
  26. package/dist/skills/ulw-research/ATTRIBUTION.md +2 -2
  27. package/dist/skills/ulw-research/SKILL.md +28 -7
  28. package/dist/tools/skill/description-formatter.d.ts +1 -0
  29. package/dist/tools/skill/description-formatter.test-support.d.ts +9 -0
  30. package/dist/tools/skill/zauc-mocks-skill-tools/test-support.d.ts +25 -0
  31. package/dist/tui.js +121 -419
  32. package/package.json +32 -15
  33. package/packages/git-bash-mcp/dist/cli.js +2 -2
  34. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  35. package/packages/omo-codex/plugin/components/bootstrap/AGENTS.md +55 -0
  36. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +212 -117
  37. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  38. package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +51 -0
  39. package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +936 -248
  40. package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +233 -135
  41. package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
  42. package/packages/omo-codex/plugin/components/codegraph/src/cache-gc.ts +29 -0
  43. package/packages/omo-codex/plugin/components/codegraph/src/cli.ts +13 -0
  44. package/packages/omo-codex/plugin/components/codegraph/src/hook-sweep.ts +25 -0
  45. package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +3 -1
  46. package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +30 -1
  47. package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +16 -2
  48. package/packages/omo-codex/plugin/components/codegraph/src/sweep-cli.ts +80 -0
  49. package/packages/omo-codex/plugin/components/codegraph/test/cache-gc.test.ts +34 -0
  50. package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +107 -0
  51. package/packages/omo-codex/plugin/components/codegraph/test/hook-registration.test.ts +26 -0
  52. package/packages/omo-codex/plugin/components/codegraph/test/hook-sweep.test.ts +29 -0
  53. package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +8 -21
  54. package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +108 -0
  55. package/packages/omo-codex/plugin/components/codegraph/test/serve-built-wrapper.test.ts +76 -0
  56. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +17 -111
  57. package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +1 -1
  58. package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +45 -67
  59. package/packages/omo-codex/plugin/components/codegraph/test/sweep-cli.test.ts +56 -0
  60. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  61. package/packages/omo-codex/plugin/components/git-bash/AGENTS.md +31 -0
  62. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  63. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/AGENTS.md +45 -0
  64. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  65. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  66. package/packages/omo-codex/plugin/components/rules/bundled-rules/hephaestus.md +37 -102
  67. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  68. package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
  69. package/packages/omo-codex/plugin/components/teammode/AGENTS.md +46 -0
  70. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  71. package/packages/omo-codex/plugin/components/telemetry/dist/cli.js +6 -0
  72. package/packages/omo-codex/plugin/components/telemetry/dist/posthog.js +6 -0
  73. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  74. package/packages/omo-codex/plugin/components/ultrawork/AGENTS.md +5 -2
  75. package/packages/omo-codex/plugin/components/ultrawork/CHANGELOG.md +2 -0
  76. package/packages/omo-codex/plugin/components/ultrawork/README.md +3 -3
  77. package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +51 -2
  78. package/packages/omo-codex/plugin/components/ultrawork/package.json +2 -1
  79. package/packages/omo-codex/plugin/components/ultrawork/scripts/sync-directive.mjs +14 -1
  80. package/packages/omo-codex/plugin/components/ultrawork/skills/ultrawork/SKILL.md +380 -0
  81. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +5 -2
  82. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +4 -4
  83. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-unclear.md +2 -2
  84. package/packages/omo-codex/plugin/components/ultrawork/src/codex-hook.ts +5 -3
  85. package/packages/omo-codex/plugin/components/ultrawork/src/skill-pointer.ts +56 -0
  86. package/packages/omo-codex/plugin/components/ultrawork/test/codex-hook.test.ts +4 -4
  87. package/packages/omo-codex/plugin/components/ultrawork/test/directive-source.test.ts +12 -0
  88. package/packages/omo-codex/plugin/components/ultrawork/test/package-smoke.test.ts +1 -0
  89. package/packages/omo-codex/plugin/components/ultrawork/test/skill-pointer.test.ts +82 -0
  90. package/packages/omo-codex/plugin/components/ulw-loop/CHANGELOG.md +1 -0
  91. package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +56 -5
  92. package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.d.ts +1 -0
  93. package/packages/omo-codex/plugin/components/ulw-loop/dist/codex-hook.js +5 -1
  94. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.d.ts +2 -1
  95. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-directive.js +5 -3
  96. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-skill-pointer.d.ts +7 -0
  97. package/packages/omo-codex/plugin/components/ulw-loop/dist/ultrawork-skill-pointer.js +46 -0
  98. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  99. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +1 -1
  100. package/packages/omo-codex/plugin/components/ulw-loop/src/codex-hook.ts +5 -1
  101. package/packages/omo-codex/plugin/components/ulw-loop/src/ultrawork-directive.ts +9 -3
  102. package/packages/omo-codex/plugin/components/ulw-loop/src/ultrawork-skill-pointer.ts +55 -0
  103. package/packages/omo-codex/plugin/components/ulw-loop/test/ultrawork-directive.test.ts +49 -0
  104. package/packages/omo-codex/plugin/package-lock.json +13 -13
  105. package/packages/omo-codex/plugin/package.json +1 -1
  106. package/packages/omo-codex/plugin/scripts/auto-update-plan.mjs +147 -2
  107. package/packages/omo-codex/plugin/scripts/auto-update-release-notes.mjs +33 -0
  108. package/packages/omo-codex/plugin/scripts/auto-update.mjs +48 -10
  109. package/packages/omo-codex/plugin/scripts/build-components.mjs +63 -17
  110. package/packages/omo-codex/plugin/scripts/materialize-shared-upstreams.mjs +10 -3
  111. package/packages/omo-codex/plugin/scripts/sync-skills.mjs +19 -0
  112. package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +18 -0
  113. package/packages/omo-codex/plugin/skills/debugging/references/methodology/06-fix.md +6 -0
  114. package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +13 -3
  115. package/packages/omo-codex/plugin/skills/frontend/SKILL.md +8 -3
  116. package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +1 -1
  117. package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +1 -1
  118. package/packages/omo-codex/plugin/skills/frontend/references/design/lazyweb.md +77 -0
  119. package/packages/omo-codex/plugin/skills/frontend/references/design/stitch-design-example.md +121 -0
  120. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/EVIDENCE.md +10 -2
  121. package/packages/omo-codex/plugin/skills/frontend/references/designpowers/UPSTREAM.md +1 -1
  122. package/packages/omo-codex/plugin/skills/programming/SKILL.md +10 -1
  123. package/packages/omo-codex/plugin/skills/programming/references/logging.md +91 -0
  124. package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +380 -0
  125. package/packages/omo-codex/plugin/skills/ultrawork/agents/openai.yaml +2 -0
  126. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +1 -1
  127. package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +5 -2
  128. package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +4 -4
  129. package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-unclear.md +2 -2
  130. package/packages/omo-codex/plugin/skills/ulw-research/ATTRIBUTION.md +2 -2
  131. package/packages/omo-codex/plugin/skills/ulw-research/SKILL.md +31 -10
  132. package/packages/omo-codex/plugin/test/auto-update-release-notes.test.mjs +32 -0
  133. package/packages/omo-codex/plugin/test/auto-update.test.mjs +153 -3
  134. package/packages/omo-codex/plugin/test/install-time-build-runtime.test.mjs +1 -1
  135. package/packages/omo-codex/plugin/test/sync-skills-test-support.mjs +20 -1
  136. package/packages/omo-codex/plugin/test/sync-skills.test.mjs +39 -10
  137. package/packages/omo-codex/plugin/test/ultrawork-skill-pointer.test.mjs +56 -0
  138. package/packages/omo-codex/plugin/test/ulw-research-epistemic-contract.test.mjs +98 -0
  139. package/packages/omo-codex/plugin/test/ulw-research-skill-contract.test.mjs +25 -7
  140. package/packages/omo-codex/scripts/install-dist/install-local.mjs +612 -4193
  141. package/packages/shared-skills/skills/debugging/references/methodology/06-fix.md +6 -0
  142. package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +13 -3
  143. package/packages/shared-skills/skills/frontend/SKILL.md +8 -3
  144. package/packages/shared-skills/skills/frontend/references/design/README.md +1 -1
  145. package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +1 -1
  146. package/packages/shared-skills/skills/frontend/references/design/lazyweb.md +77 -0
  147. package/packages/shared-skills/skills/frontend/references/design/stitch-design-example.md +121 -0
  148. package/packages/shared-skills/skills/frontend/references/designpowers/EVIDENCE.md +10 -2
  149. package/packages/shared-skills/skills/frontend/references/designpowers/UPSTREAM.md +1 -1
  150. package/packages/shared-skills/skills/programming/SKILL.md +10 -1
  151. package/packages/shared-skills/skills/programming/references/logging.md +91 -0
  152. package/packages/shared-skills/skills/ulw-plan/SKILL.md +5 -5
  153. package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +7 -7
  154. package/packages/shared-skills/skills/ulw-plan/references/intent-unclear.md +3 -3
  155. package/packages/shared-skills/skills/ulw-research/ATTRIBUTION.md +2 -2
  156. package/packages/shared-skills/skills/ulw-research/SKILL.md +28 -7
  157. package/packages/omo-codex/plugin/skills/ultraresearch/SKILL.md +0 -10
  158. package/packages/omo-codex/plugin/skills/ultraresearch/agents/openai.yaml +0 -2
  159. /package/dist/skills/frontend/references/designpowers/vendor/skills/accessible-content/{SKILL.md → reference.md} +0 -0
  160. /package/dist/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/{SKILL.md → reference.md} +0 -0
  161. /package/dist/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/{SKILL.md → reference.md} +0 -0
  162. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-debate/{SKILL.md → reference.md} +0 -0
  163. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/{SKILL.md → reference.md} +0 -0
  164. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-handoff/{SKILL.md → reference.md} +0 -0
  165. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-md/{SKILL.md → reference.md} +0 -0
  166. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-retrospective/{SKILL.md → reference.md} +0 -0
  167. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-review/{SKILL.md → reference.md} +0 -0
  168. /package/dist/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/{SKILL.md → reference.md} +0 -0
  169. /package/dist/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/{SKILL.md → reference.md} +0 -0
  170. /package/dist/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/{SKILL.md → reference.md} +0 -0
  171. /package/dist/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/{SKILL.md → reference.md} +0 -0
  172. /package/dist/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/{SKILL.md → reference.md} +0 -0
  173. /package/dist/skills/frontend/references/designpowers/vendor/skills/interaction-design/{SKILL.md → reference.md} +0 -0
  174. /package/dist/skills/frontend/references/designpowers/vendor/skills/motion-choreography/{SKILL.md → reference.md} +0 -0
  175. /package/dist/skills/frontend/references/designpowers/vendor/skills/research-planning/{SKILL.md → reference.md} +0 -0
  176. /package/dist/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/{SKILL.md → reference.md} +0 -0
  177. /package/dist/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/{SKILL.md → reference.md} +0 -0
  178. /package/dist/skills/frontend/references/designpowers/vendor/skills/taste-feedback/{SKILL.md → reference.md} +0 -0
  179. /package/dist/skills/frontend/references/designpowers/vendor/skills/taste-report/{SKILL.md → reference.md} +0 -0
  180. /package/dist/skills/frontend/references/designpowers/vendor/skills/token-architecture/{SKILL.md → reference.md} +0 -0
  181. /package/dist/skills/frontend/references/designpowers/vendor/skills/ui-composition/{SKILL.md → reference.md} +0 -0
  182. /package/dist/skills/frontend/references/designpowers/vendor/skills/usability-testing/{SKILL.md → reference.md} +0 -0
  183. /package/dist/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/{SKILL.md → reference.md} +0 -0
  184. /package/dist/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/{SKILL.md → reference.md} +0 -0
  185. /package/dist/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/{SKILL.md → reference.md} +0 -0
  186. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/accessible-content/{SKILL.md → reference.md} +0 -0
  187. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/{SKILL.md → reference.md} +0 -0
  188. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/{SKILL.md → reference.md} +0 -0
  189. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-debate/{SKILL.md → reference.md} +0 -0
  190. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/{SKILL.md → reference.md} +0 -0
  191. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-handoff/{SKILL.md → reference.md} +0 -0
  192. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-md/{SKILL.md → reference.md} +0 -0
  193. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-retrospective/{SKILL.md → reference.md} +0 -0
  194. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-review/{SKILL.md → reference.md} +0 -0
  195. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/{SKILL.md → reference.md} +0 -0
  196. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/{SKILL.md → reference.md} +0 -0
  197. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/{SKILL.md → reference.md} +0 -0
  198. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/{SKILL.md → reference.md} +0 -0
  199. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/{SKILL.md → reference.md} +0 -0
  200. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/interaction-design/{SKILL.md → reference.md} +0 -0
  201. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/motion-choreography/{SKILL.md → reference.md} +0 -0
  202. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/research-planning/{SKILL.md → reference.md} +0 -0
  203. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/{SKILL.md → reference.md} +0 -0
  204. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/{SKILL.md → reference.md} +0 -0
  205. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/taste-feedback/{SKILL.md → reference.md} +0 -0
  206. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/taste-report/{SKILL.md → reference.md} +0 -0
  207. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/token-architecture/{SKILL.md → reference.md} +0 -0
  208. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/ui-composition/{SKILL.md → reference.md} +0 -0
  209. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/usability-testing/{SKILL.md → reference.md} +0 -0
  210. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/{SKILL.md → reference.md} +0 -0
  211. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/{SKILL.md → reference.md} +0 -0
  212. /package/packages/omo-codex/plugin/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/{SKILL.md → reference.md} +0 -0
  213. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/accessible-content/{SKILL.md → reference.md} +0 -0
  214. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/adaptive-interfaces/{SKILL.md → reference.md} +0 -0
  215. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/cognitive-accessibility/{SKILL.md → reference.md} +0 -0
  216. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-debate/{SKILL.md → reference.md} +0 -0
  217. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-debt-tracker/{SKILL.md → reference.md} +0 -0
  218. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-handoff/{SKILL.md → reference.md} +0 -0
  219. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-md/{SKILL.md → reference.md} +0 -0
  220. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-retrospective/{SKILL.md → reference.md} +0 -0
  221. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-review/{SKILL.md → reference.md} +0 -0
  222. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/design-system-alignment/{SKILL.md → reference.md} +0 -0
  223. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/designpowers-critique/{SKILL.md → reference.md} +0 -0
  224. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/heuristic-evaluation/{SKILL.md → reference.md} +0 -0
  225. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/inclusive-personas/{SKILL.md → reference.md} +0 -0
  226. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/inspiration-scouting/{SKILL.md → reference.md} +0 -0
  227. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/interaction-design/{SKILL.md → reference.md} +0 -0
  228. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/motion-choreography/{SKILL.md → reference.md} +0 -0
  229. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/research-planning/{SKILL.md → reference.md} +0 -0
  230. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/responsive-patterns/{SKILL.md → reference.md} +0 -0
  231. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/synthetic-user-testing/{SKILL.md → reference.md} +0 -0
  232. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/taste-feedback/{SKILL.md → reference.md} +0 -0
  233. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/taste-report/{SKILL.md → reference.md} +0 -0
  234. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/token-architecture/{SKILL.md → reference.md} +0 -0
  235. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/ui-composition/{SKILL.md → reference.md} +0 -0
  236. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/usability-testing/{SKILL.md → reference.md} +0 -0
  237. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/verification-before-shipping/{SKILL.md → reference.md} +0 -0
  238. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/voice-and-tone/{SKILL.md → reference.md} +0 -0
  239. /package/packages/shared-skills/skills/frontend/references/designpowers/vendor/skills/writing-design-plans/{SKILL.md → reference.md} +0 -0
@@ -26,13 +26,13 @@ Fold a contrarian self-grill into the Metis spawn: challenge the single highest-
26
26
  </default_selection>
27
27
 
28
28
  <high_accuracy_auto>
29
- Because the human did not steer, adversarial review SUBSTITUTES for the interview you skipped - this is what catches a bad default. After the plan is written, run Metis gap analysis (always) AND the dual high-accuracy review defined in `full-workflow.md` AUTOMATICALLY - no "do you want a review?" question. Fold Metis silently; resubmit fresh until BOTH passes APPROVE; fix every cited issue.
29
+ Because the human did not steer, adversarial review SUBSTITUTES for the interview you skipped - this is what catches a bad default. Metis runs during plan generation as always; after Metis findings are folded and the plan file is complete, run the dual high-accuracy review defined in `full-workflow.md` AUTOMATICALLY - no "do you want a review?" question - and resubmit fresh until BOTH passes APPROVE, fixing every cited issue.
30
30
 
31
31
  TRIVIAL-TIER GUARD: if Classify sized the work Trivial, the auto-Momus loop is SUPPRESSED (Metis still runs once) - a vague-but-tiny request ("clean this up") must not trigger the full adversarial loop. UNCLEAR raises the research-plus-default posture; it does not override the Trivial cost guard for Momus.
32
32
  </high_accuracy_auto>
33
33
 
34
34
  <approval_gate>
35
- Still present a brief and wait for the user's explicit okay - approval is not execution - but the brief LEADS with "here is the best-practice approach I derived and the assumptions I adopted (with reversibility)", not "here are questions for you". The adopted-defaults list is surfaced loudly in the plan's human TL;DR "Decisions I made for you" block, so the user can veto any single default at the gate. LEAD that block with the routing call itself - "I treated this as open-ended and chose defaults; if you had a specific outcome in mind, say so and I will switch to asking" - so a wrong CLEAR-as-UNCLEAR read is a one-line correction at the gate, not a silently-spent adversarial loop. Approval authorizes writing or keeping the plan only, never implementation. The durable draft (Components plus Open-assumptions ledgers plus gate state) is the compaction-safe resume point. ($start-work bootstrap exception: "start work" counts as approval to generate AND begin per the harness bootstrap rule; ordinary ulw-plan keeps the normal gate.)
35
+ Still present a brief and wait for the user's explicit okay - approval is not execution - but the brief LEADS with "here is the best-practice approach I derived and the assumptions I adopted (with reversibility)", not "here are questions for you". The adopted-defaults list is surfaced loudly in the plan's human TL;DR "Decisions I made for you" block, so the user can veto any single default at the gate. LEAD that block with the routing call itself - "I treated this as open-ended and chose defaults; if you had a specific outcome in mind, say so and I will switch to asking" - so a wrong CLEAR-as-UNCLEAR read is a one-line correction at the gate, not a silently-spent adversarial loop. Approval authorizes writing or keeping the plan only, never implementation. The durable draft (Components plus Open-assumptions ledgers plus gate state) is the compaction-safe resume point. ($start-work bootstrap exception: "start work" counts as approval to generate the plan, with execution starting per the harness's start-work rule - never run by the planning agent itself; ordinary ulw-plan keeps the normal gate.)
36
36
  </approval_gate>
37
37
 
38
38
  <worked_example>
@@ -40,5 +40,5 @@ Request: "make auth better".
40
40
  1. Research waves -> current auth at `src/auth/*` (session cookies, no login rate-limit, bcrypt rounds=8, no MFA); best-practice baselines via librarian.
41
41
  2. Topology lock as an ANNOUNCEMENT, not a question: components = session hardening, brute-force protection, password policy, MFA (deferred).
42
42
  3. Adopted-defaults table (assumption | default | rationale | reversible?): bcrypt rounds 8 -> 12 (reversible), add 5/min-per-IP login limit (reversible), rotate session id on privilege change (reversible).
43
- 4. Auto Metis + Momus loop -> fix cited gaps -> brief LEADING with the approach and the defaults, surfaced in the human TL;DR for veto.
43
+ 4. Metis folded -> auto dual review (fix cited gaps until both approve) -> brief LEADING with the approach and the defaults, surfaced in the human TL;DR for veto.
44
44
  </worked_example>
@@ -7,9 +7,9 @@ is adapted into this skill's prompt contract.
7
7
 
8
8
  ---
9
9
 
10
- ## 1. insane-research (fivetaku) — inspiration for the claim-ledger verification gate
10
+ ## 1. insane-research (fivetaku) — inspiration for the claim-graph verification gate
11
11
 
12
- The non-code claim-ledger verification gate (Phase 3b: a data-flow-lock where the
12
+ The non-code claim-graph verification gate (Phase 3b: a data-flow-lock where the
13
13
  synthesis may assert a high-risk non-code claim only after it clears `>= 2 independent
14
14
  source domains + 1 counter-search + a primary source`, otherwise it is abstained to an
15
15
  unresolved/refuted annex) is inspired by the data-flow-lock verification design in
@@ -49,9 +49,22 @@ The research is done when all of these hold:
49
49
  - Every EXPAND lead was investigated or explicitly closed as a duplicate or dead end, and convergence was reached under the Phase 2 rules.
50
50
  - Claims that were contested, undocumented, or performance-shaped were proven or refuted by executed code.
51
51
  - Every claim in the deliverable cites a source or a verification artifact.
52
+ - Every asserted claim is represented in the claim graph, tied to an intent-vs-reality diff when an expected truth exists, and backed by observation manifest entries from independent observation groups or a documented single-source exception; convergence or exception status is explicit.
52
53
  - Final materials follow the Phase 5 format default or the user's explicit format.
53
54
  - The session journal reconstructs what was searched, found, and expanded, wave by wave.
54
55
 
56
+ ## Epistemic instrumentation
57
+
58
+ Saturation is not just more searching; it is a knowledge-production protocol. The session journal must make the path from observation to claim to verdict auditable. The orchestrator owns these artifacts:
59
+
60
+ - `intent-diff.md` — one row per expected truth derived from the user intent, design/spec text, branch history, or authoritative docs. Required fields: `intent_id`, expected truth, observed reality, diff, violated invariant, intent source, supporting observations, status (`true`, `violated`, or `unknown`), and linked claim ids.
61
+ - `claim-graph.md` — the single claim store; one node per claim. Required fields: `claim_id`, statement, claim type, risk tier, scope, intent ids, supporting observations, contradicting observations, independent observation groups, convergence status, counter-search result, primary source backing, dependencies, status (`supported`, `partial`, `refuted`, or `unresolved`), and final synthesis location. High-risk non-code nodes that clear the Phase 3b gate are mirrored into a `verified-claims` digest section at the top of the file — the sole allowlist the synthesis draws non-code claims from.
62
+ - `observation-manifest.md` — one row per observation. Required fields: `observation_id`, source path or URL, evidence layer, observer group, independence basis, observer, `observed_at`, `valid_at` or `claim_valid_at`, artifact path, quote or line anchor, and contamination notes.
63
+ - `verification-economics.md` — one row per proof decision. Required fields: claim, risk, error cost, verification cost/time, chosen verification path, defer/verify decision, outcome, and residual risk.
64
+ - `cause-disappearance.md` — one row per causal finding. Required fields: cause id, expected truth, previous observation, `last_seen`, disconfirming observation, replacement cause if any, current status, and whether the violation is no longer observed.
65
+
66
+ Observation candidates and claim candidates travel back from workers as message text. The orchestrator writes the instrumentation artifacts, links candidates into the intent diff and claim graph, and records where each observation entered the synthesis. A conclusion is not ready for final materials until its expected truth/reality diff is closed or marked unknown, its claim node exists, and its independent-observation convergence status is supported or explicitly excepted.
67
+
55
68
  ## Run the swarm as a cooperating team
56
69
 
57
70
  Saturation research defaults to teammode, not isolated fire-and-forget workers: a lead one worker surfaces almost always reshapes what another should search next. When your harness gives you real cooperating members — Codex: the `teammode` skill (`codex_app` threads); OpenCode: `team_mode` — run this swarm as a team. Fall back to the background-worker swarm below only when team mode is unavailable, or the axes are genuinely independent with no cross-pollination expected.
@@ -78,7 +91,7 @@ Every research spawn message contains, in order:
78
91
  2. The budget lift: "This is an explicit exhaustive-research assignment. Your default retrieval budget and stop-when-answered rules do not apply — run the full protocol below and report every lead."
79
92
  3. Scope — the axis, the sources to hit, and what a complete answer contains.
80
93
  4. The role protocol (Phase 1).
81
- 5. The reply tail. EXPAND markers travel back as message text, never as files. Every worker ends the reply with:
94
+ 5. The reply tail. EXPAND markers, observation candidates, and claim candidates travel back as message text, never as files. Every worker ends the reply with:
82
95
 
83
96
  ```
84
97
  ## EXPAND
@@ -90,7 +103,7 @@ A worker with nothing to expand writes `## EXPAND` followed by `none — <one-li
90
103
 
91
104
  ## Phase 0 — Decompose and open the journal
92
105
 
93
- Before spawning anything, decompose the query:
106
+ Before spawning anything, decompose the query. Start from "what must be true if the user's intent/spec is true?", not "what looks broken?" Seed `intent-diff.md` with those expected truths before treating code, current docs, or web results as the source of truth:
94
107
 
95
108
  ```
96
109
  <analysis>
@@ -110,6 +123,11 @@ This is `$SESSION_DIR`. The orchestrator owns the journal: you write every file
110
123
 
111
124
  - `wave-<N>-<kind>-<axis>.md` — your digest of each worker return: key findings, sources with URLs, and the worker's EXPAND markers verbatim.
112
125
  - `expansion-log.md` — per wave: workers spawned, markers gained, leads opened and closed.
126
+ - `intent-diff.md` — orchestrator-owned expected-truth ledger comparing intent/spec/history to observed reality.
127
+ - `claim-graph.md` — orchestrator-owned claim graph linking every final assertion to observations, counterevidence, dependencies, and verdict.
128
+ - `observation-manifest.md` — orchestrator-owned observation manifest with `observed_at`, temporal validity, artifact paths, and contamination notes.
129
+ - `verification-economics.md` — proof-cost ledger mapping claim risk to verification path, deferral decisions, and residual risk.
130
+ - `cause-disappearance.md` — cause ledger tracking expected truth, previous observation, `last_seen`, disconfirming observation, and whether the violation is no longer observed.
113
131
  - `verify-<slug>.md`, `SYNTHESIS.md`, `REPORT.*` from later phases.
114
132
 
115
133
  Append each digest the moment its worker returns, not in a batch at the end — the journal is your recovery point after context loss and the user's audit trail.
@@ -181,19 +199,21 @@ Reply with: the exact code, the full output, environment (OS, runtime, dependenc
181
199
 
182
200
  Journal each verdict to `verify-<slug>.md`.
183
201
 
184
- ## Phase 3b — Lock non-code claims through a claim ledger
202
+ ## Phase 3b — Lock non-code claims through the claim graph
185
203
 
186
204
  Code settles code-shaped claims (Phase 3). Numeric, market-share, legal, dated, causal, and financial claims cannot be run — so they pass through a data-flow-lock instead (the verification idea adapted from fivetaku/insane-research): the synthesis may assert a high-risk non-code claim **only** if it cleared this gate, and the gate's output is the sole allowlist the synthesis draws from. Skip the gate and there is nothing to synthesize — the lock is self-enforcing.
187
205
 
188
- The claim ledger is orchestrator-owned. Workers only return verified-claim markers as message text, the same channel as EXPAND markers — never a file. As leads resolve, you record one ledger entry per asserted claim and compute its status; workers report claim candidates in their replies, and you decide.
206
+ The claim graph is orchestrator-owned. Workers only return verified-claim markers, observation candidates, and claim candidates as message text, the same channel as EXPAND markers — never a file. As leads resolve, you record one node per asserted claim in `claim-graph.md` and compute its status; workers report claim candidates in their replies, and you decide. The graph is the single claim store: final synthesis may not draw from free-form claims that skipped it.
189
207
 
190
208
  A high-risk claim clears the gate to `verified-claims` only when all hold:
191
209
 
192
210
  - **>= 2 independent source domains** corroborate it (two pages on the same domain count once).
211
+ - **>= 2 independent observation groups** converge on it, unless the graph records why a primary-only source is the correct single-source exception.
193
212
  - **One counter-search** actively looked for a refutation and did not find a stronger one.
194
213
  - **A primary source** (the standard, filing, dataset, or first-party doc) backs it, not only secondary commentary.
214
+ - **Temporal evidence is explicit**: each supporting observation records `observed_at` and either `valid_at` or `claim_valid_at`, so branch-only, historical, release, and current-runtime claims cannot be conflated.
195
215
 
196
- Anything that fails goes to an `Unresolved` (insufficient evidence) or `Refuted` (counter-search won) annex — abstention is a correct outcome, not a gap to paper over. Maintain `claim-ledger.md` with one row per claim `claim | risk | domains | counter-search | primary? | status (verified/unresolved/refuted)` — and write the cleared rows into a `verified-claims` digest. Worker reply marker (message text, same channel as EXPAND):
216
+ Anything that fails goes to an `Unresolved` (insufficient evidence) or `Refuted` (counter-search won) annex — abstention is a correct outcome, not a gap to paper over. Record each gate outcome on the claim node itself risk tier, independent source domains, counter-search result, primary source backing, and status — and mirror the cleared nodes into the `verified-claims` digest section at the top of `claim-graph.md`. Worker reply marker (message text, same channel as EXPAND):
197
217
 
198
218
  ```
199
219
  ## CLAIMS
@@ -202,7 +222,7 @@ Anything that fails goes to an `Unresolved` (insufficient evidence) or `Refuted`
202
222
 
203
223
  ## Phase 4 — Synthesize
204
224
 
205
- After convergence and all verifications, re-read the whole journal and write `SYNTHESIS.md`:
225
+ After convergence and all verifications, re-read the whole journal, start from `intent-diff.md`, `claim-graph.md`, and `observation-manifest.md`, then write `SYNTHESIS.md`:
206
226
 
207
227
  ```
208
228
  # Ultraresearch Synthesis: <query>
@@ -213,8 +233,9 @@ Workers: <total> · Waves: <count> · Sources: <count> · Verifications: <count>
213
233
  ## Codebase findings — absolute paths with line references
214
234
  ## Sources (ranked) — URL, what it contains, reliability, access date
215
235
  ## Verified claims — code: claim | verdict | verify-<slug>.md · non-code: only rows cleared into verified-claims
236
+ ## Epistemic instrumentation — intent-vs-reality diff closure, claim graph coverage, observation manifest coverage, independent-observation convergence, verification economics summary, cause-disappearance records
216
237
  ## Contradictions — source A vs source B, resolution with evidence
217
- ## Gaps — what saturation could not answer · unresolved/refuted claim-ledger rows
238
+ ## Gaps — what saturation could not answer · unresolved/refuted claim-graph nodes
218
239
  ## Expansion trace — per wave: workers → markers; convergence reason
219
240
  ```
220
241
 
@@ -3,5 +3,6 @@ import type { CommandInfo } from "../slashcommand/types";
3
3
  interface CombinedDescriptionOptions {
4
4
  includeSkills?: boolean;
5
5
  }
6
+ export declare function deduplicatePathAliasedSkills(skills: SkillInfo[]): SkillInfo[];
6
7
  export declare function formatCombinedDescription(skills?: SkillInfo[], commands?: CommandInfo[], options?: CombinedDescriptionOptions): string;
7
8
  export {};
@@ -0,0 +1,9 @@
1
+ import type { CommandInfo } from "../slashcommand/types";
2
+ import type { SkillInfo } from "./types";
3
+ export declare function makeSkill(name: string, description?: string, overrides?: Partial<SkillInfo>): SkillInfo;
4
+ export declare function sharedSkill(name: string, description?: string): SkillInfo;
5
+ export declare function builtinSharedSkill(name: string, description?: string): SkillInfo;
6
+ export declare function localSkill(name: string, description?: string): SkillInfo;
7
+ export declare function userSkill(name: string, description?: string): SkillInfo;
8
+ export declare function opencodeNativeSkill(name: string, description?: string, location?: string): SkillInfo;
9
+ export declare function makeCommand(name: string, description?: string, overrides?: Partial<CommandInfo>): CommandInfo;
@@ -0,0 +1,25 @@
1
+ import type { ToolContext } from "@opencode-ai/plugin/tool";
2
+ import type { LoadedSkill } from "../../../features/opencode-skill-loader/types";
3
+ import type { CommandInfo } from "../../slashcommand/types";
4
+ import type { SkillLoadOptions } from "../types";
5
+ type SkillToolFactory = typeof import("../tools").createSkillTool;
6
+ type TestSkillLoadOptions = Omit<SkillLoadOptions, "directory"> & {
7
+ readonly directory?: SkillLoadOptions["directory"];
8
+ };
9
+ export declare function createSkillTool(options?: TestSkillLoadOptions): ReturnType<SkillToolFactory>;
10
+ export declare function createMockSkill(name: string, options?: {
11
+ readonly agent?: string;
12
+ readonly scope?: LoadedSkill["scope"];
13
+ }): LoadedSkill;
14
+ export declare function createMockSkillWithMcp(name: string, mcpServers: Record<string, unknown>): LoadedSkill;
15
+ export declare function createMockCommand(name: string, scope: CommandInfo["scope"]): {
16
+ name: string;
17
+ path: string;
18
+ metadata: {
19
+ name: string;
20
+ description: string;
21
+ };
22
+ scope: import("../../slashcommand").CommandScope;
23
+ };
24
+ export declare const mockContext: ToolContext;
25
+ export {};