Failure Chain Tracing
Testing & Qualityfailure-chain-tracingFailure Chain Tracing is an Agent Skill for testing & quality published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Tactic: Trace upstream causes and downstream effects of each failure mode. Builds multi-level cause-mode-effect chains for systemic understanding.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/failure-chain-tracing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/failure-chain-tracing, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Failure Chain Tracing Tactic
Trace each failure mode both upstream (root causes) and downstream (cascading effects) to build complete causal chains.
Orchestration
- Start from identified failure mode
- failure-chain-construction traces upstream:
- Why could this mode occur? (immediate cause)
- Why could that cause occur? (root cause)
- Repeat to budget depth (2/4/6 levels)
- failure-chain-construction traces downstream:
- What effect does this mode produce? (local effect)
- What does that effect cause? (system-level effect)
- What is the end impact? (customer/stakeholder effect)
- Chain validated for logical consistency
- Shared causes across multiple modes flagged as systemic risks
Depth Control
- Budget S: 2 levels (immediate cause → mode → local effect)
- Budget M: 4 levels (root cause → ... → system effect)
- Budget L: 6 levels (full chain with environmental factors)
Subagents Dispatched
- failure-chain-construction (upstream and downstream tracing)
- severity-scoring (end-effect severity assessment)
Termination Conditions
- Chain depth exhausted per budget
- Root cause reached (no further upstream cause identifiable)
- End effect reached (stakeholder-level impact identified)
- Circular dependency detected (flag and stop)
Available SOPs
Optional, no fixed order; the final leaf is always a sop.
| SOP | When to use |
|---|---|
| failure-chain-construction | Build cause-mode-effect chains tracing upstream root causes and downstream cascading effects for each failure mode. |
| severity-scoring | Rate failure mode severity 1-10 based on end-effect impact. Follows AIAG-VDA severity scale calibrated for research artifacts. |