@v11g/agents-rock 1.0.6 → 1.0.8

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 (249) hide show
  1. package/package.json +1 -1
  2. package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
  3. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
  4. package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
  5. package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
  6. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
  7. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
  8. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
  9. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
  10. package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
  11. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
  12. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
  13. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
  14. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
  15. package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
  16. package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
  17. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
  18. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
  19. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
  20. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
  21. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
  22. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
  23. package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
  24. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +10 -0
  25. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +9 -0
  26. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
  27. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +9 -0
  28. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
  29. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
  30. package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
  31. package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
  32. package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
  33. package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
  34. package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
  35. package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
  36. package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
  37. package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
  38. package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
  39. package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
  40. package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
  41. package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
  42. package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
  43. package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
  44. package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
  45. package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
  46. package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
  47. package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
  48. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
  49. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
  50. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
  51. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
  52. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
  53. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
  54. package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
  55. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
  56. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
  57. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
  58. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
  59. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
  60. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
  61. package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
  62. package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
  63. package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
  64. package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
  65. package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
  66. package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
  67. package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
  68. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
  69. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
  70. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
  71. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
  72. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
  73. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
  74. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
  75. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
  76. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
  77. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
  78. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
  79. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
  80. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
  81. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
  82. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
  83. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
  84. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
  85. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
  86. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
  87. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
  88. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
  89. package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
  90. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
  91. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
  92. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
  93. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
  94. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
  95. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
  96. package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
  97. package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
  98. package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
  99. package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
  100. package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
  101. package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
  102. package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
  103. package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
  104. package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
  105. package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
  106. package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
  107. package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
  108. package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
  109. package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
  110. package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
  111. package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
  112. package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
  113. package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
  114. package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
  115. package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
  116. package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
  117. package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
  118. package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
  119. package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
  120. package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
  121. package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
  122. package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
  123. package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
  124. package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
  125. package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
  126. package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
  127. package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
  128. package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
  129. package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
  130. package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
  131. package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
  132. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
  133. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
  134. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +13 -0
  135. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
  136. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
  137. package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
  138. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
  139. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
  140. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
  141. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
  142. package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
  143. package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
  144. package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
  145. package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
  146. package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
  147. package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
  148. package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
  149. package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
  150. package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
  151. package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
  152. package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
  153. package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
  154. package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
  155. package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
  156. package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
  157. package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
  158. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +12 -0
  159. package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
  160. package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
  161. package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
  162. package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
  163. package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
  164. package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
  165. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
  166. package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
  167. package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
  168. package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
  169. package/plugins/reasoning/skills/problem-router/README.md +46 -0
  170. package/plugins/reasoning/skills/problem-router/SKILL.md +221 -0
  171. package/plugins/reasoning/skills/problem-router/references/contract.md +110 -0
  172. package/plugins/reasoning/skills/problem-solving/README.md +51 -0
  173. package/plugins/reasoning/skills/problem-solving/SKILL.md +204 -0
  174. package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
  175. package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
  176. package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
  177. package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
  178. package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
  179. package/plugins/reasoning/skills/problem-solving/references/contract.md +110 -0
  180. package/plugins/reasoning/skills/problem-solving/references/interview.md +66 -0
  181. package/plugins/reasoning/skills/systemic-design/README.md +42 -0
  182. package/plugins/reasoning/skills/systemic-design/SKILL.md +182 -0
  183. package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
  184. package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
  185. package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
  186. package/plugins/reasoning/skills/systemic-design/references/contract.md +110 -0
  187. package/plugins/reasoning/skills/systemic-design/references/interview.md +66 -0
  188. package/plugins/reasoning/skills/systems-thinking/README.md +43 -0
  189. package/plugins/reasoning/skills/systems-thinking/SKILL.md +216 -0
  190. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +61 -0
  191. package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
  192. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
  193. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +45 -0
  194. package/plugins/reasoning/skills/systems-thinking/references/contract.md +110 -0
  195. package/plugins/reasoning/skills/systems-thinking/references/interview.md +66 -0
  196. package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
  197. package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
  198. package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
  199. package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
  200. package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
  201. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
  202. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
  203. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
  204. package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
  205. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
  206. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
  207. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
  208. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
  209. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
  210. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
  211. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
  212. package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
  213. package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
  214. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
  215. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
  216. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
  217. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
  218. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
  219. package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
  220. package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
  221. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
  222. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
  223. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
  224. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
  225. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
  226. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
  227. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
  228. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
  229. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
  230. package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
  231. package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
  232. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
  233. package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
  234. package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
  235. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
  236. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
  237. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
  238. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
  239. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
  240. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
  241. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
  242. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
  243. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
  244. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
  245. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
  246. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
  247. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
  248. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
  249. package/src/cli/install.mjs +7 -1
