detect_causal_cycles
Detect circular dependencies in a causal knowledge graph by tracing paths from a seed node, flagging feedback loops where prevents and enables create inconsistent reasoning.
Instructions
3B.6 — Detect cycles in the causal subgraph rooted at seed. CAVEAT: treats prevents as a directed edge, not as logical negation — prevents+enables triangles ARE flagged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | ||
| maxDepth | No |