oh-my-agent-commandcode 0.0.0-stage → 20.38.3

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 (334) hide show
  1. package/README.md +35 -2
  2. package/filter-test-output.sh +52 -0
  3. package/mods/oma.ts +347 -0
  4. package/package.json +30 -4
  5. package/skills/_shared/conditional/experiment-ledger.md +28 -0
  6. package/skills/_shared/conditional/exploration-loop.md +22 -0
  7. package/skills/_shared/conditional/quality-score.md +33 -0
  8. package/skills/_shared/core/anti-ai-prose.md +191 -0
  9. package/skills/_shared/core/api-contracts/README.md +28 -0
  10. package/skills/_shared/core/api-contracts/template.md +90 -0
  11. package/skills/_shared/core/clarification-protocol.md +23 -0
  12. package/skills/_shared/core/code-intelligence.md +46 -0
  13. package/skills/_shared/core/collaboration-policy.md +28 -0
  14. package/skills/_shared/core/common-checklist.md +28 -0
  15. package/skills/_shared/core/context-budget.md +22 -0
  16. package/skills/_shared/core/context-loading.md +34 -0
  17. package/skills/_shared/core/difficulty-guide.md +26 -0
  18. package/skills/_shared/core/execution-policy.md +31 -0
  19. package/skills/_shared/core/lessons-learned.md +33 -0
  20. package/skills/_shared/core/prompt-structure.md +18 -0
  21. package/skills/_shared/core/quality-principles.md +11 -0
  22. package/skills/_shared/core/session-metrics.md +35 -0
  23. package/skills/_shared/core/skill-routing.md +39 -0
  24. package/skills/_shared/core/test-approach.md +54 -0
  25. package/skills/_shared/core/vendor-detection.md +52 -0
  26. package/skills/_shared/runtime/memory-protocol.md +118 -0
  27. package/skills/_shared/runtime/result-contract.md +64 -0
  28. package/skills/_shared/ui-interaction-quality.md +133 -0
  29. package/skills/oma-academic-writing/SKILL.md +181 -0
  30. package/skills/oma-academic-writing/resources/abstract-guide.md +51 -0
  31. package/skills/oma-academic-writing/resources/academic-verb-tiers.md +42 -0
  32. package/skills/oma-academic-writing/resources/anti-ai-checklist.md +52 -0
  33. package/skills/oma-academic-writing/resources/hedging-guide.md +132 -0
  34. package/skills/oma-academic-writing/resources/sentence-structure-reference.md +151 -0
  35. package/skills/oma-architecture/SKILL.md +203 -0
  36. package/skills/oma-architecture/resources/api-evolution.md +41 -0
  37. package/skills/oma-architecture/resources/checklist.md +42 -0
  38. package/skills/oma-architecture/resources/execution-protocol.md +115 -0
  39. package/skills/oma-architecture/resources/methodology-selection.md +92 -0
  40. package/skills/oma-architecture/resources/migration-patterns.md +28 -0
  41. package/skills/oma-architecture/resources/output-templates.md +111 -0
  42. package/skills/oma-architecture/resources/stakeholder-synthesis.md +80 -0
  43. package/skills/oma-backend/SKILL.md +202 -0
  44. package/skills/oma-backend/resources/checklist.md +45 -0
  45. package/skills/oma-backend/resources/error-playbook.md +97 -0
  46. package/skills/oma-backend/resources/execution-protocol.md +39 -0
  47. package/skills/oma-backend/resources/orm-reference.md +61 -0
  48. package/skills/oma-backend/variants/node/api-template.ts +315 -0
  49. package/skills/oma-backend/variants/node/snippets.md +475 -0
  50. package/skills/oma-backend/variants/node/stack.yaml +21 -0
  51. package/skills/oma-backend/variants/node/tech-stack.md +33 -0
  52. package/skills/oma-backend/variants/python/api-template.py +378 -0
  53. package/skills/oma-backend/variants/python/snippets.md +199 -0
  54. package/skills/oma-backend/variants/python/stack.yaml +18 -0
  55. package/skills/oma-backend/variants/python/tech-stack.md +45 -0
  56. package/skills/oma-backend/variants/rust/api-template.rs +635 -0
  57. package/skills/oma-backend/variants/rust/snippets.md +471 -0
  58. package/skills/oma-backend/variants/rust/stack.yaml +20 -0
  59. package/skills/oma-backend/variants/rust/tech-stack.md +36 -0
  60. package/skills/oma-backend/variants/stack.schema.json +73 -0
  61. package/skills/oma-brainstorm/SKILL.md +166 -0
  62. package/skills/oma-brainstorm/resources/triz-lite.md +117 -0
  63. package/skills/oma-coordination/SKILL.md +171 -0
  64. package/skills/oma-db/SKILL.md +201 -0
  65. package/skills/oma-db/resources/anti-patterns.md +177 -0
  66. package/skills/oma-db/resources/checklist.md +67 -0
  67. package/skills/oma-db/resources/document-templates.md +107 -0
  68. package/skills/oma-db/resources/error-playbook.md +50 -0
  69. package/skills/oma-db/resources/examples.md +170 -0
  70. package/skills/oma-db/resources/execution-protocol.md +127 -0
  71. package/skills/oma-db/resources/iso-controls.md +98 -0
  72. package/skills/oma-db/resources/migration-playbook.md +93 -0
  73. package/skills/oma-db/resources/query-tuning.md +57 -0
  74. package/skills/oma-db/resources/vector-db.md +159 -0
  75. package/skills/oma-debug/SKILL.md +146 -0
  76. package/skills/oma-debug/resources/bug-report-template.md +327 -0
  77. package/skills/oma-debug/resources/checklist.md +31 -0
  78. package/skills/oma-debug/resources/common-patterns.md +734 -0
  79. package/skills/oma-debug/resources/debugging-checklist.md +364 -0
  80. package/skills/oma-debug/resources/error-playbook.md +94 -0
  81. package/skills/oma-debug/resources/execution-protocol.md +40 -0
  82. package/skills/oma-design/SKILL.md +135 -0
  83. package/skills/oma-design/resources/asset-strategy.md +34 -0
  84. package/skills/oma-design/resources/checklist.md +63 -0
  85. package/skills/oma-design/resources/data-grid.md +48 -0
  86. package/skills/oma-design/resources/design-md-spec.md +107 -0
  87. package/skills/oma-design/resources/design-tokens.md +53 -0
  88. package/skills/oma-design/resources/error-playbook.md +18 -0
  89. package/skills/oma-design/resources/execution-protocol.md +95 -0
  90. package/skills/oma-design/resources/external-design-skills.md +130 -0
  91. package/skills/oma-design/resources/getdesign-fetcher.md +104 -0
  92. package/skills/oma-design/resources/product-interface-review.md +59 -0
  93. package/skills/oma-design/resources/redesign-protocol.md +52 -0
  94. package/skills/oma-design/resources/stitch-integration.md +244 -0
  95. package/skills/oma-dev-workflow/SKILL.md +375 -0
  96. package/skills/oma-dev-workflow/resources/affected-checks.py +58 -0
  97. package/skills/oma-dev-workflow/resources/api-workflows.md +58 -0
  98. package/skills/oma-dev-workflow/resources/database-patterns.md +107 -0
  99. package/skills/oma-dev-workflow/resources/i18n-patterns.md +63 -0
  100. package/skills/oma-dev-workflow/resources/release-coordination.md +240 -0
  101. package/skills/oma-dev-workflow/resources/tooling-profiles.md +217 -0
  102. package/skills/oma-dev-workflow/resources/troubleshooting.md +78 -0
  103. package/skills/oma-dev-workflow/resources/validation-pipeline.md +246 -0
  104. package/skills/oma-docs/SKILL.md +77 -0
  105. package/skills/oma-docs/resources/commands.md +76 -0
  106. package/skills/oma-explanation/SKILL.md +212 -0
  107. package/skills/oma-explanation/resources/document-structure.md +115 -0
  108. package/skills/oma-explanation/resources/draft-format.md +199 -0
  109. package/skills/oma-explanation/resources/html-contract.md +102 -0
  110. package/skills/oma-frontend/SKILL.md +227 -0
  111. package/skills/oma-frontend/resources/angular-rules.md +110 -0
  112. package/skills/oma-frontend/resources/checklist.md +76 -0
  113. package/skills/oma-frontend/resources/error-playbook.md +125 -0
  114. package/skills/oma-frontend/resources/execution-protocol.md +46 -0
  115. package/skills/oma-frontend/resources/snippets.md +354 -0
  116. package/skills/oma-frontend/resources/specialized-visual-implementation.md +193 -0
  117. package/skills/oma-frontend/resources/tailwind-rules.md +83 -0
  118. package/skills/oma-frontend/resources/tech-stack.md +156 -0
  119. package/skills/oma-hwp/SKILL.md +166 -0
  120. package/skills/oma-hwp/config/hwp-config.yaml +35 -0
  121. package/skills/oma-hwp/resources/balanced-tables.ts +39 -0
  122. package/skills/oma-hwp/resources/execution-protocol.md +145 -0
  123. package/skills/oma-hwp/resources/flatten-tables.ts +101 -0
  124. package/skills/oma-hwp/resources/package.json +13 -0
  125. package/skills/oma-hwp/resources/troubleshooting.md +70 -0
  126. package/skills/oma-hwp/resources/tsconfig.json +10 -0
  127. package/skills/oma-hwp/resources/turndown-plugin-gfm.d.ts +9 -0
  128. package/skills/oma-image/SKILL.md +142 -0
  129. package/skills/oma-image/config/image-config.yaml +70 -0
  130. package/skills/oma-image/resources/checklist.md +18 -0
  131. package/skills/oma-image/resources/execution-protocol.md +117 -0
  132. package/skills/oma-image/resources/invocation.md +105 -0
  133. package/skills/oma-image/resources/prompt-tips.md +71 -0
  134. package/skills/oma-image/resources/vendor-matrix.md +90 -0
  135. package/skills/oma-market/SKILL.md +142 -0
  136. package/skills/oma-market/resources/checklist.md +12 -0
  137. package/skills/oma-market/resources/error-playbook.md +12 -0
  138. package/skills/oma-market/resources/execution-protocol.md +60 -0
  139. package/skills/oma-market/resources/frameworks/pestel.md +101 -0
  140. package/skills/oma-market/resources/frameworks/porters-5f.md +90 -0
  141. package/skills/oma-market/resources/frameworks/swot.md +61 -0
  142. package/skills/oma-market/resources/intent-rules.md +35 -0
  143. package/skills/oma-market/resources/output-laws.md +53 -0
  144. package/skills/oma-mobile/SKILL.md +168 -0
  145. package/skills/oma-mobile/resources/checklist.md +77 -0
  146. package/skills/oma-mobile/resources/error-playbook.md +198 -0
  147. package/skills/oma-mobile/resources/execution-protocol.md +47 -0
  148. package/skills/oma-mobile/resources/screen-template.dart +331 -0
  149. package/skills/oma-mobile/resources/screen-template.swift +239 -0
  150. package/skills/oma-mobile/resources/screen-template.tsx +179 -0
  151. package/skills/oma-mobile/resources/tech-stack.md +69 -0
  152. package/skills/oma-mobile/variants/README.md +45 -0
  153. package/skills/oma-mobile/variants/flutter/api-template.dart +461 -0
  154. package/skills/oma-mobile/variants/flutter/snippets.md +1353 -0
  155. package/skills/oma-mobile/variants/flutter/stack.yaml +21 -0
  156. package/skills/oma-mobile/variants/flutter/tech-stack.md +201 -0
  157. package/skills/oma-mobile/variants/kotlin-android/api-template.kt +182 -0
  158. package/skills/oma-mobile/variants/kotlin-android/snippets.md +871 -0
  159. package/skills/oma-mobile/variants/kotlin-android/stack.yaml +32 -0
  160. package/skills/oma-mobile/variants/kotlin-android/tech-stack.md +159 -0
  161. package/skills/oma-mobile/variants/react-native/api-template.ts +531 -0
  162. package/skills/oma-mobile/variants/react-native/snippets.md +1014 -0
  163. package/skills/oma-mobile/variants/react-native/stack.yaml +22 -0
  164. package/skills/oma-mobile/variants/react-native/tech-stack.md +192 -0
  165. package/skills/oma-mobile/variants/stack.schema.json +68 -0
  166. package/skills/oma-mobile/variants/swift-ios/api-template.swift +165 -0
  167. package/skills/oma-mobile/variants/swift-ios/snippets.md +1028 -0
  168. package/skills/oma-mobile/variants/swift-ios/stack.yaml +25 -0
  169. package/skills/oma-mobile/variants/swift-ios/tech-stack.md +174 -0
  170. package/skills/oma-observability/SKILL.md +225 -0
  171. package/skills/oma-observability/resources/anti-patterns.md +555 -0
  172. package/skills/oma-observability/resources/boundaries/cross-application.md +348 -0
  173. package/skills/oma-observability/resources/boundaries/multi-tenant.md +290 -0
  174. package/skills/oma-observability/resources/boundaries/release.md +372 -0
  175. package/skills/oma-observability/resources/boundaries/slo.md +225 -0
  176. package/skills/oma-observability/resources/checklist.md +123 -0
  177. package/skills/oma-observability/resources/examples.md +448 -0
  178. package/skills/oma-observability/resources/execution-protocol.md +166 -0
  179. package/skills/oma-observability/resources/incident-forensics.md +348 -0
  180. package/skills/oma-observability/resources/intent-rules.md +307 -0
  181. package/skills/oma-observability/resources/layers/L3-network.md +281 -0
  182. package/skills/oma-observability/resources/layers/L4-transport.md +299 -0
  183. package/skills/oma-observability/resources/layers/L7-application/crash-analytics.md +359 -0
  184. package/skills/oma-observability/resources/layers/L7-application/mobile-rum.md +278 -0
  185. package/skills/oma-observability/resources/layers/L7-application/waf.md +246 -0
  186. package/skills/oma-observability/resources/layers/L7-application/web-rum.md +350 -0
  187. package/skills/oma-observability/resources/layers/mesh.md +368 -0
  188. package/skills/oma-observability/resources/matrix.md +177 -0
  189. package/skills/oma-observability/resources/meta-observability.md +605 -0
  190. package/skills/oma-observability/resources/observability-as-code.md +666 -0
  191. package/skills/oma-observability/resources/signals/audit.md +310 -0
  192. package/skills/oma-observability/resources/signals/cost.md +303 -0
  193. package/skills/oma-observability/resources/signals/logs.md +263 -0
  194. package/skills/oma-observability/resources/signals/metrics.md +478 -0
  195. package/skills/oma-observability/resources/signals/privacy.md +351 -0
  196. package/skills/oma-observability/resources/signals/profiles.md +245 -0
  197. package/skills/oma-observability/resources/signals/traces.md +360 -0
  198. package/skills/oma-observability/resources/standards.md +214 -0
  199. package/skills/oma-observability/resources/transport/collector-topology.md +308 -0
  200. package/skills/oma-observability/resources/transport/otlp-grpc-vs-http.md +256 -0
  201. package/skills/oma-observability/resources/transport/sampling-recipes.md +297 -0
  202. package/skills/oma-observability/resources/transport/udp-statsd-mtu.md +167 -0
  203. package/skills/oma-observability/resources/vendor-categories.md +352 -0
  204. package/skills/oma-orchestration/SKILL.md +302 -0
  205. package/skills/oma-orchestration/config/cli-config.yaml +92 -0
  206. package/skills/oma-orchestration/resources/memory-schema.md +232 -0
  207. package/skills/oma-orchestration/resources/subagent-prompt-template.md +30 -0
  208. package/skills/oma-orchestration/scripts/parallel-run.sh +6 -0
  209. package/skills/oma-orchestration/scripts/spawn-agent.sh +5 -0
  210. package/skills/oma-orchestration/scripts/verify.sh +20 -0
  211. package/skills/oma-orchestration/templates/backend-task.md +19 -0
  212. package/skills/oma-orchestration/templates/debug-task.md +16 -0
  213. package/skills/oma-orchestration/templates/frontend-task.md +18 -0
  214. package/skills/oma-orchestration/templates/mobile-task.md +18 -0
  215. package/skills/oma-orchestration/templates/qa-task.md +16 -0
  216. package/skills/oma-orchestration/templates/tasks-example.yaml +15 -0
  217. package/skills/oma-pdf/SKILL.md +162 -0
  218. package/skills/oma-pdf/config/pdf-config.yaml +27 -0
  219. package/skills/oma-pdf/resources/execution-protocol.md +127 -0
  220. package/skills/oma-pm/SKILL.md +157 -0
  221. package/skills/oma-pm/resources/error-playbook.md +75 -0
  222. package/skills/oma-pm/resources/examples.md +439 -0
  223. package/skills/oma-pm/resources/execution-protocol.md +62 -0
  224. package/skills/oma-pm/resources/iso-planning.md +110 -0
  225. package/skills/oma-pm/resources/plan-phase-protocol.md +66 -0
  226. package/skills/oma-pm/resources/task-template.json +86 -0
  227. package/skills/oma-qa/SKILL.md +141 -0
  228. package/skills/oma-qa/resources/checklist.md +339 -0
  229. package/skills/oma-qa/resources/error-playbook.md +98 -0
  230. package/skills/oma-qa/resources/execution-protocol.md +169 -0
  231. package/skills/oma-qa/resources/iso-quality.md +82 -0
  232. package/skills/oma-qa/resources/verify-ship-protocol.md +116 -0
  233. package/skills/oma-recap/SKILL.md +245 -0
  234. package/skills/oma-recap/resources/output-formats.md +83 -0
  235. package/skills/oma-refactor/SKILL.md +184 -0
  236. package/skills/oma-refactor/resources/definition.md +108 -0
  237. package/skills/oma-refactor/resources/governance.md +33 -0
  238. package/skills/oma-refactor/resources/hotspots.py +44 -0
  239. package/skills/oma-refactor/resources/measurement.md +93 -0
  240. package/skills/oma-scholar/SKILL.md +276 -0
  241. package/skills/oma-scholar/config/scholar-config.yaml +79 -0
  242. package/skills/oma-scholar/resources/api-endpoints.md +174 -0
  243. package/skills/oma-scholar/resources/checklist.md +92 -0
  244. package/skills/oma-scholar/resources/execution-protocol.md +224 -0
  245. package/skills/oma-scholar/resources/fallback-providers.md +143 -0
  246. package/skills/oma-scholar/resources/setup-openalex.md +85 -0
  247. package/skills/oma-scholar/resources/sidecar-spec.md +341 -0
  248. package/skills/oma-scholar/resources/upstream-spec-cache.md +972 -0
  249. package/skills/oma-scm/SKILL.md +103 -0
  250. package/skills/oma-scm/resources/cm-operations.md +56 -0
  251. package/skills/oma-scm/resources/codeowners-playbook.md +45 -0
  252. package/skills/oma-scm/resources/conventional-commits.md +108 -0
  253. package/skills/oma-scm/resources/merge-risk.md +76 -0
  254. package/skills/oma-scm/resources/onboarding-risk-signals.md +71 -0
  255. package/skills/oma-search/SKILL.md +125 -0
  256. package/skills/oma-search/resources/checklist.md +36 -0
  257. package/skills/oma-search/resources/error-playbook.md +66 -0
  258. package/skills/oma-search/resources/examples.md +80 -0
  259. package/skills/oma-search/resources/execution-protocol.md +86 -0
  260. package/skills/oma-search/resources/intent-rules.md +47 -0
  261. package/skills/oma-search/resources/trust-registry.md +53 -0
  262. package/skills/oma-security/SKILL.md +172 -0
  263. package/skills/oma-security/resources/artex.md +108 -0
  264. package/skills/oma-security/resources/ci.md +134 -0
  265. package/skills/oma-security/resources/cisco-source.md +108 -0
  266. package/skills/oma-security/resources/deepsec-config.md +45 -0
  267. package/skills/oma-security/resources/deepsec-matchers.md +35 -0
  268. package/skills/oma-security/resources/deepsec-scanning.md +45 -0
  269. package/skills/oma-security/resources/deepsec-setup.md +41 -0
  270. package/skills/oma-security/resources/findings-contract.md +408 -0
  271. package/skills/oma-security/resources/mcp-scanning.md +122 -0
  272. package/skills/oma-security/resources/skill-scanning.md +106 -0
  273. package/skills/oma-security/resources/validation.md +71 -0
  274. package/skills/oma-skill-creation/SKILL.md +84 -0
  275. package/skills/oma-skill-creation/resources/prompt-evaluation.md +36 -0
  276. package/skills/oma-skill-creation/resources/ssl-lite-template.md +108 -0
  277. package/skills/oma-skill-creation/resources/validation-checklist.md +101 -0
  278. package/skills/oma-slide/SKILL.md +277 -0
  279. package/skills/oma-slide/resources/animation-patterns.md +245 -0
  280. package/skills/oma-slide/resources/assets/deck-stage.js +514 -0
  281. package/skills/oma-slide/resources/assets/viewport-base.css +257 -0
  282. package/skills/oma-slide/resources/canva-integration.md +203 -0
  283. package/skills/oma-slide/resources/checklist.md +46 -0
  284. package/skills/oma-slide/resources/design-doctrine.md +260 -0
  285. package/skills/oma-slide/resources/fixed-stage.md +232 -0
  286. package/skills/oma-slide/resources/generation-protocol.md +393 -0
  287. package/skills/oma-slide/resources/native-pptx.md +84 -0
  288. package/skills/oma-slide/resources/selection-index.json +461 -0
  289. package/skills/oma-slide/resources/style-presets.LICENSE +10 -0
  290. package/skills/oma-slide/resources/style-presets.md +520 -0
  291. package/skills/oma-tf-infra/SKILL.md +201 -0
  292. package/skills/oma-tf-infra/resources/checklist.md +53 -0
  293. package/skills/oma-tf-infra/resources/cost-optimization.md +574 -0
  294. package/skills/oma-tf-infra/resources/error-playbook.md +68 -0
  295. package/skills/oma-tf-infra/resources/examples.md +38 -0
  296. package/skills/oma-tf-infra/resources/execution-protocol.md +129 -0
  297. package/skills/oma-tf-infra/resources/iso-42001-infra.md +229 -0
  298. package/skills/oma-tf-infra/resources/multi-cloud-examples.md +241 -0
  299. package/skills/oma-tf-infra/resources/policy-testing-examples.md +332 -0
  300. package/skills/oma-translation/SKILL.md +229 -0
  301. package/skills/oma-translation/resources/anti-ai-patterns.md +104 -0
  302. package/skills/oma-translation/resources/lang/_template.md +73 -0
  303. package/skills/oma-translation/resources/lang/en.md +123 -0
  304. package/skills/oma-translation/resources/lang/ja.md +274 -0
  305. package/skills/oma-translation/resources/lang/ko.md +228 -0
  306. package/skills/oma-translation/resources/lang/zh.md +285 -0
  307. package/skills/oma-translation/resources/style-skills.md +104 -0
  308. package/skills/oma-translation/resources/translation-rubric.md +126 -0
  309. package/skills/oma-video/SKILL.md +229 -0
  310. package/skills/oma-video/config/video-config.yaml +60 -0
  311. package/skills/oma-video/resources/checklist.md +26 -0
  312. package/skills/oma-video/resources/execution-protocol.md +122 -0
  313. package/skills/oma-video/resources/existing-media.md +185 -0
  314. package/skills/oma-video/resources/hyperframes-authoring/README.md +44 -0
  315. package/skills/oma-video/resources/hyperframes-authoring/demo.md +31 -0
  316. package/skills/oma-video/resources/hyperframes-authoring/explainer.md +10 -0
  317. package/skills/oma-video/resources/hyperframes-authoring/shorts.md +10 -0
  318. package/skills/oma-video/resources/motion-principles.md +81 -0
  319. package/skills/oma-video/resources/mpt/driver.py +301 -0
  320. package/skills/oma-video/resources/prompt-tips.md +75 -0
  321. package/skills/oma-video/resources/script-schema.md +81 -0
  322. package/skills/oma-video/resources/sound-design.md +127 -0
  323. package/skills/oma-video/resources/strudel/package.json +11 -0
  324. package/skills/oma-video/resources/strudel/page.html +87 -0
  325. package/skills/oma-video/resources/strudel/render.mjs +295 -0
  326. package/skills/oma-video/resources/vendor-matrix.md +124 -0
  327. package/skills/oma-voice/SKILL.md +249 -0
  328. package/skills/oma-voice/config/voice-config.yaml +30 -0
  329. package/skills/oma-voice/resources/audio-processing.md +119 -0
  330. package/skills/oma-voice/resources/checklist.md +47 -0
  331. package/skills/oma-voice/resources/execution-protocol.md +215 -0
  332. package/skills/oma-voice/resources/prompt-tips.md +43 -0
  333. package/skills/oma-voice/resources/voice-matrix.md +51 -0
  334. package/skills/oma-voice/resources/voicestudio.md +87 -0
