@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,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The systemic-design skill must actually be invoked, not merely described.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ focus: trace
5
+ ---
6
+
7
+ PASS if the trace shows the Skill tool invoked for `systemic-design`
8
+ (skill name `systemic-design` or `reasoning:systemic-design`).
9
+ FAIL if no Skill call names systemic-design — for example only
10
+ `systems-thinking` or `problem-solving` was invoked, or none at all.
@@ -0,0 +1,11 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systemic-design skill on this. Our hospital's discharge process
7
+ keeps backing up. Nurses wait on pharmacy sign-off, pharmacy waits on
8
+ doctors' final notes, and doctors write notes at the end of their shift.
9
+ Every local fix — a pharmacy fast-lane, a discharge coordinator — got
10
+ bypassed within a month as staff went back to old habits. The discharge
11
+ lead wants this fixed by the end of Q2.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: regex
3
+ pattern: 'system-design'
4
+ flags: i
5
+ match: not_contains
6
+ target: last_message
7
+ ---
8
+
9
+ The decline points at "a software design tool" and names no specific
10
+ skill (spec: failure mode "Name no specific skill"). `systemic-design`
11
+ does not match this pattern.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits no `systemic_design`, `theory_of_change`, or
7
+ `three_horizons` block — no organisational-change plan applied to a
8
+ software architecture question. A direct technical answer given outside
9
+ the skill is allowed.
10
+ FAIL if it produces any of those framework blocks for this request.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ focus: trace
5
+ ---
6
+
7
+ PASS if the trace shows the Skill tool invoked for `systemic-design`
8
+ (skill name `systemic-design` or `reasoning:systemic-design`).
9
+ FAIL if no Skill call names systemic-design — for example only
10
+ `systems-thinking` or `problem-solving` was invoked, or none at all.
@@ -0,0 +1,8 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Invoke the systemic-design skill and run its systemic_design framework on
7
+ this: design the system for 1M concurrent users — we need to pick between
8
+ microservices and a modular monolith, and decide on the database.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits no `systemic_design`, `theory_of_change`, or
7
+ `three_horizons` block — no organisational-change plan applied to a
8
+ software architecture question. A direct technical answer given outside
9
+ the skill is allowed.
10
+ FAIL if it produces any of those framework blocks for this request.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response says the systemic-design skill does not cover
7
+ software architecture or technical system design — whether the skill ran
8
+ and declined, or the response explains why it was not run.
9
+ FAIL if it is silent on why systemic-design does not apply, or treats
10
+ the request as in scope for it.
@@ -0,0 +1,8 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systemic-design skill on this: design the system for 1M concurrent
7
+ users — we need to pick between microservices and a modular monolith, and
8
+ decide on the database.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the first entry in `open_questions` asks for a missing piece of
7
+ the system model — why the offices ignore the policy, how they are
8
+ measured, who enforces pricing — using this input's details (regional
9
+ sales offices, the pricing policy, head office).
10
+ FAIL if it asks about something the input answers, is generic enough to
11
+ fit any problem, or `open_questions` is absent.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: regex
3
+ pattern: 'look in:'
4
+ flags: i
5
+ match: contains
6
+ target: last_message
7
+ ---
8
+
9
+ The run is headless and the model is missing, so the first open question
10
+ carries its source hint.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ The plan here has to rest on assumptions the input never states — why the
7
+ offices ignore the policy, how they are measured.
8
+
9
+ PASS if the response keeps that unverified model open: it flags the
10
+ assumption the plan most depends on as a question to answer, and does not
11
+ claim that no further evidence or questions are needed.
12
+ FAIL if it says no further evidence is needed, or that it had no reason
13
+ to ask, while its plan relies on unverified assumptions about the
14
+ offices' behaviour.
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ The input states no reason the offices ignore the policy and nothing
7
+ about how they are measured or rewarded.
8
+
9
+ PASS if every actor behaviour, incentive, or structure the response relies
10
+ on beyond the input's two facts appears in `assumptions` with status
11
+ `unverified`.
12
+ FAIL if any such explanation is presented as evidence or as fact in the
13
+ framework block.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: regex
3
+ pattern: 'Stop, analyze now|[`"*/|•-][ \t]*Don.t know[ \t]*([`"*/|]|\n|$)'
4
+ flags: i
5
+ match: not_contains
6
+ target: last_message
7
+ ---
8
+
9
+ Headless, the first open question carries its two options without the
10
+ fixed exits. "Don't know" counts only as an option label (set off by a
11
+ separator, quote, or bullet), not in a sentence like "I don't know why".
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The systemic-design skill must actually be invoked, not merely described.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ focus: trace
5
+ ---
6
+
7
+ PASS if the trace shows the Skill tool invoked for `systemic-design`
8
+ (skill name `systemic-design` or `reasoning:systemic-design`).
9
+ FAIL if no Skill call names systemic-design — for example only
10
+ `systems-thinking` or `problem-solving` was invoked, or none at all.
@@ -0,0 +1,8 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systemic-design skill on this: our regional sales offices keep
7
+ ignoring the new pricing policy, and head office wants it to stick this
8
+ time.
@@ -0,0 +1,9 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the block states an assumption for each of the five transitions
7
+ between adjacent stages (inputs→activities, activities→outputs,
8
+ outputs→short-term, short-term→long-term, long-term→impact).
9
+ FAIL if any transition has no assumption.
@@ -0,0 +1,8 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the theory-of-change block carries no dates, quarters, months, or
7
+ deadlines — it is a causal chain, not a schedule.
8
+ FAIL if any stage or link carries a date or deadline.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The systemic-design skill must actually be invoked, not merely described.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ focus: trace
5
+ ---
6
+
7
+ PASS if the trace shows the Skill tool invoked for `systemic-design`
8
+ (skill name `systemic-design` or `reasoning:systemic-design`).
9
+ FAIL if no Skill call names systemic-design — for example only
10
+ `systems-thinking` or `problem-solving` was invoked, or none at all.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits a `theory_of_change` block with all six stages
7
+ (inputs, activities, outputs, short-term outcomes, long-term outcomes,
8
+ impact) and no other framework block.
9
+ FAIL if a stage is missing, or a different or second framework block
10
+ appears.
@@ -0,0 +1,8 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systemic-design skill on this. We've decided to give each product
7
+ team its own on-call rota instead of the central ops team taking every
8
+ page. We want fewer repeat incidents. How does that change get us there?
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ The input gives no dates.
7
+
8
+ PASS if every `when` on an h2 move also appears in `assumptions` with
9
+ status `unverified` (or the move says the timing is unknown).
10
+ FAIL if any `when` carries a date, quarter, or duration that is not also
11
+ recorded as an unverified assumption.
@@ -0,0 +1,8 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if every h2 move has an owner written as a role (for example "release
7
+ manager", "each team lead"), because the input names no people.
8
+ FAIL if an owner is a personal name, or a move has no owner.
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The systemic-design skill must actually be invoked, not merely described.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ focus: trace
5
+ ---
6
+
7
+ PASS if the trace shows the Skill tool invoked for `systemic-design`
8
+ (skill name `systemic-design` or `reasoning:systemic-design`).
9
+ FAIL if no Skill call names systemic-design — for example only
10
+ `systems-thinking` or `problem-solving` was invoked, or none at all.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the response emits a `three_horizons` block with h1 (today's
7
+ system), h2 (transition moves), and h3 (the desired future), and no other
8
+ framework block.
9
+ FAIL if a horizon is missing, or another or second framework block
10
+ appears.
@@ -0,0 +1,9 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systemic-design skill on this. Today every release goes through a
7
+ weekly change-advisory board that signs off each deploy by hand. We want
8
+ teams to ship on their own whenever their automated checks pass. Plan the
9
+ move from here to there.
@@ -5,8 +5,8 @@ weight: 1
5
5
 
6
6
  PASS if every causal link carries exactly one support label from
7
7
  `correlation` / `hypothesized` / `evidenced`, AND the March price rise
8
- followed by April churn is labelled `correlation` rather than `evidenced` —
9
- the input gives sequence, not demonstrated causation.
8
+ followed by April churn is labelled `correlation` or `hypothesized` — the
9
+ input gives sequence, not demonstrated causation.
10
10
 
11
11
  FAIL if any link is unlabelled, if a link carries more than one label, or if
12
12
  the pricing-churn link is labelled `evidenced`.
@@ -3,8 +3,11 @@ type: llm
3
3
  weight: 1
4
4
  ---
5
5
 
6
- PASS if `delays` is empty, absent, or contains only lags the input states.
6
+ A stated lag is a duration ("about six weeks later") or an explicit
7
+ "after a delay". A dated sequence — "prices rose in March, churn rose in
8
+ April" — is not a stated lag.
7
9
 
8
- FAIL if the response records a delay it inferred — for example "there is
9
- roughly a one-quarter lag between documentation time and knowledge gaps" —
10
- as a `delays` entry rather than as an assumption.
10
+ PASS if `delays` is empty, absent, or contains only stated lags.
11
+ FAIL if `delays` holds an inferred lag (for example "roughly a one-quarter
12
+ lag between documentation time and knowledge gaps") or a lag read off the
13
+ March→April dates, instead of recording it in `assumptions`.
@@ -0,0 +1,10 @@
1
+ ---
2
+ type: regex
3
+ pattern: 'look in:'
4
+ flags: i
5
+ match: contains
6
+ target: last_message
7
+ ---
8
+
9
+ The run is headless and the stopping rule cannot fire on this input, so
10
+ the first open question must carry its source hint.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: regex
3
+ pattern: 'Stop, analyze now|[`"*/|•-][ \t]*Don.t know[ \t]*([`"*/|]|\n|$)'
4
+ flags: i
5
+ match: not_contains
6
+ target: last_message
7
+ ---
8
+
9
+ Headless, the first open question carries its two options without the
10
+ fixed exits. "Don't know" counts only as an option label (set off by a
11
+ separator, quote, or bullet), not in a sentence like "I don't know why".
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the first entry in `open_questions` offers two concrete answer
7
+ options, each drawn from details in the input, that are dimensions to
8
+ discriminate along (for example transaction type, node, night of week)
9
+ rather than guessed causes.
10
+ FAIL if there are no options, if either option is generic, or if an
11
+ option asserts a cause (for example "a memory leak", "a bad deploy").
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: tool_used
3
+ tool: Skill
4
+ min: 1
5
+ ---
6
+
7
+ The skill must actually be invoked, not merely described.
@@ -0,0 +1,11 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ PASS if the first entry in `open_questions` includes a "Look in" line (or
7
+ its equivalent in another language) naming where the evidence lives — a
8
+ log, dashboard, trace, ticket, or owner — without saying what the human
9
+ should expect to find there.
10
+ FAIL if the line is missing, or if it names an expected finding or cause
11
+ (e.g. "check whether the DB pool is exhausted").
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: llm
3
+ weight: 1
4
+ ---
5
+
6
+ The iceberg's `structures` level is empty: the input gives an event and a
7
+ pattern, nothing about what produces them.
8
+
9
+ PASS if the first entry in `open_questions` is a question asking for
10
+ evidence that would fill that gap, and uses details from this input (its
11
+ figures, times, or components) rather than generic wording.
12
+ FAIL if it asks about something the input already answers, or is generic
13
+ enough to fit any incident, or if `open_questions` is absent.
@@ -0,0 +1,8 @@
1
+ ---
2
+ max_turns: 10
3
+ allowed_tools: [Read, Glob, Grep, Skill]
4
+ ---
5
+
6
+ Use the systems-thinking skill with the iceberg model on this. On-call
7
+ engineers keep getting paged overnight for the same disk-full alert. It
8
+ has fired on 11 of the last 14 nights.
@@ -1,9 +1,12 @@
1
1
  ---
2
- type: llm
3
- weight: 1
2
+ type: regex
3
+ pattern: '(^|\n)[ \t]*(#+[ \t]*|\*\*)?`?(router|double_diamond|rca|five_whys|a3|pdca|iceberg|system_map|causal_loop|systemic_design|theory_of_change|three_horizons)`?(\*\*)?[ \t]*:?[ \t]*(\n|$)'
4
+ flags: i
5
+ match: not_contains
6
+ target: last_message
4
7
  ---
5
8
 
6
- PASS if the response emits exactly one framework block.
7
- FAIL if it emits two or more — for example a leverage-points block plus an
8
- iceberg or system-map block — regardless of how they are labelled or
9
- whether one is called preliminary.
9
+ The expected block is `leverage_points`. Fails if any other framework
10
+ block name from the contract stands alone on a line — as a heading, a
11
+ bold label, or a YAML key — meaning a second block was emitted. A name
12
+ inside a sentence (a rejected candidate, a suggested next run) passes.
@@ -44,3 +44,9 @@ for classification only.
44
44
  because `systems-thinking` and `systemic-design` aren't built yet — it
45
45
  says so and offers the closest available option with its limitation named.
46
46
  - Doesn't emit numeric confidence — only `low` / `medium` / `high`.
47
+
48
+ ## Output
49
+
50
+ Every run is also saved under `~/.reasoning/problems/`, one folder per
51
+ problem and one file per run. If Claude Code isn't allowed to write
52
+ there, the run says "not saved" and carries on.
@@ -142,26 +142,26 @@ evidence types, assumption status, and confidence rules. Don't guess at
142
142
  any of it here; the contract is the single source of truth for the field
143
143
  set.
144
144
 
145
+ Save the run per `references/contract.md` Saving. When you recommend a
146
+ skill, name the problem folder path in the hand-off so that skill writes
147
+ into it. If this run started from a hand-off that names a folder, use it.
148
+
145
149
  ## Degradation
146
150
 
147
151
  `complex` routes to `systems-thinking`, which is built. Route to it
148
152
  normally — no caveat, no substitute.
149
153
 
150
154
  `complex-adaptive` routes to `systems-thinking` first and then
151
- `systemic-design`. The second is not built in this release. Say so plainly
152
- when you route there: the systems-thinking pass will run and produce a
153
- model, and the design pass that would turn that model into a coordinated
154
- intervention programme does not exist yet.
155
+ `systemic-design`. Both are built. Route to them in that order, normally —
156
+ the first produces the model, the second plans the change.
155
157
 
156
- Naming that gap is where this stops. Don't preview, hint at, or hedge what
157
- `systemic-design` would probably conclude — no "would likely land on X", no
158
+ Don't preview what either would conclude — no "would likely land on X", no
158
159
  floating a probable intervention even provisionally. Those findings belong
159
- to the skill that runs it, not to the router.
160
+ to the skills that run them, not to the router.
160
161
 
161
- Never quietly downgrade the classification to fit what's built. A
162
- complex-adaptive problem stays classified as complex-adaptive even though
163
- only the first leg of its route can run — the human needs the honest class
164
- to know the route is partial.
162
+ Never quietly downgrade the classification. A complex-adaptive problem
163
+ stays classified as complex-adaptive — the human needs the honest class to
164
+ know which route fits.
165
165
 
166
166
  ## Failure modes
167
167