aiwg 2026.8.2 → 2026.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/README.md +8 -2
  2. package/agentic/code/addons/aiwg-utils/skills/install-plugin/SKILL.md +9 -1
  3. package/agentic/code/frameworks/research-complete/skills/corpus-snapshot/SKILL.md +6 -6
  4. package/agentic/code/frameworks/research-complete/skills/research-query/SKILL.md +8 -1
  5. package/agentic/code/plugins/agent-loop/.claude-plugin/plugin.json +23 -0
  6. package/agentic/code/plugins/agent-loop/README.md +201 -0
  7. package/agentic/code/plugins/agent-loop/agents/mc-conductor.md +150 -0
  8. package/agentic/code/plugins/agent-loop/agents/ralph-loop.md +312 -0
  9. package/agentic/code/plugins/agent-loop/agents/ralph-verifier.md +256 -0
  10. package/agentic/code/plugins/agent-loop/docs/agent-persistence-integration.md +1060 -0
  11. package/agentic/code/plugins/agent-loop/docs/best-practices.md +313 -0
  12. package/agentic/code/plugins/agent-loop/docs/cross-loop-learning.md +768 -0
  13. package/agentic/code/plugins/agent-loop/docs/examples/coverage.md +113 -0
  14. package/agentic/code/plugins/agent-loop/docs/examples/migration.md +102 -0
  15. package/agentic/code/plugins/agent-loop/docs/examples/test-fix-loop.md +95 -0
  16. package/agentic/code/plugins/agent-loop/docs/executable-feedback-guide.md +489 -0
  17. package/agentic/code/plugins/agent-loop/docs/quickstart.md +227 -0
  18. package/agentic/code/plugins/agent-loop/docs/reflection-memory-guide.md +673 -0
  19. package/agentic/code/plugins/agent-loop/docs/troubleshooting.md +326 -0
  20. package/agentic/code/plugins/agent-loop/docs/when-to-use-ralph.md +348 -0
  21. package/agentic/code/plugins/agent-loop/hooks/persistence-hooks.yaml +587 -0
  22. package/agentic/code/plugins/agent-loop/hooks/post-iteration-reflect.md +76 -0
  23. package/agentic/code/plugins/agent-loop/hooks/pre-return-execution-gate.md +89 -0
  24. package/agentic/code/plugins/agent-loop/hooks/ralph-commit.js +191 -0
  25. package/agentic/code/plugins/agent-loop/hooks/ralph-loop.js +408 -0
  26. package/agentic/code/plugins/agent-loop/manifest.json +87 -0
  27. package/agentic/code/plugins/agent-loop/schemas/actionable-feedback.yaml +321 -0
  28. package/agentic/code/plugins/agent-loop/schemas/checkpoint.yaml +395 -0
  29. package/agentic/code/plugins/agent-loop/schemas/cross-task-memory.yaml +342 -0
  30. package/agentic/code/plugins/agent-loop/schemas/debug-memory.yaml +480 -0
  31. package/agentic/code/plugins/agent-loop/schemas/iteration-analytics-output.yaml +253 -0
  32. package/agentic/code/plugins/agent-loop/schemas/iteration-analytics.yaml +477 -0
  33. package/agentic/code/plugins/agent-loop/schemas/loop-registry.yaml +290 -0
  34. package/agentic/code/plugins/agent-loop/schemas/loop-state.yaml +396 -0
  35. package/agentic/code/plugins/agent-loop/schemas/mcp-task.yaml +330 -0
  36. package/agentic/code/plugins/agent-loop/schemas/multi-loop-registry.yaml +289 -0
  37. package/agentic/code/plugins/agent-loop/schemas/persistence-extension.yaml +786 -0
  38. package/agentic/code/plugins/agent-loop/schemas/reflection-memory.json +528 -0
  39. package/agentic/code/plugins/agent-loop/schemas/shared-patterns.yaml +743 -0
  40. package/agentic/code/plugins/agent-loop/schemas/tree-search.yaml +491 -0
  41. package/agentic/code/plugins/agent-loop/skills/agent-loop/SKILL.md +427 -0
  42. package/agentic/code/plugins/agent-loop/skills/agent-loop/manifest.json +23 -0
  43. package/agentic/code/plugins/agent-loop/skills/agent-loop-ext/SKILL.md +258 -0
  44. package/agentic/code/plugins/agent-loop/skills/auto-test-execution/SKILL.md +82 -0
  45. package/agentic/code/plugins/agent-loop/skills/cross-task-learner/SKILL.md +746 -0
  46. package/agentic/code/plugins/agent-loop/skills/cross-task-learner/manifest.json +89 -0
  47. package/agentic/code/plugins/agent-loop/skills/debug-memory/SKILL.md +66 -0
  48. package/agentic/code/plugins/agent-loop/skills/execute-feedback/SKILL.md +71 -0
  49. package/agentic/code/plugins/agent-loop/skills/infer-completion-criteria/SKILL.md +325 -0
  50. package/agentic/code/plugins/agent-loop/skills/mission-control/SKILL.md +163 -0
  51. package/agentic/code/plugins/agent-loop/skills/mission-control/manifest.json +17 -0
  52. package/agentic/code/plugins/agent-loop/skills/ralph/SKILL.md +377 -0
  53. package/agentic/code/plugins/agent-loop/skills/ralph-abort/SKILL.md +141 -0
  54. package/agentic/code/plugins/agent-loop/skills/ralph-analytics/SKILL.md +52 -0
  55. package/agentic/code/plugins/agent-loop/skills/ralph-attach/SKILL.md +156 -0
  56. package/agentic/code/plugins/agent-loop/skills/ralph-config/SKILL.md +320 -0
  57. package/agentic/code/plugins/agent-loop/skills/ralph-external/SKILL.md +241 -0
  58. package/agentic/code/plugins/agent-loop/skills/ralph-memory/SKILL.md +297 -0
  59. package/agentic/code/plugins/agent-loop/skills/ralph-reflect/SKILL.md +74 -0
  60. package/agentic/code/plugins/agent-loop/skills/ralph-resume/SKILL.md +196 -0
  61. package/agentic/code/plugins/agent-loop/skills/ralph-status/SKILL.md +134 -0
  62. package/agentic/code/plugins/agent-loop/skills/reflection-injection/SKILL.md +93 -0
  63. package/agentic/code/plugins/agent-loop/templates/ralph-completion.md +18 -0
  64. package/agentic/code/plugins/agent-loop/templates/ralph-task.md +18 -0
  65. package/agentic/code/plugins/agent-loop/templates/self-reflection-prompt.md +69 -0
  66. package/agentic/code/plugins/agent-persistence/.claude-plugin/plugin.json +21 -0
  67. package/agentic/code/plugins/agent-persistence/docs/hitl-integration.md +503 -0
  68. package/agentic/code/plugins/agent-persistence/gates/destructive-action-gate.yaml +297 -0
  69. package/agentic/code/plugins/agent-persistence/gates/false-positive-override-gate.yaml +202 -0
  70. package/agentic/code/plugins/agent-persistence/gates/index.mjs +450 -0
  71. package/agentic/code/plugins/agent-persistence/gates/recovery-escalation-gate.yaml +187 -0
  72. package/agentic/code/plugins/agent-persistence/manifest.json +35 -0
  73. package/agentic/code/plugins/agent-persistence/skills/agent-persistence/SKILL.md +37 -0
  74. package/agentic/code/plugins/agentic-installer/.claude-plugin/plugin.json +20 -0
  75. package/agentic/code/plugins/agentic-installer/README.md +160 -0
  76. package/agentic/code/plugins/agentic-installer/agents/installer-agent.md +166 -0
  77. package/agentic/code/plugins/agentic-installer/manifest.json +48 -0
  78. package/agentic/code/plugins/agentic-installer/rules/RULES-INDEX.md +37 -0
  79. package/agentic/code/plugins/agentic-installer/rules/installer-authoring.md +115 -0
  80. package/agentic/code/plugins/agentic-installer/rules/installer-safety.md +118 -0
  81. package/agentic/code/plugins/agentic-installer/schemas/v1/setup-manifest.schema.json +306 -0
  82. package/agentic/code/plugins/agentic-installer/scripts/lib/detect.ps1 +38 -0
  83. package/agentic/code/plugins/agentic-installer/scripts/lib/detect.sh +77 -0
  84. package/agentic/code/plugins/agentic-installer/scripts/lib/params.sh +53 -0
  85. package/agentic/code/plugins/agentic-installer/scripts/lib/verify.sh +53 -0
  86. package/agentic/code/plugins/agentic-installer/scripts/templates/check-ports.sh +27 -0
  87. package/agentic/code/plugins/agentic-installer/scripts/templates/clone.ps1 +40 -0
  88. package/agentic/code/plugins/agentic-installer/scripts/templates/clone.sh +31 -0
  89. package/agentic/code/plugins/agentic-installer/scripts/templates/configure.ps1 +35 -0
  90. package/agentic/code/plugins/agentic-installer/scripts/templates/configure.sh +48 -0
  91. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/apply-docker-group.sh +26 -0
  92. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/apply-inotify.sh +39 -0
  93. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/apply-vm-mapcount.sh +38 -0
  94. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/configure-dev.sh +57 -0
  95. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/install-ide-extensions.sh +73 -0
  96. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/install-mkcert.sh +63 -0
  97. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/setup-git-config.sh +54 -0
  98. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/setup-ssh-key.sh +56 -0
  99. package/agentic/code/plugins/agentic-installer/scripts/templates/dev/verify-dev.sh +89 -0
  100. package/agentic/code/plugins/agentic-installer/scripts/templates/hub-chain.sh +38 -0
  101. package/agentic/code/plugins/agentic-installer/scripts/templates/install-deps-fedora.sh +34 -0
  102. package/agentic/code/plugins/agentic-installer/scripts/templates/install-deps-macos.sh +32 -0
  103. package/agentic/code/plugins/agentic-installer/scripts/templates/install-deps-ubuntu.sh +35 -0
  104. package/agentic/code/plugins/agentic-installer/scripts/templates/install-deps.ps1 +44 -0
  105. package/agentic/code/plugins/agentic-installer/scripts/templates/pull-models.sh +31 -0
  106. package/agentic/code/plugins/agentic-installer/scripts/templates/reset.sh +19 -0
  107. package/agentic/code/plugins/agentic-installer/scripts/templates/verify.sh +21 -0
  108. package/agentic/code/plugins/agentic-installer/skills/setup-generate/SKILL.md +421 -0
  109. package/agentic/code/plugins/agentic-installer/skills/setup-run/SKILL.md +237 -0
  110. package/agentic/code/plugins/agentic-installer/skills/setup-validate/SKILL.md +132 -0
  111. package/agentic/code/plugins/aiwg-dev/.claude-plugin/plugin.json +20 -0
  112. package/agentic/code/plugins/aiwg-dev/README.md +71 -0
  113. package/agentic/code/plugins/aiwg-dev/docs/overview.md +80 -0
  114. package/agentic/code/plugins/aiwg-dev/docs/quickstart.md +174 -0
  115. package/agentic/code/plugins/aiwg-dev/manifest.json +64 -0
  116. package/agentic/code/plugins/aiwg-dev/rules/RULES-INDEX.md +66 -0
  117. package/agentic/code/plugins/aiwg-dev/rules/addon-boundaries.md +135 -0
  118. package/agentic/code/plugins/aiwg-dev/rules/aiwg-ci-safety.md +97 -0
  119. package/agentic/code/plugins/aiwg-dev/rules/aiwg-dir-reference-contract.md +157 -0
  120. package/agentic/code/plugins/aiwg-dev/rules/component-completeness.md +195 -0
  121. package/agentic/code/plugins/aiwg-dev/rules/no-circular-skill-calls.md +124 -0
  122. package/agentic/code/plugins/aiwg-dev/rules/skill-placement.md +136 -0
  123. package/agentic/code/plugins/aiwg-dev/skills/dev-doctor/SKILL.md +281 -0
  124. package/agentic/code/plugins/aiwg-dev/skills/dev-mode-init/SKILL.md +194 -0
  125. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-addon/SKILL.md +93 -0
  126. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-agent/SKILL.md +177 -0
  127. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-command/SKILL.md +153 -0
  128. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-extension/SKILL.md +115 -0
  129. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-framework/SKILL.md +145 -0
  130. package/agentic/code/plugins/aiwg-dev/skills/devkit-create-skill/SKILL.md +219 -0
  131. package/agentic/code/plugins/aiwg-dev/skills/devkit-test/SKILL.md +191 -0
  132. package/agentic/code/plugins/aiwg-dev/skills/devkit-validate/SKILL.md +162 -0
  133. package/agentic/code/plugins/aiwg-dev/skills/link-check/SKILL.md +175 -0
  134. package/agentic/code/plugins/aiwg-dev/skills/manifest.json +19 -0
  135. package/agentic/code/plugins/aiwg-dev/skills/validate-addon/SKILL.md +185 -0
  136. package/agentic/code/plugins/aiwg-dev/skills/validate-component/SKILL.md +203 -0
  137. package/agentic/code/plugins/aiwg-evals/.claude-plugin/plugin.json +21 -0
  138. package/agentic/code/plugins/aiwg-evals/README.md +284 -0
  139. package/agentic/code/plugins/aiwg-evals/manifest.json +42 -0
  140. package/agentic/code/plugins/aiwg-evals/scenarios/distractor-test.yaml +117 -0
  141. package/agentic/code/plugins/aiwg-evals/scenarios/grounding-test.yaml +92 -0
  142. package/agentic/code/plugins/aiwg-evals/scenarios/recovery-test.yaml +118 -0
  143. package/agentic/code/plugins/aiwg-evals/skills/eval-agent/SKILL.md +146 -0
  144. package/agentic/code/plugins/aiwg-evals/skills/eval-report/SKILL.md +158 -0
  145. package/agentic/code/plugins/aiwg-evals/skills/eval-workflow/SKILL.md +142 -0
  146. package/agentic/code/plugins/auto-memory/.claude-plugin/plugin.json +19 -0
  147. package/agentic/code/plugins/auto-memory/README.md +318 -0
  148. package/agentic/code/plugins/auto-memory/docs/overview.md +182 -0
  149. package/agentic/code/plugins/auto-memory/manifest.json +158 -0
  150. package/agentic/code/plugins/auto-memory/seeds/MEMORY.md +69 -0
  151. package/agentic/code/plugins/auto-memory/seeds/architecture.md +391 -0
  152. package/agentic/code/plugins/auto-memory/seeds/debugging.md +268 -0
  153. package/agentic/code/plugins/auto-memory/seeds/testing.md +214 -0
  154. package/agentic/code/plugins/auto-memory/skills/auto-memory/SKILL.md +40 -0
  155. package/agentic/code/plugins/browser-control/.claude-plugin/plugin.json +25 -0
  156. package/agentic/code/plugins/browser-control/README.md +89 -0
  157. package/agentic/code/plugins/browser-control/agents/browser-driver.md +164 -0
  158. package/agentic/code/plugins/browser-control/manifest.json +70 -0
  159. package/agentic/code/plugins/browser-control/rules/browser-control-safety.md +157 -0
  160. package/agentic/code/plugins/browser-control/skills/browser-doctor/SKILL.md +106 -0
  161. package/agentic/code/plugins/browser-control/skills/browser-reset/SKILL.md +94 -0
  162. package/agentic/code/plugins/browser-control/skills/browser-setup/SKILL.md +167 -0
  163. package/agentic/code/plugins/browser-control/skills/manifest.json +42 -0
  164. package/agentic/code/plugins/browser-control/templates/browser-allowlist.yaml.tmpl +50 -0
  165. package/agentic/code/plugins/color-palette/.claude-plugin/plugin.json +21 -0
  166. package/agentic/code/plugins/color-palette/README.md +81 -0
  167. package/agentic/code/plugins/color-palette/manifest.json +32 -0
  168. package/agentic/code/plugins/color-palette/rules/color-output-format.md +70 -0
  169. package/agentic/code/plugins/color-palette/skills/color-accessibility.md +188 -0
  170. package/agentic/code/plugins/color-palette/skills/color-palette.md +372 -0
  171. package/agentic/code/plugins/color-palette/skills/color-trends.md +172 -0
  172. package/agentic/code/plugins/color-palette/skills/manifest.json +22 -0
  173. package/agentic/code/plugins/color-palette/templates/palette-report.md +82 -0
  174. package/agentic/code/plugins/color-palette/templates/trend-report.md +104 -0
  175. package/agentic/code/plugins/compound-memory/.claude-plugin/plugin.json +20 -0
  176. package/agentic/code/plugins/compound-memory/README.md +62 -0
  177. package/agentic/code/plugins/compound-memory/commands/compound-memory.mjs +935 -0
  178. package/agentic/code/plugins/compound-memory/docs/operator-guide.md +67 -0
  179. package/agentic/code/plugins/compound-memory/docs/overview.md +91 -0
  180. package/agentic/code/plugins/compound-memory/manifest.json +100 -0
  181. package/agentic/code/plugins/compound-memory/schemas/compound-memory-config.schema.json +46 -0
  182. package/agentic/code/plugins/compound-memory/skills/compound-memory/SKILL.md +69 -0
  183. package/agentic/code/plugins/context-curator/.claude-plugin/plugin.json +13 -0
  184. package/agentic/code/plugins/context-curator/README.md +165 -0
  185. package/agentic/code/plugins/context-curator/agents/context-curator.md +182 -0
  186. package/agentic/code/plugins/context-curator/manifest.json +21 -0
  187. package/agentic/code/plugins/context-curator/prompts/context-classification.md +82 -0
  188. package/agentic/code/plugins/context-curator/prompts/scope-enforcement.md +107 -0
  189. package/agentic/code/plugins/context-curator/rules/distractor-filter.md +76 -0
  190. package/agentic/code/plugins/context-curator/rules/scoped-reasoning.md +107 -0
  191. package/agentic/code/plugins/daemon/.claude-plugin/plugin.json +21 -0
  192. package/agentic/code/plugins/daemon/README.md +82 -0
  193. package/agentic/code/plugins/daemon/agents/concierge.md +119 -0
  194. package/agentic/code/plugins/daemon/behaviors/concierge.behavior.md +232 -0
  195. package/agentic/code/plugins/daemon/docs/configuration-reference.md +300 -0
  196. package/agentic/code/plugins/daemon/docs/daemon-addon-guide.md +142 -0
  197. package/agentic/code/plugins/daemon/docs/quickstart.md +36 -0
  198. package/agentic/code/plugins/daemon/manifest.json +70 -0
  199. package/agentic/code/plugins/daemon/rules/daemon-interaction.md +123 -0
  200. package/agentic/code/plugins/daemon/skills/daemon-status/SKILL.md +118 -0
  201. package/agentic/code/plugins/daemon/skills/daemon-status/manifest.json +18 -0
  202. package/agentic/code/plugins/doc-intelligence/.claude-plugin/plugin.json +20 -0
  203. package/agentic/code/plugins/doc-intelligence/EVALUATION.md +243 -0
  204. package/agentic/code/plugins/doc-intelligence/addon.json +37 -0
  205. package/agentic/code/plugins/doc-intelligence/agents/doc-analyst.md +199 -0
  206. package/agentic/code/plugins/doc-intelligence/manifest.json +44 -0
  207. package/agentic/code/plugins/doc-intelligence/skills/doc-scraper/SKILL.md +228 -0
  208. package/agentic/code/plugins/doc-intelligence/skills/doc-splitter/SKILL.md +292 -0
  209. package/agentic/code/plugins/doc-intelligence/skills/llms-txt-support/SKILL.md +242 -0
  210. package/agentic/code/plugins/doc-intelligence/skills/pdf-extractor/SKILL.md +229 -0
  211. package/agentic/code/plugins/doc-intelligence/skills/source-unifier/SKILL.md +260 -0
  212. package/agentic/code/plugins/droid-bridge/.claude-plugin/plugin.json +19 -0
  213. package/agentic/code/plugins/droid-bridge/CLAUDE-ADDON.md +112 -0
  214. package/agentic/code/plugins/droid-bridge/README.md +135 -0
  215. package/agentic/code/plugins/droid-bridge/manifest.json +46 -0
  216. package/agentic/code/plugins/droid-bridge/server.js +467 -0
  217. package/agentic/code/plugins/droid-bridge/skills/droid-bridge/SKILL.md +31 -0
  218. package/agentic/code/plugins/forensics/.claude-plugin/plugin.json +2 -13
  219. package/agentic/code/plugins/guided-implementation/.claude-plugin/plugin.json +13 -0
  220. package/agentic/code/plugins/guided-implementation/README.md +108 -0
  221. package/agentic/code/plugins/guided-implementation/docs/overview.md +89 -0
  222. package/agentic/code/plugins/guided-implementation/manifest.json +27 -0
  223. package/agentic/code/plugins/guided-implementation/skills/iteration-control/SKILL.md +208 -0
  224. package/agentic/code/plugins/hooks/.claude-plugin/plugin.json +3 -10
  225. package/agentic/code/plugins/knowledge-base/.claude-plugin/plugin.json +2 -11
  226. package/agentic/code/plugins/knowledge-base/skills/knowledge-base-quickref/SKILL.md +3 -1
  227. package/agentic/code/plugins/line-memory/.claude-plugin/plugin.json +20 -0
  228. package/agentic/code/plugins/line-memory/README.md +64 -0
  229. package/agentic/code/plugins/line-memory/commands/line-memory.mjs +905 -0
  230. package/agentic/code/plugins/line-memory/docs/overview.md +130 -0
  231. package/agentic/code/plugins/line-memory/manifest.json +94 -0
  232. package/agentic/code/plugins/line-memory/skills/line-memory/SKILL.md +66 -0
  233. package/agentic/code/plugins/llm-wiki/.claude-plugin/plugin.json +24 -0
  234. package/agentic/code/plugins/llm-wiki/README.md +84 -0
  235. package/agentic/code/plugins/llm-wiki/docs/getting-started.md +84 -0
  236. package/agentic/code/plugins/llm-wiki/docs/obsidian-integration.md +81 -0
  237. package/agentic/code/plugins/llm-wiki/manifest.json +84 -0
  238. package/agentic/code/plugins/llm-wiki/schemas/page-schema.md +83 -0
  239. package/agentic/code/plugins/llm-wiki/skills/llm-wiki/SKILL.md +77 -0
  240. package/agentic/code/plugins/llm-wiki/templates/book-companion.md +58 -0
  241. package/agentic/code/plugins/llm-wiki/templates/business-team.md +58 -0
  242. package/agentic/code/plugins/llm-wiki/templates/generic.md +34 -0
  243. package/agentic/code/plugins/llm-wiki/templates/personal.md +45 -0
  244. package/agentic/code/plugins/llm-wiki/templates/research-deep-dive.md +62 -0
  245. package/agentic/code/plugins/marketing/.claude-plugin/plugin.json +3 -12
  246. package/agentic/code/plugins/media-curator/.claude-plugin/plugin.json +2 -13
  247. package/agentic/code/plugins/nlp-prod/.claude-plugin/plugin.json +26 -0
  248. package/agentic/code/plugins/nlp-prod/README.md +146 -0
  249. package/agentic/code/plugins/nlp-prod/agents/cost-analyst.md +104 -0
  250. package/agentic/code/plugins/nlp-prod/agents/eval-reviewer.md +84 -0
  251. package/agentic/code/plugins/nlp-prod/agents/pipeline-architect.md +106 -0
  252. package/agentic/code/plugins/nlp-prod/agents/prompt-engineer.md +94 -0
  253. package/agentic/code/plugins/nlp-prod/commands/add-step.mjs +27 -0
  254. package/agentic/code/plugins/nlp-prod/commands/estimate-cost.mjs +23 -0
  255. package/agentic/code/plugins/nlp-prod/commands/eval.mjs +21 -0
  256. package/agentic/code/plugins/nlp-prod/commands/new.mjs +15 -0
  257. package/agentic/code/plugins/nlp-prod/commands/optimize.mjs +23 -0
  258. package/agentic/code/plugins/nlp-prod/commands/productionize.mjs +22 -0
  259. package/agentic/code/plugins/nlp-prod/commands/shared.mjs +107 -0
  260. package/agentic/code/plugins/nlp-prod/commands/status.mjs +13 -0
  261. package/agentic/code/plugins/nlp-prod/docs/eval-loop.md +163 -0
  262. package/agentic/code/plugins/nlp-prod/docs/patterns.md +206 -0
  263. package/agentic/code/plugins/nlp-prod/docs/productionization.md +171 -0
  264. package/agentic/code/plugins/nlp-prod/manifest.json +103 -0
  265. package/agentic/code/plugins/nlp-prod/schemas/cost-model.yaml +177 -0
  266. package/agentic/code/plugins/nlp-prod/schemas/eval-result.yaml +221 -0
  267. package/agentic/code/plugins/nlp-prod/schemas/fsm-config.yaml +272 -0
  268. package/agentic/code/plugins/nlp-prod/schemas/pipeline-config.yaml +351 -0
  269. package/agentic/code/plugins/nlp-prod/skills/cost-optimizer/SKILL.md +112 -0
  270. package/agentic/code/plugins/nlp-prod/skills/eval-loop/SKILL.md +139 -0
  271. package/agentic/code/plugins/nlp-prod/skills/pattern-selector/SKILL.md +94 -0
  272. package/agentic/code/plugins/nlp-prod/skills/pipeline-design/SKILL.md +122 -0
  273. package/agentic/code/plugins/nlp-prod/skills/pipeline-status/SKILL.md +88 -0
  274. package/agentic/code/plugins/nlp-prod/skills/productionize/SKILL.md +141 -0
  275. package/agentic/code/plugins/nlp-prod/skills/prompt-engineer/SKILL.md +114 -0
  276. package/agentic/code/plugins/nlp-prod/templates/cost-estimate/cost-estimate.md +41 -0
  277. package/agentic/code/plugins/nlp-prod/templates/dynamic-prompt/evaluator.prompt.md +51 -0
  278. package/agentic/code/plugins/nlp-prod/templates/dynamic-prompt/prompt_builder.py +118 -0
  279. package/agentic/code/plugins/nlp-prod/templates/dynamic-prompt/template.prompt.md.j2 +42 -0
  280. package/agentic/code/plugins/nlp-prod/templates/embedded-agent/evaluator.prompt.md +51 -0
  281. package/agentic/code/plugins/nlp-prod/templates/embedded-agent/pipeline.config.yaml +39 -0
  282. package/agentic/code/plugins/nlp-prod/templates/embedded-agent/system.prompt.md +31 -0
  283. package/agentic/code/plugins/nlp-prod/templates/eval-loop/evaluator.prompt.md +51 -0
  284. package/agentic/code/plugins/nlp-prod/templates/eval-loop/generator.prompt.md +23 -0
  285. package/agentic/code/plugins/nlp-prod/templates/eval-loop/loop.py +140 -0
  286. package/agentic/code/plugins/nlp-prod/templates/prod-runbook/README.md +93 -0
  287. package/agentic/code/plugins/nlp-prod/templates/rag-pipeline/evaluator.prompt.md +53 -0
  288. package/agentic/code/plugins/nlp-prod/templates/rag-pipeline/pipeline.config.yaml +36 -0
  289. package/agentic/code/plugins/nlp-prod/templates/rag-pipeline/rag.prompt.md +27 -0
  290. package/agentic/code/plugins/nlp-prod/templates/rag-pipeline/retrieval.py +105 -0
  291. package/agentic/code/plugins/nlp-prod/templates/simple-chain/eval/cases.jsonl +5 -0
  292. package/agentic/code/plugins/nlp-prod/templates/simple-chain/eval/eval.py +186 -0
  293. package/agentic/code/plugins/nlp-prod/templates/simple-chain/evaluator.prompt.md +56 -0
  294. package/agentic/code/plugins/nlp-prod/templates/simple-chain/generator.prompt.md +34 -0
  295. package/agentic/code/plugins/nlp-prod/templates/simple-chain/pipeline.config.yaml +32 -0
  296. package/agentic/code/plugins/nlp-prod/templates/simple-chain/pipeline.py +164 -0
  297. package/agentic/code/plugins/nlp-prod/templates/simple-chain/pipeline.ts +170 -0
  298. package/agentic/code/plugins/nlp-prod/templates/state-machine/evaluator.prompt.md +51 -0
  299. package/agentic/code/plugins/nlp-prod/templates/state-machine/generator.prompt.md +39 -0
  300. package/agentic/code/plugins/nlp-prod/templates/state-machine/pipeline.config.yaml +29 -0
  301. package/agentic/code/plugins/nlp-prod/templates/state-machine/pipeline.py +206 -0
  302. package/agentic/code/plugins/ops/.claude-plugin/plugin.json +2 -13
  303. package/agentic/code/plugins/prose-integration/.claude-plugin/plugin.json +21 -0
  304. package/agentic/code/plugins/prose-integration/README.md +113 -0
  305. package/agentic/code/plugins/prose-integration/docs/integration-guide.md +172 -0
  306. package/agentic/code/plugins/prose-integration/docs/overview.md +131 -0
  307. package/agentic/code/plugins/prose-integration/manifest.json +66 -0
  308. package/agentic/code/plugins/prose-integration/rules/prose-bridge.md +101 -0
  309. package/agentic/code/plugins/prose-integration/rules/prose-resolution.md +76 -0
  310. package/agentic/code/plugins/prose-integration/skills/forme-manifest/SKILL.md +151 -0
  311. package/agentic/code/plugins/prose-integration/skills/prose-detect/SKILL.md +213 -0
  312. package/agentic/code/plugins/prose-integration/skills/prose-install/SKILL.md +132 -0
  313. package/agentic/code/plugins/prose-integration/skills/prose-reader/SKILL.md +125 -0
  314. package/agentic/code/plugins/prose-integration/skills/prose-run/SKILL.md +134 -0
  315. package/agentic/code/plugins/prose-integration/skills/prose-setup/SKILL.md +125 -0
  316. package/agentic/code/plugins/prose-integration/skills/prose-validate/SKILL.md +129 -0
  317. package/agentic/code/plugins/research/.claude-plugin/plugin.json +2 -13
  318. package/agentic/code/plugins/research/skills/corpus-snapshot/SKILL.md +6 -6
  319. package/agentic/code/plugins/research/skills/research-lint/SKILL.md +10 -5
  320. package/agentic/code/plugins/research/skills/research-query/SKILL.md +8 -1
  321. package/agentic/code/plugins/rlm/.claude-plugin/plugin.json +23 -0
  322. package/agentic/code/plugins/rlm/README.md +549 -0
  323. package/agentic/code/plugins/rlm/agents/rlm-agent.md +332 -0
  324. package/agentic/code/plugins/rlm/docs/agent-examples/rlm-agent-examples.md +655 -0
  325. package/agentic/code/plugins/rlm/docs/agent-examples.md +43 -0
  326. package/agentic/code/plugins/rlm/docs/deployment-guide.md +743 -0
  327. package/agentic/code/plugins/rlm/docs/messaging-events.md +1141 -0
  328. package/agentic/code/plugins/rlm/docs/multi-provider-guide.md +741 -0
  329. package/agentic/code/plugins/rlm/docs/ralph-integration.md +1009 -0
  330. package/agentic/code/plugins/rlm/docs/supervisor-integration.md +803 -0
  331. package/agentic/code/plugins/rlm/docs/taskstore-persistence.md +959 -0
  332. package/agentic/code/plugins/rlm/examples/rlm-divide-conquer.yaml +93 -0
  333. package/agentic/code/plugins/rlm/examples/rlm-filter-recurse.yaml +101 -0
  334. package/agentic/code/plugins/rlm/examples/rlm-self-refine.yaml +85 -0
  335. package/agentic/code/plugins/rlm/manifest.json +86 -0
  336. package/agentic/code/plugins/rlm/rules/rlm-context-management.md +86 -0
  337. package/agentic/code/plugins/rlm/schemas/citation-tuple.json +66 -0
  338. package/agentic/code/plugins/rlm/schemas/rlm-cost.yaml +841 -0
  339. package/agentic/code/plugins/rlm/schemas/rlm-state.yaml +601 -0
  340. package/agentic/code/plugins/rlm/schemas/rlm-task-tree.yaml +737 -0
  341. package/agentic/code/plugins/rlm/schemas/rlm-trajectory.yaml +805 -0
  342. package/agentic/code/plugins/rlm/skills/chunk/SKILL.md +167 -0
  343. package/agentic/code/plugins/rlm/skills/fanout/SKILL.md +196 -0
  344. package/agentic/code/plugins/rlm/skills/rlm-batch/SKILL.md +936 -0
  345. package/agentic/code/plugins/rlm/skills/rlm-mode/SKILL.md +523 -0
  346. package/agentic/code/plugins/rlm/skills/rlm-prep/SKILL.md +185 -0
  347. package/agentic/code/plugins/rlm/skills/rlm-query/SKILL.md +543 -0
  348. package/agentic/code/plugins/rlm/skills/rlm-search/SKILL.md +216 -0
  349. package/agentic/code/plugins/rlm/skills/rlm-status/SKILL.md +574 -0
  350. package/agentic/code/plugins/rlm/templates/cost-report.md +151 -0
  351. package/agentic/code/plugins/sdlc/.claude-plugin/plugin.json +3 -14
  352. package/agentic/code/plugins/sdlc/skills/address-issues-threat-assess/scripts/assess.mjs +150 -13
  353. package/agentic/code/plugins/sdlc/skills/issue-create/SKILL.md +14 -12
  354. package/agentic/code/plugins/sdlc/skills/pr-review/SKILL.md +6 -8
  355. package/agentic/code/plugins/sdlc/tools/security/threat-assessment.mjs +669 -0
  356. package/agentic/code/plugins/security-engineering/.claude-plugin/plugin.json +2 -13
  357. package/agentic/code/plugins/semantic-memory/.claude-plugin/plugin.json +23 -0
  358. package/agentic/code/plugins/semantic-memory/manifest.json +47 -0
  359. package/agentic/code/plugins/semantic-memory/schemas/memory-log-event.md +192 -0
  360. package/agentic/code/plugins/semantic-memory/skills/memory-ingest/SKILL.md +173 -0
  361. package/agentic/code/plugins/semantic-memory/skills/memory-lint/SKILL.md +145 -0
  362. package/agentic/code/plugins/semantic-memory/skills/memory-log-append/SKILL.md +79 -0
  363. package/agentic/code/plugins/semantic-memory/skills/memory-log-render/SKILL.md +87 -0
  364. package/agentic/code/plugins/semantic-memory/skills/memory-query-capture/SKILL.md +128 -0
  365. package/agentic/code/plugins/skill-factory/.claude-plugin/plugin.json +21 -0
  366. package/agentic/code/plugins/skill-factory/EVALUATION.md +255 -0
  367. package/agentic/code/plugins/skill-factory/addon.json +36 -0
  368. package/agentic/code/plugins/skill-factory/agents/skill-architect.md +215 -0
  369. package/agentic/code/plugins/skill-factory/manifest.json +35 -0
  370. package/agentic/code/plugins/skill-factory/skills/quality-checker/SKILL.md +302 -0
  371. package/agentic/code/plugins/skill-factory/skills/skill-builder/SKILL.md +260 -0
  372. package/agentic/code/plugins/skill-factory/skills/skill-enhancer/SKILL.md +254 -0
  373. package/agentic/code/plugins/skill-factory/skills/skill-packager/SKILL.md +264 -0
  374. package/agentic/code/plugins/star-prompt/.claude-plugin/plugin.json +19 -0
  375. package/agentic/code/plugins/star-prompt/README.md +116 -0
  376. package/agentic/code/plugins/star-prompt/manifest.json +26 -0
  377. package/agentic/code/plugins/star-prompt/skills/star-prompt.md +127 -0
  378. package/agentic/code/plugins/testing-quality/.claude-plugin/plugin.json +13 -0
  379. package/agentic/code/plugins/testing-quality/README.md +142 -0
  380. package/agentic/code/plugins/testing-quality/docs/overview.md +89 -0
  381. package/agentic/code/plugins/testing-quality/docs/quickstart.md +158 -0
  382. package/agentic/code/plugins/testing-quality/manifest.json +38 -0
  383. package/agentic/code/plugins/testing-quality/skills/flaky-detect/SKILL.md +310 -0
  384. package/agentic/code/plugins/testing-quality/skills/flaky-fix/SKILL.md +323 -0
  385. package/agentic/code/plugins/testing-quality/skills/generate-factory/SKILL.md +341 -0
  386. package/agentic/code/plugins/testing-quality/skills/mutation-test/SKILL.md +309 -0
  387. package/agentic/code/plugins/testing-quality/skills/tdd-enforce/SKILL.md +296 -0
  388. package/agentic/code/plugins/testing-quality/skills/tdd-enforce/scripts/tdd_setup.py +433 -0
  389. package/agentic/code/plugins/testing-quality/skills/test-sync/SKILL.md +322 -0
  390. package/agentic/code/plugins/twelve-factor/.claude-plugin/plugin.json +24 -0
  391. package/agentic/code/plugins/twelve-factor/README.md +63 -0
  392. package/agentic/code/plugins/twelve-factor/agents/twelve-factor-reviewer.md +32 -0
  393. package/agentic/code/plugins/twelve-factor/checklists/audit-checklist.md +35 -0
  394. package/agentic/code/plugins/twelve-factor/checklists/design-checklist.md +35 -0
  395. package/agentic/code/plugins/twelve-factor/fixtures/sample-audit-report.json +107 -0
  396. package/agentic/code/plugins/twelve-factor/manifest.json +91 -0
  397. package/agentic/code/plugins/twelve-factor/prompts/architecture-review.md +20 -0
  398. package/agentic/code/plugins/twelve-factor/prompts/audit-evidence.md +21 -0
  399. package/agentic/code/plugins/twelve-factor/rules/RULES-INDEX.md +9 -0
  400. package/agentic/code/plugins/twelve-factor/rules/twelve-factor-evidence.md +25 -0
  401. package/agentic/code/plugins/twelve-factor/schemas/audit-report.schema.json +218 -0
  402. package/agentic/code/plugins/twelve-factor/skills/twelve-factor-audit/SKILL.md +69 -0
  403. package/agentic/code/plugins/twelve-factor/skills/twelve-factor-design/SKILL.md +65 -0
  404. package/agentic/code/plugins/twelve-factor/templates/audit-report.md +54 -0
  405. package/agentic/code/plugins/twelve-factor/templates/remediation-backlog.md +15 -0
  406. package/agentic/code/plugins/uat-mcp/.claude-plugin/plugin.json +21 -0
  407. package/agentic/code/plugins/uat-mcp/README.md +109 -0
  408. package/agentic/code/plugins/uat-mcp/agents/uat-executor.md +201 -0
  409. package/agentic/code/plugins/uat-mcp/agents/uat-planner.md +198 -0
  410. package/agentic/code/plugins/uat-mcp/manifest.json +68 -0
  411. package/agentic/code/plugins/uat-mcp/schemas/uat-coverage.yaml +139 -0
  412. package/agentic/code/plugins/uat-mcp/schemas/uat-plan.yaml +206 -0
  413. package/agentic/code/plugins/uat-mcp/schemas/uat-result.yaml +232 -0
  414. package/agentic/code/plugins/uat-mcp/skills/uat-execute/SKILL.md +248 -0
  415. package/agentic/code/plugins/uat-mcp/skills/uat-generate/SKILL.md +195 -0
  416. package/agentic/code/plugins/uat-mcp/skills/uat-mode/SKILL.md +116 -0
  417. package/agentic/code/plugins/uat-mcp/skills/uat-report/SKILL.md +196 -0
  418. package/agentic/code/plugins/uat-mcp/templates/uat-executor-guide.md +97 -0
  419. package/agentic/code/plugins/uat-mcp/templates/uat-phase.md +61 -0
  420. package/agentic/code/plugins/uat-mcp/templates/uat-report.md +95 -0
  421. package/agentic/code/plugins/uat-mcp/templates/uat-test-case.md +66 -0
  422. package/agentic/code/plugins/utils/.claude-plugin/plugin.json +3 -11
  423. package/agentic/code/plugins/utils/agents/aiwg-model-coding-worker.md +22 -0
  424. package/agentic/code/plugins/utils/agents/aiwg-model-efficiency-worker.md +22 -0
  425. package/agentic/code/plugins/utils/agents/aiwg-model-reasoning-worker.md +23 -0
  426. package/agentic/code/plugins/utils/agents/aiwg-steward.md +22 -2
  427. package/agentic/code/plugins/utils/skills/aiwg-regenerate-existing-project/SKILL.md +16 -9
  428. package/agentic/code/plugins/utils/skills/aiwg-regenerate-legacy/SKILL.md +8 -2
  429. package/agentic/code/plugins/utils/skills/aiwg-regenerate-workspace/SKILL.md +16 -2
  430. package/agentic/code/plugins/utils/skills/aiwg-utils-quickref/SKILL.md +4 -2
  431. package/agentic/code/plugins/utils/skills/commit-and-push/SKILL.md +10 -2
  432. package/agentic/code/plugins/utils/skills/install-plugin/SKILL.md +9 -1
  433. package/agentic/code/plugins/utils/skills/steward/SKILL.md +15 -2
  434. package/agentic/code/plugins/utils/skills/steward-quickref/SKILL.md +17 -1
  435. package/agentic/code/plugins/validation-complete/.claude-plugin/plugin.json +13 -0
  436. package/agentic/code/plugins/validation-complete/README.md +56 -0
  437. package/agentic/code/plugins/validation-complete/capabilities/provider-normalization.yaml +588 -0
  438. package/agentic/code/plugins/validation-complete/inventories/validation-providers.yaml +57 -0
  439. package/agentic/code/plugins/validation-complete/manifest.json +29 -0
  440. package/agentic/code/plugins/validation-complete/playbooks/provider-validation.yaml +220 -0
  441. package/agentic/code/plugins/validation-complete/playbooks/validate-all-providers.yaml +59 -0
  442. package/agentic/code/plugins/validation-complete/skills/validation-complete/SKILL.md +35 -0
  443. package/agentic/code/plugins/verbalized-sampling/.claude-plugin/plugin.json +22 -0
  444. package/agentic/code/plugins/verbalized-sampling/README.md +69 -0
  445. package/agentic/code/plugins/verbalized-sampling/agents/content-diversifier.md +66 -0
  446. package/agentic/code/plugins/verbalized-sampling/manifest.json +57 -0
  447. package/agentic/code/plugins/verbalized-sampling/prompts/vs-cot.md +47 -0
  448. package/agentic/code/plugins/verbalized-sampling/prompts/vs-multi.md +71 -0
  449. package/agentic/code/plugins/verbalized-sampling/prompts/vs-standard.md +53 -0
  450. package/agentic/code/plugins/verbalized-sampling/rules/diversity-awareness.md +48 -0
  451. package/agentic/code/plugins/verbalized-sampling/skills/diversity-tuning/SKILL.md +71 -0
  452. package/agentic/code/plugins/voice/.claude-plugin/plugin.json +3 -11
  453. package/agentic/code/plugins/writing/.claude-plugin/plugin.json +3 -10
  454. package/dist/src/a2a/hitl-driver.js +28 -1
  455. package/dist/src/a2a/hitl.js +32 -8
  456. package/dist/src/audit/operator-decision.js +180 -0
  457. package/dist/src/cli/handlers/mc.js +270 -73
  458. package/dist/src/cli/handlers/subcommands.js +1 -0
  459. package/dist/src/cli/handlers/use.js +3 -1
  460. package/dist/src/config/aiwg-config.js +5 -0
  461. package/dist/src/extensions/claude-hooks-installer.js +9 -5
  462. package/dist/src/extensions/project-local-doctor.js +10 -26
  463. package/dist/src/extensions/project-local-remove.js +42 -5
  464. package/dist/src/mcp/cli.mjs +12 -0
  465. package/dist/src/mcp/registry.js +14 -1
  466. package/dist/src/mcp/registry.mjs +15 -1
  467. package/dist/src/research/query-cli.js +94 -24
  468. package/dist/src/serve/shared-host-scheduler.js +260 -0
  469. package/dist/src/storage/backends/fortemi.js +95 -13
  470. package/dist/src/storage/cli.js +93 -6
  471. package/docs/addons/aiwg-utils/security/supply-chain/external-npm/README.md +1 -1
  472. package/docs/addons/aiwg-utils/security/supply-chain/external-npm/modelcontextprotocol__sdk.md +7 -5
  473. package/docs/agents/cli-reference.md +27 -1
  474. package/docs/contracts/hitl-approval-workflow.v1.md +107 -0
  475. package/docs/contracts/operator-decision-audit.v1.md +84 -0
  476. package/docs/contracts/shared-host-admission.v1.md +99 -0
  477. package/docs/contributing/versioning.md +4 -2
  478. package/docs/integrations/fortemi-index-export.md +7 -1
  479. package/docs/releases/_manifest.json +2 -0
  480. package/docs/releases/v2026.7.1-announcement.md +7 -5
  481. package/docs/releases/v2026.8.3-announcement.md +66 -0
  482. package/docs/releases/v2026.8.4-announcement.md +79 -0
  483. package/docs/repo-layout-plugin-sources.md +13 -0
  484. package/docs/storage/backends/fortemi.md +28 -2
  485. package/docs/storage/migration.md +34 -0
  486. package/package.json +2 -2
  487. package/prebuilt/fortemi-core/framework/aiwg-fortemi-index-v2.json +1 -1
  488. package/prebuilt/fortemi-core/framework/manifest.json +2 -2
  489. package/tools/plugin/package-plugins.mjs +170 -15
  490. package/tools/plugin/plugin-installer-cli.mjs +81 -17
  491. package/tools/workspace/check-marketplace-version.mjs +7 -7
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms**
8
8
 
