construct-counterfactual
Installation
SKILL.md
construct-counterfactual
Purpose
Construct the minimally or explicitly intervened counterfactual world required by the parent analysis.
Input contract
required: [baseline_artifact, intervention_target, intervention_specification]
optional: [structural_model, invariants, outcome_query]
constraints: [alter only declared factors; preserve stated invariants]
Procedure
- Freeze the baseline artifact and enumerate the target factor's dependencies.
- Apply the intervention specification while holding declared invariants fixed.
- Propagate direct and cascading effects through the structural model.
- Compare queried outcomes and classify hold, weaken, flip, or indeterminate.