Pack Availability Guard
Before telling the user to run a skill from another project-local pack, check .agents/project.json.enabled_packs. If the target pack is not enabled, recommend npx skillpacks install <pack> from the project shell, instead of the target skill. Only the currently running skill and skills verified available in the active session or project-local install state are directly recommendable. For unavailable pack skills, recommend npx skillpacks install <pack-or-skill>; for unavailable base skills, recommend npx skillpacks init before the skill.
W3 Hypothesis — Schwartzfarb WHO/WHAT/WHY Analysis
Parent Orchestrator Routing
Run only through the parent orchestrator $customer-discovery as part of its Research Session Loop. If the user needs to continue pending framework work, tell them to start a fresh Codex session and re-invoke $customer-discovery with the same product/research path argument when present, for example $customer-discovery research/afps-tracker.
Do not ask users to invoke this framework directly or with a path-shaped child framework command. Do not emit downstream routing labels, child-framework commands, execution-loop commands, or downstream skill recommendations from this framework subskill.
Terminal Handoff Contract
When this framework is run inline and stops on its findings review page, the terminal response must end with:
## Next Work
Review the framework findings page, compile YAML, clear context, and paste the compiled YAML into a fresh session. The parent will consume that YAML, write the approved intermediate, and recalculate whether another framework or synthesis is next.
The compiled YAML must carry the parent command (for example, $customer-discovery) in command and agent_routing.command.
Use the same product/research path argument when present. Do not decide from inside the framework whether the next parent run executes another framework or synthesis; the parent orchestrator recalculates that from the run manifest and canonical-intermediate files after approval.
The findings review page must also include agent_routing in bottom compiled YAML with this parent-owned shape:
agent_routing:
workflow: pattern-a-research-loop
parent_skill: customer-discovery
command: "$customer-discovery research/{slug}"
product_path: research/{slug}
gate_owner: parent-orchestrator
gate_type: framework-findings
framework_slug: w3-hypothesis
framework_mode: inline-subskill
run_manifest: research/{slug}/_working/customer-discovery-run.yaml
next_resolution: parent-resolves-from-yaml-and-filesystem
Omit product_path in flat mode, keep command identical to agent_routing.command, and never replace it with a child framework path command. The parent consumes this YAML, writes the approved intermediate, archives the working packet/page, and recalculates the next state.
Report-First Approval Gate
Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a review alignment page plus a concise conversation summary.
Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the review alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
Do not include Recommended next skill, Recommended next command, or downstream routing language while scope or artifact approval is pending. While the framework findings page is in review, use only the parent-owned ## Next Work YAML-paste handoff above. Parent-loop continuation is not downstream routing, but compiled YAML must name only $customer-discovery. Downstream routing belongs to parent synthesis only after approved synthesis artifacts are written or updated.
Staged Research Workflow
Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
- Stage 1 - Scope discovery and approval. Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the
review HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.
- Stage 2 - Research and artifact review. Only after approved research-scope YAML with no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses research/_working/preliminary-<skill>-research.md; product-path mode uses research/{slug}/_working/preliminary-<skill>-research.md. Replace <skill> with this skill's name value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the review HTML alignment page so it renders the complete working-packet substance as structured HTML review UI: purpose-built sections, tables, matrices, gates, cards, and tier-appropriate charts or diagrams that preserve every packet section, finding, caveat, and decision detail without summary loss. Raw Markdown packet text may appear only as a supplemental source view after the rendered review UI; do not make a Full Preliminary Packet or Full Working Packet raw Markdown dump, giant <pre><code> block, link-only view, or source-only view the primary review surface. Include the evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
- Stage 3 - Finalize approved artifacts. Consume final compiled YAML for artifact approval only when it has no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to confirmed with the approval record preserved.
Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
Evidence And Feedback Handling
Treat user feedback as input to evaluate, not as automatic ground truth.
- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. Push back clearly and cite the evidence when the user appears to misunderstand.
- For taste, prioritization, or subjective judgment calls: weigh user feedback heavily and adapt unless it conflicts with verified evidence.
- When uncertain, say what is known, what is inferred, and what would change the conclusion.
Prerequisites
- Hard: ICP candidates from orchestrator working packet (
research/_working/preliminary-customer-discovery-research.md) or research/icp.md (or research/{slug}/icp.md) must exist. If neither exists, tell the user to run $customer-discovery first and stop.
- Soft:
research/competitive-analysis.md, research/customer-feedback.md, idea brief, specs, and codebase context when available.
Process
0. Product-Path Scope Resolution
Resolve research scope by product path before using code or app structure as a hint:
- If
$ARGUMENTS names a non-archived research/{slug}/ directory or a product-path ID whose scope_path points there, use that path. Treat {slug} as the product/app name, not the ICP, audience, or segment label.
- If
$ARGUMENTS names only research/_archive/{slug}/ or a manifest entry with status: archived or legacy status: abandoned, stop and warn that the path is archived; do not write or update scoped outputs there.
- Read
research/.progress.yaml when present. Normalize legacy active_path to active_paths on read and write back active_paths on manifest updates. Treat legacy abandoned as archived; exclude archived, abandoned, deferred, revisit_candidate, promoted, and any scope_path under research/_archive/ from active target selection.
- If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
- If no active manifest target exists, list non-archived product directories under
research/, excluding research/_archive/ and dot directories. Auto-select only when exactly one exists; ask when multiple exist.
- If no product directories exist, use flat
research/ single-product mode.
- Detect monorepo/app/package structure only as a secondary hint.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/.
1. Load Context
- Read ICP candidates from orchestrator working packet (
research/_working/preliminary-customer-discovery-research.md) or research/icp.md
- Read idea brief (
research/idea-scope-brief.md) if it exists
- Read
research/competitive-analysis.md if it exists
- Read
research/customer-feedback.md if it exists
- Read CLAUDE.md, README for product context
- Scan codebase and existing research for additional signal
2. Define W3 for Each ICP Candidate
For each ICP candidate, construct the three-variable hypothesis:
WHO — narrowly defined buyer/customer:
- Demographics: age, location, education, income level
- Firmographics: company size, stage, industry, revenue, funding status
- Psychographics: values, motivations, risk tolerance, decision-making style
- Role/title, budget authority, buying power
- Behavioral patterns: where they spend time, what they read, who they trust
WHAT — what they're actually buying (the outcome, not the product):
- The specific problem being solved
- The outcome or transformation they expect
- What success looks like in their words
- The difference between what they say they want and what they actually need
- How they measure whether they got what they paid for
WHY — the business driver and measurable impact:
- Primary business driver: revenue growth, cost reduction, compliance, competitive pressure, efficiency
- Measurable impact: quantifiable benefit they expect
- Urgency level: why now, not later
- Macro trends or market forces creating the window
- What happens if they do nothing (cost of inaction)
3. Generate Disproval Hypotheses
For each W in each candidate's W3, generate 2-3 hypotheses that would disprove the assumption. The goal is falsification, not confirmation.
- WHO disproval: "If our WHO is wrong, we'd expect to see [specific evidence]. For example: the actual buyer is a different role, the company size doesn't match, the budget holder is someone else."
- WHAT disproval: "If our WHAT is wrong, we'd expect to see [specific evidence]. For example: customers describe the problem differently, they measure success by different metrics, the outcome they want is adjacent but distinct."
- WHY disproval: "If our WHY is wrong, we'd expect to see [specific evidence]. For example: the urgency driver is different, the business case doesn't hold at their scale, the macro trend is weaker than assumed."
4. Targeted Research
Run WebSearch queries designed to test each disproval hypothesis:
- Search for evidence that contradicts each W assumption
- Search for evidence that supports each W assumption
- Log every query and its key findings
- Look for competitor positioning that implies a different WHO/WHAT/WHY
- Look for community discussions, job postings, industry reports that reveal actual buyer behavior
- Prioritize disconfirming evidence — confirmation bias is the enemy
5. Score Hypothesis Confidence
For each ICP candidate, score each W dimension:
- Strong: multiple independent sources support the assumption; disproval hypotheses tested and no significant contradicting evidence found
- Moderate: some supporting evidence; one or more disproval hypotheses partially supported; key uncertainties remain
- Weak: limited evidence; disproval hypotheses found supporting evidence; significant risk the assumption is wrong
Calculate an overall candidate confidence based on the weakest dimension — a candidate is only as strong as its weakest W.
6. Validate with User
Present W3 definitions, disproval evidence, and confidence scores. Ask for corrections, missing context, and whether any candidates should be eliminated or refined.
Output
research/customer-discovery-w3-hypothesis.md (or research/{slug}/customer-discovery-w3-hypothesis.md)
# W3 Hypothesis Analysis
> Based on: [sources]
> Date: [current date]
> Methodology: Schwartzfarb W3 (WHO/WHAT/WHY)
## ICP Candidate: [Name]
### WHO
[Narrow buyer definition — demographics, firmographics, psychographics, role, budget authority]
### WHAT
[What they're actually buying — the outcome, not the product]
### WHY
[Business driver and measurable impact, urgency, macro trends]
### Disproval Evidence
| Hypothesis | Evidence For | Evidence Against | Confidence |
|------------|-------------|-----------------|------------|
| WHO: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
| WHAT: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
| WHY: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
## ICP Candidate: [Name 2]
...
## Cross-Candidate Comparison
| Candidate | WHO Confidence | WHAT Confidence | WHY Confidence | Overall |
|-----------|---------------|-----------------|----------------|---------|
| [name] | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak |
## Research Log
| Query | Key Findings | Disproval Target |
|-------|-------------|-----------------|
| [search query] | [what was found] | [which W hypothesis this tested] |
## Evidence Matrix
| Claim | Evidence Source | Evidence Type | Confidence |
|-------|---------------|---------------|------------|
| [claim] | [source] | Observed/Inferred/Hypothesized | High/Medium/Low |
Constraints
- Ground every W3 definition and confidence score in evidence from ICP candidates, research, specs, feedback, or codebase.
- Prioritize disconfirming evidence — the framework demands falsification, not confirmation.
- Do not prescribe UI or architecture — describe the customer hypothesis, not the solution.
- Present findings before writing.
- Do not overwrite existing output without asking the user first.
- This is a child framework skill in the
customer-discovery Research Session Loop. Do not emit cross-skill or downstream routing from framework stops, and do not recommend execution-loop commands or path-shaped child framework invocations. Inline framework handoff sections must name only the parent command $customer-discovery.
Alignment Page
Follow the shared alignment-page convention via the packaged convention resolver; output path is alignment/w3-hypothesis-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: w3-hypothesis3description: Schwartzfarb W3 — define WHO/WHAT/WHY for each ICP candidate, generate disproval hypotheses, and validate via targeted research4---5
6## Pack Availability Guard
7
8Before telling the user to run a skill from another project-local pack, check `.agents/project.json.enabled_packs`. If the target pack is not enabled, recommend `npx skillpacks install <pack>` from the project shell, instead of the target skill. Only the currently running skill and skills verified available in the active session or project-local install state are directly recommendable. For unavailable pack skills, recommend `npx skillpacks install <pack-or-skill>`; for unavailable base skills, recommend `npx skillpacks init` before the skill.
9
10# W3 Hypothesis — Schwartzfarb WHO/WHAT/WHY Analysis
11
12## Parent Orchestrator Routing
13
14Run only through the parent orchestrator `$customer-discovery` as part of its Research Session Loop. If the user needs to continue pending framework work, tell them to start a fresh Codex session and re-invoke `$customer-discovery` with the same product/research path argument when present, for example `$customer-discovery research/afps-tracker`.
15
16Do not ask users to invoke this framework directly or with a path-shaped child framework command. Do not emit downstream routing labels, child-framework commands, execution-loop commands, or downstream skill recommendations from this framework subskill.
17
18## Terminal Handoff Contract
19
20When this framework is run inline and stops on its findings `review` page, the terminal response must end with:
21
22```markdown
23## Next Work
24Review the framework findings page, compile YAML, clear context, and paste the compiled YAML into a fresh session. The parent will consume that YAML, write the approved intermediate, and recalculate whether another framework or synthesis is next.
25```
26
27The compiled YAML must carry the parent command (for example, `$customer-discovery`) in `command` and `agent_routing.command`.
28
29Use the same product/research path argument when present. Do not decide from inside the framework whether the next parent run executes another framework or synthesis; the parent orchestrator recalculates that from the run manifest and canonical-intermediate files after approval.
30
31The findings `review` page must also include `agent_routing` in bottom compiled YAML with this parent-owned shape:
32
33```yaml
34agent_routing:
35 workflow: pattern-a-research-loop
36 parent_skill: customer-discovery
37 command: "$customer-discovery research/{slug}"
38 product_path: research/{slug}
39 gate_owner: parent-orchestrator
40 gate_type: framework-findings
41 framework_slug: w3-hypothesis
42 framework_mode: inline-subskill
43 run_manifest: research/{slug}/_working/customer-discovery-run.yaml
44 next_resolution: parent-resolves-from-yaml-and-filesystem
45```
46
47Omit `product_path` in flat mode, keep `command` identical to `agent_routing.command`, and never replace it with a child framework path command. The parent consumes this YAML, writes the approved intermediate, archives the working packet/page, and recalculates the next state.
48
49## Report-First Approval Gate
50
51Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a `review` alignment page plus a concise conversation summary.
52
53Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
54
55After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the `review` alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
56
57Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language while scope or artifact approval is pending. While the framework findings page is in `review`, use only the parent-owned `## Next Work` YAML-paste handoff above. Parent-loop continuation is not downstream routing, but compiled YAML must name only `$customer-discovery`. Downstream routing belongs to parent synthesis only after approved synthesis artifacts are written or updated.
58
59## Staged Research Workflow
60
61Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
62
631. **Stage 1 - Scope discovery and approval.** Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the `review` HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.
642. **Stage 2 - Research and artifact review.** Only after approved research-scope YAML with no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses `research/_working/preliminary-<skill>-research.md`; product-path mode uses `research/{slug}/_working/preliminary-<skill>-research.md`. Replace `<skill>` with this skill's `name` value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the `review` HTML alignment page so it renders the complete working-packet substance as structured HTML review UI: purpose-built sections, tables, matrices, gates, cards, and tier-appropriate charts or diagrams that preserve every packet section, finding, caveat, and decision detail without summary loss. Raw Markdown packet text may appear only as a supplemental source view after the rendered review UI; do not make a `Full Preliminary Packet` or `Full Working Packet` raw Markdown dump, giant `<pre><code>` block, link-only view, or source-only view the primary review surface. Include the evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
653. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML for artifact approval only when it has no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to `docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>`, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to `confirmed` with the approval record preserved.
66
67Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
68
69## Evidence And Feedback Handling
70
71Treat user feedback as input to evaluate, not as automatic ground truth.
72
73- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. Push back clearly and cite the evidence when the user appears to misunderstand.
74- For taste, prioritization, or subjective judgment calls: weigh user feedback heavily and adapt unless it conflicts with verified evidence.
75- When uncertain, say what is known, what is inferred, and what would change the conclusion.
76
77## Prerequisites
78
79- **Hard**: ICP candidates from orchestrator working packet (`research/_working/preliminary-customer-discovery-research.md`) or `research/icp.md` (or `research/{slug}/icp.md`) must exist. If neither exists, tell the user to run `$customer-discovery` first and stop.
80- **Soft**: `research/competitive-analysis.md`, `research/customer-feedback.md`, idea brief, specs, and codebase context when available.
81
82## Process
83
84### 0. Product-Path Scope Resolution
85
86Resolve research scope by product path before using code or app structure as a hint:
87
881. If `$ARGUMENTS` names a non-archived `research/{slug}/` directory or a product-path ID whose `scope_path` points there, use that path. Treat `{slug}` as the product/app name, not the ICP, audience, or segment label.
892. If `$ARGUMENTS` names only `research/_archive/{slug}/` or a manifest entry with `status: archived` or legacy `status: abandoned`, stop and warn that the path is archived; do not write or update scoped outputs there.
903. Read `research/.progress.yaml` when present. Normalize legacy `active_path` to `active_paths` on read and write back `active_paths` on manifest updates. Treat legacy `abandoned` as `archived`; exclude `archived`, `abandoned`, `deferred`, `revisit_candidate`, `promoted`, and any `scope_path` under `research/_archive/` from active target selection.
914. If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
925. If no active manifest target exists, list non-archived product directories under `research/`, excluding `research/_archive/` and dot directories. Auto-select only when exactly one exists; ask when multiple exist.
936. If no product directories exist, use flat `research/` single-product mode.
947. Detect monorepo/app/package structure only as a secondary hint.
95
96When product path `{slug}` is active, read and write research under `research/{slug}/`, specs under `specs/{slug}/`.
97
98### 1. Load Context
99
100- Read ICP candidates from orchestrator working packet (`research/_working/preliminary-customer-discovery-research.md`) or `research/icp.md`
101- Read idea brief (`research/idea-scope-brief.md`) if it exists
102- Read `research/competitive-analysis.md` if it exists
103- Read `research/customer-feedback.md` if it exists
104- Read CLAUDE.md, README for product context
105- Scan codebase and existing research for additional signal
106
107### 2. Define W3 for Each ICP Candidate
108
109For each ICP candidate, construct the three-variable hypothesis:
110
111**WHO** — narrowly defined buyer/customer:
112- Demographics: age, location, education, income level
113- Firmographics: company size, stage, industry, revenue, funding status
114- Psychographics: values, motivations, risk tolerance, decision-making style
115- Role/title, budget authority, buying power
116- Behavioral patterns: where they spend time, what they read, who they trust
117
118**WHAT** — what they're actually buying (the outcome, not the product):
119- The specific problem being solved
120- The outcome or transformation they expect
121- What success looks like in their words
122- The difference between what they say they want and what they actually need
123- How they measure whether they got what they paid for
124
125**WHY** — the business driver and measurable impact:
126- Primary business driver: revenue growth, cost reduction, compliance, competitive pressure, efficiency
127- Measurable impact: quantifiable benefit they expect
128- Urgency level: why now, not later
129- Macro trends or market forces creating the window
130- What happens if they do nothing (cost of inaction)
131
132### 3. Generate Disproval Hypotheses
133
134For each W in each candidate's W3, generate 2-3 hypotheses that would **disprove** the assumption. The goal is falsification, not confirmation.
135
136- **WHO disproval**: "If our WHO is wrong, we'd expect to see [specific evidence]. For example: the actual buyer is a different role, the company size doesn't match, the budget holder is someone else."
137- **WHAT disproval**: "If our WHAT is wrong, we'd expect to see [specific evidence]. For example: customers describe the problem differently, they measure success by different metrics, the outcome they want is adjacent but distinct."
138- **WHY disproval**: "If our WHY is wrong, we'd expect to see [specific evidence]. For example: the urgency driver is different, the business case doesn't hold at their scale, the macro trend is weaker than assumed."
139
140### 4. Targeted Research
141
142Run WebSearch queries designed to test each disproval hypothesis:
143- Search for evidence that contradicts each W assumption
144- Search for evidence that supports each W assumption
145- Log every query and its key findings
146- Look for competitor positioning that implies a different WHO/WHAT/WHY
147- Look for community discussions, job postings, industry reports that reveal actual buyer behavior
148- Prioritize disconfirming evidence — confirmation bias is the enemy
149
150### 5. Score Hypothesis Confidence
151
152For each ICP candidate, score each W dimension:
153
154- **Strong**: multiple independent sources support the assumption; disproval hypotheses tested and no significant contradicting evidence found
155- **Moderate**: some supporting evidence; one or more disproval hypotheses partially supported; key uncertainties remain
156- **Weak**: limited evidence; disproval hypotheses found supporting evidence; significant risk the assumption is wrong
157
158Calculate an overall candidate confidence based on the weakest dimension — a candidate is only as strong as its weakest W.
159
160### 6. Validate with User
161
162Present W3 definitions, disproval evidence, and confidence scores. Ask for corrections, missing context, and whether any candidates should be eliminated or refined.
163
164## Output
165
166### `research/customer-discovery-w3-hypothesis.md` (or `research/{slug}/customer-discovery-w3-hypothesis.md`)
167
168```markdown
169# W3 Hypothesis Analysis
170
171> Based on: [sources]
172> Date: [current date]
173> Methodology: Schwartzfarb W3 (WHO/WHAT/WHY)
174
175## ICP Candidate: [Name]
176
177### WHO
178[Narrow buyer definition — demographics, firmographics, psychographics, role, budget authority]
179
180### WHAT
181[What they're actually buying — the outcome, not the product]
182
183### WHY
184[Business driver and measurable impact, urgency, macro trends]
185
186### Disproval Evidence
187| Hypothesis | Evidence For | Evidence Against | Confidence |
188|------------|-------------|-----------------|------------|
189| WHO: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
190| WHAT: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
191| WHY: [specific disproval hypothesis] | [supporting evidence] | [contradicting evidence] | Strong/Moderate/Weak |
192
193## ICP Candidate: [Name 2]
194...
195
196## Cross-Candidate Comparison
197| Candidate | WHO Confidence | WHAT Confidence | WHY Confidence | Overall |
198|-----------|---------------|-----------------|----------------|---------|
199| [name] | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak | Strong/Moderate/Weak |
200
201## Research Log
202| Query | Key Findings | Disproval Target |
203|-------|-------------|-----------------|
204| [search query] | [what was found] | [which W hypothesis this tested] |
205
206## Evidence Matrix
207| Claim | Evidence Source | Evidence Type | Confidence |
208|-------|---------------|---------------|------------|
209| [claim] | [source] | Observed/Inferred/Hypothesized | High/Medium/Low |
210```
211
212## Constraints
213
214- Ground every W3 definition and confidence score in evidence from ICP candidates, research, specs, feedback, or codebase.
215- Prioritize disconfirming evidence — the framework demands falsification, not confirmation.
216- Do not prescribe UI or architecture — describe the customer hypothesis, not the solution.
217- Present findings before writing.
218- Do not overwrite existing output without asking the user first.
219- This is a child framework skill in the `customer-discovery` Research Session Loop. Do not emit cross-skill or downstream routing from framework stops, and do not recommend execution-loop commands or path-shaped child framework invocations. Inline framework handoff sections must name only the parent command `$customer-discovery`.
220
221## Alignment Page
222
223Follow the shared alignment-page convention via the packaged convention resolver; output path is `alignment/w3-hypothesis-{topic}.html`.
224
225## Default Shipping Contract
226
227Follow the shared shipping contract convention in CLAUDE.md.