@v11g/agents-rock 1.0.7 → 1.0.9

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 (215) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/plugins/reasoning/.claude-plugin/plugin.json +1 -1
  4. package/plugins/reasoning/evals/format-handoff-folder/graders/folder-named.md +8 -0
  5. package/plugins/reasoning/evals/format-handoff-folder/graders/skill-fired.md +7 -0
  6. package/plugins/reasoning/evals/format-handoff-folder/prompt.md +9 -0
  7. package/plugins/reasoning/evals/format-ids-and-supports/graders/ids-in-chat.md +8 -0
  8. package/plugins/reasoning/evals/format-ids-and-supports/graders/skill-fired.md +7 -0
  9. package/plugins/reasoning/evals/format-ids-and-supports/graders/supports-resolve.md +11 -0
  10. package/plugins/reasoning/evals/format-ids-and-supports/prompt.md +8 -0
  11. package/plugins/reasoning/evals/format-root-candidate-status/graders/candidate-status.md +11 -0
  12. package/plugins/reasoning/evals/format-root-candidate-status/graders/skill-fired.md +7 -0
  13. package/plugins/reasoning/evals/format-root-candidate-status/prompt.md +8 -0
  14. package/plugins/reasoning/evals/format-unsaved-continues/graders/analysis-completes.md +9 -0
  15. package/plugins/reasoning/evals/format-unsaved-continues/graders/not-saved-stated.md +9 -0
  16. package/plugins/reasoning/evals/format-unsaved-continues/graders/skill-fired.md +7 -0
  17. package/plugins/reasoning/evals/format-unsaved-continues/prompt.md +8 -0
  18. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +5 -6
  19. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +4 -6
  20. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +1 -1
  21. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +4 -5
  22. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/systemic-design-fired.md +10 -0
  23. package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +2 -2
  24. package/plugins/reasoning/evals/ps-interview-first-question/graders/look-in-present.md +10 -0
  25. package/plugins/reasoning/evals/ps-interview-first-question/graders/no-fixed-exits.md +11 -0
  26. package/plugins/reasoning/evals/ps-interview-first-question/graders/options-from-input.md +15 -0
  27. package/plugins/reasoning/evals/ps-interview-first-question/graders/skill-fired.md +7 -0
  28. package/plugins/reasoning/evals/ps-interview-first-question/graders/source-hint.md +11 -0
  29. package/plugins/reasoning/evals/ps-interview-first-question/graders/targets-gap.md +13 -0
  30. package/plugins/reasoning/evals/ps-interview-first-question/prompt.md +8 -0
  31. package/plugins/reasoning/evals/ps-interview-five-whys/graders/look-in-present.md +10 -0
  32. package/plugins/reasoning/evals/ps-interview-five-whys/graders/no-fixed-exits.md +11 -0
  33. package/plugins/reasoning/evals/ps-interview-five-whys/graders/options-from-input.md +11 -0
  34. package/plugins/reasoning/evals/ps-interview-five-whys/graders/skill-fired.md +7 -0
  35. package/plugins/reasoning/evals/ps-interview-five-whys/graders/source-hint.md +11 -0
  36. package/plugins/reasoning/evals/ps-interview-five-whys/graders/targets-gap.md +15 -0
  37. package/plugins/reasoning/evals/ps-interview-five-whys/prompt.md +8 -0
  38. package/plugins/reasoning/evals/ps-router-handoff/graders/no-reselection.md +11 -0
  39. package/plugins/reasoning/evals/ps-router-handoff/graders/runs-rca.md +8 -0
  40. package/plugins/reasoning/evals/ps-router-handoff/graders/skill-fired.md +7 -0
  41. package/plugins/reasoning/evals/ps-router-handoff/prompt.md +11 -0
  42. package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/confidence-single-word.md +10 -0
  43. package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/confidence-single-word.md +10 -0
  44. package/plugins/reasoning/evals/routing-classify-only/graders/confidence-single-word.md +10 -0
  45. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/confidence-single-word.md +10 -0
  46. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-unavailability-claim.md +10 -0
  47. package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/confidence-single-word.md +10 -0
  48. package/plugins/reasoning/evals/routing-simple-null-pointer/graders/confidence-single-word.md +10 -0
  49. package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-single-word.md +10 -0
  50. package/plugins/reasoning/evals/sd-default-selection/graders/dates-traced.md +15 -0
  51. package/plugins/reasoning/evals/sd-default-selection/graders/interventions-cite-entries.md +12 -0
  52. package/plugins/reasoning/evals/sd-default-selection/graders/owners-from-input.md +8 -0
  53. package/plugins/reasoning/evals/sd-default-selection/graders/plan-steps-complete.md +21 -0
  54. package/plugins/reasoning/evals/sd-default-selection/graders/selects-systemic-design.md +12 -0
  55. package/plugins/reasoning/evals/sd-default-selection/graders/skill-fired.md +7 -0
  56. package/plugins/reasoning/evals/sd-default-selection/graders/systemic-design-fired.md +10 -0
  57. package/plugins/reasoning/evals/sd-default-selection/prompt.md +11 -0
  58. package/plugins/reasoning/evals/sd-named-framework-software/graders/names-no-skill.md +11 -0
  59. package/plugins/reasoning/evals/sd-named-framework-software/graders/no-systemic-block.md +10 -0
  60. package/plugins/reasoning/evals/sd-named-framework-software/graders/systemic-design-fired.md +10 -0
  61. package/plugins/reasoning/evals/sd-named-framework-software/prompt.md +8 -0
  62. package/plugins/reasoning/evals/sd-not-software/graders/no-systemic-block.md +10 -0
  63. package/plugins/reasoning/evals/sd-not-software/graders/says-out-of-scope.md +10 -0
  64. package/plugins/reasoning/evals/sd-not-software/prompt.md +8 -0
  65. package/plugins/reasoning/evals/sd-raw-input/graders/first-question-targets-model.md +11 -0
  66. package/plugins/reasoning/evals/sd-raw-input/graders/look-in-present.md +10 -0
  67. package/plugins/reasoning/evals/sd-raw-input/graders/model-gap-blocks-stop.md +14 -0
  68. package/plugins/reasoning/evals/sd-raw-input/graders/model-in-assumptions.md +13 -0
  69. package/plugins/reasoning/evals/sd-raw-input/graders/no-fixed-exits.md +11 -0
  70. package/plugins/reasoning/evals/sd-raw-input/graders/skill-fired.md +7 -0
  71. package/plugins/reasoning/evals/sd-raw-input/graders/systemic-design-fired.md +10 -0
  72. package/plugins/reasoning/evals/sd-raw-input/prompt.md +8 -0
  73. package/plugins/reasoning/evals/sd-theory-of-change/graders/links-carry-assumptions.md +9 -0
  74. package/plugins/reasoning/evals/sd-theory-of-change/graders/no-dates.md +8 -0
  75. package/plugins/reasoning/evals/sd-theory-of-change/graders/skill-fired.md +7 -0
  76. package/plugins/reasoning/evals/sd-theory-of-change/graders/systemic-design-fired.md +10 -0
  77. package/plugins/reasoning/evals/sd-theory-of-change/graders/toc-block.md +10 -0
  78. package/plugins/reasoning/evals/sd-theory-of-change/prompt.md +8 -0
  79. package/plugins/reasoning/evals/sd-three-horizons/graders/dates-are-assumptions.md +11 -0
  80. package/plugins/reasoning/evals/sd-three-horizons/graders/owners-are-roles.md +8 -0
  81. package/plugins/reasoning/evals/sd-three-horizons/graders/skill-fired.md +7 -0
  82. package/plugins/reasoning/evals/sd-three-horizons/graders/systemic-design-fired.md +10 -0
  83. package/plugins/reasoning/evals/sd-three-horizons/graders/three-horizons-block.md +10 -0
  84. package/plugins/reasoning/evals/sd-three-horizons/prompt.md +9 -0
  85. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +2 -2
  86. package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +7 -4
  87. package/plugins/reasoning/evals/st-interview-first-question/graders/look-in-present.md +10 -0
  88. package/plugins/reasoning/evals/st-interview-first-question/graders/no-fixed-exits.md +11 -0
  89. package/plugins/reasoning/evals/st-interview-first-question/graders/options-from-input.md +11 -0
  90. package/plugins/reasoning/evals/st-interview-first-question/graders/skill-fired.md +7 -0
  91. package/plugins/reasoning/evals/st-interview-first-question/graders/source-hint.md +11 -0
  92. package/plugins/reasoning/evals/st-interview-first-question/graders/targets-gap.md +13 -0
  93. package/plugins/reasoning/evals/st-interview-first-question/prompt.md +8 -0
  94. package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -6
  95. package/plugins/reasoning/skills/problem-router/README.md +6 -0
  96. package/plugins/reasoning/skills/problem-router/SKILL.md +11 -11
  97. package/plugins/reasoning/skills/problem-router/references/contract.md +117 -16
  98. package/plugins/reasoning/skills/problem-solving/README.md +10 -0
  99. package/plugins/reasoning/skills/problem-solving/SKILL.md +15 -3
  100. package/plugins/reasoning/skills/problem-solving/references/contract.md +117 -16
  101. package/plugins/reasoning/skills/problem-solving/references/interview.md +68 -0
  102. package/plugins/reasoning/skills/systemic-design/README.md +45 -0
  103. package/plugins/reasoning/skills/systemic-design/SKILL.md +184 -0
  104. package/plugins/reasoning/skills/systemic-design/frameworks/systemic-design.md +39 -0
  105. package/plugins/reasoning/skills/systemic-design/frameworks/theory-of-change.md +34 -0
  106. package/plugins/reasoning/skills/systemic-design/frameworks/three-horizons.md +28 -0
  107. package/plugins/reasoning/skills/systemic-design/references/contract.md +205 -0
  108. package/plugins/reasoning/skills/systemic-design/references/interview.md +68 -0
  109. package/plugins/reasoning/skills/systems-thinking/README.md +13 -6
  110. package/plugins/reasoning/skills/systems-thinking/SKILL.md +18 -6
  111. package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +5 -2
  112. package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +16 -7
  113. package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +4 -5
  114. package/plugins/reasoning/skills/systems-thinking/references/contract.md +117 -16
  115. package/plugins/reasoning/skills/systems-thinking/references/interview.md +68 -0
  116. package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
  117. package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +3 -2
  118. package/plugins/solution-architect/skills/analyze-requirements/references/rewriting.md +108 -0
  119. package/plugins/solution-architect/skills/analyze-requirements/scripts/drift.mjs +64 -0
  120. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +4 -1
  121. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/drift.mjs +31 -0
  122. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/git-diff.mjs +27 -0
  123. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +16 -1
  124. package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/state.mjs +52 -0
  125. package/plugins/solution-architect/skills/analyze-requirements/scripts/record.mjs +87 -0
  126. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift-cli.test.mjs +178 -0
  127. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/drift.test.mjs +76 -0
  128. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/git-diff.test.mjs +62 -0
  129. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +9 -0
  130. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/record-cli.test.mjs +136 -0
  131. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rerun-safety.test.mjs +53 -0
  132. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/rewriting.test.mjs +80 -0
  133. package/plugins/solution-architect/skills/analyze-requirements/scripts/test/state.test.mjs +123 -0
  134. package/plugins/solution-architect/skills/estimate/README.md +20 -15
  135. package/plugins/solution-architect/skills/estimate/SKILL.md +10 -6
  136. package/plugins/solution-architect/skills/estimate/assets/estimate-template-agentic.html +111 -138
  137. package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +361 -247
  138. package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +5 -4
  139. package/plugins/solution-architect/skills/estimate/evals/evals.json +7 -7
  140. package/plugins/solution-architect/skills/estimate/references/agentic-estimation.md +4 -2
  141. package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +38 -82
  142. package/plugins/solution-architect/skills/estimate/references/interview.md +56 -35
  143. package/plugins/solution-architect/skills/estimate/references/scoring-guide.md +40 -4
  144. package/plugins/solution-architect/skills/estimate/references/techniques.md +29 -21
  145. package/plugins/solution-architect/skills/estimate/references/writing.md +75 -43
  146. package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +37 -5
  147. package/plugins/solution-architect/skills/estimate/scripts/lib/context-schema.mjs +35 -0
  148. package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +17 -75
  149. package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +5 -5
  150. package/plugins/solution-architect/skills/estimate/scripts/lib/pricing.mjs +78 -0
  151. package/plugins/solution-architect/skills/estimate/scripts/lib/project-price.mjs +96 -0
  152. package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +67 -19
  153. package/plugins/solution-architect/skills/estimate/scripts/lib/roadmap.mjs +4 -5
  154. package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +48 -73
  155. package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +28 -13
  156. package/plugins/solution-architect/skills/estimate/scripts/lib/score-csv.mjs +2 -2
  157. package/plugins/solution-architect/skills/estimate/scripts/lib/score-html.mjs +1 -1
  158. package/plugins/solution-architect/skills/estimate/scripts/lib/scoring.mjs +2 -2
  159. package/plugins/solution-architect/skills/estimate/scripts/render.mjs +1 -1
  160. package/plugins/solution-architect/skills/estimate/scripts/score-review.mjs +1 -1
  161. package/plugins/solution-architect/skills/estimate/scripts/test/browser-agentic.test.mjs +143 -0
  162. package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +209 -50
  163. package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +57 -32
  164. package/plugins/solution-architect/skills/estimate/scripts/test/e2e.test.mjs +52 -0
  165. package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +25 -112
  166. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-fail.md +0 -10
  167. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-estimation-pass.md +0 -10
  168. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/agentic-inputs.json +1 -7
  169. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +11 -10
  170. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +6 -0
  171. package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +17 -21
  172. package/plugins/solution-architect/skills/estimate/scripts/test/pricing.test.mjs +88 -0
  173. package/plugins/solution-architect/skills/estimate/scripts/test/project-price.test.mjs +93 -0
  174. package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +86 -24
  175. package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +185 -31
  176. package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +114 -61
  177. package/plugins/solution-architect/skills/estimate/scripts/test/score-review.test.mjs +34 -1
  178. package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +103 -9
  179. package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +292 -71
  180. package/plugins/solution-architect/skills/new-lead/SKILL.md +4 -3
  181. package/plugins/solution-architect/skills/proposal/README.md +9 -7
  182. package/plugins/solution-architect/skills/proposal/SKILL.md +10 -7
  183. package/plugins/solution-architect/skills/proposal/evals/evals.json +29 -11
  184. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/ARCHITECTURE.md +65 -0
  185. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/brief.md +21 -0
  186. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation-inputs.json +126 -0
  187. package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-unpriced-harborline/estimation.json +215 -0
  188. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +224 -34
  189. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +103 -114
  190. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +48 -22
  191. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +211 -33
  192. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +102 -117
  193. package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +48 -25
  194. package/plugins/solution-architect/skills/proposal/references/interview.md +3 -6
  195. package/plugins/solution-architect/skills/proposal/references/review.md +5 -4
  196. package/plugins/solution-architect/skills/proposal/references/writing.md +33 -31
  197. package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +1 -1
  198. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +5 -22
  199. package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +18 -8
  200. package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +6 -2
  201. package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +24 -33
  202. package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +1 -1
  203. package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +50 -47
  204. package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +99 -40
  205. package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +11 -5
  206. package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +1 -1
  207. package/plugins/solution-architect/skills/proposal/scripts/test/evals-fixtures.test.mjs +39 -0
  208. package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +67 -54
  209. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +6 -1
  210. package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +8 -12
  211. package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +1 -1
  212. package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +3 -2
  213. package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +0 -9
  214. package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +0 -15
  215. package/plugins/solution-architect/skills/estimate/scripts/lib/scenario-schema.mjs +0 -39