@@ -0,0 +1,352 @@
1
+ ---
2
+ notes:
3
+ - "Example vendor lists are snapshots: verify via landscape.cncf.io before production selection"
4
+ ---
5
+
6
+ # Observability Vendor Categories
7
+
8
+ > as of 2026-Q2. No scheduled review is promised (see `SKILL.md` §Versioning & Deprecation); verify live status at https://landscape.cncf.io when load-bearing.
9
+
10
+ ## Preamble: Why Categories, Not a Registry
11
+
12
+ This file is a **category taxonomy with timestamped example vendors**. It is not a vendor registry.
13
+
14
+ **Why this distinction matters:**
15
+
16
+ 1. **Vendor names rot.** Examples from this codebase's own lifetime:
17
+ - Keptn: archived by CNCF, 2025-09
18
+ - Fluentd remains CNCF Graduated; the 2025-10 migration guide is not a deprecation announcement
19
+ - Pyroscope: was CNCF Sandbox; acquired by Grafana 2023; CNCF Sandbox status is uncertain post-acquisition (verify at landscape.cncf.io before citing)
20
+
21
+ 2. **Categories are stable.** "OSS full-stack", "SIEM", and "profiling specialist" have been coherent for years. The vendors filling them change.
22
+
23
+ 3. **No duplication with vendor-owned skills.** The following published skills already describe themselves authoritatively:
24
+ - `getsentry/sentry-sdk-setup`: Sentry SDK instrumentation
25
+ - `honeycombio/agent-skill`: Honeycomb OTel setup (8+ published skills)
26
+ - `Dash0 otel-instrumentation`: Dash0 OTel
27
+ - `Microsoft Azure Monitor exporters`: Azure-specific exporters
28
+ - `Datadog Labs dd-apm`: Datadog APM
29
+ Duplicating their content here creates drift, not value.
30
+
31
+ 4. **CNCF landscape is the authoritative live registry.** `landscape.cncf.io` tracks CNCF project status (Graduated / Incubating / Sandbox / Archived), vendor landscape, and category membership in real time. This file complements it with decision guidance; it does not copy or compete with it.
32
+
33
+ ## Timestamp Discipline
34
+
35
+ All example vendor lists in this file are marked `as of 2026-Q2`.
36
+
37
+ **Review triggers** (no scheduled cadence; see `SKILL.md` §Versioning & Deprecation): CNCF project status changes, acquisitions, deprecations, or new CNCF Graduated/Incubating entrants in covered categories.
38
+
39
+ When reviewing:
40
+ - Check CNCF project status changes at landscape.cncf.io
41
+ - Check acquisition or archival announcements
42
+ - Update the `as of YYYY-QX` markers on any changed sections
43
+
44
+ ---
45
+
46
+ ## Category Taxonomy
47
+
48
+ ### (a) OSS Full-Stack
49
+
50
+ **Traits:** Self-hostable, covers metrics + logs + traces in one coherent stack, often includes UI, storage, and agents. No per-seat licensing. Operational burden is on the team.
51
+
52
+ **Example vendors** (as of 2026-Q2):
53
+
54
+ | Vendor | Metrics | Logs | Traces | Profiles | UI | Notes |
55
+ |--------|---------|------|--------|----------|----|-------|
56
+ | Grafana Labs LGTM+ | Mimir | Loki | Tempo | Pyroscope | Grafana | Alloy collector, Beyla eBPF auto-instr, Faro RUM, k6 load |
57
+ | Elastic Stack (ELK) | Yes | Elasticsearch | APM | No | Kibana | Mature; storage costs at scale |
58
+ | SigNoz | Yes | Yes | Yes | No | Yes | OTel-native from day 1; ClickHouse backend |
59
+ | OpenObserve | Yes | Yes | Yes | No | Yes | Rust-based; lower storage footprint claim |
60
+
61
+ **How to choose:**
62
+ - Already using Grafana dashboards → Grafana LGTM+
63
+ - Need full-text log search maturity → Elastic Stack
64
+ - Want OTel-native with no legacy shim → SigNoz
65
+ - Cost-sensitive storage + small team → OpenObserve or SigNoz
66
+
67
+ **Delegation target:** For Grafana stack setup, invoke `oma-search --docs "Grafana LGTM+ OTel Collector setup"`. For Elastic, use Elastic documentation directly. No single vendor-owned skill covers the full OSS stack; delegate to `oma-search` unless a specific component skill is installed.
68
+
69
+ ---
70
+
71
+ ### (b) Commercial SaaS Unified APM
72
+
73
+ **Traits:** Managed SaaS; covers metrics, logs, traces, and often RUM/synthetics/profiling in one product. Per-host or per-ingestion pricing. Reduced operational burden; vendor lock-in risk.
74
+
75
+ **Example vendors** (as of 2026-Q2):
76
+
77
+ | Vendor | Metrics | Logs | Traces | Profiles | RUM | Notes |
78
+ |--------|---------|------|--------|----------|-----|-------|
79
+ | Datadog | Yes | Yes | Yes | Yes | Yes | Broadest feature surface; highest cost at scale |
80
+ | New Relic | Yes | Yes | Yes | Yes | Yes | Usage-based pricing; OTel-native ingest |
81
+ | Dynatrace | Yes | Yes | Yes | Yes | Yes | AI-driven auto-discovery; OneAgent proprietary |
82
+ | Sentry | Partial | Yes | Yes | No | Yes | Error-first; strong release tracking |
83
+ | Grafana Cloud | Yes | Yes | Yes | Yes | Faro | Managed LGTM+; per-signal pricing |
84
+
85
+ **How to choose:**
86
+ - Maximum feature coverage, budget flexible → Datadog
87
+ - OTel-native ingest preferred, usage pricing → New Relic
88
+ - Auto-discovery in complex microservice env → Dynatrace
89
+ - Error tracking + release correlation primary need → Sentry
90
+ - Prefer OSS tools managed → Grafana Cloud
91
+
92
+ **Delegation target:** `Datadog Labs dd-apm`, `getsentry/sentry-sdk-setup`. For New Relic / Dynatrace: `oma-search --docs "{vendor} OTel integration setup"`.
93
+
94
+ ---
95
+
96
+ ### (c) High-Cardinality Specialist
97
+
98
+ **Traits:** Purpose-built for high-cardinality event-based observability. Avoids pre-aggregation. Enables arbitrary dimension slicing at query time. Dynamic sampling to control cost.
99
+
100
+ **Example vendors** (as of 2026-Q2):
101
+
102
+ | Vendor | Approach | Key features | Notes |
103
+ |--------|----------|-------------|-------|
104
+ | Honeycomb | Event-first, columnar | BubbleUp root-cause, dynamic sampling, Query Builder | OTel-native; no metrics tier (use separate tool) |
105
+
106
+ **How to choose:**
107
+ - Cardinality explosion on Prometheus/Datadog metrics → Honeycomb for traces/events
108
+ - Need to slice by any arbitrary field post-hoc → Honeycomb
109
+ - Metrics + high-cardinality in one product → pair Honeycomb with a TSDB (category i)
110
+
111
+ **Delegation target:** `honeycombio/agent-skill` (8+ published skills for OTel setup, sampling config, and BubbleUp usage).
112
+
113
+ ---
114
+
115
+ ### (d) Profiling Specialist
116
+
117
+ **Traits:** Continuous profiling (CPU, memory, goroutine, heap). Always-on, low-overhead. pprof or OTel profiling (OTEP 0239, currently alpha) as wire format. MELT+P fifth pillar.
118
+
119
+ **Note on Pyroscope:** Originally CNCF Sandbox. Acquired by Grafana Labs in 2023. CNCF Sandbox status is uncertain post-acquisition; verify at landscape.cncf.io before citing CNCF affiliation.
120
+
121
+ **Example vendors** (as of 2026-Q2):
122
+
123
+ | Vendor | CNCF status | Backend | Notes |
124
+ |--------|------------|---------|-------|
125
+ | Parca | CNCF Sandbox | ClickHouse / S3 | OTEP 0239-aligned; open-source |
126
+ | Grafana Pyroscope | See note above | Object storage | Integrated into Grafana LGTM+; formerly CNCF Sandbox |
127
+ | Polar Signals Cloud | Commercial | Polar Signals | Enterprise managed Parca |
128
+
129
+ **How to choose:**
130
+ - Full OSS control → Parca
131
+ - Already on Grafana LGTM+ → Grafana Pyroscope (co-located storage)
132
+ - Managed + enterprise support → Polar Signals Cloud
133
+
134
+ **Delegation target:** `oma-search --docs "Parca OTel profiling setup"` or `oma-search --docs "Grafana Pyroscope integration"`.
135
+
136
+ ---
137
+
138
+ ### (e) SIEM / Enterprise Logs
139
+
140
+ **Traits:** Security information and event management. Compliance-grade log retention, correlation rules, threat detection, alerting. Often WORM / immutable storage. Targets SOC2 / ISO 27001 audit requirements.
141
+
142
+ **Example vendors** (as of 2026-Q2):
143
+
144
+ | Vendor | Log ingest | Threat detection | Compliance | Notes |
145
+ |--------|-----------|-----------------|-----------|-------|
146
+ | Splunk | Yes | Yes | Yes | Market leader; high licensing cost |
147
+ | Elastic Security | Yes | Yes | Yes | Elastic Stack + SIEM rules; lower cost than Splunk |
148
+ | Sumo Logic | Yes | Yes | Yes | Cloud-native; per-GB pricing |
149
+ | Datadog Cloud SIEM | Yes | Yes | Partial | Add-on to Datadog unified APM |
150
+
151
+ **How to choose:**
152
+ - Enterprise compliance, existing Splunk investment → Splunk
153
+ - Cost-sensitive, already on Elastic → Elastic Security
154
+ - Cloud-native, no on-prem requirement → Sumo Logic
155
+ - Already on Datadog, want unified → Datadog Cloud SIEM
156
+
157
+ **Delegation target:** `oma-search --docs "{vendor} SIEM log pipeline setup"`. For audit-specific requirements see `signals/audit.md` in this skill.
158
+
159
+ ---
160
+
161
+ ### (f) FinOps / Cost Observability
162
+
163
+ **Traits:** Kubernetes / cloud cost visibility, unit economics, per-tenant / per-namespace attribution. Cost is a first-class observability signal (D4 in design), not a boundary attribute. Distinct from APM cost-of-ownership analysis.
164
+
165
+ **Example vendors** (as of 2026-Q2):
166
+
167
+ | Vendor | CNCF status | K8s cost | Cloud cost | Notes |
168
+ |--------|------------|---------|-----------|-------|
169
+ | OpenCost | CNCF Incubating | Yes | AWS/GCP/Azure | Open spec + OSS implementation; Prometheus-native |
170
+ | Kubecost | Commercial (OpenCost-based) | Yes | Yes | Adds multi-cluster, RBAC, Slack alerts |
171
+ | CloudZero | Commercial SaaS | Partial | Yes | Business-unit cost allocation focus |
172
+
173
+ **How to choose:**
174
+ - OSS, Prometheus-integrated, per-namespace attribution → OpenCost
175
+ - Multi-cluster + enterprise reporting → Kubecost
176
+ - Cloud bill decomposed by product team → CloudZero
177
+
178
+ **Delegation target:** `oma-search --docs "OpenCost Prometheus integration"`. For cost signal context see `signals/cost.md` in this skill.
179
+
180
+ ---
181
+
182
+ ### (g) Feature Flags / Progressive Delivery
183
+
184
+ **Traits:** Controlled rollout of features to subsets of users or traffic. Release observability; correlate flag states with error rates and latency. GitOps-integrated progressive delivery.
185
+
186
+ **Example vendors** (as of 2026-Q2):
187
+
188
+ | Vendor | CNCF status | Flag eval | Progressive delivery | Notes |
189
+ |--------|------------|---------|---------------------|-------|
190
+ | OpenFeature | CNCF Incubating (2023-11-21) | Yes (SDK standard) | No | Standardizes flag SDK; vendor-agnostic |
191
+ | Flagger | CNCF Graduated | No | Yes (canary/A-B/blue-green) | Prometheus/Datadog metric gating |
192
+ | Argo Rollouts | N/A (Argo project) | No | Yes (canary/blue-green) | Kubernetes CRD; integrates with analysis templates |
193
+ | LaunchDarkly | Commercial | Yes | Partial | Mature commercial flag platform |
194
+ | Unleash | OSS + Commercial | Yes | No | Self-hostable flag platform |
195
+
196
+ **How to choose:**
197
+ - Standardize flag SDK across vendors → OpenFeature (pair with LaunchDarkly or Unleash as backend)
198
+ - Automated canary promotion with metric gates → Flagger or Argo Rollouts
199
+ - Per-tenant progressive rollout (feature flags) → LaunchDarkly or Unleash
200
+ - GitOps-native canary on Kubernetes → Flagger (CNCF Graduated, Flux / Helm native)
201
+
202
+ **Delegation target:** `oma-search --docs "OpenFeature SDK {runtime} setup"` or `oma-search --docs "Flagger canary analysis Prometheus"`. For release boundary observability see `boundaries/release.md` in this skill.
203
+
204
+ ---
205
+
206
+ ### (h) Log Pipeline / Collection
207
+
208
+ **Traits:** High-throughput log and event collection, transformation, routing, and forwarding. Runs as DaemonSet agents (preferred) or standalone pipeline. OTel Collector is the 2026 standard for new deployments.
209
+
210
+ **Fluentd note:** CNCF lists Fluentd as Graduated. Choose migration from workload requirements, resource use, and plugin support, not a deprecation claim. The CNCF 2025-10-01 migration guide states that Fluentd and Fluent Bit configuration syntax differs substantially; validate converted plugins/routes before cutover. Sources: <https://www.cncf.io/projects/fluentd/> and <https://www.cncf.io/blog/2025/10/01/fluentd-to-fluent-bit-a-migration-guide/>.
211
+
212
+ **Example vendors** (as of 2026-Q2):
213
+
214
+ | Vendor | CNCF status | Protocol support | Transform | Notes |
215
+ |--------|------------|----------------|---------|-------|
216
+ | Fluent Bit | CNCF Graduated | Multiple | Lua / built-in | Preferred Fluentd replacement; C, low memory |
217
+ | OpenTelemetry Collector | CNCF Incubating | OTLP + many | processors | OTel-native; recommended for new deployments |
218
+ | Vector (Datadog OSS) | Non-CNCF | Multiple | VRL | Rust; high throughput; Datadog-backed |
219
+ | Cribl Stream | Commercial | Multiple | Yes | Enterprise routing + data shaping |
220
+
221
+ **How to choose:**
222
+ - Migrating from Fluentd → compare Fluent Bit plugin/route support; convert configuration and validate in parallel (not a drop-in config replacement)
223
+ - New OTel-native deployment → OpenTelemetry Collector
224
+ - High-throughput with Rust reliability → Vector
225
+ - Enterprise data routing with UI + compliance → Cribl Stream
226
+
227
+ **Delegation target:** `oma-search --docs "Fluent Bit Kubernetes DaemonSet setup"` or `oma-search --docs "OTel Collector configuration {backend}"`. For collector topology guidance see `transport/collector-topology.md` in this skill.
228
+
229
+ ---
230
+
231
+ ### (i) Time Series Storage / Long-term Metrics
232
+
233
+ **Traits:** Purpose-built for metrics storage at scale. Prometheus-compatible query (PromQL). Long-term retention beyond Prometheus 15-day default. HA + multi-tenancy for production.
234
+
235
+ **Example vendors** (as of 2026-Q2):
236
+
237
+ | Vendor | CNCF status | Multi-tenant | Object storage | Notes |
238
+ |--------|------------|------------|---------------|-------|
239
+ | Prometheus | CNCF Graduated | No (single-tenant) | No | Standard scrape source; 15d retention default |
240
+ | Thanos | CNCF Incubating (2020-08-19) | Yes | Yes (S3/GCS/Azure) | Sidecar or receive mode; global query view |
241
+ | Cortex | CNCF Incubating | Yes | Yes | Horizontally scalable; more complex ops |
242
+ | Grafana Mimir | Non-CNCF (Grafana OSS) | Yes | Yes | Evolved from Cortex; simpler ops |
243
+ | VictoriaMetrics | Non-CNCF (OSS + Commercial) | Cluster edition | Yes | High compression; low resource usage |
244
+ | InfluxDB | Non-CNCF (Commercial OSS) | Yes (Cloud) | Yes | Line protocol; IOx rewrite in Rust |
245
+
246
+ **How to choose:**
247
+ - Starting fresh, Kubernetes, team familiar with Grafana → Grafana Mimir
248
+ - Need CNCF Graduated status for procurement → verify an eligible project with CNCF; Thanos is Incubating and does not meet a Graduated-only requirement
249
+ - Multi-tenant with complex federation needs → Cortex
250
+ - Resource-constrained or high compression priority → VictoriaMetrics
251
+ - Time-series with SQL query surface needed → InfluxDB IOx
252
+
253
+ **Delegation target:** `oma-search --docs "Thanos sidecar Prometheus setup"` or `oma-search --docs "Grafana Mimir distributed mode"`.
254
+
255
+ ---
256
+
257
+ ### (j) Crash Analytics (Mobile-Heavy)
258
+
259
+ **Traits:** Symbolication of native crash stacks. Crash-free rate (CFR) tracking. Release-correlated crash trends. ANR (Application Not Responding) detection. Mobile session replay context.
260
+
261
+ **Example vendors** (as of 2026-Q2):
262
+
263
+ | Vendor | iOS | Android | Web | Notes |
264
+ |--------|-----|---------|-----|-------|
265
+ | Firebase Crashlytics | Yes | Yes | No | Free; Google ecosystem; dSYM auto-upload |
266
+ | Sentry | Yes | Yes | Yes | Cross-platform; OTel trace correlation |
267
+ | Bugsnag | Yes | Yes | Yes | Strong breadcrumb API; Smartisan noise reduction |
268
+ | Embrace | Yes | Yes | No | Mobile-first; session replay; network body capture |
269
+ | Datadog Error Tracking | Yes | Yes | Yes | Unified with Datadog APM |
270
+
271
+ **How to choose:**
272
+ - Mobile-only, budget zero → Firebase Crashlytics
273
+ - Cross-platform (mobile + web + backend) correlation → Sentry
274
+ - Mobile session replay + user journey → Embrace
275
+ - Already on Datadog APM → Datadog Error Tracking
276
+ - Need noise reduction + grouping quality → Bugsnag
277
+
278
+ **Delegation target:** `getsentry/sentry-sdk-setup` for Sentry. For others: `oma-search --docs "{vendor} iOS/Android crash reporting setup"`. For crash analytics context see `layers/L7-application/crash-analytics.md` in this skill.
279
+
280
+ ---
281
+
282
+ ## Intent to Category Routing
283
+
284
+ | User intent | Primary categories | Notes |
285
+ |------------|-------------------|-------|
286
+ | Setup full-stack OSS monitoring | (a) OSS Full-Stack, (h) Log Pipeline, (i) TSDB, (d) Profiling | Start with (a); (h)+(i)+(d) fill gaps |
287
+ | Setup commercial managed APM | (b) Commercial SaaS Unified APM | Select vendor by criteria in (b) |
288
+ | Migrate off Fluentd | (h) Log Pipeline | Fluent Bit preferred (CNCF 2025-10 guide); OTel Collector for OTel-native |
289
+ | High-cardinality trace investigation | (c) High-Cardinality Specialist | Honeycomb + dynamic sampling |
290
+ | FinOps cost attribution program | (f) FinOps / Cost Observability | OpenCost + `signals/cost.md` |
291
+ | Per-tenant progressive rollout | (g) Feature Flags / Progressive Delivery | OpenFeature SDK + Flagger or Argo Rollouts |
292
+ | Mobile crash rate SLO | (j) Crash Analytics | Pair with (b) or (a) for backend traces |
293
+ | Long-term metric retention | (i) TSDB | Thanos or Mimir on top of Prometheus |
294
+ | Continuous profiling (MELT+P) | (d) Profiling Specialist | Parca (OSS) or Pyroscope (Grafana) |
295
+ | SIEM / SOC2 audit log compliance | (e) SIEM / Enterprise Logs | See `signals/audit.md` for WORM requirements |
296
+
297
+ ---
298
+
299
+ ## How to Delegate
300
+
301
+ ### When a vendor-specific skill is installed
302
+
303
+ Invoke the skill directly:
304
+
305
+ | Skill | Coverage |
306
+ |-------|---------|
307
+ | `getsentry/sentry-sdk-setup` | Sentry SDK instrumentation, error tracking, release tracking |
308
+ | `honeycombio/agent-skill` | Honeycomb OTel setup, BubbleUp, dynamic sampling (8+ published skills) |
309
+ | `Dash0 otel-instrumentation` | Dash0 OTel generic instrumentation |
310
+ | `Microsoft Azure Monitor exporters` | Azure-specific OTel exporters and Monitor integration |
311
+ | `Datadog Labs dd-apm` | Datadog APM, log correlation, distributed tracing |
312
+
313
+ ### When no vendor-specific skill is installed
314
+
315
+ Route to search with vendor + observability context:
316
+
317
+ ```
318
+ oma-search --docs "{vendor} observability setup"
319
+ oma-search --docs "{vendor} OTel integration {runtime}"
320
+ oma-search --docs "{vendor} {signal} configuration"
321
+ ```
322
+
323
+ Examples:
324
+ - `oma-search --docs "Grafana Mimir Prometheus remote_write setup"`
325
+ - `oma-search --docs "OpenCost Kubernetes namespace cost attribution"`
326
+ - `oma-search --docs "Fluent Bit Kubernetes DaemonSet migration from Fluentd"`
327
+ - `oma-search --docs "Parca continuous profiling Go gRPC"`
328
+
329
+ ### CNCF landscape as canonical vendor source
330
+
331
+ For questions about current CNCF project status, vendor landscape membership, or whether a project is still maintained:
332
+
333
+ ```
334
+ oma-search --docs "site:landscape.cncf.io {category or vendor}"
335
+ ```
336
+
337
+ Or navigate directly to https://landscape.cncf.io; it is the authoritative live registry. This file does not attempt to replicate it.
338
+
339
+ ---
340
+
341
+ ## Footer
342
+
343
+ **Timestamp:** as of 2026-Q2
344
+
345
+ **Review triggers** (no scheduled cadence): CNCF project status changes, acquisitions, deprecations, or new CNCF Graduated/Incubating entrants in covered categories.
346
+
347
+ **Authoritative live source:** https://landscape.cncf.io
348
+
349
+ **Known pending verifications (as of 2026-Q2):**
350
+ - Pyroscope CNCF status post-Grafana acquisition (2023): check landscape.cncf.io before citing CNCF affiliation
351
+ - Thanos: Incubating since 2020-08-19; <https://www.cncf.io/projects/thanos/> (checked 2026-10-04)
352
+ - OpenFeature: Incubating since 2023-11-21; <https://www.cncf.io/projects/openfeature/> (checked 2026-10-04)
@@ -0,0 +1,302 @@
1
+ ---
2
+ name: oma-orchestration
3
+ description: Dispatch and supervise parallel specialist agents with durable task
4
+ state. Use when automated multi-agent execution is requested.
5
+ ---
6
+
7
+ # Orchestration - Automated Multi-Agent Coordination
8
+
9
+ ## Scheduling
10
+
11
+ ### Goal
12
+ Automatically orchestrate multi-agent execution with task decomposition, native/fallback dispatch, memory coordination, progress monitoring, verification, QA cross-review, retry, and result collection.
13
+
14
+ ### Intent signature
15
+ - User asks to orchestrate, run in parallel, automate multi-agent execution, or coordinate full-stack work end to end.
16
+ - Task requires multiple specialist agents and a persistent review/remediation loop.
17
+
18
+ ### When to use
19
+ - Complex feature requires multiple specialized agents working in parallel
20
+ - User wants automated execution without manually spawning agents
21
+ - Full-stack implementation spanning backend, frontend, mobile, and QA
22
+ - User says "run it automatically", "run in parallel", or similar automation requests
23
+
24
+ ### When NOT to use
25
+ - Simple single-domain task -> use the specific agent directly
26
+ - User wants step-by-step manual control -> use oma-coordination
27
+ - Quick bug fixes or minor changes
28
+
29
+ ### Expected inputs
30
+ - Complex feature or workflow request
31
+ - Project config, model/vendor routing, agent types, task constraints, and workspace/session needs
32
+ - Acceptance criteria and verification expectations
33
+
34
+ ### Expected outputs
35
+ - Orchestrator session state, task board, progress files, result files, and final summary
36
+ - Specialist agent outputs after mechanical checks, automated verify, and QA cross-review
37
+ - Review history and retry/remediation status when loops fail
38
+
39
+ ### Dependencies
40
+ - `.agents/oma-config.yaml`, `.codex/agents/*.toml`, `.gemini/agents/*.md`, or fallback `oma agent spawn`
41
+ - Memory provider config, subagent prompt template, scripts, task templates, verify script, and session metrics
42
+
43
+ ### Control-flow features
44
+ - Branches by vendor/native dispatch availability, priority tiers, agent completion/failure, verification status, QA verdict, retry limits, and unresolved decisions
45
+ - Spawns processes/agents and reads/writes memory/result files
46
+ - Preserves unresolved evidence when bounded recovery stops
47
+
48
+ ## Structural Flow
49
+
50
+ ### Entry
51
+ 1. Resolve agent vendor routing and runtime dispatch path.
52
+ 2. Decompose request into priority-tiered tasks.
53
+ 3. For each task, classify into one or more `domain_tags` by matching against the `Intent signature` block of each installed `.agents/skills/oma-*/SKILL.md`. Tasks that match no domain confidently inherit the union of their parent feature's tags.
54
+ 4. Select the references needed by each task. One confidently matched skill is sufficient; expand the set when classification is uncertain or a dependency requires another domain.
55
+ 5. Record selected domains, references, and any fallback reason in the task board. These are coordinator notes, not launcher-enforced exposure fields; use only reference/context controls supported by the active dispatch path.
56
+ 6. Apply the shared collaboration policy before dispatch: assign edit ownership, peer contact paths, and a collection owner.
57
+
58
+ ### Scenes
59
+ 1. **PREPARE**: Plan, setup session ID, and initialize memory files.
60
+ 2. **ACT**: Spawn agents by priority tier within parallelism limits.
61
+ 3. **VERIFY**: Run self-check, `oma verify`, and QA cross-review loop.
62
+ 4. **RECOVER**: Retry failed agents with review history when limits allow.
63
+ 5. **FINALIZE**: Collect verified claims, compile summary, and preserve progress artifacts.
64
+
65
+ ### Transitions
66
+ - If native dispatch is available for current runtime/vendor, use it.
67
+ - If vendors differ or native path is unavailable, use fallback spawn.
68
+ - If verify or QA fails, feed feedback back to the implementation agent.
69
+ - If recovery limits are exceeded, preserve review history and return `partial` or `failed`; never force completion.
70
+ - If recovery shows that a required domain reference was missing, update the task's reference selection without changing its frozen acceptance contract, and supply it through the supported context mechanism.
71
+
72
+ ### Failure and recovery
73
+ - Retry failed agents up to configured limits.
74
+ - Re-spawn with review history when review loop is exhausted.
75
+ - Continue independent work after recording material corrections; ask only for a material missing decision.
76
+
77
+ ### Exit
78
+ - Success: all tasks complete, verify/review pass, and results are summarized.
79
+ - Partial success: failed agents, exhausted review loops, or missing verification are explicit.
80
+
81
+ ## Logical Operations
82
+
83
+ ### Actions
84
+ | Action | SSL primitive | Evidence |
85
+ |--------|---------------|----------|
86
+ | Read config and task context | `READ` | oma config, routing, request |
87
+ | Classify task into domain tags | `INFER` | task text vs each skill's `Intent signature` |
88
+ | Select task references | `SELECT` | confident domain matches, dependencies, and supported context controls |
89
+ | Select dispatch path | `SELECT` | Native vs fallback |
90
+ | Write session state | `WRITE` | task board and memory files |
91
+ | Spawn agents | `CALL_TOOL` | exposed native role-subagent tool or `oma agent spawn` |
92
+ | Poll progress | `READ` | progress/result files |
93
+ | Run verification | `CALL_TOOL` | `oma verify`, tests, QA |
94
+ | Update retry state | `UPDATE_STATE` | loop counters and CD metrics |
95
+ | Report final result | `NOTIFY` | compiled summary |
96
+
97
+ ### Tools and instruments
98
+ - Exposed native role-subagent tools, fallback spawn scripts, memory tools, verify script, QA agent
99
+ - Session metrics, prompt templates, task templates
100
+
101
+ ### Canonical command path
102
+ ```bash
103
+ oma agent spawn <agent-type> <prompt-file> <session-id> --task-id <task.id> -w <workspace>
104
+ oma verify agent <agent-type> --workspace <workspace> --json
105
+ ```
106
+
107
+ When native runtime dispatch is available, prefer the runtime-specific native path listed in this skill before falling back to `oma agent spawn`.
108
+
109
+ ### Resource scope
110
+ | Scope | Resource target |
111
+ |-------|-----------------|
112
+ | `LOCAL_FS` | Session, task-board, progress, result, config files |
113
+ | `PROCESS` | Agent CLI processes and verify scripts |
114
+ | `MEMORY` | Session state and unresolved decisions |
115
+ | `CODEBASE` | Workspaces owned by spawned agents |
116
+
117
+ ### Preconditions
118
+ - Task is decomposable into specialist agent work.
119
+ - Runtime/vendor dispatch path or fallback exists.
120
+
121
+ ### Effects and side effects
122
+ - Spawns agents and writes session/progress/result artifacts.
123
+ - May cause code changes through specialist agents.
124
+ - May trigger iterative review and retries.
125
+
126
+ ### Guardrails
127
+ 1. Orchestrate per-agent dispatch from the project configuration before spawning any agent.
128
+ 2. If `target_vendor === current_runtime_vendor` and the runtime has a verified native path, use native dispatch.
129
+ 3. Otherwise fall back to `oma agent spawn`.
130
+ 4. Never exceed configured parallelism or the aggregate recovery budget. Ordinary retries and exploration hypotheses both consume it.
131
+ 5. Keep session state, task-board state, progress files, claims, and receipts aligned. Use the plan task ID on every spawn and native begin/finish path.
132
+ 6. Select references by task needs and confidence. Do not expand to all skills solely because one skill matches, or assume task-board metadata enforces runtime exposure.
133
+
134
+ Current native executor paths:
135
+ - Claude Code: Agent tool with `.claude/agents/{agent}.md` definitions (multiple Agent tool calls in one message run in parallel; results return synchronously — no polling)
136
+ - OpenCode / Kilo Code: native `task` tool with `subagent_type: {agent-id}`; do not use `oma agent spawn` for same-session OpenCode or Kilo work because it will not appear as a native child task
137
+ - Codex: use the current session's exposed native subagent tool with the resolved custom role from `.codex/agents/*.toml` when supported; otherwise use `oma agent spawn`. Model tiering follows `../_shared/core/vendor-detection.md`.
138
+ - Gemini: use the current session's exposed native role-subagent tool with the resolved role when supported; otherwise use `oma agent spawn`.
139
+
140
+ `codex exec` and `gemini -p` start external CLI sessions. An `@agent` string in a prompt does not establish native dispatch or apply a custom-role contract.
141
+
142
+ ### Configuration
143
+
144
+ | Setting | Default | Description |
145
+ |---------|---------|-------------|
146
+ | MAX_PARALLEL | 3 | Max concurrent subagents |
147
+ | MAX_RECOVERY_ATTEMPTS | 3 | Total retries and exploration hypotheses per task, including the original attempt |
148
+ | POLL_INTERVAL | bounded backoff | Fallback only when completion notifications are unavailable |
149
+ | Turn guidance | role-specific | Checkpoint/resume signal, not a hard stop or approval boundary |
150
+
151
+ These are workflow defaults. Resolve model/vendor, parallelism, and budget settings from project configuration. `config/cli-config.yaml` supplies the vendor transport registry; it does not select the active vendor or override runtime execution settings.
152
+
153
+ ### Memory Configuration
154
+
155
+ Memory provider and tool names are configurable via `.agents/mcp.json` (not the repo-root `.mcp.json`, which is the Claude Code MCP server config):
156
+ ```json
157
+ {
158
+ "memoryConfig": {
159
+ "provider": "file",
160
+ "basePath": ".agents/state/memories",
161
+ "tools": {
162
+ "read": "Read",
163
+ "write": "Write",
164
+ "edit": "Edit"
165
+ }
166
+ }
167
+ }
168
+ ```
169
+
170
+ ### Workflow Phases
171
+
172
+ **PHASE 1 - Plan**: Reuse the current valid plan or decompose the request; preserve injected session/task/run IDs.
173
+ **PHASE 1.5 - References**: Select task references as described in Entry; record uncertainty and expansion reasons without assuming runtime enforcement.
174
+ **PHASE 2 - Setup**: Create session/task-board artifacts with the current IDs and selected references.
175
+ **PHASE 3 - Execute**: Dispatch ready tasks within MAX_PARALLEL using supported native or fallback context controls.
176
+ **PHASE 4 - Monitor**: Prefer completion notifications; otherwise use one coordinator with bounded polling backoff. Follow `../_shared/core/execution-policy.md` for the shared deadline, cancellation, resource ownership, and shutdown rules. Cancellation or deadline exhaustion stops dispatch and recovery before verification.
177
+ **PHASE 4.5 - Verify**: Run mechanical checks for every completed agent; run `oma verify agent {agent-type}` only for `backend`, `frontend`, `mobile`, `qa`, `debug`, and `pm`; then run QA cross-review for every completed implementation
178
+ **PHASE 5 - Collect**: Read claims and run-scoped reports for plan tasks whose checks passed; compile summary without deleting evidence.
179
+
180
+ ### Memory File Ownership
181
+
182
+ | File | Owner | Others |
183
+ |------|-------|--------|
184
+ | `orchestrator-session-{sessionId}.md` | orchestrator | read-only |
185
+ | `task-board-{sessionId}.md` | orchestrator | read-only |
186
+ | `progress-{agentId}-{taskId}-{runId}-{sessionId}.md` | that run | orchestrator reads |
187
+ | `result-{agentId}-{taskId}-{runId}-{sessionId}.md` | that run | orchestrator reads |
188
+
189
+ ### Agent-to-Agent Review Loop (PHASE 4.5)
190
+
191
+ After each agent completes, enter an iterative review loop, not a single-pass verification.
192
+
193
+ ### Loop Flow
194
+
195
+ ```
196
+ Agent completes work
197
+ ↓
198
+ [1] Mechanical Self-Check: lint, type-check, tests, diff scope
199
+ ↓
200
+ [2] Verify: For supported types, run `oma verify agent {agent-type} --workspace {workspace}`
201
+ Unsupported (`db`, `refactor`, `architecture`, `tf-infra`, `docs`) → record SKIP and continue
202
+ ↓ FAIL → Agent receives feedback, fixes, back to [1]
203
+ ↓ PASS
204
+ [3] Cross-Review: QA agent reviews the changes
205
+ ↓ FAIL → Agent receives review feedback, fixes, back to [1]
206
+ ↓ PASS
207
+ Accept result
208
+ ```
209
+
210
+ ### Step Details
211
+
212
+ **[1] Mechanical Self-Check** (formerly "Self-Review"):
213
+ Before requesting external review, the implementation agent must:
214
+ - Run lint, type-check, and tests in the workspace
215
+ - Verify only planned files were modified (diff scope check)
216
+ - Fix any mechanical failures (compile errors, test failures)
217
+
218
+ **Quality judgment is NOT performed in this step.**
219
+ Design quality, architecture alignment, and acceptance criteria satisfaction
220
+ are evaluated exclusively in [3] Cross-Review by the QA agent.
221
+ Reason: Self-evaluation bias causes agents to consistently overrate their own output
222
+ (ref: Anthropic harness design research).
223
+
224
+ **[2] Automated Verify**:
225
+ ```bash
226
+ oma verify agent {agent-type} --workspace {workspace} --json
227
+ ```
228
+ - Run only for `backend`, `frontend`, `mobile`, `qa`, `debug`, and `pm`.
229
+ - For `db`, `refactor`, `architecture`, `tf-infra`, and `docs`, record that automated verify is unsupported and continue to QA cross-review after the mechanical checks.
230
+ - **PASS (exit 0)**: Proceed to cross-review
231
+ - **FAIL (exit 1)**: Feed verify output back to the agent as correction context
232
+
233
+ **[3] Cross-Review**: Spawn QA agent to review the changes:
234
+ - QA agent reads the diff, runs checks, evaluates against acceptance criteria
235
+ <!-- oma-docs:ignore-start -->
236
+ - If `docs/CODE-REVIEW.md` exists, QA agent uses it as the review checklist
237
+ <!-- oma-docs:ignore-end -->
238
+ - QA agent outputs: PASS (with optional nits) or FAIL (with specific issues)
239
+ - On FAIL: issues are fed back to the implementation agent for fixing
240
+
241
+ ### Loop Limits
242
+
243
+ | Counter | Max | On Exceeded |
244
+ |---------|-----|-------------|
245
+ | Self-check + fix cycles | 3 | Escalate to cross-review regardless |
246
+ | Cross-review rejections | 2 | Report to user with review history |
247
+ | Total loop iterations | 5 | Stop recovery; preserve failed checks and return `partial` or `failed` |
248
+
249
+ ### Review Feedback Format
250
+
251
+ When feeding review results back to the implementation agent:
252
+ ```
253
+ ## Review Feedback (iteration {n}/{max})
254
+ **Reviewer**: {self / verify / qa-agent}
255
+ **Verdict**: FAIL
256
+ **Issues**:
257
+ 1. {specific issue with file and line reference}
258
+ 2. {specific issue}
259
+ **Fix instruction**: {what to change}
260
+ ```
261
+
262
+ This replaces single-pass verification. Most "nitpicking" should happen agent-to-agent.
263
+ Resolve relevant automated checks before handoff. Ask for approval only when the next action is outside existing authorization.
264
+
265
+ ### Recovery Budget (after review loop exhaustion)
266
+
267
+ Maintain one budget per workflow lineage and logical goal: `attempts_used`, `attempts_remaining`, and any
268
+ configured cost cap. The original attempt, each ordinary retry, and each
269
+ exploration hypothesis consume one attempt. Before starting recovery, reserve
270
+ the complete next action; do not exceed the budget or start an incomplete
271
+ exploration round.
272
+
273
+ Use the plan's stable `lineage_id` and task `goal_id` from `../_shared/runtime/result-contract.md`. New task/run/session IDs do not reset that budget. Freeze the full JSON plan at first dispatch; reject recursive planning/review tasks and post-dispatch plan revisions. A contract change requires an explicitly separated new session and lineage.
274
+
275
+ Classify failures before retrying: `PRODUCT_FAILURE` follows the remaining product recovery budget; `WORKFLOW_EVIDENCE_FAILURE` means current product checks passed but completion claims or bindings failed. Automatic resume stops evidence-only replay. Allow at most one metadata-only repair under the existing task and frozen plan, consuming the same budget, then stop with a partial handoff if unresolved. Do not create PM tasks, rerun product planning, or import another workflow's plan-review loop for evidence failures.
276
+
277
+ - First remaining attempt: re-spawn with review history.
278
+ - Later attempts: choose either one different retry or a 2–3 hypothesis round
279
+ only if enough attempts and cost remain.
280
+ - On cap exhaustion, preserve all checks, review findings, and unresolved work.
281
+ The task is `partial` or `failed`, never `completed`.
282
+
283
+ ### Session evidence
284
+
285
+ For material corrections or review findings, retain the cause, impact, and evidence in existing task artifacts. Use `../_shared/core/session-metrics.md` when a retrospective or separate session summary is useful. Do not score clarification questions or require an RCA based on counters. Resolve the affected work and ask only for a material missing decision.
286
+
287
+ ## References
288
+ - Parallel worker collaboration: `../_shared/core/collaboration-policy.md` (before assigning parallel work or coordinating peer issues, ownership handoffs, and result collection)
289
+ - Prompt template: `resources/subagent-prompt-template.md`
290
+ - Memory schema: `resources/memory-schema.md`
291
+ - Scripts: `scripts/spawn-agent.sh`, `scripts/parallel-run.sh`, `scripts/verify.sh`
292
+ - Task templates: `templates/`
293
+ - Skill-to-agent mapping: `../_shared/core/skill-routing.md`
294
+ - Verification: `scripts/verify.sh <agent-type>`
295
+ - Session metrics: `../_shared/core/session-metrics.md`
296
+ - API contract template (SSOT): `../_shared/core/api-contracts/template.md`; read generated contracts from `.agents/results/api-contracts/` (run artifact) or `docs/plans/contracts/` (durable spec)
297
+ - Context loading: `../_shared/core/context-loading.md`
298
+ - Task decomposition: `../_shared/core/difficulty-guide.md` (unresolved scope or dependencies)
299
+ - Clarification protocol: `../_shared/core/clarification-protocol.md`
300
+ - Context budget: `../_shared/core/context-budget.md`
301
+ - Code intelligence: `../_shared/core/code-intelligence.md`
302
+ - Runtime lessons: `../_shared/core/lessons-learned.md` (recurring failure or requested retrospective)