Ocideck/lib
Brenno de Winter f93417dc3c Add fail-closed export classification gate (release ceiling)
Enforce an optional TLP release ceiling at the single export chokepoint
so no format (PDF/PPTX/HTML) can bypass it. Classifying a deck stays
optional; the gate only blocks decks classified above the configured
ceiling, and is off by default.

- ClassificationPolicy + ExportDecision: pure, tested decision logic
  (release ceiling, fail-closed; null = no gate).
- ExportService.export() evaluates the policy first and refuses without
  building or writing anything when blocked.
- Persist the ceiling as maxReleaseExportTlpKey in app settings/prefs
  (default off) with a setter on SettingsNotifier.
- Export dialog runs the same check up front and explains a blocked
  export before any work starts; app shell builds the policy from
  settings.
- Tests: classification_policy_test plus export_service chokepoint tests
  asserting a blocked export fails and writes no file.
- Docs: CHANGELOG, README, USER_GUIDE, ARCHITECTURE, SECURITY.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 00:26:29 +02:00
..
l10n Bundle pre-existing in-progress changes 2026-06-11 22:16:57 +02:00
models Add fail-closed export classification gate (release ceiling) 2026-06-12 00:26:29 +02:00
services Add fail-closed export classification gate (release ceiling) 2026-06-12 00:26:29 +02:00
state Add fail-closed export classification gate (release ceiling) 2026-06-12 00:26:29 +02:00
theme Add app theming, code slides, and flicker-free transitions 2026-06-06 20:41:24 +02:00
utils Add logger; replace silent catch(_) with logged fallbacks (#2) 2026-06-11 22:16:39 +02:00
widgets Add fail-closed export classification gate (release ceiling) 2026-06-12 00:26:29 +02:00
app.dart Apply repo formatter across the tree 2026-06-11 22:17:07 +02:00
main.dart Add dual-screen presenter mode (slide on beamer, notes on laptop) 2026-06-06 21:25:34 +02:00