feat(runbook): Notfall-Runbook + Inline-Hints an Alarm-Flaechen (CHO tower-notfall-runbook)

DATEI 1: public/runbook/runbook-tower-notfall.md (statisch, Anker #deadman/#spool/#deadletter/#health)
DATEI 2: /runbook-Route (Server Component, Mini-MD-Renderer, CSP-konform, force-static)
DATEI 3: runbookHints.ts (LAMP_HINTS/buildView/renderHintHtml 1:1 aus runbook_hints.py)
       + RunbookHint.tsx eingebunden an 4 Alarm-Flaechen:
         - EscalationHistory (Deadman, Szenario A)
         - TaskBrowser Spool-Tab (Szenario B) + Dead-Letter-Tab (B3)
         - TaskBrowser/OpsPanels Degraded/Error (Health, Szenario C)
Keine Ampelfarben/Deadman-Logik/Degraded-Banner/Datenpfade angefasst (CHO-NICHT ANFASSEN erfuellt).
Build verifiziert: tsc --noEmit clean, next build gruen (/runbook static).
This commit is contained in:
Dominik Schön
2026-10-30 16:58:17 +00:00
parent adb2286929
commit e5261401fe
7 changed files with 454 additions and 0 deletions
@@ -1,6 +1,8 @@
"use client"
import { useEffect, useState } from "react"
import RunbookHint from "./RunbookHint"
import { hintByKey } from "@/app/lib/fleet/runbookHints"
/**
* EscalationHistory — Kernfeature 4: HITL-/Escalation-Historie.
@@ -93,6 +95,7 @@ export default function EscalationHistory() {
<h2 className="text-[10px] uppercase tracking-wider text-[var(--status-stopped)] mb-3">
HITL-Alarme (type=escalation)
</h2>
<RunbookHint hint={hintByKey("deadman")} />
{esc.length === 0 ? (
<p className="text-xs text-[var(--foreground-dim)] font-mono py-4 text-center">
Keine Alarme — alles ruhig