@@ -0,0 +1,60 @@
1
+ # Double Diamond
2
+
3
+ ## When it fits
4
+
5
+ The problem itself is unclear.
6
+
7
+ ## Process
8
+
9
+ You are executing the Double Diamond framework within the problem-solving
10
+ skill. Work through four phases in order, diverging then converging twice.
11
+ Don't skip a phase because the problem feels obvious — the double diamond
12
+ exists precisely for problems where "obvious" hasn't held up.
13
+
14
+ **Discover** (diverge — gather without narrowing):
15
+ - Known facts as stated by the input.
16
+ - Stakeholder needs, wherever the input names or implies them.
17
+ - Evidence: what documents, logs, metrics, interviews, or observations exist.
18
+ - Constraints the solution has to work within.
19
+ - Unknowns: what isn't known yet.
20
+ - Observations you make while reading the input, separate from what it
21
+ states outright.
22
+
23
+ **Define** (converge — narrow to one framing):
24
+ - Patterns across what Discover surfaced.
25
+ - Key findings: the few facts that matter most.
26
+ - The reframed problem — often not the problem as originally stated.
27
+ - Scope: what's in, what's out.
28
+ - Success criteria: what "solved" would look like.
29
+
30
+ **Develop** (diverge — generate options):
31
+ - Candidate options, plural — not the first idea that comes to mind.
32
+ - Trade-offs between them.
33
+ - Hypotheses each option rests on.
34
+ - Risks each option carries.
35
+
36
+ **Deliver** (converge — commit to one path):
37
+ - The recommended experiment.
38
+ - How it will be measured.
39
+ - What result would count as a decision, either way.
40
+
41
+ Deliver names an experiment, not an implementation. This framework ends
42
+ with something to test, not something to ship — running the experiment
43
+ and acting on its result is later work, outside this pass.
44
+
45
+ ## Output block
46
+
47
+ Emit the `double_diamond` block from `references/contract.md`, with fields
48
+ `discover`, `define`, `develop`, `deliver` populated from the four phases
49
+ above.
50
+
51
+ ## Stop when
52
+
53
+ Framing settles; remaining unknowns will not change it.
54
+
55
+ Apply this as a test, not an impression: list each unknown still open from
56
+ Discover. For every one, ask whether an answer to it would change the
57
+ reframed problem, the scope, or the success criteria set in Define. If any
58
+ unknown would change one of those three, framing has not settled — go back
59
+ to Define and revise it, then run the test again. If none would, framing
60
+ has settled; stop and move to Develop.
@@ -0,0 +1,49 @@
1
+ # 5 Whys
2
+
3
+ ## When it fits
4
+
5
+ Narrow scope, linear causal chain.
6
+
7
+ ## Process
8
+
9
+ You are executing the 5 Whys framework within the problem-solving skill.
10
+ Use it only when its preconditions hold: the chain is linear, the scope is
11
+ narrow — one system, one component — and dependencies are limited. This is
12
+ not the method for interconnected systems with multiple actors or feedback
13
+ loops; routing to 5 Whys already implies the problem doesn't have that
14
+ shape, but check anyway before you start asking.
15
+
16
+ Ask "why" and record each link:
17
+
18
+ 1. Start from the symptom as stated.
19
+ 2. For each step, ask why it happens, and record the answer as the next
20
+ link in the chain.
21
+ 3. Before asking the next why, name the specific fact that would answer
22
+ it. If you can name it from evidence already in hand, ask it and
23
+ record the link. If you can only guess, don't ask it — the chain stops
24
+ at the current link.
25
+ 4. At each link where the answer is inferred rather than directly
26
+ evidenced, record that as an uncertainty rather than presenting it with
27
+ the same confidence as an evidenced link.
28
+
29
+ Five is a conventional depth, not a target. A chain that resolves in three
30
+ links stops at three; a chain that's still evidenced and still linear at
31
+ six may continue past five. What ends the chain is the test in step 3, not
32
+ a count.
33
+
34
+ ## Output block
35
+
36
+ Emit the `five_whys` block from `references/contract.md`, with fields
37
+ `why_chain`, `root_candidate`, `uncertainties`. The chain's final link
38
+ becomes `root_candidate` — 5 Whys is a fast, informal technique and never
39
+ certifies a fully supported `root`; that determination belongs to Root
40
+ Cause Analysis, not here.
41
+
42
+ ## Stop when
43
+
44
+ The next "why" turns speculative or leaves scope. Stopping there is the
45
+ chain working correctly, not an incomplete run: a chain that runs out of
46
+ evidence to interrogate has told you where its evidence ends, and that is
47
+ useful on its own. Stopping early because the next link would be
48
+ speculation is correct; it is never a shortfall to apologize for or pad
49
+ around.
@@ -0,0 +1,46 @@
1
+ # PDCA
2
+
3
+ ## When it fits
4
+
5
+ A change with a measurable hypothesis.
6
+
7
+ ## Process
8
+
9
+ You are executing the PDCA framework within the problem-solving skill.
10
+ Work through four stages, each with named parts:
11
+
12
+ **Plan**
13
+ - `hypothesis` — the specific claim being tested, stated so it can be
14
+ shown false.
15
+ - `test` — what will be done to test it.
16
+ - `metric` — the specific, named measurement that will decide the
17
+ outcome.
18
+ - `expected` — the result that would confirm the hypothesis.
19
+
20
+ **Do**
21
+ - Carry out the test as planned. Record what actually happened, not a
22
+ restatement of the plan.
23
+
24
+ **Check**
25
+ - `actual` — the measured result, against the `metric` defined in Plan.
26
+ - Compare `actual` to `expected` directly; state whether the hypothesis
27
+ held.
28
+
29
+ **Act**
30
+ - `next` — what happens as a result: adopt, adjust, or abandon the
31
+ change, and what runs next.
32
+
33
+ If this is an analysis-only run — no test has actually been carried out —
34
+ leave `actual` empty rather than inventing a plausible result, and say
35
+ explicitly in the output that the cycle is not yet closed. `next` in that
36
+ case names what running the test would take, not a result that hasn't
37
+ happened.
38
+
39
+ ## Output block
40
+
41
+ Emit the `pdca` block from `references/contract.md`, with fields
42
+ `hypothesis`, `test`, `metric`, `expected`, `actual`, `next`.
43
+
44
+ ## Stop when
45
+
46
+ Metric, expected result, and next action are defined.
@@ -0,0 +1,59 @@
1
+ # Root Cause Analysis
2
+
3
+ ## When it fits
4
+
5
+ Symptom is clear, cause is not.
6
+
7
+ ## Process
8
+
9
+ You are executing the Root Cause Analysis framework within the
10
+ problem-solving skill. Trace the causal chain in one direction, from what's
11
+ observed to what can be acted on:
12
+
13
+ symptom → immediate causes → contributing causes → underlying causes →
14
+ root causes → corrective actions
15
+
16
+ At each layer, only add a cause if something in the evidence or a stated
17
+ assumption points to it. A layer with nothing supporting it is left empty
18
+ rather than filled to look complete.
19
+
20
+ Labelling a cause `root` is a claim, not a placeholder for "the deepest
21
+ thing we found." Apply this test mechanically, per candidate:
22
+
23
+ - Can you point to a specific entry in `evidence` that ties this cause
24
+ directly to the symptom, without inserting a further inferential step to
25
+ make the connection?
26
+ - If yes: label it `root`.
27
+ - If no — the link exists only through inference, assumption, or a chain
28
+ of "probably" — label it `root_candidate` instead, and state next to it
29
+ exactly what evidence would be needed to promote it.
30
+
31
+ Never resolve a `root_candidate` to `root` by asserting harder. The label
32
+ changes only when new evidence arrives, not when the write-up sounds more
33
+ confident.
34
+
35
+ Corrective actions attach to whatever the analysis actually reached —
36
+ `root` causes where you have them, named `root_candidate`s where you
37
+ don't, with the gap stated rather than smoothed over.
38
+
39
+ ## Output block
40
+
41
+ Emit the `rca` block from `references/contract.md`, with fields `symptom`,
42
+ `immediate`, `contributing`, `underlying`, `root`, `actions`. Within
43
+ `root`, label each entry `root` or `root_candidate` per the test above.
44
+
45
+ ## Stop when
46
+
47
+ Causes trace to something actionable and supported.
48
+
49
+ Apply this as two tests over what the `root` field already holds, not as an
50
+ impression that the chain feels deep enough. **Supported** is the `root` /
51
+ `root_candidate` test in Process above, run per entry: a specific `evidence`
52
+ entry ties the cause to the symptom with no further inferential step. Every
53
+ entry has been labelled by that test, and each `root_candidate` carries the
54
+ evidence that would promote it. **Actionable** means every entry in `root`
55
+ has at least one named entry in `actions` that someone could start on
56
+ without first investigating further — a change with an owner and a scope,
57
+ not "look into X" or "understand why Y". If any entry in `root` has no such
58
+ action, the chain has not reached something actionable: keep tracing, or
59
+ state plainly that it stopped short and what blocks it.
@@ -0,0 +1,110 @@
1
+ # Output contract
2
+
3
+ Every run emits six core fields, plus exactly one block named for the
4
+ framework that ran. Nothing else appears at the top level.
5
+
6
+ ## Core fields
7
+
8
+ | Field | Contents |
9
+ | ----- | -------- |
10
+ | `problem` | The problem as this skill understands it, restated in one or two sentences. |
11
+ | `framework_used` | The framework that ran. A `problem-router` run runs none — emit `router` there, naming the routing pass itself. |
12
+ | `framework_reason` | One line: why this framework, for this problem. |
13
+ | `evidence` | What the input actually supplied. Each entry names its type. |
14
+ | `assumptions` | Anything the input did not state. Each carries a status. |
15
+ | `open_questions` | What would change the analysis if answered. |
16
+
17
+ An empty `evidence` list is a finding, not an omission: it means nothing
18
+ in the input supports the analysis, and the output says so.
19
+
20
+ ## Framework blocks
21
+
22
+ | Block | Fields |
23
+ | ----- | ------ |
24
+ | `router` | `problem_class`, `reasoning_skill`, `recommended_framework`, `confidence`, `why`, `frameworks_rejected` |
25
+ | `double_diamond` | `discover`, `define`, `develop`, `deliver` |
26
+ | `rca` | `symptom`, `immediate`, `contributing`, `underlying`, `root`, `actions` |
27
+ | `five_whys` | `why_chain`, `root_candidate`, `uncertainties` |
28
+ | `a3` | `background`, `current`, `problem`, `target`, `causes`, `countermeasures`, `plan`, `follow_up` |
29
+ | `pdca` | `hypothesis`, `test`, `metric`, `expected`, `actual`, `next` |
30
+ | `iceberg` | `event`, `patterns`, `structures`, `mental_models` |
31
+ | `system_map` | `system_boundary`, `actors`, `components`, `relationships`, `dependencies`, `external_factors` |
32
+ | `causal_loop` | `variables`, `links`, `loops`, `delays` |
33
+ | `leverage_points` | `elements`, `points` |
34
+ | `systemic_design` | `explore`, `reframe`, `create`, `catalyse` |
35
+ | `theory_of_change` | `inputs`, `activities`, `outputs`, `short_term_outcomes`, `long_term_outcomes`, `impact`, `links` |
36
+ | `three_horizons` | `h1`, `h2`, `h3` |
37
+
38
+ Later skills add blocks. The core never changes — that is what lets one
39
+ skill consume another's result without knowing which framework produced
40
+ it.
41
+
42
+ ## Evidence types
43
+
44
+ `user-provided fact`, `document`, `log`, `metric`, `interview`,
45
+ `observation`, `external source`, `inferred`.
46
+
47
+ Anything `inferred` is never rendered as fact. If the input did not state
48
+ it, it belongs in `assumptions`, not `evidence`.
49
+
50
+ ## Assumption status
51
+
52
+ `unverified` — nothing has confirmed it.
53
+ `confirmed` — the human confirmed it during this run.
54
+
55
+ Default is `unverified`. An assumption is never silently promoted.
56
+
57
+ ## Confidence
58
+
59
+ `low` / `medium` / `high`. Numeric confidence is never emitted: `0.84`
60
+ implies a precision this reasoning does not have.
61
+
62
+ Confidence reflects evidence quantity, evidence quality, contradictions
63
+ in the input, and how many inferential steps separate the claim from the
64
+ evidence.
65
+
66
+ ## Rendering
67
+
68
+ In chat by default: markdown headings, one per core field, then the
69
+ framework block.
70
+
71
+ A structure containing a cycle gets a diagram; one without gets prose.
72
+ Prose renders a cycle as a list, and a list loses the closure — `A -> B ->
73
+ C -> A` read top to bottom does not show that it comes back.
74
+
75
+ On request: one file, `problem-analysis.md`, in the directory the human
76
+ names. Core fields and the framework block become YAML front-matter above
77
+ the markdown body. No second JSON file is written — it would be a
78
+ duplicate representation with nothing keeping the two in agreement.
79
+
80
+ Example saved file:
81
+
82
+ ```markdown
83
+ ---
84
+ problem: Deploys fail intermittently after the runner image update.
85
+ framework_used: five-whys
86
+ framework_reason: Narrow scope, causal chain looks linear.
87
+ evidence:
88
+ - type: log
89
+ ref: ci-run-4471
90
+ assumptions:
91
+ - statement: Staging mirrors production runner config.
92
+ status: unverified
93
+ open_questions:
94
+ - Who owns the runner image?
95
+ - |
96
+ Which runner pool failed — shared or dedicated?
97
+ Look in: the CI runner dashboard
98
+ five_whys:
99
+ why_chain:
100
+ - Deploys fail -> the runner cannot pull the base image
101
+ - It cannot pull -> the registry credential expired
102
+ root_candidate: Credential rotation is manual and undocumented.
103
+ uncertainties:
104
+ - Whether rotation was ever automated.
105
+ ---
106
+
107
+ # Problem analysis
108
+
109
+ ...
110
+ ```
@@ -0,0 +1,66 @@
1
+ # Evidence interview
2
+
3
+ When a framework's stopping rule does not fire, the evidence a human holds
4
+ is often what's missing. Ask for it before stopping short.
5
+
6
+ ## Trigger
7
+
8
+ All three must hold for the interview to run.
9
+
10
+ 1. The framework has run and its stopping rule (or test) has not fired,
11
+ or fired only by naming missing evidence — an empty level, an
12
+ unevidenced link, a `root_candidate`, a chain that stopped short.
13
+ 2. You can name the specific gap blocking that rule — a field, layer, or
14
+ link, e.g. "`rca.contributing` is empty".
15
+ 3. `AskUserQuestion` is available — the same test step 2 applies before
16
+ asking the human to pick a framework. If a call errors, the run is
17
+ headless from that point.
18
+
19
+ **Headless.** If 1 and 2 hold but 3 does not, stop short, and make the
20
+ first `open_questions` entry the question round 1 would have asked — the
21
+ question, its `Look in:` line, and its two options, without the fixed
22
+ exits. If 1 or 2 does not hold, emit as before.
23
+
24
+ ## One round
25
+
26
+ Ask exactly one question with `AskUserQuestion`.
27
+
28
+ - **Question** — aimed at the one named gap, using this problem's details:
29
+ its figures, times, components. Not generic wording.
30
+ - **Source hint** — the question text's second line, `Look in: …`, naming
31
+ where the evidence lives: a log, dashboard, trace, ticket, or the person
32
+ who owns it. Never what to expect there. "Look in: the gateway access
33
+ log" passes. "Check whether the DB pool is exhausted" fails — it asserts
34
+ a cause.
35
+ - **Options** — two concrete options drawn from the input: dimensions to
36
+ discriminate along (transaction type, node, region), not guessed causes.
37
+ Then two fixed exits: `Don't know` and `Stop, analyze now`. Free text and
38
+ pasted logs arrive through the tool's built-in Other.
39
+
40
+ ## Answers
41
+
42
+ | Answer | Record as | Then |
43
+ | ------ | --------- | ---- |
44
+ | Content | `evidence`, type `interview`, ref `round N` | re-run the framework from step 3 |
45
+ | Pasted log or figures | `evidence`, type `log` or `metric` | re-run |
46
+ | Picked option | `evidence`, type `interview`, ref `round N` | re-run |
47
+ | Confirms an assumption | that assumption's status becomes `confirmed` | re-run |
48
+ | Don't know | `open_questions` | never ask about that gap again |
49
+ | Stop | nothing | emit now, stating "stopped on request" |
50
+
51
+ A re-run is the same framework over more evidence, not a second framework.
52
+
53
+ | Situation | Handling |
54
+ | --------- | -------- |
55
+ | Answer contradicts existing evidence | Keep both, and name the contradiction in `open_questions`. |
56
+ | Answer meets another class's definition in `problem-router` — in `problem-solving`, recurrence (`complex`) or an actor adapting to fixes (`complex-adaptive`); in `systems-thinking`, only `complex-adaptive`; in `systemic-design`, `simple` or `ambiguous` | End the interview and emit. In `systems-thinking`, name `systemic-design` as the next run; elsewhere, recommend re-running `problem-router`. Do not start a second framework. |
57
+ | Human asserts "the cause is X" | Record as `interview` evidence: "the human believes X". It supports a cause only if an observation ties X to the symptom. |
58
+ | Human rejects the question to ask something | Answer in chat, then re-ask the same question. The round does not count. |
59
+ | Human rejects the question with no message | Treat as Stop. |
60
+
61
+ ## End
62
+
63
+ The loop ends when the stopping rule fires, no askable gap remains, the
64
+ human picks Stop, an answer meets another class's definition, or round 6
65
+ completes. Say in the output which one ended
66
+ it.
@@ -0,0 +1,42 @@
1
+ # systemic-design
2
+
3
+ Plans how to change a system of people, incentives, and habits so a
4
+ problem stops coming back.
5
+
6
+ Answers: **how should the system be changed?**
7
+
8
+ ## Frameworks
9
+
10
+ | Framework | Use it when |
11
+ | --- | --- |
12
+ | Theory of Change | One change is chosen; trace it from action to impact. |
13
+ | Three Horizons | You know today's state and the future you want. |
14
+ | Systemic Design | Otherwise: explore, reframe, create, catalyse. |
15
+
16
+ Selection is first-match-wins, top to bottom. The skill shortlists two
17
+ and recommends one; you pick.
18
+
19
+ ## Usage
20
+
21
+ ```
22
+ /reasoning:systemic-design "<problem>"
23
+ /reasoning:systemic-design three_horizons "<problem>"
24
+ ```
25
+
26
+ Or hand it a `systems-thinking` result, or let `problem-router` route
27
+ there.
28
+
29
+ When a piece of the system model is missing and you're there to answer,
30
+ it asks you for it — one question at a time, each naming where to look.
31
+
32
+ ## What it will not do
33
+
34
+ - Software architecture. Use a software design tool.
35
+ - Carry out the plan, draft its messages, or edit files.
36
+ - Invent dates or owners. A date you didn't give is marked as an
37
+ assumption; an owner you didn't name is written as a role.
38
+
39
+ ## Output
40
+
41
+ Six core fields plus exactly one framework block, per the shared contract
42
+ in `references/contract.md`.
@@ -0,0 +1,182 @@
1
+ ---
2
+ name: systemic-design
3
+ description: Plan how to change a system of people, incentives, and habits so a problem stops regenerating — using explore/reframe/create/catalyse, a theory of change, or three horizons. Use when a fix must survive people adapting to it: org or process transitions, "how do we get from today's way of working to a new one", or turning a systems-thinking map into steps, owners, dates, and success signals. Not for software architecture or technical system design. Recommends a framework and lets you choose; run it with a named framework to skip the choice.
4
+ ---
5
+
6
+ # systemic-design
7
+
8
+ You are executing the systemic-design skill. A problem has arrived whose
9
+ fixes get routed around — by people, incentives, or habits — and your job
10
+ is to plan the change: select or confirm a framework, run it to its own
11
+ stopping test, and emit the result. You do not carry out the plan, draft
12
+ its messages, or edit files.
13
+
14
+ ## Purpose
15
+
16
+ Answer one question: **how should the system be changed?**
17
+
18
+ Not what broke — that is `problem-solving`. Not why it keeps coming back —
19
+ that is `systems-thinking`. This skill takes a model of the system, or
20
+ builds a flagged one from raw input, and turns it into changes, an order,
21
+ owners, dates, and the signal that says each step worked.
22
+
23
+ ## When to use / When not to use
24
+
25
+ Use this for org or process transitions, for a change that has to survive
26
+ people adapting to it, or to turn a systems-thinking result into a plan.
27
+
28
+ Don't use this for software architecture — services, databases, scaling.
29
+ Don't use it for a bug or a one-off outage; that is `problem-solving`. If
30
+ the problem is still "why does this keep happening" and no model exists,
31
+ recommend `systems-thinking` first, and run here only if the human says so.
32
+
33
+ ## Inputs
34
+
35
+ - The problem text, raw or already reframed by `problem-router`.
36
+ - Optionally, a framework name as the first argument — `systemic_design`,
37
+ `theory_of_change`, or `three_horizons`.
38
+ - Whatever a `problem-router` or `systems-thinking` hand-off carries.
39
+ - A prior `systems-thinking` result, read through its six core fields and
40
+ its one block. Its `evidence` stays evidence; its `assumptions` keep
41
+ their status. Nothing is promoted on the way in.
42
+
43
+ ## Entry paths
44
+
45
+ ```
46
+ /reasoning:systemic-design "<problem>" skill recommends, human picks
47
+ /reasoning:systemic-design <framework> "<problem>" human has already chosen
48
+ hand-off after human confirmation router or systems-thinking recommended
49
+ ```
50
+
51
+ ## Framework selection
52
+
53
+ First match wins. Read top to bottom and stop at the first row that holds.
54
+
55
+ | Order | Test against the input | Framework |
56
+ | --- | --- | --- |
57
+ | 1 | The input names one chosen intervention and asks how it reaches an outcome. | `theory_of_change` |
58
+ | 2 | The input names a current state and a desired future state. | `three_horizons` |
59
+ | 3 | Otherwise — a system that needs changing, no path chosen yet. | `systemic_design` |
60
+
61
+ "We want product teams, so let's pilot one team" holds for rows 1 and 2;
62
+ row 1 wins because an intervention is already chosen.
63
+
64
+ See `frameworks/theory-of-change.md`, `frameworks/three-horizons.md`, and
65
+ `frameworks/systemic-design.md` for the process and stopping test of each.
66
+
67
+ Shortlist two candidates, name your pick with a one-line reason, and let
68
+ the human choose. When the human named a framework, that is the choice and
69
+ it runs — skip this section entirely, no confirmation step.
70
+
71
+ ## Process
72
+
73
+ 1. Establish the framing: the problem as stated, as `problem-router`
74
+ reframed it, or as a handed-in `systems-thinking` result models it. If
75
+ it is a software-design request, stop here per Failure modes — even
76
+ when a framework is named.
77
+ 2. Select the framework:
78
+ - Named already (human, or hand-off with confirmation) → that's the
79
+ choice, go to step 3.
80
+ - Not named → apply the first-match table above, shortlist it plus the
81
+ next-best candidate, and recommend the first with a one-line reason.
82
+ Then test, don't infer: is `AskUserQuestion` actually available in
83
+ this session? If yes, ask via `AskUserQuestion` and wait for the
84
+ answer. If no — the tool is unavailable, or the run is otherwise
85
+ non-interactive — you are headless: take your own recommendation,
86
+ record it agent-selected and unconfirmed, and go straight to step 3.
87
+ Naming the shortlist and stopping there, without asking and without
88
+ proceeding, is not a valid outcome on either branch.
89
+ 3. Open the matching file under `frameworks/` and follow its process
90
+ exactly.
91
+ 4. Stop at that file's own stopping test. Apply the test — see each file's
92
+ Stop when section.
93
+ 4b. If the stopping test has not passed, follow
94
+ `references/interview.md`. With a human present it returns you to
95
+ step 3 with new evidence; headless, it shapes the first open question.
96
+ Then continue to step 5.
97
+ 4c. Even when the stopping test passes, an actor, behaviour, or structure
98
+ the plan relies on that rests only on an `unverified` assumption is a
99
+ model gap. Pick the one the most interventions depend on and treat it
100
+ as the named gap for `references/interview.md`, with its trigger 1
101
+ counted as met. With a human present, ask before emitting; headless,
102
+ make it the first `open_questions` entry. The plan stays complete — do
103
+ not label it unfinished; never say no further evidence is needed.
104
+ 5. Emit the result per Output contract below.
105
+
106
+ ## Output contract
107
+
108
+ Emit the six core fields plus exactly one framework block, per
109
+ `references/contract.md` — the single source of truth for field names,
110
+ evidence types, assumption status, confidence, and rendering.
111
+
112
+ ## Guardrails
113
+
114
+ Each has a test — apply the test, not a judgment call.
115
+
116
+ - **Every change traces to the system.** Test: does each intervention,
117
+ move, or activity name the `evidence` or `assumptions` entry it targets?
118
+ No → cut it.
119
+ - **No invented system model.** Test: for each actor or structure the plan
120
+ relies on, did the input state it? No → `assumptions`, status
121
+ `unverified`, and it is a candidate gap for the interview.
122
+ - **Dates and owners come from the input.** Test: is each `when` and each
123
+ named person in the input? A `when` that is not → also an `assumptions`
124
+ entry, status `unverified`. An owner that is not → written as a role,
125
+ never an invented name.
126
+ - **A plan, not the doing.** Test: does the output draft a message, an org
127
+ chart, a file, or run a step? Yes → stop and hand the plan back.
128
+ - **One framework per run.** Test: has the first framework's stopping test
129
+ fired, and is there a stated reason a second adds something? Both must
130
+ be yes — and even then the second is a second run, never a second block.
131
+ - **Depth scales to the problem.** Test, sentence by sentence: does this
132
+ sentence name a specific fact, quote, figure, or `evidence` entry from
133
+ THIS input? If it would read as true no matter what the input said, cut
134
+ it or replace it with a plain "no evidence for this."
135
+
136
+ ## Failure modes
137
+
138
+ - **Software-design request** — services, databases, scaling, an
139
+ architecture style. Say this skill plans changes to systems of people
140
+ and practice, and a software design tool fits the request. Name no
141
+ specific skill. Run no framework — this holds even when the human named
142
+ one.
143
+ - **Bounded defect or one-off outage.** Hand to `problem-solving`.
144
+ - **"Why does this keep happening", no model.** Recommend
145
+ `systems-thinking` first; run here only if the human says so.
146
+ - **Framework named but unavailable** — from PRD §24's later set:
147
+ Transition Design, Service / Ecosystem Design. Say it isn't built yet,
148
+ and name the closest framework from the table above with the difference
149
+ stated. Don't improvise the framework.
150
+ - **Framework named that belongs to another skill** — say which skill owns
151
+ it and hand over.
152
+ - **Asking without naming the gap.** An interview question must fill a
153
+ specific field the stopping test is blocked on.
154
+ - **A source hint that names what to expect.** `Look in:` names where the
155
+ evidence lives, never what the human will find there.
156
+
157
+ ## Examples
158
+
159
+ **Agent-selected — no path chosen**
160
+
161
+ Input: "Our hospital's discharge process keeps backing up. Nurses wait on
162
+ pharmacy sign-off, pharmacy waits on doctors' notes, doctors write notes at
163
+ end of shift. Every local fix got bypassed within a month. The discharge
164
+ lead wants this fixed by the end of Q2."
165
+
166
+ Row 1 doesn't hold — no intervention is chosen. Row 2 doesn't hold — no
167
+ future state is described. Row 3: `systemic_design`, shortlisted against
168
+ `three_horizons`. Run `frameworks/systemic-design.md`. Why staff return to
169
+ old habits is not stated, so it goes in `assumptions` as `unverified`. The
170
+ plan's final step can use "end of Q2"; any earlier date is also an
171
+ assumption. The discharge lead is named, so that owner stays; other owners
172
+ are roles. Emit the six core fields plus one `systemic_design` block.
173
+
174
+ **Human-named**
175
+
176
+ Input: `/reasoning:systemic-design theory_of_change "Give each product
177
+ team its own on-call rota instead of central ops. We want fewer repeat
178
+ incidents."`
179
+
180
+ `theory_of_change` runs — no shortlist. Six stages, five links, each link
181
+ with its assumption, no dates. Emit the six core fields plus one
182
+ `theory_of_change` block.
@@ -0,0 +1,39 @@
1
+ # Systemic Design (explore → reframe → create → catalyse)
2
+
3
+ ## When it fits
4
+
5
+ A system needs changing and no path has been chosen yet.
6
+
7
+ ## Process
8
+
9
+ You are executing the Systemic Design framework within the systemic-design
10
+ skill. Four phases, in order. Each phase uses only what the earlier phases
11
+ and the input established.
12
+
13
+ 1. `explore` — actors, behaviours, structures, tensions, constraints. Each
14
+ entry cites an `evidence` entry or an `assumptions` entry. An actor or
15
+ structure the input did not state goes in `assumptions`, `unverified`.
16
+ 2. `reframe` — the challenge restated at the level of the system, the
17
+ boundary, the desired change, and the principles any intervention must
18
+ respect.
19
+ 3. `create` — interventions. Each names the `explore` entry it targets,
20
+ its dependencies, one unintended effect, and a small experiment that
21
+ would test it.
22
+ 4. `catalyse` — `plan`: a list of `{step, owner_role, when, signal}`, plus
23
+ the feedback mechanism and success measures. `owner_role` is a person
24
+ only if the input names one. A `when` the input did not give also goes
25
+ in `assumptions`, `unverified`. A `signal` is something someone can
26
+ observe.
27
+
28
+ ## Output block
29
+
30
+ Emit the `systemic_design` block from `references/contract.md`: `explore`,
31
+ `reframe`, `create`, `catalyse`. The plan is a sequence, not a cycle, so it
32
+ renders as a list.
33
+
34
+ ## Stop when
35
+
36
+ Every intervention targets a named `explore` entry, every plan step has all
37
+ four fields, and every `signal` is observable. An `explore` entry resting
38
+ only on an `unverified` assumption does not block the stop; it goes to the
39
+ interview per `SKILL.md` step 4c.