@@ -0,0 +1,184 @@
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
+ - The problem folder a hand-off names, per `references/contract.md`
43
+ Saving. Write this run's file there.
44
+
45
+ ## Entry paths
46
+
47
+ ```
48
+ /reasoning:systemic-design "<problem>" skill recommends, human picks
49
+ /reasoning:systemic-design <framework> "<problem>" human has already chosen
50
+ hand-off after human confirmation router or systems-thinking recommended
51
+ ```
52
+
53
+ ## Framework selection
54
+
55
+ First match wins. Read top to bottom and stop at the first row that holds.
56
+
57
+ | Order | Test against the input | Framework |
58
+ | --- | --- | --- |
59
+ | 1 | The input names one chosen intervention and asks how it reaches an outcome. | `theory_of_change` |
60
+ | 2 | The input names a current state and a desired future state. | `three_horizons` |
61
+ | 3 | Otherwise — a system that needs changing, no path chosen yet. | `systemic_design` |
62
+
63
+ "We want product teams, so let's pilot one team" holds for rows 1 and 2;
64
+ row 1 wins because an intervention is already chosen.
65
+
66
+ See `frameworks/theory-of-change.md`, `frameworks/three-horizons.md`, and
67
+ `frameworks/systemic-design.md` for the process and stopping test of each.
68
+
69
+ Shortlist two candidates, name your pick with a one-line reason, and let
70
+ the human choose. When the human named a framework, that is the choice and
71
+ it runs — skip this section entirely, no confirmation step.
72
+
73
+ ## Process
74
+
75
+ 1. Establish the framing: the problem as stated, as `problem-router`
76
+ reframed it, or as a handed-in `systems-thinking` result models it. If
77
+ it is a software-design request, stop here per Failure modes — even
78
+ when a framework is named.
79
+ 2. Select the framework:
80
+ - Named already (human, or hand-off with confirmation) → that's the
81
+ choice, go to step 3.
82
+ - Not named → apply the first-match table above, shortlist it plus the
83
+ next-best candidate, and recommend the first with a one-line reason.
84
+ Then test, don't infer: is `AskUserQuestion` actually available in
85
+ this session? If yes, ask via `AskUserQuestion` and wait for the
86
+ answer. If no — the tool is unavailable, or the run is otherwise
87
+ non-interactive — you are headless: take your own recommendation,
88
+ record it agent-selected and unconfirmed, and go straight to step 3.
89
+ Naming the shortlist and stopping there, without asking and without
90
+ proceeding, is not a valid outcome on either branch.
91
+ 3. Open the matching file under `frameworks/` and follow its process
92
+ exactly.
93
+ 4. Stop at that file's own stopping test. Apply the test — see each file's
94
+ Stop when section.
95
+ 4b. If the stopping test has not passed, follow
96
+ `references/interview.md`. With a human present it returns you to
97
+ step 3 with new evidence; headless, it shapes the first open question.
98
+ Then continue to step 5.
99
+ 4c. Even when the stopping test passes, an actor, behaviour, or structure
100
+ the plan relies on that rests only on an `unverified` assumption is a
101
+ model gap. Pick the one the most interventions depend on and treat it
102
+ as the named gap for `references/interview.md`, with its trigger 1
103
+ counted as met. With a human present, ask before emitting; headless,
104
+ make it the first `open_questions` entry. The plan stays complete — do
105
+ not label it unfinished; never say no further evidence is needed.
106
+ 5. Emit the result per Output contract below.
107
+
108
+ ## Output contract
109
+
110
+ Emit the six core fields plus exactly one framework block, per
111
+ `references/contract.md` — the single source of truth for field names,
112
+ evidence types, assumption status, confidence, and rendering.
113
+
114
+ ## Guardrails
115
+
116
+ Each has a test — apply the test, not a judgment call.
117
+
118
+ - **Every change traces to the system.** Test: does each intervention,
119
+ move, or activity name the `evidence` or `assumptions` entry it targets?
120
+ No → cut it.
121
+ - **No invented system model.** Test: for each actor or structure the plan
122
+ relies on, did the input state it? No → `assumptions`, status
123
+ `unverified`, and it is a candidate gap for the interview.
124
+ - **Dates and owners come from the input.** Test: is each `when` and each
125
+ named person in the input? A `when` that is not → also an `assumptions`
126
+ entry, status `unverified`. An owner that is not → written as a role,
127
+ never an invented name.
128
+ - **A plan, not the doing.** Test: does the output draft a message, an org
129
+ chart, a file, or run a step? Yes → stop and hand the plan back.
130
+ - **One framework per run.** Test: has the first framework's stopping test
131
+ fired, and is there a stated reason a second adds something? Both must
132
+ be yes — and even then the second is a second run, never a second block.
133
+ - **Depth scales to the problem.** Test, sentence by sentence: does this
134
+ sentence name a specific fact, quote, figure, or `evidence` entry from
135
+ THIS input? If it would read as true no matter what the input said, cut
136
+ it or replace it with a plain "no evidence for this."
137
+
138
+ ## Failure modes
139
+
140
+ - **Software-design request** — services, databases, scaling, an
141
+ architecture style. Say this skill plans changes to systems of people
142
+ and practice, and a software design tool fits the request. Name no
143
+ specific skill. Run no framework — this holds even when the human named
144
+ one.
145
+ - **Bounded defect or one-off outage.** Hand to `problem-solving`.
146
+ - **"Why does this keep happening", no model.** Recommend
147
+ `systems-thinking` first; run here only if the human says so.
148
+ - **Framework named but unavailable** — from PRD §24's later set:
149
+ Transition Design, Service / Ecosystem Design. Say it isn't built yet,
150
+ and name the closest framework from the table above with the difference
151
+ stated. Don't improvise the framework.
152
+ - **Framework named that belongs to another skill** — say which skill owns
153
+ it and hand over.
154
+ - **Asking without naming the gap.** An interview question must fill a
155
+ specific field the stopping test is blocked on.
156
+ - **A source hint that names what to expect.** `Look in:` names where the
157
+ evidence lives, never what the human will find there.
158
+
159
+ ## Examples
160
+
161
+ **Agent-selected — no path chosen**
162
+
163
+ Input: "Our hospital's discharge process keeps backing up. Nurses wait on
164
+ pharmacy sign-off, pharmacy waits on doctors' notes, doctors write notes at
165
+ end of shift. Every local fix got bypassed within a month. The discharge
166
+ lead wants this fixed by the end of Q2."
167
+
168
+ Row 1 doesn't hold — no intervention is chosen. Row 2 doesn't hold — no
169
+ future state is described. Row 3: `systemic_design`, shortlisted against
170
+ `three_horizons`. Run `frameworks/systemic-design.md`. Why staff return to
171
+ old habits is not stated, so it goes in `assumptions` as `unverified`. The
172
+ plan's final step can use "end of Q2"; any earlier date is also an
173
+ assumption. The discharge lead is named, so that owner stays; other owners
174
+ are roles. Emit the six core fields plus one `systemic_design` block.
175
+
176
+ **Human-named**
177
+
178
+ Input: `/reasoning:systemic-design theory_of_change "Give each product
179
+ team its own on-call rota instead of central ops. We want fewer repeat
180
+ incidents."`
181
+
182
+ `theory_of_change` runs — no shortlist. Six stages, five links, each link
183
+ with its assumption, no dates. Emit the six core fields plus one
184
+ `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.
@@ -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,205 @@
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
+ ## Ids and links
21
+
22
+ Every entry carries an `id`, unique within the run:
23
+
24
+ | Entry | Prefix |
25
+ | ----- | ------ |
26
+ | `evidence` | `e` — `e1`, `e2`, … |
27
+ | `assumptions` | `a` |
28
+ | `open_questions` | `q` |
29
+ | any item inside the framework block | `c` |
30
+
31
+ Number in order of first appearance. An entry keeps its id when the
32
+ result is re-run after an interview answer; a new entry takes the next
33
+ free number. Never reuse an id within a run.
34
+
35
+ Framework block items follow one rule, for every block:
36
+
37
+ - An item that is a string becomes `{id, text}`.
38
+ - A single-value field that holds a claim (`rca.symptom`, `pdca.metric`,
39
+ …) is an item too. The router block's `problem_class`,
40
+ `reasoning_skill`, `recommended_framework` and `confidence` stay plain
41
+ values — they are routing labels, not claims. A `null` stays `null`.
42
+ - An item that is an object (`{step, owner_role, when, signal}`,
43
+ `{from, to, assumption}`, …) gains `id` and keeps its fields.
44
+ - A field that refers to another item (`links.from`, `links.to`, the
45
+ entry an intervention targets, the element a leverage point sits on)
46
+ holds that item's id, not its text.
47
+ - A cause labelled `root` or `root_candidate` carries the label as
48
+ `status`.
49
+
50
+ Links:
51
+
52
+ - `evidence` and `assumptions` entries carry `supports: [ids]` — the `c`
53
+ items they back. An empty list is a finding: the entry backs nothing.
54
+ - `open_questions` entries carry `blocks: [ids]` — the `c` items the
55
+ question holds back.
56
+
57
+ "Name the `evidence` entry that ties this cause to the symptom" is
58
+ answered by an id in that entry's `supports`.
59
+
60
+ ## Framework blocks
61
+
62
+ | Block | Fields |
63
+ | ----- | ------ |
64
+ | `router` | `problem_class`, `reasoning_skill`, `recommended_framework`, `confidence`, `why`, `frameworks_rejected` |
65
+ | `double_diamond` | `discover`, `define`, `develop`, `deliver` |
66
+ | `rca` | `symptom`, `immediate`, `contributing`, `underlying`, `root`, `actions` |
67
+ | `five_whys` | `why_chain`, `root_candidate`, `uncertainties` |
68
+ | `a3` | `background`, `current`, `problem`, `target`, `causes`, `countermeasures`, `plan`, `follow_up` |
69
+ | `pdca` | `hypothesis`, `test`, `metric`, `expected`, `actual`, `next` |
70
+ | `iceberg` | `event`, `patterns`, `structures`, `mental_models` |
71
+ | `system_map` | `system_boundary`, `actors`, `components`, `relationships`, `dependencies`, `external_factors` |
72
+ | `causal_loop` | `variables`, `links`, `loops`, `delays` |
73
+ | `leverage_points` | `elements`, `points` |
74
+ | `systemic_design` | `explore`, `reframe`, `create`, `catalyse` |
75
+ | `theory_of_change` | `inputs`, `activities`, `outputs`, `short_term_outcomes`, `long_term_outcomes`, `impact`, `links` |
76
+ | `three_horizons` | `h1`, `h2`, `h3` |
77
+
78
+ Later skills add blocks. The core never changes — that is what lets one
79
+ skill consume another's result without knowing which framework produced
80
+ it.
81
+
82
+ ## Evidence types
83
+
84
+ `user-provided fact`, `document`, `log`, `metric`, `interview`,
85
+ `observation`, `external source`, `inferred`.
86
+
87
+ Anything `inferred` is never rendered as fact. If the input did not state
88
+ it, it belongs in `assumptions`, not `evidence`.
89
+
90
+ ## Assumption status
91
+
92
+ `unverified` — nothing has confirmed it.
93
+ `confirmed` — the human confirmed it during this run.
94
+
95
+ Default is `unverified`. An assumption is never silently promoted.
96
+
97
+ ## Confidence
98
+
99
+ `low` / `medium` / `high`. Numeric confidence is never emitted: `0.84`
100
+ implies a precision this reasoning does not have.
101
+
102
+ Confidence reflects evidence quantity, evidence quality, contradictions
103
+ in the input, and how many inferential steps separate the claim from the
104
+ evidence.
105
+
106
+ ## Rendering
107
+
108
+ In chat: markdown headings, one per core field, then the framework block.
109
+ Each entry's id renders as a tag after it — `[e1]`, `[c4]` — so the human
110
+ can refer to it. Its `supports` or `blocks` list renders right after the
111
+ tag as `-> [c1, c2]`; an empty list renders as `-> []`, never as prose in
112
+ its place.
113
+
114
+ A structure containing a cycle gets a diagram; one without gets prose.
115
+ Prose renders a cycle as a list, and a list loses the closure — `A -> B ->
116
+ C -> A` read top to bottom does not show that it comes back.
117
+
118
+ ## Saving
119
+
120
+ Every run is saved to one file:
121
+
122
+ ```
123
+ ~/.reasoning/problems/<YYYY-MM-DD>-<slug>/<NN>-<skill>.md
124
+ ```
125
+
126
+ Resolve `~` to the absolute home directory before writing.
127
+
128
+ - `<YYYY-MM-DD>` — today's date, when the problem folder is created.
129
+ - `<slug>` — the problem in 2–5 lowercase kebab-case words. If that folder
130
+ already exists and this run did not start from a hand-off, append `-2`,
131
+ `-3`, …. List `~/.reasoning/problems/` to check.
132
+ - `<NN>` — `01`, `02`, …: the next free number in the folder. List the
133
+ folder to find it.
134
+ - `<skill>` — `problem-router`, `problem-solving`, `systems-thinking`, or
135
+ `systemic-design`.
136
+
137
+ | Event | Write |
138
+ | ----- | ----- |
139
+ | A run starts with no hand-off | create a new problem folder |
140
+ | A run starts from a hand-off | use the folder the hand-off names |
141
+ | The framework's first pass completes, before any interview round | write `<NN>-<skill>.md` |
142
+ | An interview answer changes the result | rewrite the same file, ids kept |
143
+ | The human re-runs a skill on the same problem | the next `<NN>`; the old file stays |
144
+ | The result is emitted | rewrite the same file, ids kept |
145
+
146
+ Every hand-off names the problem folder path, so the receiving skill
147
+ writes into it. Name it even when this run's write failed; the receiving
148
+ skill creates the folder if it is missing.
149
+
150
+ If a write is refused or fails, continue in chat, say once "not saved:
151
+ <reason>", and do not retry within the run.
152
+
153
+ The file holds the core fields and the framework block as YAML
154
+ front-matter above the markdown body chat showed. No second JSON file is
155
+ written — it would be a duplicate representation with nothing keeping the
156
+ two in agreement.
157
+
158
+ Double-quote every free-text value, or use `|` for multi-line text — a
159
+ colon followed by a space inside an unquoted value breaks the YAML.
160
+
161
+ Example saved file:
162
+
163
+ ```markdown
164
+ ---
165
+ problem: "Deploys fail intermittently after the runner image update."
166
+ framework_used: five-whys
167
+ framework_reason: "Narrow scope, causal chain looks linear."
168
+ evidence:
169
+ - id: e1
170
+ type: log
171
+ ref: "ci-run-4471"
172
+ supports: [c1, c2]
173
+ assumptions:
174
+ - id: a1
175
+ statement: "Staging mirrors production runner config."
176
+ status: unverified
177
+ supports: [c2]
178
+ open_questions:
179
+ - id: q1
180
+ text: "Who owns the runner image?"
181
+ blocks: [c3]
182
+ - id: q2
183
+ text: |
184
+ Which runner pool failed — shared or dedicated?
185
+ Look in: the CI runner dashboard
186
+ blocks: [c2]
187
+ five_whys:
188
+ why_chain:
189
+ - id: c1
190
+ text: "Deploys fail -> the runner cannot pull the base image"
191
+ - id: c2
192
+ text: "It cannot pull -> the registry credential expired"
193
+ root_candidate:
194
+ id: c3
195
+ text: "Credential rotation is manual and undocumented."
196
+ status: root_candidate
197
+ uncertainties:
198
+ - id: c4
199
+ text: "Whether rotation was ever automated."
200
+ ---
201
+
202
+ # Problem analysis
203
+
204
+ ...
205
+ ```
@@ -0,0 +1,68 @@
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
+ After each re-run, rewrite the saved file per `references/contract.md`
53
+ Saving, keeping every existing id.
54
+
55
+ | Situation | Handling |
56
+ | --------- | -------- |
57
+ | Answer contradicts existing evidence | Keep both, and name the contradiction in `open_questions`. |
58
+ | 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. |
59
+ | 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. |
60
+ | Human rejects the question to ask something | Answer in chat, then re-ask the same question. The round does not count. |
61
+ | Human rejects the question with no message | Treat as Stop. |
62
+
63
+ ## End
64
+
65
+ The loop ends when the stopping rule fires, no askable gap remains, the
66
+ human picks Stop, an answer meets another class's definition, or round 6
67
+ completes. Say in the output which one ended
68
+ it.
@@ -8,13 +8,13 @@ Answers: **what system is producing this?**
8
8
 
9
9
  | Framework | Use it when |
10
10
  | --- | --- |
11
- | Iceberg Model | A symptom keeps returning and the layers under it are unexamined. |
12
- | System Map | Two or more actors, and the relationships between them are unclear. |
13
- | Causal Loop | The variables are known and suspected of feeding back on each other. |
14
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
15
 
16
- Selection is first-match-wins in that reverse order — where-to-intervene
17
- first, iceberg last. The skill shortlists two and recommends one; you pick.
16
+ Selection is first-match-wins, top to bottom. The skill shortlists two
17
+ and recommends one; you pick.
18
18
 
19
19
  ## Usage
20
20
 
@@ -25,11 +25,15 @@ first, iceberg last. The skill shortlists two and recommends one; you pick.
25
25
 
26
26
  Or let `problem-router` classify the problem first and hand it over.
27
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
+
28
32
  ## What it will not do
29
33
 
30
34
  - Name a fix, or write one.
31
35
  - Produce an adoption plan, a sequence, or an owner — that is
32
- `systemic-design`, which is not built in this release.
36
+ `systemic-design`, the next run once the model exists.
33
37
  - Run on a bounded one-function defect. That is `problem-solving`.
34
38
 
35
39
  ## Output
@@ -37,3 +41,6 @@ Or let `problem-router` classify the problem first and hand it over.
37
41
  Six core fields plus exactly one framework block, per the shared contract
38
42
  in `references/contract.md`. Evidence and assumptions stay separable, and
39
43
  a diagram appears only when the structure contains a cycle.
44
+ Every run is also saved under `~/.reasoning/problems/`, one folder per
45
+ problem and one file per run. If Claude Code isn't allowed to write
46
+ there, the run says "not saved" and carries on.
@@ -16,8 +16,8 @@ write the fix, or edit files.
16
16
  Answer one question: **what system is producing this?**
17
17
 
18
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`, which is
20
- not built in this release.
19
+ how to change the system over time — that is `systemic-design`, the next
20
+ run once this model exists.
21
21
 
