← Code-Übersicht

0019_session_and_operations_evidence.sql

Pfad: migrations/0019_session_and_operations_evidence.sql

Ext: sql

Größe: 1904 Bytes

Geändert: 2026-07-16 18:21:10+02

UPDATE dokumentation
SET body = body || $progress$

## Supervisionsfortschritt 2026-07-16 (Session-Vertrag)
- `login()` liefert jetzt einen opaken [WetellSessionHandle](/code/196); Primary, Discovery und Download bleiben an derselben aktiven Adapterinstanz.
- [WetellAuthenticationException](/code/197) trennt Authentifizierungsfehler von technischen Fehlern; Authfehler loesen nachweislich keinen Fallback aus.
- Aktuelles Gateway: 66 PHPUnit-Tests/157 Assertions, PHPStan Level 8, 9 Node-Tests und LOC gruen. Die reale Wetell-Session bleibt offen.
$progress$,
    updated_at = now()
WHERE slug = 'task-wetell-adapter-session-und-fallback';

UPDATE dokumentation
SET body = body || $progress$

## Supervisionsfortschritt 2026-07-16 (Symbolnachweis)
- Alarmklassifikation: [InvoiceLogAlertChecker](/code/194).
- Betriebsaufruf: [rechnung-alert-check.php](/code/192).
$progress$,
    updated_at = now()
WHERE slug = 'task-fehlerklassifikation-logging-und-datenschutz';

UPDATE dokumentation
SET body = body || $symbols$

## Ergaenzende Session- und Betriebssymbole

- [WetellSessionHandle](/code/196): opake Bindung eines erfolgreichen Logins an die aktive Portalinstanz.
- [WetellAuthenticationException](/code/197): verhindert den unzulaessigen Wechsel auf einen Fallback bei falscher Authentifizierung.
- [InvoiceLogAlertChecker](/code/194): reduziert Betriebsalarme datensparsam auf Run-ID, Fehlercode und Phase.
- [rechnung-alert-check.php](/code/192): ausfuehrbarer Monitoring-Einstieg fuer JSONL-Auditlogs.
$symbols$,
    updated_at = now()
WHERE slug = 'rechnung-prozess';

UPDATE dokumentation
SET body = replace(
        replace(body, '65 PHPUnit-Tests/155 Assertions', '66 PHPUnit-Tests/157 Assertions'),
        '216 Versionskandidaten',
        '219 Versionskandidaten'
    ),
    updated_at = now()
WHERE slug IN ('task-supervision-gesamtbefund', 'task-rechnungstests-und-fehlerinjektion');