graph TD
    IN([Task Schema v2.0]) --> GATE{Status Gate
Circuit Breaker} GATE -- "backlog / todo" --> BYPASS[CIRCUIT OPEN
Weight 0 - Monitors OFF] GATE -- "in_progress" --> ACTIVE[CIRCUIT CLOSED
Weight 1 - All Monitors ON] GATE -- "paused / done" --> PARTIAL[PARTIAL STATE
Ghost RUN - Timer FROZEN] ACTIVE --> M1[01 Ghost Filter
Forensic Value Audit] ACTIVE --> M2[02 Efficiency Monitor
Budget Audit] ACTIVE --> M3[03 Heartbeat Monitor
Stagnation Audit] ACTIVE --> M4[04 Scarcity Check
Statistical Viability] PARTIAL --> M1 PARTIAL --> M3 M1 --> G1{Commits = 0
AND Hours > 0?} G1 -- "Ghost Flag" --> P1[GHOST PENALTY
-40 pts] G1 -- "Ratio > 5.0" --> P1 G1 -. "Valid Output" .-> CE M2 --> G2{Ratio > 2.5?
Time Spent / Est. Hours} G2 -- "Zombie Flag" --> P2[ZOMBIE PENALTY
-20 pts] G2 -. "Normal Ratio" .-> CE M3 --> G3{Index > 3.0?
Activity / Threshold x Weight} G3 -- "Abandoned Flag" --> P3[STAGNATION PENALTY
-30 pts] G3 -. "Active Pulse" .-> CE M4 --> G4{Tasks < 3
OR Commits < 5?} G4 -- "Insufficient Data" --> P4[SCARCITY PENALTY
-50 pts] G4 -. "Sufficient Data" .-> CE BYPASS --> CE{Confidence Engine
GCS = 100 minus Penalties} P1 --> CE P2 --> CE P3 --> CE P4 --> CE CE --> T_HIGH[GCS 90-100 - HIGH
Standard Summary] CE --> T_MED[GCS 50-79 - MEDIUM
Conditional Summary] CE --> T_LOW[GCS below 50 - LOW
HALLUCINATION BRAKE] T_LOW --> SUPP[Suppress Projections
Completion Date - Costs - Velocity] T_LOW --> DISC[Mandatory Disclaimer
Data Confidence: LOW] classDef default fill:#14110f,stroke:#7e7f83,stroke-width:1px,color:#f3f3f4; classDef decision fill:#34312d,stroke:#d9c5b2,stroke-width:2px,color:#d9c5b2; classDef monitor fill:#131e2a,stroke:#4477aa,stroke-width:1px,color:#6699cc; classDef penalty fill:#2a1410,stroke:#ff5f56,stroke-width:1px,color:#ff5f56; classDef brakeNode fill:#3a1010,stroke:#ff5f56,stroke-width:2px,color:#ff5f56; classDef warnNode fill:#2a2010,stroke:#ffbd2e,stroke-width:1px,color:#ffbd2e; classDef passNode fill:#18281e,stroke:#27c93f,stroke-width:1px,color:#27c93f; classDef bypassNode fill:#161616,stroke:#7e7f83,stroke-width:1px,stroke-dasharray: 5 4,color:#8b949e; class GATE,G1,G2,G3,G4,CE decision; class M1,M2,M3,M4 monitor; class P1,P2,P3,P4 penalty; class T_LOW,SUPP brakeNode; class T_MED,DISC warnNode; class T_HIGH passNode; class BYPASS bypassNode; class ACTIVE,PARTIAL,IN default;