T-02 · Activation order has no cycles
| Field | Value |
|---|---|
| ID | T-02 |
| Category | transport |
| Severity | error |
| Blocks mode | HEURISTIC_DRAFT (blocks every promotion) |
| Applies to | every plan graph |
| Source | internal/sap/validate/validate.go |
What it checks
Section titled “What it checks”The plan’s directed edges form a DAG. SAP activation is ordered; a cycle makes the transport unbuildable.
When it fires
Section titled “When it fires”The DFS cycle detector finds at least one back edge in the task-graph adjacency list.
Failure detail
Section titled “Failure detail”T-02: cyclic dependency detected.
Resolution
Section titled “Resolution”Locate the cycle in the plan (the inspector marks the nodes on the cycle) and break the offending edge — typically by introducing an intermediate view or flipping the direction of a composition. See How to resolve a gate.