Ocideck/lib/models
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
..
annotation.dart Add project docs, EUPL licence, and open-source licence check 2026-06-07 12:19:56 +02:00
chart.dart Add logger; replace silent catch(_) with logged fallbacks (#2) 2026-06-11 22:16:39 +02:00
deck.dart Add annotation layer (laser, pen, highlighter) over slides 2026-06-07 11:14:51 +02:00
settings.dart Add fail-closed export classification gate (release ceiling) 2026-06-12 00:26:29 +02:00
slide.dart Improve presentation editing and playback 2026-06-09 13:28:23 +02:00