@model PlotLineWorkspaceViewModel @foreach (var line in Model.Health.Lines) {

Plot Line health

@Model.PlotLines.FirstOrDefault(l => l.Line.PlotLineID == line.PlotLineID)?.Line.PlotLineName

@Model.Health.Scope.ScopeLabel · @Model.Health.Scope.OrderLabel · cutoff position @Model.Health.Scope.CutoffPosition of @Model.Health.Scope.SceneCount

Health evaluates the whole selected line, independently of thread filters and scene search. Stored status is not changed.

@if (!Model.Health.Scope.EvidenceComplete) {

Partial evidence: @Model.Health.Scope.MissingSceneCount scenes are omitted from this order. Absence-based findings are informational.

} @foreach (var thread in line.Threads) {

@thread.ThreadTitle

Stored author status: @thread.StoredStatus

Observed activity: @(thread.ObservedSignals.Count == 0 ? "No recorded contributions in this scope." : string.Join(" · ", thread.ObservedSignals))

Leading silence
@thread.LeadingScenes scenes before first recorded touch (or through cutoff if unstarted).
Last touch
@(thread.LastTouch is null ? "None recorded" : $"{thread.LastTouch.SceneTitle} · {thread.LastTouch.Signal} · position {thread.LastTouch.Position}")
Touch silence
@(thread.ScenesSinceTouch?.ToString() ?? "Unknown") scenes · @(thread.ChaptersSinceTouch?.ToString() ?? "Unknown") ordered chapters
Last progress
@(thread.LastProgress is null ? "None recorded" : $"{thread.LastProgress.SceneTitle} · {thread.LastProgress.Signal} · position {thread.LastProgress.Position}")
Progress silence
@(thread.ScenesSinceProgress?.ToString() ?? "Unknown") scenes · @(thread.ChaptersSinceProgress?.ToString() ?? "Unknown") ordered chapters
@if (Model.PlotLines.SelectMany(l => l.Threads).FirstOrDefault(t => t.PlotThreadID == thread.PlotThreadID) is { } declared) {

Declared introduction: @(declared.IntroducedSceneLabel ?? (declared.IntroducedSceneID.HasValue ? $"Scene {declared.IntroducedSceneID} — not available in this order/scope" : "Not set"))
Declared actual resolution: @(declared.ActualResolutionSceneLabel ?? (declared.ActualResolutionSceneID.HasValue ? $"Scene {declared.ActualResolutionSceneID} — not available in this order/scope" : "Not set"))

} Inspect/edit thread @foreach (var finding in thread.Findings.OrderByDescending(f => f.Level).ThenBy(f => f.RuleID)) {
@finding.Level · @finding.RuleID · @(finding.EvidenceComplete ? "Complete order coverage" : "Partial order coverage")

@finding.Title

@finding.Explanation

@foreach (var evidence in finding.Evidence) {
Position @evidence.Position · @evidence.Signal · @evidence.SceneTitle Go to scene
}
}
}
}