@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,34 @@
1
+ # Theory of Change
2
+
3
+ ## When it fits
4
+
5
+ One intervention is already chosen, and the question is how it reaches an
6
+ outcome.
7
+
8
+ ## Process
9
+
10
+ You are executing the Theory of Change framework within the systemic-design
11
+ skill. Six stages in a chain:
12
+
13
+ inputs → activities → outputs → short-term outcomes → long-term outcomes →
14
+ impact
15
+
16
+ 1. Fill each stage from the input. A stage the input does not support says
17
+ what evidence would fill it.
18
+ 2. For each of the five adjacent pairs, record a `links` entry:
19
+ `{from, to, assumption}` — what has to be true for the earlier stage to
20
+ produce the later one. Every link carries one.
21
+ 3. Each assumption also appears in the core `assumptions` field, status
22
+ `unverified` unless the human confirmed it.
23
+ 4. No dates. This is a causal chain, not a schedule.
24
+
25
+ ## Output block
26
+
27
+ Emit the `theory_of_change` block from `references/contract.md`: `inputs`,
28
+ `activities`, `outputs`, `short_term_outcomes`, `long_term_outcomes`,
29
+ `impact`, `links`. A chain is not a cycle; it renders as a list.
30
+
31
+ ## Stop when
32
+
33
+ All six stages have content or a stated evidence gap, and all five links
34
+ carry an assumption.
@@ -0,0 +1,28 @@
1
+ # Three Horizons
2
+
3
+ ## When it fits
4
+
5
+ The input names today's state and a desired future state.
6
+
7
+ ## Process
8
+
9
+ You are executing the Three Horizons framework within the systemic-design
10
+ skill.
11
+
12
+ 1. `h1` — today's dominant system, as the input describes it.
13
+ 2. `h3` — the desired future system, as the input describes it.
14
+ 3. `h2` — transition moves that grow the future inside the present: a list
15
+ of `{move, owner_role, when}`. Each move names the `h1` feature it
16
+ loosens or the `h3` feature it seeds. `owner_role` is a person only if
17
+ the input names one. A `when` the input did not give also goes in
18
+ `assumptions`, `unverified`.
19
+
20
+ ## Output block
21
+
22
+ Emit the `three_horizons` block from `references/contract.md`: `h1`, `h2`,
23
+ `h3`. Renders as prose or a list; there is no cycle.
24
+
25
+ ## Stop when
26
+
27
+ `h1` and `h3` each tie to evidence or an assumption, and `h2` has at least
28
+ one move with `owner_role` and `when` filled.
@@ -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,43 @@
1
+ # systems-thinking
2
+
3
+ Models the system producing a problem, rather than tracing one cause.
4
+
5
+ Answers: **what system is producing this?**
6
+
7
+ ## Frameworks
8
+
9
+ | Framework | Use it when |
10
+ | --- | --- |
11
+ | Leverage Points | You need to know where to intervene. |
12
+ | Causal Loop | The variables are known and suspected of feeding back on each other. |
13
+ | System Map | Two or more actors, and the relationships between them are unclear. |
14
+ | Iceberg Model | A symptom keeps returning and the layers under it are unexamined. |
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:systems-thinking "<problem>"
23
+ /reasoning:systems-thinking causal_loop "<problem>"
24
+ ```
25
+
26
+ Or let `problem-router` classify the problem first and hand it over.
27
+
28
+ When the evidence runs out before the framework's stopping rule fires and
29
+ you're there to answer, it asks you for the missing piece — one question
30
+ at a time, each naming where to look — instead of stopping short.
31
+
32
+ ## What it will not do
33
+
34
+ - Name a fix, or write one.
35
+ - Produce an adoption plan, a sequence, or an owner — that is
36
+ `systemic-design`, the next run once the model exists.
37
+ - Run on a bounded one-function defect. That is `problem-solving`.
38
+
39
+ ## Output
40
+
41
+ Six core fields plus exactly one framework block, per the shared contract
42
+ in `references/contract.md`. Evidence and assumptions stay separable, and
43
+ a diagram appears only when the structure contains a cycle.
@@ -0,0 +1,216 @@
1
+ ---
2
+ name: systems-thinking
3
+ description: Model the system producing a problem — its layers, actors, feedback loops, or intervention points — using the iceberg model, a system map, a causal loop diagram, or leverage points. Use when a symptom keeps returning after local fixes, when multiple actors and dependencies are tangled, or when someone asks where to intervene. Recommends a framework and lets you choose; run it with a named framework to skip the choice.
4
+ ---
5
+
6
+ # systems-thinking
7
+
8
+ You are executing the systems-thinking skill. A problem has arrived that
9
+ looks structural rather than local, and your job is to model the system
10
+ producing it: select or confirm a framework, run it to its own stopping
11
+ test, and emit the result. You do not design the intervention programme,
12
+ write the fix, or edit files.
13
+
14
+ ## Purpose
15
+
16
+ Answer one question: **what system is producing this?**
17
+
18
+ Not what the cause is and what to try next — that is `problem-solving`. Not
19
+ how to change the system over time — that is `systemic-design`, the next
20
+ run once this model exists.
21
+
22
+ ## When to use / When not to use
23
+
24
+ Use this when the problem survives local fixes, spans several actors or
25
+ teams, or is suspected of feeding back on itself. Also use it when someone
26
+ asks directly where to intervene.
27
+
28
+ Don't use this for a one-line, reproducible, single-function defect. A null
29
+ pointer in one method is `problem-solving`, and reaching for an iceberg
30
+ there produces vocabulary instead of an answer.
31
+
32
+ Don't use this to plan the change. Naming where to push is in scope; who
33
+ does it, in what order, and by when is `systemic-design`.
34
+
35
+ ## Inputs
36
+
37
+ - The problem text, raw or already reframed by `problem-router`.
38
+ - Optionally, a framework name as the first argument — `iceberg`,
39
+ `system_map`, `causal_loop`, or `leverage_points`.
40
+ - Whatever a `problem-router` hand-off carries: its classification,
41
+ recommended skill, and reasoning.
42
+ - A prior systems-thinking result, when the human hands one in. It is
43
+ ordinary input — richer than raw text, not a special mode.
44
+
45
+ ## Entry paths
46
+
47
+ All three land in the same process below.
48
+
49
+ ```
50
+ /reasoning:systems-thinking "<problem>" skill recommends, human picks
51
+ /reasoning:systems-thinking <framework> "<problem>" human has already chosen
52
+ router hand-off after human confirmation router recommended
53
+ ```
54
+
55
+ ## Framework selection
56
+
57
+ First match wins. Read top to bottom and stop at the first row that holds.
58
+
59
+ | Order | Test against the input | Framework |
60
+ | --- | --- | --- |
61
+ | 1 | The human asks where to intervene. | `leverage_points` |
62
+ | 2 | The input names the variables, and they are suspected of closing a loop. | `causal_loop` |
63
+ | 3 | The input names two or more actors whose relationships are unclear. | `system_map` |
64
+ | 4 | Otherwise — a recurring symptom with unexamined layers beneath it. | `iceberg` |
65
+
66
+ The order matters. These four descriptions overlap by construction: a
67
+ recurring cross-team slowdown that survives local fixes answers to all four.
68
+ Reading top-down and stopping at the first match is what makes the choice
69
+ decidable rather than a matter of taste.
70
+
71
+ See `frameworks/iceberg.md`, `frameworks/system-map.md`,
72
+ `frameworks/causal-loop.md`, and `frameworks/leverage-points.md` for the
73
+ full process and the mechanical test behind each stopping rule.
74
+
75
+ Shortlist two candidates, name your pick with a one-line reason, and let the
76
+ human choose. When the human named a framework, that is the choice and it
77
+ runs — skip this section entirely, no confirmation step.
78
+
79
+ ## Process
80
+
81
+ 1. Establish the framing: the problem as stated, or as `problem-router`
82
+ reframed it.
83
+ 2. Select the framework:
84
+ - Named already (human, or router hand-off with confirmation) → that's
85
+ the choice, go to step 3.
86
+ - Not named → apply the first-match table above, shortlist it plus the
87
+ next-best candidate, and recommend the first with a one-line reason.
88
+ Then test, don't infer: is `AskUserQuestion` actually available in
89
+ this session? If yes, ask via `AskUserQuestion` and wait for the
90
+ answer. If no — the tool is unavailable, or the run is otherwise
91
+ non-interactive — you are headless: take your own recommendation,
92
+ record it agent-selected and unconfirmed, and go straight to step 3.
93
+ Naming the shortlist and stopping there, without asking and without
94
+ proceeding, is not a valid outcome on either branch.
95
+ 3. Open the matching file under `frameworks/` and follow its process
96
+ exactly. Don't substitute a different structure or skip its steps
97
+ because the problem feels straightforward.
98
+ 4. Stop at that file's own stopping test, not at a felt sense of
99
+ completeness. Apply the test — see each file's Stop when section.
100
+ 4b. If the stopping test has not passed, follow
101
+ `references/interview.md`. With a human present it returns you to
102
+ step 3 with new evidence; headless, it shapes the first open question.
103
+ Then continue to step 5.
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` — that file is the single source of truth for
110
+ field names, evidence types, assumption status, confidence rendering, and
111
+ when a diagram is warranted. Don't guess at the shape here.
112
+
113
+ The one block is whichever framework ran in step 3. Never emit more than one
114
+ framework block in a single run — see Guardrails.
115
+
116
+ ## Guardrails
117
+
118
+ These are rules this skill will not break. Each has a test — apply the test,
119
+ not a judgment call.
120
+
121
+ - **No invented structure or mental model.** Test: for each entry in
122
+ `structures` and `mental_models`, did the input state it, or did you infer
123
+ it? Inferred → `assumptions`, status `unverified`. Never promoted into a
124
+ level as fact, however well it fits.
125
+ - **An open chain is not a loop.** Test: does the chain close on a variable
126
+ already in the diagram? No → record it as an open chain and say so. A
127
+ loop that does not close is the single most common way this analysis
128
+ invents a finding.
129
+ - **Correlation is not causation.** Test: does every `links` edge carry
130
+ exactly one of `correlation` / `hypothesized` / `evidenced`? A missing
131
+ label is an error, not a stylistic omission.
132
+ - **One framework per run.** Test: before starting a second, has the first's
133
+ own stopping test actually fired (check that file's Stop when section),
134
+ and is there a stated reason a second adds something the first didn't
135
+ reach? Both must be yes — and even then the second framework is a
136
+ second run, with its own six core fields and its own single block.
137
+ Never a second block in this one.
138
+ - **Diagrams only for cycles.** Test: does the structure contain a cycle? No
139
+ → prose. A four-level iceberg and a flat leverage list are not cycles and
140
+ get no diagram.
141
+ - **No intervention design.** Test: does the output name who does it, in
142
+ what order, or by when? Yes → cut it. `leverage_points` names where to
143
+ push, the expected effect, and the risks. Adoption plans, sequencing, and
144
+ ownership belong to `systemic-design`.
145
+ - **Depth scales to the problem, not to the framework's capacity.** Test,
146
+ applied sentence by sentence to what you have written: does this sentence
147
+ name a specific fact, quote, figure, file, or `evidence` entry from THIS
148
+ problem's input? If a sentence would read as true no matter what the
149
+ input contained, it is generic — cut it, or replace it with a plain "no
150
+ evidence for this."
151
+
152
+ ## Failure modes
153
+
154
+ - **Framework named that belongs to another skill** — theory of change,
155
+ three horizons, explore/reframe/create/catalyse. That skill is built:
156
+ say `systemic-design` owns the framework and hand the problem over.
157
+ Don't run the framework here, and don't refuse it.
158
+ - **Framework named but unavailable** — from PRD §17's later set: Stock and
159
+ Flow, Rich Picture. Say it isn't built yet, and name the closest available
160
+ framework from the table above with the difference stated, rather than
161
+ silently substituting it.
162
+ - **Running this on a bounded defect.** One function, one service,
163
+ reproducible — that's `problem-solving`. Say so and hand it back rather
164
+ than producing an iceberg over a stack trace.
165
+ - **Asking without naming the gap.** An interview question must fill a
166
+ specific field, layer, or link the stopping rule is blocked on. A
167
+ question that fills nothing named is an open-ended interview — cut it.
168
+ - **A source hint that names what to expect.** `Look in:` names where the
169
+ evidence lives. Naming what the human will find there previews a cause
170
+ the evidence hasn't supported.
171
+
172
+ ## Examples
173
+
174
+ **Agent-selected — a recurring cross-team symptom, no framework named**
175
+
176
+ Input: "Every quarter the same onboarding delays come back. We fix the
177
+ handoff between sales and provisioning, it holds a few weeks, then a
178
+ different team hits the same wall. Three times in two years, three different
179
+ fixes."
180
+
181
+ First-match table: row 1 doesn't hold — no one asked where to intervene.
182
+ Row 2 doesn't hold — the input names no variables. Row 3 holds: sales,
183
+ provisioning, and downstream teams, with the relationships between them
184
+ unstated. So `system_map`, shortlisted against `iceberg` (which would fit
185
+ the recurrence, but the immediate gap is who connects to whom). Recommend
186
+ `system_map` with that one-line reason; in Claude Code, present both via
187
+ `AskUserQuestion`.
188
+
189
+ Run `frameworks/system-map.md`: seed sales, provisioning, and the named
190
+ downstream teams; record only the handoff relationships the input states.
191
+ "Three different fixes" is evidence of recurrence but names no new node, so
192
+ nothing is added for it. Seeded nodes like "the CRM" are mentioned
193
+ nowhere and break no recorded relationship — `external_factors`. The
194
+ recorded relationships form no cycle, so the output is prose, not Mermaid.
195
+ Emit the six core fields plus one `system_map` block.
196
+
197
+ **Human-named — the human already picked**
198
+
199
+ Input: `/reasoning:systems-thinking leverage_points "Support escalations
200
+ keep landing on the same two engineers. On-call rota exists, escalation
201
+ policy says route through the rota, but everyone DMs them directly."`
202
+
203
+ `leverage_points` is named, so it runs — no shortlist. Open
204
+ `frameworks/leverage-points.md`: `elements` gets the escalation policy
205
+ (`kind: rule`, `evidence: user-provided fact`), the DM habit
206
+ (`kind: information_flow`, `user-provided fact`), and the rota
207
+ (`kind: structure`, `user-provided fact`). Whether the two engineers are
208
+ rewarded for responsiveness is not stated, so if it is recorded at all it is
209
+ `kind: incentive`, `evidence: inferred`, and the output says so.
210
+
211
+ `points` proposes interventions whose `level` matches one of those kinds.
212
+ No `goal` or `mental_model` row exists, so no intervention claims those
213
+ levels — each gets "none identified, because the input states no goal or
214
+ belief". The block names where to push and what it risks; it does not say
215
+ who runs the change or when. Emit the six core fields plus one
216
+ `leverage_points` block.
@@ -0,0 +1,61 @@
1
+ # Causal Loop
2
+
3
+ ## When it fits
4
+
5
+ The input names the variables, and they are suspected of closing a loop.
6
+
7
+ ## Process
8
+
9
+ You are executing the Causal Loop framework within the systems-thinking
10
+ skill. The deliverable is a set of labelled edges, and the labels carry
11
+ most of the value — an unlabelled causal diagram asserts causation it has
12
+ not earned.
13
+
14
+ 1. List `variables`: the things that can go up or down. Take them from the
15
+ input; do not invent a variable to complete a chain.
16
+ 2. For each `link`, record the direction of influence and exactly one
17
+ support label:
18
+ - `correlation` — the input shows them moving together, nothing more.
19
+ - `hypothesized` — you are proposing the causal direction.
20
+ - `evidenced` — the input states or directly demonstrates the causation.
21
+ A link with no label is an error. The three are never collapsed.
22
+ 3. Extend a chain only while the next link names a variable already in
23
+ `variables` or evidenced in the input. If the next link would introduce
24
+ an unevidenced variable, the chain stops there.
25
+ 4. A chain enters `loops` only when it closes on a variable already in the
26
+ diagram. If it does not close, record it as an open chain and label it
27
+ as one. Do not call it a loop.
28
+ 5. For each loop, state whether it is reinforcing (the effect feeds the
29
+ cause) or balancing (the effect dampens the cause), and name the link
30
+ that makes it so.
31
+ 6. Record a `delays` entry only where the input states a lag: a duration
32
+ ("about six weeks later") or an explicit "after a delay". A dated
33
+ sequence ("prices rose in March, churn rose in April") is not a stated
34
+ lag. An inferred delay, including one read off dates, is an
35
+ `assumptions` entry, not a `delays` entry.
36
+
37
+ ## Output block
38
+
39
+ Emit the `causal_loop` block from `references/contract.md`: `variables`,
40
+ `links`, `loops`, `delays`.
41
+
42
+ A closed loop is a cycle, so a run that produces one gets a Mermaid
43
+ diagram:
44
+
45
+ ```mermaid
46
+ flowchart LR
47
+ A[Knowledge gaps] --> B[Engineer interruptions]
48
+ B --> C[Less documentation time]
49
+ C --> A
50
+ ```
51
+
52
+ A run that produces only open chains has no cycle and gets prose.
53
+
54
+ ## Stop when
55
+
56
+ Every chain has either closed into a loop or stopped at the link where the
57
+ next variable would be unevidenced.
58
+
59
+ Stopping at an unevidenced link is the framework working. A chain that runs
60
+ out of evidence has told you where the evidence ends, and that is a
61
+ finding. It is never extended with a guess to make a loop close.
@@ -0,0 +1,43 @@
1
+ # Iceberg Model
2
+
3
+ ## When it fits
4
+
5
+ A symptom that keeps returning, with layers under it nobody has examined.
6
+
7
+ ## Process
8
+
9
+ You are executing the Iceberg Model within the systems-thinking skill.
10
+ Four levels, top to bottom. Depth is fixed — you always work all four,
11
+ because the levels are the framework. What varies is whether a level has
12
+ anything under it.
13
+
14
+ 1. `event` — the symptom as stated. One sentence. Quote the input where
15
+ you can.
16
+ 2. `patterns` — what has happened more than once. A pattern needs at least
17
+ two occurrences named in the input. One occurrence is an event, not a
18
+ pattern.
19
+ 3. `structures` — the arrangements that make the pattern likely: policies,
20
+ incentives, tooling, team shape, how work is routed.
21
+ 4. `mental_models` — the beliefs that keep those structures in place.
22
+
23
+ Before recording any entry, name the specific input fact supporting it. If
24
+ you cannot name one, the level renders empty, stating what evidence would
25
+ fill it. Do not infer downward and present the result as observation. The
26
+ lower two levels are where invention is easiest and where it does the most
27
+ damage — a fabricated mental model reads exactly like an insight.
28
+
29
+ ## Output block
30
+
31
+ Emit the `iceberg` block from `references/contract.md`: `event`,
32
+ `patterns`, `structures`, `mental_models`. Anything the input did not state
33
+ goes in the core `assumptions` field with status `unverified`, never into a
34
+ level as fact.
35
+
36
+ ## Stop when
37
+
38
+ All four levels hold either a supported entry or an explicit statement of
39
+ what evidence would fill them.
40
+
41
+ An empty level is a finding, not a shortfall. It names where the input runs
42
+ out, which is useful on its own, and it is never padded with a plausible
43
+ guess to make the output look complete.