@v11g/agents-rock 1.0.5 → 1.0.7
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/plugins/business-analyst/skills/business-analyst/evals/evals.json +54 -0
- package/plugins/business-analyst/skills/business-analyst/evals/fixtures/pre-fed-ai-contract-review/kestrel-discovery-call.md +137 -0
- package/plugins/business-analyst/skills/business-analyst/evals/fixtures/thin-warehouse-brief/havenridge-thread.md +75 -0
- package/plugins/reasoning/.claude-plugin/plugin.json +9 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/names-missing-data.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/no-invented-numbers.md +23 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/one-framework.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-fabricated-figures/prompt.md +44 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-diagram.md +8 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-padding.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/no-systems-thinking-vocabulary.md +12 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/one-framework-block.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-over-analysis/prompt.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/chain-stops-at-speculation.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/inferred-links-are-assumptions.md +10 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/root-candidate-not-asserted.md +11 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/six-core-fields.md +21 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/graders/uncertainties-present.md +9 -0
- package/plugins/reasoning/evals/guardrail-no-unsupported-root-cause/prompt.md +7 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-closest-available.md +11 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/names-owning-skill.md +9 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/no-improvised-levels.md +11 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/graders/states-unavailable.md +10 -0
- package/plugins/reasoning/evals/guardrail-unavailable-framework/prompt.md +7 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/classifies-complex.md +13 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/names-the-test-applied.md +13 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/no-analysis.md +15 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/routes-to-systems-thinking.md +12 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-adaptive-discriminator/prompt.md +15 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/classifies-ambiguous.md +8 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/every-rejection-has-a-reason.md +8 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/recommends-double-diamond.md +7 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/rejects-rca-and-five-whys.md +10 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-ambiguous-feature-request/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/classifies-without-recommending.md +10 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/no-diagnosis.md +9 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/reason-drawn-from-prompt.md +10 -0
- package/plugins/reasoning/evals/routing-classify-only/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-classify-only/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/classifies-complex-adaptive.md +8 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/names-both-skills-in-order.md +18 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/no-downgrade.md +9 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/graders/states-systemic-design-unavailable.md +15 -0
- package/plugins/reasoning/evals/routing-complex-adaptive-org-change/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/classifies-complex-adaptive.md +14 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-analysis.md +23 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-fabricated-figures.md +13 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/no-hiring-remedy.md +9 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/routes-to-systems-thinking.md +14 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-complex-delivery-slowdown/prompt.md +64 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/classifies-simple.md +7 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/no-heavy-frameworks.md +9 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/routing-discipline.md +12 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/six-core-fields.md +21 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-simple-null-pointer/prompt.md +6 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/at-most-three-class-changing-questions.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/confidence-low.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/no-invented-detail.md +10 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/graders/states-provisional.md +9 -0
- package/plugins/reasoning/evals/routing-thin-input-provisional/prompt.md +6 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/diagram-present.md +10 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/edges-carry-support-labels.md +12 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/no-invented-delays.md +10 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/open-chain-not-called-a-loop.md +13 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-causal-loop-unclosed/prompt.md +14 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/empty-level-is-honest.md +14 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-diagram.md +11 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/no-invented-mental-model.md +13 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/six-core-fields.md +12 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-iceberg-thin-input/prompt.md +9 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/elements-carry-evidence-types.md +13 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/every-level-matches-an-element.md +13 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/no-adoption-plan.md +12 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/graders/uncovered-kinds-are-stated.md +11 -0
- package/plugins/reasoning/evals/st-leverage-points-bound/prompt.md +11 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/first-match-wins.md +17 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/one-block-only.md +9 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/rejected-candidate-has-a-reason.md +11 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/six-core-fields.md +12 -0
- package/plugins/reasoning/evals/st-selection-boundary/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-selection-boundary/prompt.md +13 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/boundary-stated.md +9 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/external-factors-hold-the-unconnected.md +15 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/no-intervention-design.md +11 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/no-invented-components.md +12 -0
- package/plugins/reasoning/evals/st-system-map-boundary/graders/skill-fired.md +7 -0
- package/plugins/reasoning/evals/st-system-map-boundary/prompt.md +15 -0
- package/plugins/reasoning/skills/problem-router/README.md +46 -0
- package/plugins/reasoning/skills/problem-router/SKILL.md +225 -0
- package/plugins/reasoning/skills/problem-router/references/contract.md +104 -0
- package/plugins/reasoning/skills/problem-solving/README.md +47 -0
- package/plugins/reasoning/skills/problem-solving/SKILL.md +194 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/a3.md +46 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/double-diamond.md +60 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/five-whys.md +49 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/pdca.md +46 -0
- package/plugins/reasoning/skills/problem-solving/frameworks/root-cause-analysis.md +59 -0
- package/plugins/reasoning/skills/problem-solving/references/contract.md +104 -0
- package/plugins/reasoning/skills/systems-thinking/README.md +39 -0
- package/plugins/reasoning/skills/systems-thinking/SKILL.md +206 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/causal-loop.md +58 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/iceberg.md +43 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/leverage-points.md +80 -0
- package/plugins/reasoning/skills/systems-thinking/frameworks/system-map.md +46 -0
- package/plugins/reasoning/skills/systems-thinking/references/contract.md +104 -0
- package/plugins/solution-architect/.claude-plugin/plugin.json +1 -1
- package/plugins/solution-architect/skills/analyze-requirements/evals/evals.json +66 -0
- package/plugins/solution-architect/skills/analyze-requirements/evals/fixtures/greenfield-llm-triage-spec/triage-service-spec.md +105 -0
- package/plugins/solution-architect/skills/estimate/SKILL.md +4 -2
- package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +11 -2
- package/plugins/solution-architect/skills/estimate/assets/scores-review-template.html +304 -59
- package/plugins/solution-architect/skills/estimate/evals/evals.json +60 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/gate-check-northgate/northgate-email.md +18 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/measurements.jsonl +17 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.json +62 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-agentic-halyard/requirements.md +41 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/ARCHITECTURE.md +71 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.json +68 -0
- package/plugins/solution-architect/skills/estimate/evals/fixtures/pre-fed-traditional-trellis/requirements.md +43 -0
- package/plugins/solution-architect/skills/estimate/references/interview.md +19 -10
- package/plugins/solution-architect/skills/estimate/references/writing.md +7 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +4 -1
- package/plugins/solution-architect/skills/estimate/scripts/test/xlsx-export.test.mjs +26 -5
- package/plugins/solution-architect/skills/new-lead/evals/evals.json +66 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/ARCHITECTURE.md +19 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/brief.md +5 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/dist/index.html +3 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/estimation.json +10 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/proposal.md +8 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/harborline-logistics-tms/requirements.json +38 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/sable-dental-booking/rfp.md +14 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/ARCHITECTURE.md +18 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads/vellum-books-checkout/rfp.md +7 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/existing-root-pipeline/leads.json +35 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/fresh-lead-northwind/rfp-northwind.md +28 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads/meridian-freight-portal/rfp.md +14 -0
- package/plugins/solution-architect/skills/new-lead/evals/fixtures/skips-to-proposal/leads.json +15 -0
- package/plugins/solution-architect/skills/proposal/evals/evals.json +67 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/ARCHITECTURE.md +53 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/gate-check-rivet-gym/brief.md +23 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/ARCHITECTURE.md +65 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/brief.md +21 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/dist/mermaid.js +5 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation-inputs.json +88 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.json +407 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-harborline-dispatch/estimation.md +41 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/ARCHITECTURE.md +68 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/brief.md +24 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/dist/mermaid.js +5 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation-inputs.json +87 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.json +394 -0
- package/plugins/solution-architect/skills/proposal/evals/fixtures/pre-fed-meridian-dental/estimation.md +44 -0
- package/src/cli/install.mjs +7 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# problem-solving
|
|
2
|
+
|
|
3
|
+
Takes a problem — raw, framework-named, or handed over by `problem-router`
|
|
4
|
+
— to a tested next step: a supported root cause, or an experiment with a
|
|
5
|
+
measurement plan. It picks the framework that fits (Double Diamond, Root
|
|
6
|
+
Cause Analysis, 5 Whys, A3, or PDCA), recommends one when none is named,
|
|
7
|
+
and lets the human confirm.
|
|
8
|
+
|
|
9
|
+
Run `/reasoning:problem-solving "<problem>"` to get a recommendation, or
|
|
10
|
+
`/reasoning:problem-solving <framework> "<problem>"` to skip straight to a
|
|
11
|
+
chosen framework. It also accepts a hand-off from `problem-router` once the
|
|
12
|
+
human has confirmed the route.
|
|
13
|
+
|
|
14
|
+
## When to reach for it
|
|
15
|
+
|
|
16
|
+
- A problem needs analysis, not a direct answer — recurring failures,
|
|
17
|
+
unclear causes, improvement work, or a change that needs a measurable
|
|
18
|
+
hypothesis.
|
|
19
|
+
- You already know which framework fits and just want to run it.
|
|
20
|
+
- `problem-router` has classified the problem and the human confirmed
|
|
21
|
+
where it should go.
|
|
22
|
+
|
|
23
|
+
Skip it when the problem's shape isn't clear yet — route through
|
|
24
|
+
`problem-router` first so it lands on the right framework.
|
|
25
|
+
|
|
26
|
+
## Worked example
|
|
27
|
+
|
|
28
|
+
Input: `/reasoning:problem-solving five_whys "Deploys fail intermittently
|
|
29
|
+
after the runner image update. ci-run-4471 log attached."`
|
|
30
|
+
|
|
31
|
+
`five_whys` is named, so it runs directly. The chain resolves in two links
|
|
32
|
+
— the runner can't pull the base image, the registry credential expired —
|
|
33
|
+
and stops there because the log runs out of evidence, not because five
|
|
34
|
+
links weren't reached. Output: the six core fields plus one `five_whys`
|
|
35
|
+
block, sized to what a two-line problem with one log actually supports.
|
|
36
|
+
|
|
37
|
+
## What it deliberately does not do
|
|
38
|
+
|
|
39
|
+
- Doesn't classify an unclear problem — that's `problem-router`'s job;
|
|
40
|
+
this skill runs the framework it's given.
|
|
41
|
+
- Doesn't write the fix, edit files, or run the experiment it designs. It
|
|
42
|
+
stops at a tested next step.
|
|
43
|
+
- Doesn't run more than one framework per problem without the first one's
|
|
44
|
+
stopping rule having fired and a stated reason to continue.
|
|
45
|
+
- Doesn't pad a small problem out to fill every section of a framework —
|
|
46
|
+
length scales to the evidence, not to the template.
|
|
47
|
+
- Doesn't emit numeric confidence — only `low` / `medium` / `high`.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: problem-solving
|
|
3
|
+
description: Work a problem to a testable next step using the framework that fits it — Double Diamond, root cause analysis, 5 Whys, A3, or PDCA. Use when a problem needs analysis rather than a direct answer: recurring failures, unclear causes, improvement work, or a change that needs a measurable hypothesis. Recommends a framework and lets you choose; run it with a named framework to skip the choice.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# problem-solving
|
|
7
|
+
|
|
8
|
+
You are executing the problem-solving skill. A problem has arrived — raw,
|
|
9
|
+
framework-named, or handed over by `problem-router` — and your job is to
|
|
10
|
+
take it to a tested next step: select or confirm a framework, run it to its
|
|
11
|
+
own stopping rule, and emit the result. You do not write the fix, edit
|
|
12
|
+
files, or run the experiment the framework recommends.
|
|
13
|
+
|
|
14
|
+
## Purpose
|
|
15
|
+
|
|
16
|
+
Take a problem — raw or reframed — to a testable next step: a hypothesis
|
|
17
|
+
with a measurement plan, or a root cause with a named gap in support.
|
|
18
|
+
Nothing past that point is this skill's job.
|
|
19
|
+
|
|
20
|
+
## When to use / When not to use
|
|
21
|
+
|
|
22
|
+
Use this when a problem has, or can be given, a single framing to run: a
|
|
23
|
+
named framework, a symptom clear enough to work directly, or a problem
|
|
24
|
+
`problem-router` has already classified and handed over.
|
|
25
|
+
|
|
26
|
+
Don't use this when the problem hasn't been classified yet and its shape is
|
|
27
|
+
genuinely unclear — vague symptoms, "where do I even start," multiple
|
|
28
|
+
plausible framings. Route those through `problem-router` first; it decides
|
|
29
|
+
where the problem goes, this skill runs what it's given.
|
|
30
|
+
|
|
31
|
+
Don't use this to write the fix. The deliverable is an experiment or a
|
|
32
|
+
supported cause, not a code change, a file edit, or a completed test run —
|
|
33
|
+
see Guardrails.
|
|
34
|
+
|
|
35
|
+
## Inputs
|
|
36
|
+
|
|
37
|
+
- The problem text, raw or already reframed by `problem-router`.
|
|
38
|
+
- Optionally, a framework name as the first argument — `five_whys`, `rca`,
|
|
39
|
+
`double_diamond`, `a3`, or `pdca`.
|
|
40
|
+
- Whatever the `problem-router` hand-off carries: its classification,
|
|
41
|
+
recommended framework, and reasoning, when this run started there.
|
|
42
|
+
|
|
43
|
+
## Entry paths
|
|
44
|
+
|
|
45
|
+
All three land in the same process below — only the starting point differs.
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
/reasoning:problem-solving "<problem>" skill recommends, human picks
|
|
49
|
+
/reasoning:problem-solving <framework> "<problem>" human has already chosen
|
|
50
|
+
router hand-off after human confirmation router recommended
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Framework selection
|
|
54
|
+
|
|
55
|
+
Shortlist two candidates from this table, name the pick with a one-line
|
|
56
|
+
reason, and let the human choose. Full stopping tests live in each
|
|
57
|
+
framework file — this table carries only the first line of each.
|
|
58
|
+
|
|
59
|
+
| Framework | When it fits | Stop when |
|
|
60
|
+
| --- | --- | --- |
|
|
61
|
+
| `double_diamond` | The problem itself is unclear. | Framing settles; remaining unknowns will not change it. |
|
|
62
|
+
| `rca` | Symptom is clear, cause is not. | Causes trace to something actionable and supported. |
|
|
63
|
+
| `five_whys` | Narrow scope, linear causal chain. | The next "why" turns speculative or leaves scope. |
|
|
64
|
+
| `a3` | Operational improvement needing a written case. | All eight sections have content. |
|
|
65
|
+
| `pdca` | A change with a measurable hypothesis. | Metric, expected result, and next action are defined. |
|
|
66
|
+
|
|
67
|
+
See `frameworks/double-diamond.md`, `frameworks/root-cause-analysis.md`,
|
|
68
|
+
`frameworks/five-whys.md`, `frameworks/a3.md`, and `frameworks/pdca.md` for
|
|
69
|
+
the full process and the mechanical test behind each stopping rule.
|
|
70
|
+
|
|
71
|
+
When the human named a framework, that is the choice and it runs — skip
|
|
72
|
+
this section entirely, no confirmation step. Headless, with no human
|
|
73
|
+
available: take the pick, record it as agent-selected and unconfirmed, and
|
|
74
|
+
proceed.
|
|
75
|
+
|
|
76
|
+
## Process
|
|
77
|
+
|
|
78
|
+
1. Establish the framing: the problem as stated, or as `problem-router`
|
|
79
|
+
reframed it.
|
|
80
|
+
2. Select the framework:
|
|
81
|
+
- Named already (human, or router hand-off with confirmation) → that's
|
|
82
|
+
the choice, go to step 3.
|
|
83
|
+
- Not named → shortlist two from the table above, recommend one with a
|
|
84
|
+
one-line reason. Then test, don't infer: is `AskUserQuestion`
|
|
85
|
+
actually available in this session? If yes, ask via
|
|
86
|
+
`AskUserQuestion` and wait for the answer. If no — the tool is
|
|
87
|
+
unavailable, or the run is otherwise non-interactive — you are
|
|
88
|
+
headless: take your own recommendation, record it agent-selected and
|
|
89
|
+
unconfirmed, and go straight to step 3. Naming the shortlist and
|
|
90
|
+
stopping there, without asking and without proceeding, is not a valid
|
|
91
|
+
outcome on either branch.
|
|
92
|
+
3. Open the matching file under `frameworks/` and follow its process
|
|
93
|
+
exactly. Don't substitute a different structure or skip its steps
|
|
94
|
+
because the problem feels straightforward.
|
|
95
|
+
4. Stop at that file's own stopping rule, not a fixed depth or section
|
|
96
|
+
count. Apply the rule's test, not an impression of whether it feels
|
|
97
|
+
done — see each file's Stop when section.
|
|
98
|
+
5. Emit the result per Output contract below.
|
|
99
|
+
|
|
100
|
+
## Output contract
|
|
101
|
+
|
|
102
|
+
Emit the six core fields plus exactly one framework block, per
|
|
103
|
+
`references/contract.md` — that file is the single source of truth for
|
|
104
|
+
field names, evidence types, assumption status, and confidence rendering.
|
|
105
|
+
Don't guess at the shape here.
|
|
106
|
+
|
|
107
|
+
The one block is whichever framework ran in step 3. Never emit more than
|
|
108
|
+
one framework block in a single run — see Guardrails.
|
|
109
|
+
|
|
110
|
+
## Guardrails
|
|
111
|
+
|
|
112
|
+
These are rules this skill will not break. Each has a test — apply the
|
|
113
|
+
test, not a judgment call.
|
|
114
|
+
|
|
115
|
+
- **No cause is labelled `root` without stated support.** Test: can you name
|
|
116
|
+
a specific entry in `evidence` that ties this cause to the symptom
|
|
117
|
+
without inserting a further inferential step? Yes → `root`. No →
|
|
118
|
+
`root_candidate`, with what evidence would promote it stated alongside.
|
|
119
|
+
- **Anything the input didn't state is an assumption, not evidence.** Test:
|
|
120
|
+
for each fact about to be recorded, did the input say it, or did you
|
|
121
|
+
infer or derive it? Inferred → `assumptions`, status `unverified`. Never
|
|
122
|
+
render inferred content as `evidence`, no matter how confident the
|
|
123
|
+
inference.
|
|
124
|
+
- **One framework per run.** Test: before starting a second one, has the
|
|
125
|
+
first's own stopping rule actually fired (check that file's Stop when
|
|
126
|
+
section), and is there a stated reason continuing adds something the
|
|
127
|
+
first pass didn't reach? Both must be yes; if either is no, don't run a
|
|
128
|
+
second framework.
|
|
129
|
+
- **Deliver is an experiment with a measurement plan, not an
|
|
130
|
+
implementation.** Test: does the next step involve writing code, editing
|
|
131
|
+
a file to apply the change, or running the experiment? Yes → stop; hand
|
|
132
|
+
the tested next step back rather than acting on it, however obvious the
|
|
133
|
+
fix looks.
|
|
134
|
+
- **Length and depth scale to the problem, not to the framework's
|
|
135
|
+
capacity.** Test, applied sentence by sentence to what you have written:
|
|
136
|
+
does this sentence name a specific fact, quote, figure, file, or
|
|
137
|
+
`evidence` entry from THIS problem's input? If a sentence would read as
|
|
138
|
+
true no matter what `evidence` contained, it is generic — cut it, or
|
|
139
|
+
replace it with a plain "no evidence for this." A one-line defect gets
|
|
140
|
+
however many fields the evidence actually supports, stated briefly; it
|
|
141
|
+
does not get every section of the framework padded out to look
|
|
142
|
+
thorough.
|
|
143
|
+
|
|
144
|
+
## Failure modes
|
|
145
|
+
|
|
146
|
+
- **Framework named that belongs to `systems-thinking`** — iceberg, system
|
|
147
|
+
map, causal loop, leverage points. That skill is built: say it owns the
|
|
148
|
+
framework and hand the problem over. Don't run the framework here, and
|
|
149
|
+
don't refuse it.
|
|
150
|
+
- **Framework named that belongs to `systemic-design`** — theory of change,
|
|
151
|
+
three horizons, explore/reframe/create/catalyse. Say which skill owns it
|
|
152
|
+
and that the skill isn't built in this release. Don't improvise the
|
|
153
|
+
framework here.
|
|
154
|
+
- **Framework named but unavailable** — from PRD §10.2's later set: DMAIC,
|
|
155
|
+
OODA, TRIZ, Design Sprint. Say it isn't built yet, and name the closest
|
|
156
|
+
available framework from the table above with the difference stated,
|
|
157
|
+
rather than silently substituting it.
|
|
158
|
+
|
|
159
|
+
## Examples
|
|
160
|
+
|
|
161
|
+
**Agent-selected — a one-line defect, no framework named**
|
|
162
|
+
|
|
163
|
+
Input: "Deploys fail intermittently after the runner image update.
|
|
164
|
+
ci-run-4471 log attached."
|
|
165
|
+
|
|
166
|
+
No framework named. Shortlist from the table: `five_whys` (narrow scope,
|
|
167
|
+
one system, plausible linear chain) and `rca` (would work too, but its
|
|
168
|
+
four-layer breakdown is more structure than one log and one symptom
|
|
169
|
+
supports). Recommend `five_whys` with that one-line reason; in Claude Code,
|
|
170
|
+
present both via `AskUserQuestion` and let the human pick. Headless, take
|
|
171
|
+
`five_whys` and record it as agent-selected, unconfirmed.
|
|
172
|
+
|
|
173
|
+
Run `frameworks/five-whys.md`: the chain resolves in two links before the
|
|
174
|
+
log runs out of evidence — "deploys fail → the runner can't pull the base
|
|
175
|
+
image → the registry credential expired" — and stops there per the
|
|
176
|
+
framework's own rule, not padded to five links. `root_candidate` is the
|
|
177
|
+
expired credential; `uncertainties` notes whether rotation was ever
|
|
178
|
+
automated. Emit the six core fields plus one `five_whys` block. Nothing
|
|
179
|
+
else — the input was a two-line problem with one log, and the output
|
|
180
|
+
stays that size.
|
|
181
|
+
|
|
182
|
+
**Human-named — the human already picked**
|
|
183
|
+
|
|
184
|
+
Input: `/reasoning:problem-solving pdca "Increasing the checkout timeout
|
|
185
|
+
from 5s to 15s should cut cart-abandonment errors without hiding real
|
|
186
|
+
outages."`
|
|
187
|
+
|
|
188
|
+
`pdca` is named, so it runs — no shortlist, no confirmation. Open
|
|
189
|
+
`frameworks/pdca.md`: `hypothesis` is the claim as given; `test` is the
|
|
190
|
+
timeout change; `metric` is cart-abandonment-error rate against p99
|
|
191
|
+
checkout latency, both to be watched post-change. No test has actually run
|
|
192
|
+
yet, so `actual` stays empty and the output says plainly that the cycle
|
|
193
|
+
isn't closed — `next` names what running the test would take, not a result
|
|
194
|
+
that hasn't happened. Emit the six core fields plus one `pdca` block.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# A3
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
Operational improvement needing a written case.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the A3 framework within the problem-solving skill. Write
|
|
10
|
+
the case as eight sections, in order:
|
|
11
|
+
|
|
12
|
+
1. **Background** — why this matters, who's affected, what's at stake.
|
|
13
|
+
2. **Current condition** — what's happening now, as evidenced, not as
|
|
14
|
+
assumed.
|
|
15
|
+
3. **Problem statement** — the gap between current condition and what's
|
|
16
|
+
needed, stated in one or two sentences.
|
|
17
|
+
4. **Target condition** — what "solved" looks like, specifically enough to
|
|
18
|
+
check against later.
|
|
19
|
+
5. **Root cause analysis** — the causal chain behind the problem
|
|
20
|
+
statement. Apply the same root vs. `root_candidate` test as
|
|
21
|
+
`root-cause-analysis.md`: label a cause `root` only when a specific
|
|
22
|
+
evidence entry ties it directly to the problem statement; otherwise
|
|
23
|
+
it's a `root_candidate` with the gap named.
|
|
24
|
+
6. **Countermeasures** — actions that address the causes found in section
|
|
25
|
+
5, not the symptom in isolation.
|
|
26
|
+
7. **Action plan** — who does what, and by when, for each countermeasure.
|
|
27
|
+
8. **Follow-up** — how and when the target condition will be checked
|
|
28
|
+
against what actually happened.
|
|
29
|
+
|
|
30
|
+
A section has content only when it states something specific, drawn from
|
|
31
|
+
evidence, a named assumption, or reasoning traceable to one of those.
|
|
32
|
+
Restating the section's title in sentence form, or filling it with a
|
|
33
|
+
generic statement that would apply to any problem, does not count. If the
|
|
34
|
+
input doesn't support a section, say so directly in that section — "no
|
|
35
|
+
evidence available for X" is content; a padded paragraph that says nothing
|
|
36
|
+
is not, even though it fills the space.
|
|
37
|
+
|
|
38
|
+
## Output block
|
|
39
|
+
|
|
40
|
+
Emit the `a3` block from `references/contract.md`, with fields
|
|
41
|
+
`background`, `current`, `problem`, `target`, `causes`, `countermeasures`,
|
|
42
|
+
`plan`, `follow_up` — one per section above, in the same order.
|
|
43
|
+
|
|
44
|
+
## Stop when
|
|
45
|
+
|
|
46
|
+
All eight sections have content.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Double Diamond
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
The problem itself is unclear.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the Double Diamond framework within the problem-solving
|
|
10
|
+
skill. Work through four phases in order, diverging then converging twice.
|
|
11
|
+
Don't skip a phase because the problem feels obvious — the double diamond
|
|
12
|
+
exists precisely for problems where "obvious" hasn't held up.
|
|
13
|
+
|
|
14
|
+
**Discover** (diverge — gather without narrowing):
|
|
15
|
+
- Known facts as stated by the input.
|
|
16
|
+
- Stakeholder needs, wherever the input names or implies them.
|
|
17
|
+
- Evidence: what documents, logs, metrics, interviews, or observations exist.
|
|
18
|
+
- Constraints the solution has to work within.
|
|
19
|
+
- Unknowns: what isn't known yet.
|
|
20
|
+
- Observations you make while reading the input, separate from what it
|
|
21
|
+
states outright.
|
|
22
|
+
|
|
23
|
+
**Define** (converge — narrow to one framing):
|
|
24
|
+
- Patterns across what Discover surfaced.
|
|
25
|
+
- Key findings: the few facts that matter most.
|
|
26
|
+
- The reframed problem — often not the problem as originally stated.
|
|
27
|
+
- Scope: what's in, what's out.
|
|
28
|
+
- Success criteria: what "solved" would look like.
|
|
29
|
+
|
|
30
|
+
**Develop** (diverge — generate options):
|
|
31
|
+
- Candidate options, plural — not the first idea that comes to mind.
|
|
32
|
+
- Trade-offs between them.
|
|
33
|
+
- Hypotheses each option rests on.
|
|
34
|
+
- Risks each option carries.
|
|
35
|
+
|
|
36
|
+
**Deliver** (converge — commit to one path):
|
|
37
|
+
- The recommended experiment.
|
|
38
|
+
- How it will be measured.
|
|
39
|
+
- What result would count as a decision, either way.
|
|
40
|
+
|
|
41
|
+
Deliver names an experiment, not an implementation. This framework ends
|
|
42
|
+
with something to test, not something to ship — running the experiment
|
|
43
|
+
and acting on its result is later work, outside this pass.
|
|
44
|
+
|
|
45
|
+
## Output block
|
|
46
|
+
|
|
47
|
+
Emit the `double_diamond` block from `references/contract.md`, with fields
|
|
48
|
+
`discover`, `define`, `develop`, `deliver` populated from the four phases
|
|
49
|
+
above.
|
|
50
|
+
|
|
51
|
+
## Stop when
|
|
52
|
+
|
|
53
|
+
Framing settles; remaining unknowns will not change it.
|
|
54
|
+
|
|
55
|
+
Apply this as a test, not an impression: list each unknown still open from
|
|
56
|
+
Discover. For every one, ask whether an answer to it would change the
|
|
57
|
+
reframed problem, the scope, or the success criteria set in Define. If any
|
|
58
|
+
unknown would change one of those three, framing has not settled — go back
|
|
59
|
+
to Define and revise it, then run the test again. If none would, framing
|
|
60
|
+
has settled; stop and move to Develop.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# 5 Whys
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
Narrow scope, linear causal chain.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the 5 Whys framework within the problem-solving skill.
|
|
10
|
+
Use it only when its preconditions hold: the chain is linear, the scope is
|
|
11
|
+
narrow — one system, one component — and dependencies are limited. This is
|
|
12
|
+
not the method for interconnected systems with multiple actors or feedback
|
|
13
|
+
loops; routing to 5 Whys already implies the problem doesn't have that
|
|
14
|
+
shape, but check anyway before you start asking.
|
|
15
|
+
|
|
16
|
+
Ask "why" and record each link:
|
|
17
|
+
|
|
18
|
+
1. Start from the symptom as stated.
|
|
19
|
+
2. For each step, ask why it happens, and record the answer as the next
|
|
20
|
+
link in the chain.
|
|
21
|
+
3. Before asking the next why, name the specific fact that would answer
|
|
22
|
+
it. If you can name it from evidence already in hand, ask it and
|
|
23
|
+
record the link. If you can only guess, don't ask it — the chain stops
|
|
24
|
+
at the current link.
|
|
25
|
+
4. At each link where the answer is inferred rather than directly
|
|
26
|
+
evidenced, record that as an uncertainty rather than presenting it with
|
|
27
|
+
the same confidence as an evidenced link.
|
|
28
|
+
|
|
29
|
+
Five is a conventional depth, not a target. A chain that resolves in three
|
|
30
|
+
links stops at three; a chain that's still evidenced and still linear at
|
|
31
|
+
six may continue past five. What ends the chain is the test in step 3, not
|
|
32
|
+
a count.
|
|
33
|
+
|
|
34
|
+
## Output block
|
|
35
|
+
|
|
36
|
+
Emit the `five_whys` block from `references/contract.md`, with fields
|
|
37
|
+
`why_chain`, `root_candidate`, `uncertainties`. The chain's final link
|
|
38
|
+
becomes `root_candidate` — 5 Whys is a fast, informal technique and never
|
|
39
|
+
certifies a fully supported `root`; that determination belongs to Root
|
|
40
|
+
Cause Analysis, not here.
|
|
41
|
+
|
|
42
|
+
## Stop when
|
|
43
|
+
|
|
44
|
+
The next "why" turns speculative or leaves scope. Stopping there is the
|
|
45
|
+
chain working correctly, not an incomplete run: a chain that runs out of
|
|
46
|
+
evidence to interrogate has told you where its evidence ends, and that is
|
|
47
|
+
useful on its own. Stopping early because the next link would be
|
|
48
|
+
speculation is correct; it is never a shortfall to apologize for or pad
|
|
49
|
+
around.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# PDCA
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
A change with a measurable hypothesis.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the PDCA framework within the problem-solving skill.
|
|
10
|
+
Work through four stages, each with named parts:
|
|
11
|
+
|
|
12
|
+
**Plan**
|
|
13
|
+
- `hypothesis` — the specific claim being tested, stated so it can be
|
|
14
|
+
shown false.
|
|
15
|
+
- `test` — what will be done to test it.
|
|
16
|
+
- `metric` — the specific, named measurement that will decide the
|
|
17
|
+
outcome.
|
|
18
|
+
- `expected` — the result that would confirm the hypothesis.
|
|
19
|
+
|
|
20
|
+
**Do**
|
|
21
|
+
- Carry out the test as planned. Record what actually happened, not a
|
|
22
|
+
restatement of the plan.
|
|
23
|
+
|
|
24
|
+
**Check**
|
|
25
|
+
- `actual` — the measured result, against the `metric` defined in Plan.
|
|
26
|
+
- Compare `actual` to `expected` directly; state whether the hypothesis
|
|
27
|
+
held.
|
|
28
|
+
|
|
29
|
+
**Act**
|
|
30
|
+
- `next` — what happens as a result: adopt, adjust, or abandon the
|
|
31
|
+
change, and what runs next.
|
|
32
|
+
|
|
33
|
+
If this is an analysis-only run — no test has actually been carried out —
|
|
34
|
+
leave `actual` empty rather than inventing a plausible result, and say
|
|
35
|
+
explicitly in the output that the cycle is not yet closed. `next` in that
|
|
36
|
+
case names what running the test would take, not a result that hasn't
|
|
37
|
+
happened.
|
|
38
|
+
|
|
39
|
+
## Output block
|
|
40
|
+
|
|
41
|
+
Emit the `pdca` block from `references/contract.md`, with fields
|
|
42
|
+
`hypothesis`, `test`, `metric`, `expected`, `actual`, `next`.
|
|
43
|
+
|
|
44
|
+
## Stop when
|
|
45
|
+
|
|
46
|
+
Metric, expected result, and next action are defined.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Root Cause Analysis
|
|
2
|
+
|
|
3
|
+
## When it fits
|
|
4
|
+
|
|
5
|
+
Symptom is clear, cause is not.
|
|
6
|
+
|
|
7
|
+
## Process
|
|
8
|
+
|
|
9
|
+
You are executing the Root Cause Analysis framework within the
|
|
10
|
+
problem-solving skill. Trace the causal chain in one direction, from what's
|
|
11
|
+
observed to what can be acted on:
|
|
12
|
+
|
|
13
|
+
symptom → immediate causes → contributing causes → underlying causes →
|
|
14
|
+
root causes → corrective actions
|
|
15
|
+
|
|
16
|
+
At each layer, only add a cause if something in the evidence or a stated
|
|
17
|
+
assumption points to it. A layer with nothing supporting it is left empty
|
|
18
|
+
rather than filled to look complete.
|
|
19
|
+
|
|
20
|
+
Labelling a cause `root` is a claim, not a placeholder for "the deepest
|
|
21
|
+
thing we found." Apply this test mechanically, per candidate:
|
|
22
|
+
|
|
23
|
+
- Can you point to a specific entry in `evidence` that ties this cause
|
|
24
|
+
directly to the symptom, without inserting a further inferential step to
|
|
25
|
+
make the connection?
|
|
26
|
+
- If yes: label it `root`.
|
|
27
|
+
- If no — the link exists only through inference, assumption, or a chain
|
|
28
|
+
of "probably" — label it `root_candidate` instead, and state next to it
|
|
29
|
+
exactly what evidence would be needed to promote it.
|
|
30
|
+
|
|
31
|
+
Never resolve a `root_candidate` to `root` by asserting harder. The label
|
|
32
|
+
changes only when new evidence arrives, not when the write-up sounds more
|
|
33
|
+
confident.
|
|
34
|
+
|
|
35
|
+
Corrective actions attach to whatever the analysis actually reached —
|
|
36
|
+
`root` causes where you have them, named `root_candidate`s where you
|
|
37
|
+
don't, with the gap stated rather than smoothed over.
|
|
38
|
+
|
|
39
|
+
## Output block
|
|
40
|
+
|
|
41
|
+
Emit the `rca` block from `references/contract.md`, with fields `symptom`,
|
|
42
|
+
`immediate`, `contributing`, `underlying`, `root`, `actions`. Within
|
|
43
|
+
`root`, label each entry `root` or `root_candidate` per the test above.
|
|
44
|
+
|
|
45
|
+
## Stop when
|
|
46
|
+
|
|
47
|
+
Causes trace to something actionable and supported.
|
|
48
|
+
|
|
49
|
+
Apply this as two tests over what the `root` field already holds, not as an
|
|
50
|
+
impression that the chain feels deep enough. **Supported** is the `root` /
|
|
51
|
+
`root_candidate` test in Process above, run per entry: a specific `evidence`
|
|
52
|
+
entry ties the cause to the symptom with no further inferential step. Every
|
|
53
|
+
entry has been labelled by that test, and each `root_candidate` carries the
|
|
54
|
+
evidence that would promote it. **Actionable** means every entry in `root`
|
|
55
|
+
has at least one named entry in `actions` that someone could start on
|
|
56
|
+
without first investigating further — a change with an owner and a scope,
|
|
57
|
+
not "look into X" or "understand why Y". If any entry in `root` has no such
|
|
58
|
+
action, the chain has not reached something actionable: keep tracing, or
|
|
59
|
+
state plainly that it stopped short and what blocks it.
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
35
|
+
Later skills add blocks. The core never changes — that is what lets one
|
|
36
|
+
skill consume another's result without knowing which framework produced
|
|
37
|
+
it.
|
|
38
|
+
|
|
39
|
+
## Evidence types
|
|
40
|
+
|
|
41
|
+
`user-provided fact`, `document`, `log`, `metric`, `interview`,
|
|
42
|
+
`observation`, `external source`, `inferred`.
|
|
43
|
+
|
|
44
|
+
Anything `inferred` is never rendered as fact. If the input did not state
|
|
45
|
+
it, it belongs in `assumptions`, not `evidence`.
|
|
46
|
+
|
|
47
|
+
## Assumption status
|
|
48
|
+
|
|
49
|
+
`unverified` — nothing has confirmed it.
|
|
50
|
+
`confirmed` — the human confirmed it during this run.
|
|
51
|
+
|
|
52
|
+
Default is `unverified`. An assumption is never silently promoted.
|
|
53
|
+
|
|
54
|
+
## Confidence
|
|
55
|
+
|
|
56
|
+
`low` / `medium` / `high`. Numeric confidence is never emitted: `0.84`
|
|
57
|
+
implies a precision this reasoning does not have.
|
|
58
|
+
|
|
59
|
+
Confidence reflects evidence quantity, evidence quality, contradictions
|
|
60
|
+
in the input, and how many inferential steps separate the claim from the
|
|
61
|
+
evidence.
|
|
62
|
+
|
|
63
|
+
## Rendering
|
|
64
|
+
|
|
65
|
+
In chat by default: markdown headings, one per core field, then the
|
|
66
|
+
framework block.
|
|
67
|
+
|
|
68
|
+
A structure containing a cycle gets a diagram; one without gets prose.
|
|
69
|
+
Prose renders a cycle as a list, and a list loses the closure — `A -> B ->
|
|
70
|
+
C -> A` read top to bottom does not show that it comes back.
|
|
71
|
+
|
|
72
|
+
On request: one file, `problem-analysis.md`, in the directory the human
|
|
73
|
+
names. Core fields and the framework block become YAML front-matter above
|
|
74
|
+
the markdown body. No second JSON file is written — it would be a
|
|
75
|
+
duplicate representation with nothing keeping the two in agreement.
|
|
76
|
+
|
|
77
|
+
Example saved file:
|
|
78
|
+
|
|
79
|
+
```markdown
|
|
80
|
+
---
|
|
81
|
+
problem: Deploys fail intermittently after the runner image update.
|
|
82
|
+
framework_used: five-whys
|
|
83
|
+
framework_reason: Narrow scope, causal chain looks linear.
|
|
84
|
+
evidence:
|
|
85
|
+
- type: log
|
|
86
|
+
ref: ci-run-4471
|
|
87
|
+
assumptions:
|
|
88
|
+
- statement: Staging mirrors production runner config.
|
|
89
|
+
status: unverified
|
|
90
|
+
open_questions:
|
|
91
|
+
- Who owns the runner image?
|
|
92
|
+
five_whys:
|
|
93
|
+
why_chain:
|
|
94
|
+
- Deploys fail -> the runner cannot pull the base image
|
|
95
|
+
- It cannot pull -> the registry credential expired
|
|
96
|
+
root_candidate: Credential rotation is manual and undocumented.
|
|
97
|
+
uncertainties:
|
|
98
|
+
- Whether rotation was ever automated.
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
# Problem analysis
|
|
102
|
+
|
|
103
|
+
...
|
|
104
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
| 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
|
+
| Leverage Points | You need to know where to intervene. |
|
|
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.
|
|
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
|
+
## What it will not do
|
|
29
|
+
|
|
30
|
+
- Name a fix, or write one.
|
|
31
|
+
- Produce an adoption plan, a sequence, or an owner — that is
|
|
32
|
+
`systemic-design`, which is not built in this release.
|
|
33
|
+
- Run on a bounded one-function defect. That is `problem-solving`.
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
|
|
37
|
+
Six core fields plus exactly one framework block, per the shared contract
|
|
38
|
+
in `references/contract.md`. Evidence and assumptions stay separable, and
|
|
39
|
+
a diagram appears only when the structure contains a cycle.
|