Represents an issue found during story analysis.

interface AnalysisIssue {
    code: "INESCAPABLE_LOOP" | "DEAD_END" | "UNREACHABLE";
    message: string;
    pathExample: string[];
    scc?: string[];
}

Properties

code: "INESCAPABLE_LOOP" | "DEAD_END" | "UNREACHABLE"

The type of issue detected

message: string

Human-readable description of the issue

pathExample: string[]

Example path showing where the issue occurs

scc?: string[]

For loop issues, the strongly connected component nodes