AI INVESTIGATOR / 05 / HYPOTHESIS + CAUSAL POLICY / 2026

Hypothesis & Causal Policy.

Engine-neutral policy для Investigator: как создавать и изменять гипотезы, как учитывать supporting/counter evidence, как различать cause/contributor/trigger/correlation, как обрабатывать confounders и как принимать provisional verdict без преждевременной уверенности.

Главное правило: никакой единой «магической confidence». Investigator обязан хранить отдельно evidence confidence, model/statistical confidence, hypothesis belief и verdict certainty.

1. Hypothesis lifecycle

DRAFT
→ OPEN
→ SUPPORTED
→ PARTIAL
→ WEAKENED
→ REJECTED

Possible transitions:
OPEN → SUPPORTED
SUPPORTED → WEAKENED
WEAKENED → SUPPORTED
PARTIAL → REJECTED
REJECTED stays historical

2. Causal roles

ROOT_CAUSE
CONTRIBUTING_FACTOR
TRIGGER
ENABLING_CONDITION
MEDIATOR
CONFOUNDER
CORRELATED_FACTOR
ALTERNATIVE_CAUSE
UNKNOWN_ROLE
RoleMeaning
ROOT_CAUSEunderlying factor without which incident is unlikely under defined scope
CONTRIBUTING_FACTORincreases probability/severity but not sufficient alone
TRIGGERproximate event that activates an existing failure condition
ENABLING_CONDITIONmakes causal path possible
MEDIATORtransmits part/all of causal effect
CONFOUNDERaffects both candidate cause and outcome
CORRELATED_FACTORassociated without sufficient causal support

3. Evidence policy

DIRECT_OBSERVATION
MEASUREMENT
EXPERIMENT
OFFICIAL_DOCUMENT
INDEPENDENT_SOURCE
LOG_TRACE
VERSION_HISTORY
EXPERT_ANALYSIS
MODEL_RESULT
INFERENCE
SUPPORTS
WEAKLY_SUPPORTS
NEUTRAL
WEAKENS
CONTRADICTS
{
  "evidence_id": "...",
  "hypothesis_id": "...",
  "direction": "SUPPORTS",
  "class": "EXPERIMENT",
  "source_refs": [...],
  "scope": {...},
  "independence_group": "...",
  "reliability": "HIGH",
  "notes": "..."
}

Пять статей, перепечатавших один пресс-релиз, не считаются пятью независимыми evidence units.

4. Confounder / mediator policy

Before CAUSES:
check temporal precedence
check scope match
check common causes
check mediator
check alternative cause
check selection bias
check environment/version
check intervention evidence
candidate A→Y

if C plausibly causes A and Y:
→ mark C as CONFOUNDER
→ weaken naive A→Y
→ request discriminating evidence
A→M→Y

M is not automatically
independent second root cause.

Store:
A CAUSES/CONTRIBUTES_TO M
M MEDIATES effect on Y

5. Confidence separation

source_reliability
evidence_strength
hypothesis_belief
statistical_confidence
model_confidence
verdict_certainty
{
  "source_reliability": "HIGH",
  "evidence_strength": "MEDIUM",
  "hypothesis_belief": 0.70,
  "statistical_result": {
    "type": "posterior",
    "value": 0.74,
    "engine": "pgmpy"
  },
  "qwen_confidence": 0.66,
  "verdict_certainty": "MEDIUM"
}

Qwen confidence никогда не выдаётся пользователю как statistical probability.

6. Causal verdict vocabulary

CAUSAL_SUPPORTED
CAUSAL_WITH_LIMITS
CONTRIBUTING_FACTOR
TRIGGER_ONLY
ENABLING_CONDITION
CORRELATION_ONLY
INSUFFICIENT_EVIDENCE
CONFLICTING_EVIDENCE
ALTERNATIVE_MORE_LIKELY
NO_CAUSAL_SUPPORT
VerdictRequirements
CAUSAL_SUPPORTEDtemporal + mechanism + scope + strong evidence + alternatives addressed
CAUSAL_WITH_LIMITSgood support but known caveat/limited scope
CONTRIBUTING_FACTORevidence shows partial influence, not sole/root cause
TRIGGER_ONLYproximate activation, root condition elsewhere
CORRELATION_ONLYassociation without causal mechanism/support
INSUFFICIENT_EVIDENCEkey discriminating evidence absent

7. Routing policy

Researcher

missing source
version history missing
independent corroboration missing
confounder unresolved
mechanism evidence missing
→ ResearchRequest

Experiment

controlled intervention can discriminate
H1 vs H2
or validate mechanism
→ ExperimentRequest

Skeptic

provisional causal claim ready
→ verify scope, overstatement,
support, alternatives, counterevidence

Dossier

persist:
hypothesis revisions
evidence links
counterevidence
open gaps
provisional/final verdict
external analysis refs

8. Investigation closure

RESOLVED
RESOLVED_WITH_LIMITS
UNRESOLVED
DEFERRED
CLOSED_NO_CAUSAL_SUPPORT
[ ] alternatives addressed
[ ] counterevidence recorded
[ ] version/environment scope explicit
[ ] major gaps resolved or accepted
[ ] causal vocabulary not overstated
[ ] Skeptic review complete for publishable claim
[ ] reproducibility refs stored where numerical analysis used
UNRESOLVED — нормальный качественный результат. Это лучше ложного root cause.

9. Policy examples

Firmware update preceded failure

Evidence:
failure starts after 3.2
but hardware revision also changed

Policy:
H1 firmware regression = OPEN/PARTIAL
H2 hardware change = OPEN
hardware = possible CONFOUNDER/alternative

Verdict:
INSUFFICIENT_EVIDENCE

Route:
Researcher + possible Experiment

Config flag experiment

same system
flag OFF → no issue
flag ON → issue
repeated
mechanism plausible

Verdict:
CAUSAL_SUPPORTED or CAUSAL_WITH_LIMITS
depending scope

Trigger vs root cause

request spike triggers outage
but leaked resource accumulated for 6h

request spike:
TRIGGER_ONLY

resource leak:
ROOT_CAUSE candidate

10. Golden policy tests

CaseExpected
temporal onlyCORRELATION_ONLY
confounder discoveredcausal hypothesis weakened
strong counterevidenceSUPPORTED can downgrade
same root issue + new triggertrigger separated from cause
mediator mistaken as rootcorrect relation required
five copied sourcesone independence group
Qwen confidence 0.9not treated as statistical probability
missing evidenceResearcher request
testable competing hypothesesExperiment request
uncertain after full analysisUNRESOLVED allowed

11. Definition of Policy Done

[ ] hypothesis lifecycle fixed
[ ] causal roles fixed
[ ] evidence directions fixed
[ ] independence groups
[ ] confounder checks
[ ] mediator checks
[ ] alternative causes mandatory
[ ] confidence types separated
[ ] verdict vocabulary fixed
[ ] Researcher routing
[ ] Experiment routing
[ ] Skeptic routing
[ ] closure states
[ ] unresolved allowed
[ ] rejected hypotheses preserved
[ ] policy independent of DoWhy/pgmpy/EconML
Следующий документ: `AI_investigator_6_MCP_API_контракты.html` — investigation lifecycle, hypothesis/evidence operations, causal links, external analysis runs, Researcher/Experiment/Skeptic routing и permissions.