22
22
  ## When to use / When not to use
23
23
 
@@ -41,6 +41,8 @@ does it, in what order, and by when is `systemic-design`.
41
41
  recommended skill, and reasoning.
42
42
  - A prior systems-thinking result, when the human hands one in. It is
43
43
  ordinary input — richer than raw text, not a special mode.
44
+ - The problem folder a hand-off names, per `references/contract.md`
45
+ Saving. Write this run's file there.
44
46
 
45
47
  ## Entry paths
46
48
 
@@ -97,6 +99,10 @@ runs — skip this section entirely, no confirmation step.
97
99
  because the problem feels straightforward.
98
100
  4. Stop at that file's own stopping test, not at a felt sense of
99
101
  completeness. Apply the test — see each file's Stop when section.
102
+ 4b. If the stopping test has not passed, follow
103
+ `references/interview.md`. With a human present it returns you to
104
+ step 3 with new evidence; headless, it shapes the first open question.
105
+ Then continue to step 5.
100
106
  5. Emit the result per Output contract below.
101
107
 
102
108
  ## Output contract
@@ -148,9 +154,9 @@ not a judgment call.
148
154
  ## Failure modes
149
155
 
150
156
  - **Framework named that belongs to another skill** — theory of change,
151
- three horizons, explore/reframe/create/catalyse. Say `systemic-design`
152
- owns it and that the skill isn't built in this release. Don't improvise
153
- the framework here.
157
+ three horizons, explore/reframe/create/catalyse. That skill is built:
158
+ say `systemic-design` owns the framework and hand the problem over.
159
+ Don't run the framework here, and don't refuse it.
154
160
  - **Framework named but unavailable** — from PRD §17's later set: Stock and
