/research-theory
/research-theory — Builds the conceptual and theoretical framework for a framed research question: theory-of-change, constructs with operational definitions, and a conceptual-model diagram — the theoretical-grounding stage of the /research pipeline, between /research-spec and /research-sources.
Role: Principal Investigator (theoretical grounding) Pipeline position: mid-chain
Builds the foundational conceptual and theoretical framework for a framed research question — the a-priori grounding the systematic search and synthesis stages trace back to. Every construct is grounded in primary theory and every theorized relation is stated in a refutable form.
Canonical invocation
/research-theoryWith arguments:
/research-theory [--suite-name NAME] [--override] [--framework NAME]Inputs
The suite's _spec/research-spec.md (the framed, falsifiable question set produced by /research-spec).
Outputs
_inputs/theory.md (the conceptual / theoretical framework, the theory-of-change / logic model, the constructs with their operational definitions, and a conceptual-model diagram).
Downstream
/research-sources (downstream consumer — the systematic search traces its inclusion criteria back to these constructs).
Workflow phases
The command follows the standard /research pipeline workflow:
- Load context — Read
_spec/research-spec.md, the rules, and any existing suite state. - Frame the conceptual model — Define the constructs and their operational definitions; ground each in primary theory.
- Draw the theory of change — Build the logic model linking constructs to expected outcomes; state every relation in a refutable form.
- Diagram the model — Emit a conceptual-model diagram the downstream stages reference.
- Verify outputs — Confirm every construct is theory-grounded and every relation refutable; resolve ambiguity through the structured-inquiry channel.
- Emit the framework —
_inputs/theory.mdplus the updated handoff manifest.
Failure modes
| Symptom | Cause | Recovery |
|---|---|---|
| Construct lacks an operational definition | Concept stated abstractly | Define the construct in measurable terms; cite the primary theory |
| Theorized relation not refutable | Relation stated as a truism | Re-state the relation as a falsifiable claim |
| Missing spec input | /research-spec not yet run | Run /research-spec first to frame the question |
Examples
# Build the theoretical framework for a framed question
/research-theory --suite-name retrieval-latency
# Anchor to a named theoretical framework
/research-theory --framework "information foraging theory"Cross-references
/research-spec
/research-spec — Frames a free-form research question or raw notes into a spec-grade research spec (falsifiable hypotheses, scope, criteria, success metrics) ready for /research-theory.
/research-sources
/research-sources — Systematic source collection: decomposes the spec into sub-queries, fans out parallel discovery, screens and ranks, and extracts per source into a ranked source ledger.