9
- 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 27 addons, and a training marketplace package. SDLC workflows, digital forensics, research management, marketing operations, media curation, ops infrastructure, knowledge base, and fine-tuning dataset curation — all deployable with one command.
9
+ 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace. SDLC workflows, digital forensics, research management, marketing operations, media curation, ops infrastructure, knowledge base, and fine-tuning dataset curation — all deployable with one command.
10
10
 
11
11
  The simplest setup is to paste this into a supported AI provider:
12
12
 
@@ -527,7 +527,8 @@ The orchestration pattern: **Primary Author → Parallel Reviewers → Synthesiz
527
527
  - **334 artifact templates** — progressive disclosure templates for requirements, architecture, testing, security, deployment, and more
528
528
  - **8 platform support** — deploy to Claude Code, Copilot, Cursor, Warp, Factory AI, OpenCode, Codex, and Windsurf
529
529
  - **8 core frameworks + training marketplace package** — SDLC, Digital Forensics, Marketing Operations, Research Management, Media Curation, Ops Infrastructure, Knowledge Base, Security Engineering, plus [`aiwg-training`](https://github.com/jmagly/aiwg-training) for fine-tuning dataset curation (corpus-to-dataset pipeline with DPO/KTO/ORPO/SimPO export)
530
- - **31 addons** — compound memory, line memory, llm-wiki (Obsidian-native knowledge base), RLM recursive decomposition, fleet operations, browser control, testing quality, and more
530
+ - **32 addons** — compound memory, line memory, llm-wiki (Obsidian-native knowledge base), RLM recursive decomposition, fleet operations, browser control, testing quality, and more
531
+ - **40 Claude Code plugins** — the complete framework and addon catalog is installable independently from the AIWG marketplace
531
532
  - **Agent Loop** — iterative task execution with automatic error recovery and crash resilience (6-8 hour sessions)
532
533
  - **RLM addon** — recursive context decomposition for processing 10M+ tokens via sub-agent delegation
533
534
  - **YAML metalanguage** — declarative schema-validated workflow definitions (JSON Schema 2020-12)
@@ -609,8 +610,13 @@ The bundle is **byte-identical** in shape to its upstream form, so
609
610
  ```bash
610
611
  /plugin marketplace add jmagly/ai-writing-guide
611
612
  /plugin install sdlc@aiwg
613
+ /plugin install agent-loop@aiwg
614
+ /plugin install compound-memory@aiwg
612
615
  ```
613
616
 
617
+ The marketplace contains all 40 packaged frameworks and addons, so you can
618
+ install only the capabilities a Claude Code workspace needs.
619
+
614
620
  ### Multi-Platform Deployment
615
621
 
616
622
  ```bash
@@ -2,7 +2,7 @@
2
2
  namespace: aiwg
3
3
  name: install-plugin
4
4
  platforms: [all]
5
- description: Install Claude Code marketplace plugins with registry lookup, download, and local deployment
5
+ description: Install Claude Code marketplace plugins or route local/Git wrappers through the supported package workflow
6
6
  ---
7
7
 
8
8
  # Install Plugin
@@ -28,6 +28,8 @@ Alternate expressions and non-obvious activations (primary phrases are matched a
28
28
  | Claude Code plugin | "install claude code plugin utils" | Run `aiwg install-plugin utils@aiwg` |
29
29
  | Dry run | "show me what installing sdlc would do" | Run `aiwg install-plugin sdlc@aiwg --dry-run` |
30
30
  | Specific version | "install sdlc version 2026.3.0" | Run `aiwg install-plugin sdlc@aiwg@2026.3.0` |
31
+ | Local wrapper | "install this local plugin wrapper" | Run `aiwg install <path> --dry-run`, then `aiwg use <plugin-id>` |
32
+ | Git wrapper | "install this plugin Git URL" | Run `aiwg install <git-url> --dry-run`, then `aiwg use <plugin-id>` |
31
33
 
32
34
  ## Behavior
33
35
 
@@ -55,6 +57,12 @@ When triggered:
55
57
 
56
58
  # Force reinstall even if already installed
57
59
  aiwg install-plugin sdlc@aiwg --force
60
+
61
+ # Standalone local/Git wrappers use the package installer, not the legacy
62
+ # manifest-only install-plugin backend.
63
+ aiwg install ./path/to/wrapper --dry-run
64
+ aiwg install https://example.invalid/owner/wrapper.git --dry-run
65
+ aiwg use <plugin-id>
58
66
  ```
59
67
 
60
68
  3. **Report the result** — name the installed marketplace wrapper and confirm which agents, skills, commands, and rules were deployed and where.
@@ -213,12 +213,12 @@ The default template uses markers for computed vs analyzed sections:
213
213
 
214
214
  ## Fortemi Core Migration Note
215
215
 
216
- During the Fortemi Core index migration preview, corpus snapshots remain
217
- AIWG-rendered from corpus sidecars, corpus views, and the local `.aiwg/.index`
218
- artifacts. Do not use `--backend fortemi-core` as the source of truth for
219
- snapshot metrics until #1690 explicitly accepts a Fortemi-projected snapshot
220
- contract and #1691 parity fixtures prove identical REF/PROF, citation,
221
- profile, radar, discovery, and quality metrics.
216
+ By the #1690 boundary decision, corpus snapshots remain AIWG-rendered from
217
+ corpus sidecars, corpus views, and the local `.aiwg/.index` artifacts. Fortemi
218
+ v2 projects the underlying research and KB records for search and traversal;
219
+ it does not replace the snapshot renderer. The golden corpus-view fixtures
220
+ remain the parity contract for REF/PROF, citation, profile, radar, discovery,
221
+ and quality metrics.
222
222
 
223
223
  ## Examples
224
224
 
@@ -46,13 +46,20 @@ Save the synthesized answer as a new artifact in `.aiwg/research/synthesis/`.
46
46
  ### `--sources-only` (optional)
47
47
  List matching sources without synthesizing an answer.
48
48
 
49
+ ### `--include-diagnostics` (optional)
50
+ Include quarantine and generated integrity/artifact scan records in source
51
+ selection. They are excluded by default because diagnostics are not research
52
+ evidence. Scan severity or confidence labels never become GRADE evidence
53
+ quality; only an explicit GRADE declaration or grade tag is accepted.
54
+
49
55
  ### `--max-sources` (optional)
50
56
  Maximum number of sources to read and synthesize from. Default: 10.
51
57
 
52
58
  ## Execution Flow
53
59
 
54
60
  The executable CLI wrapper `aiwg research-query` performs deterministic source
55
- selection and can emit JSON for tests and automation. It does not replace the
61
+ selection from synced Fortemi record text/chunks without rereading source files
62
+ and can emit JSON for tests and automation. It does not replace the
56
63
  skill's synthesis responsibilities; agents still write the final answer with
57
64
  GRADE-aware hedging, contradictions, gaps, and inline REF citations.
58
65
 
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "agent-loop",
3
+ "version": "2026.8.3",
4
+ "description": "Iterative AI coding loops with automatic recovery - iteration beats perfection",
5
+ "author": {
6
+ "name": "AIWG Contributors",
7
+ "email": "support@aiwg.io"
8
+ },
9
+ "homepage": "https://aiwg.io",
10
+ "repository": "https://github.com/jmagly/aiwg",
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "al",
14
+ "agent-loop",
15
+ "ralph",
16
+ "iteration",
17
+ "loop",
18
+ "autonomous",
19
+ "batch",
20
+ "refactor",
21
+ "migration"
22
+ ]
23
+ }
@@ -0,0 +1,201 @@
1
+ # Agent Loop
2
+
3
+ Iterative AI task execution with automatic recovery - **iteration beats perfection**.
4
+
5
+ ## Overview
6
+
7
+ Al transforms single-pass AI execution into iterative completion loops. Instead of hoping a task succeeds on the first try, Al keeps iterating until verifiable completion criteria are met.
8
+
9
+ ```
10
+ ┌──────────────────────────────────────────┐
11
+ │ RALPH LOOP │
12
+ │ │
13
+ │ Execute → Verify → Learn → Iterate │
14
+ │ ↑ │ │
15
+ │ └──────────────────────────┘ │
16
+ │ │
17
+ │ Until: criteria met OR limits reached │
18
+ └──────────────────────────────────────────┘
19
+ ```
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ # Via AIWG CLI
25
+ aiwg use ralph
26
+
27
+ # Or install plugin
28
+ aiwg install-plugin ralph
29
+ ```
30
+
31
+ ## Quick Start
32
+
33
+ ### Fix All Tests
34
+
35
+ ```bash
36
+ /ralph "Fix all failing tests" --completion "npm test passes"
37
+ ```
38
+
39
+ ### TypeScript Migration
40
+
41
+ ```bash
42
+ /ralph "Convert src/ to TypeScript" --completion "npx tsc --noEmit passes" --max-iterations 20
43
+ ```
44
+
45
+ ### Coverage Target
46
+
47
+ ```bash
48
+ /ralph "Add tests until 80% coverage" --completion "npm run coverage shows >= 80%"
49
+ ```
50
+
51
+ ## Commands
52
+
53
+ | Command | Description |
54
+ |---------|-------------|
55
+ | `/ralph` | Start iterative task loop |
56
+ | `/ralph-status` | Check current loop status |
57
+ | `/ralph-abort` | Abort running loop |
58
+ | `/ralph-resume` | Resume interrupted loop |
59
+
60
+ ## Natural Language
61
+
62
+ Al also responds to:
63
+ - "ralph this: [task]"
64
+ - "keep trying until [condition]"
65
+ - "loop until [criteria]"
66
+ - "iterate on [task] until [done]"
67
+
68
+ ## Parameters
69
+
70
+ ```
71
+ /ralph "<task>" --completion "<criteria>" [options]
72
+
73
+ Options:
74
+ --max-iterations N Safety limit (default: 10)
75
+ --timeout M Minutes before timeout (default: 60)
76
+ --interactive Ask setup questions first
77
+ --no-commit Disable auto-commits
78
+ --branch <name> Create feature branch
79
+ ```
80
+
81
+ ## Provider Routing
82
+
83
+ On Codex and Claude Code, in-session Al/agent-loop requests delegate to the native `/goal` primitive instead of running a parallel AIWG emulation loop. AIWG still owns completion inference, safety gates, and audit output, then maps the work to:
84
+
85
+ ```text
86
+ /goal "<task>; completion: <criteria>"
87
+ ```
88
+
89
+ External Al remains AIWG-native because it is detached and crash-resilient; `/goal` is an in-session primitive.
90
+
91
+ ## How It Works
92
+
93
+ ### 1. Define Task
94
+ Provide a clear, actionable task description.
95
+
96
+ ### 2. Set Completion Criteria
97
+ Specify how to verify success (must be objectively checkable).
98
+
99
+ ### 3. Execute Loop
100
+ Al attempts the task, verifies criteria, learns from failures, and iterates.
101
+
102
+ ### 4. Track Progress
103
+ Each iteration is committed to git, creating clear history.
104
+
105
+ ### 5. Report Results
106
+ Generates completion report with full iteration history.
107
+
108
+ ## Completion Criteria Examples
109
+
110
+ **Good** (verifiable):
111
+ - `"npm test passes"`
112
+ - `"npx tsc --noEmit exits with code 0"`
113
+ - `"npm run lint passes"`
114
+ - `"coverage report shows >= 80%"`
115
+
116
+ **Poor** (subjective):
117
+ - `"code is good"`
118
+ - `"feature is complete"`
119
+
120
+ ## State & Artifacts
121
+
122
+ Al stores state in `.aiwg/ralph/`:
123
+
124
+ ```
125
+ .aiwg/ralph/
126
+ ├── current-loop.json # Loop state (for resume)
127
+ ├── iterations/ # Iteration history
128
+ │ ├── iteration-1.md
129
+ │ ├── iteration-2.md
130
+ │ └── ...
131
+ └── completion-*.md # Final reports
132
+ ```
133
+
134
+ ## Best Practices
135
+
136
+ 1. **Be specific** - "Fix auth tests" > "Fix tests"
137
+ 2. **Use verifiable criteria** - Commands with exit codes work best
138
+ 3. **Set reasonable limits** - 10-20 iterations for most tasks
139
+ 4. **Enable auto-commit** - Track progress via git history
140
+ 5. **Learn from iterations** - Each failure teaches the next attempt
141
+
142
+ ## Examples
143
+
144
+ See `docs/examples/` for detailed walkthroughs:
145
+ - [Test Fixes](docs/examples/test-fix.md)
146
+ - [Migrations](docs/examples/migration.md)
147
+ - [Coverage](docs/examples/coverage.md)
148
+ - [Greenfield](docs/examples/greenfield.md)
149
+
150
+ ## Philosophy
151
+
152
+ > "Iteration beats perfection" - errors become learning data within the loop rather than session-ending failures.
153
+
154
+ Al inverts traditional AI optimization from "unpredictable success" to "predictable failure with automatic recovery."
155
+
156
+ ## Important: When to Use Al
157
+
158
+ **Al is a power tool.** Used correctly, it delivers overnight. Used incorrectly, it burns tokens producing junk.
159
+
160
+ | Situation | Use Al? | Instead |
161
+ |-----------|------------|---------|
162
+ | Greenfield with no docs | **NO** | Use AIWG intake/flows first |
163
+ | Vague requirements | **NO** | Write use cases first |
164
+ | Clear spec, need implementation | **YES** | - |
165
+ | Tests failing, need fixes | **YES** | - |
166
+ | Migration with clear rules | **YES** | - |
167
+
168
+ **The key insight**: Al excels at HOW to build, but thrashes on WHAT to build. Define your requirements first, then let Al implement.
169
+
170
+ See [When to Use Al](docs/when-to-use-ralph.md) for detailed guidance on avoiding the token-burning trap.
171
+
172
+ ## External Al
173
+
174
+ For long-running tasks (6-8 hours) that need crash recovery and cross-session persistence, see **External Al**:
175
+
176
+ ```bash
177
+ /ralph-external "Migrate codebase to TypeScript" \
178
+ --completion "npx tsc --noEmit exits 0" \
179
+ --max-iterations 20 \
180
+ --checkpoint-interval 20
181
+ ```
182
+
183
+ External Al provides:
184
+ - Pre/post session snapshots
185
+ - Periodic checkpoints during execution
186
+ - Two-phase state assessment
187
+ - Crash recovery and resume
188
+
189
+ See [Al Guide](../../../../docs/ralph-guide.md) for full documentation on both internal and external Al.
190
+
191
+ ## Related
192
+
193
+ - [Al Guide](../../../../docs/ralph-guide.md) - **Complete documentation** for both internal and external Al
194
+ - [When to Use Al](docs/when-to-use-ralph.md) - Understanding Al's sweet spot
195
+ - [Quickstart Guide](docs/quickstart.md) - Getting started
196
+ - [Best Practices](docs/best-practices.md) - Writing effective tasks
197
+ - [Troubleshooting](docs/troubleshooting.md) - Common issues
198
+
199
+ ## Credits
200
+
201
+ Based on the [iterative agent loop methodology](https://dev.to/ibrahimpima/the-ralf-wiggum-breakdown-3mko).
@@ -0,0 +1,150 @@
1
+ ---
2
+ name: mc-conductor
3
+ description: Mission Control conductor — orchestrates parallel background missions, handles completions and failures, reports to the user
4
+ model: haiku
5
+ tools:
6
+ - Bash
7
+ - Read
8
+ - Glob
9
+ - Grep
10
+ - Write
11
+ - Agent
12
+ skills:
13
+ - mission-control
14
+ - project-awareness
15
+ category: orchestration
16
+ model-role: efficiency
17
+ model-tier: economy
18
+ ---
19
+
20
+ # MC Conductor
21
+
22
+ You are the **MC Conductor** — the live orchestrator inside a Mission Control session. You dispatch missions, monitor their progress, handle completions and failures, and report status to the user. You are calm under pressure, precise in your tracking, and proactive about resolving blockers.
23
+
24
+ ## Your Role
25
+
26
+ 1. **Start** Mission Control sessions with clear names and appropriate limits
27
+ 2. **Dispatch** missions from work items, assigning priorities and completion criteria
28
+ 3. **Monitor** all running missions and react to state changes
29
+ 4. **Handle failures** by retrying, adjusting approach, or escalating
30
+ 5. **Report** aggregate progress in structured dashboard format
31
+ 6. **Coordinate** mission dependencies — start dependent missions when prerequisites complete
32
+
33
+ ## CLI Toolset
34
+
35
+ You MUST use these CLI commands for all Mission Control operations.
36
+
37
+ | Command | Purpose |
38
+ |---------|---------|
39
+ | `aiwg mc start` | Create a new Mission Control session |
40
+ | `aiwg mc dispatch <id> "<obj>"` | Add a mission to the session |
41
+ | `aiwg mc status [<id>]` | View mission dashboard |
42
+ | `aiwg mc status <id> --json` | Machine-readable status for parsing |
43
+ | `aiwg mc watch [<id>]` | Live monitoring |
44
+ | `aiwg mc abort <session> <mission>` | Abort a specific mission |
45
+ | `aiwg mc pause [<id>]` | Pause all running missions |
46
+ | `aiwg mc resume [<id>]` | Resume paused session |
47
+ | `aiwg mc stop [<id>]` | Shut down session |
48
+ | `aiwg mc stop [<id>] --drain` | Let running finish, cancel queued |
49
+ | `aiwg mc list` | List all sessions |
50
+ | `aiwg ralph-external "<task>"` | Underlying loop engine |
51
+ | `aiwg ralph-status` | Check individual loop status |
52
+
53
+ ## Decision Logic
54
+
55
+ ```
56
+ 1. INTAKE → Parse user request into discrete missions with completion criteria
57
+ 2. SESSION → Start session with descriptive name and appropriate max-missions
58
+ 3. PRIORITIZE → Order missions: blockers first, then dependencies, then parallel work
59
+ 4. DISPATCH → Send each mission with --completion and --priority flags
60
+ 5. MONITOR → Poll status periodically, react to completions/failures
61
+ 6. HANDLE → On failure: retry once, then escalate. On completion: check dependents
62
+ 7. REPORT → Summarize progress at milestones and on completion
63
+ 8. CLEANUP → Stop session when all missions done or user requests stop
64
+ ```
65
+
66
+ ## LFD Loop Controls
67
+
68
+ Mission Control missions inherit the AIWG LFD loop contract for long-running,
69
+ budgeted, or eval-driven work:
70
+
71
+ 1. Before dispatch, each mission needs a measurable completion criterion, a
72
+ mechanical verifier, and declared limits for iterations plus observable
73
+ wall-clock/token/tool/spend budgets.
74
+ 2. Each retry cycle records a hypothesis, expected failure mode,
75
+ distinguishing diagnostic, and whether the next attempt is a structural
76
+ variant rather than a repeated local adjustment.
77
+ 3. Flat or non-improving cycles consume the exploration quota. Once the quota
78
+ is exhausted, require a structurally different approach or stop with the
79
+ current best output.
80
+ 4. Budget exhaustion is a terminal condition. Stop the mission, preserve the
81
+ best output, and report quality-per-1K-token and quality-per-minute when
82
+ analytics are available.
83
+ 5. Eval/holdout missions expose only aggregate score/probe/status or VOID to
84
+ workers. Holdout answers, detailed lint findings, and private diagnostics
85
+ stay outside optimizer-readable output.
86
+
87
+ ## Invocation Patterns
88
+
89
+ | User Says | You Do |
90
+ |-----------|--------|
91
+ | "Run these 5 features in parallel" | Start session, dispatch 5 missions, monitor |
92
+ | "Orchestrate the elaboration phase" | Break phase into missions, dispatch sequentially |
93
+ | "Background: fix tests, update docs, deploy" | Start session, dispatch 3 missions |
94
+ | "How's the background work going?" | `aiwg mc status --json`, summarize |
95
+ | "Stop everything" | `aiwg mc stop` |
96
+ | "The auth fix failed, skip it" | `aiwg mc abort <session> <mission>` |
97
+ | "Add another task to the session" | `aiwg mc dispatch` to existing session |
98
+
99
+ ## Output Format
100
+
101
+ When reporting status, use this format:
102
+
103
+ ```
104
+ MISSION CONTROL — [Session Name]
105
+ ────────────────────────────────
106
+ # Mission Status Loop Started
107
+ ────────────────────────────────
108
+ 1 Fix auth service ✓ DONE 4/10 14:22
109
+ 2 Add pagination ⏳ RUNNING 3/10 14:25
110
+ 3 Write integration tests ⏺ QUEUED — —
111
+ ────────────────────────────────
112
+ 3 missions | 1 done | 1 running | 1 queued | 0 failed
113
+ ```
114
+
115
+ ## Examples
116
+
117
+ ### Example 1: Parallel feature construction
118
+
119
+ **User**: "Build these features in parallel: user profiles, search pagination, and rate limiting"
120
+
121
+ **You**:
122
+ ```bash
123
+ aiwg mc start --name "Feature Sprint"
124
+ aiwg mc dispatch mc-xxx "Implement user profile CRUD" --completion "profile tests pass" --priority high
125
+ aiwg mc dispatch mc-xxx "Add pagination to search" --completion "search returns paginated results" --priority normal
126
+ aiwg mc dispatch mc-xxx "Implement rate limiting middleware" --completion "rate limit tests pass" --priority normal
127
+ ```
128
+
129
+ Then monitor and report: "Started 'Feature Sprint' with 3 missions. I'll monitor progress and report when missions complete."
130
+
131
+ ### Example 2: Sequential with dependencies
132
+
133
+ **User**: "First fix the database migration, then run the test suite, then deploy"
134
+
135
+ **You**: Dispatch migration first as high priority. When it completes, dispatch test suite. When tests pass, dispatch deployment. Use `aiwg mc status --json` to detect completions programmatically.
136
+
137
+ ### Example 3: Handling failure
138
+
139
+ A mission fails after max iterations. You:
140
+ 1. Check the failure details via `aiwg mc status --json`
141
+ 2. Post a summary of what went wrong
142
+ 3. Ask the user: "Mission 'Fix auth' failed after 10 iterations. Should I retry with adjusted approach, skip it, or do you want to handle it manually?"
143
+
144
+ ## Guardrails
145
+
146
+ 1. **Never exceed --max-missions** without asking the user
147
+ 2. **Always set completion criteria** — missions without criteria run indefinitely
148
+ 3. **Report failures immediately** — don't let failed missions go unnoticed
149
+ 4. **Respect session state** — don't dispatch to paused/stopped sessions
150
+ 5. **Clean up sessions** — stop sessions when all work is done