155
161
  Flow, Rich Picture. Say it isn't built yet, and name the closest available
156
162
  framework from the table above with the difference stated, rather than
@@ -158,6 +164,12 @@ not a judgment call.
158
164
  - **Running this on a bounded defect.** One function, one service,
159
165
  reproducible — that's `problem-solving`. Say so and hand it back rather
160
166
  than producing an iceberg over a stack trace.
167
+ - **Asking without naming the gap.** An interview question must fill a
168
+ specific field, layer, or link the stopping rule is blocked on. A
169
+ question that fills nothing named is an open-ended interview — cut it.
170
+ - **A source hint that names what to expect.** `Look in:` names where the
171
+ evidence lives. Naming what the human will find there previews a cause
172
+ the evidence hasn't supported.
161
173
 
162
174
  ## Examples
163
175
 
@@ -179,7 +191,7 @@ the recurrence, but the immediate gap is who connects to whom). Recommend
179
191
  Run `frameworks/system-map.md`: seed sales, provisioning, and the named
180
192
  downstream teams; record only the handoff relationships the input states.
181
193
  "Three different fixes" is evidence of recurrence but names no new node, so
182
- nothing is added for it. Candidate nodes like "the CRM" are mentioned
194
+ nothing is added for it. Seeded nodes like "the CRM" are mentioned
183
195
  nowhere and break no recorded relationship — `external_factors`. The
184
196
  recorded relationships form no cycle, so the output is prose, not Mermaid.
185
197
  Emit the six core fields plus one `system_map` block.