/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.
Role: Principal Investigator (framing) Pipeline position: mid-chain
Frames a free-form research question or raw notes into a spec-grade _spec/research-spec.md — a testable, falsifiable hypothesis set with explicit scope, inclusion / exclusion criteria, and success metrics — ready for /research-theory.
Canonical invocation
/research-specWith arguments:
/research-spec [path/to/question-or-notes] [--suite-name NAME] [--quick SLUG]Inputs
A free-form research question or raw notes (operator-supplied inline or as a path).
Outputs
_spec/research-spec.md (question, falsifiable hypotheses, scope, inclusion / exclusion criteria, success metrics, glossary) + _inputs/handoff-manifest.yml. --quick writes a lightweight project-local research brief instead.
Downstream
/research-theory (downstream consumer)
Workflow phases
The command follows the standard /research pipeline workflow:
- Load context — Read the question / notes, the rules, and any existing suite state.
- Frame the question — Decompose into falsifiable hypotheses with explicit scope and inclusion / exclusion criteria; surface every ambiguity via the structured-inquiry channel.
- Set success metrics — State the measurable criteria by which the research will be judged.
- Verify outputs — Confirm the spec is definitive (every authority-data gap resolved through the structured-inquiry channel, none left as an unfilled confirmation placeholder) and passes the rigor-mandate floor.
- Update the handoff manifest — Record the spec path and the open / resolved inquiry counts.
- Emit the spec —
_spec/research-spec.mdplus the handoff manifest.
Rigor floor
Each claimed contribution is constrained to be distinct, substantial, and independently ablatable, so its marginal effect can later be isolated. The depth of the required rigor floor scales to the target-venue ambition; where that ambition is unspecified it is confirmed through structured inquiry, never invented.
Failure modes
| Symptom | Cause | Recovery |
|---|---|---|
| Unresolved hypothesis ambiguity | Question under-specified | Surface via structured inquiry; do not invent scope |
| No measurable success metric | Goal stated as activity, not outcome | Re-frame as a testable, falsifiable outcome |
| Missing question input | No prose / notes supplied | Supply the research question inline or as a path |
Examples
# Frame a question into a research spec
/research-spec ~/notes/retrieval-latency-study.md --suite-name retrieval-latency
# Lightweight project-local research brief
/research-spec --quick retrieval-latencyCross-references
/research-ideate
/research-ideate — Formulates the problem space from a domain seed: opportunity-and-gap scanning, invalidated-prior-hypothesis scanning, and ranked candidate research-question generation — the head stage of the /research pipeline, feeding /research-spec.
/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.