From 80b4292405958fd29e6fa2bd9d71af88e28e6227 Mon Sep 17 00:00:00 2001 From: xRangerDE Date: Mon, 11 May 2026 22:15:12 +0200 Subject: [PATCH] docs: OAuth storage layer pattern + roadmap Plan 03 DONE Co-Authored-By: Claude Opus 4.7 (1M context) --- CLAUDE.md | 1 + tasks/v5.0.0-roadmap.md | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 83ab495..2788d1a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -37,6 +37,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co - **Queue sync throttling**: Adaptive refresh rates based on window visibility (900ms active → 9000ms hidden). - **Caching**: Multi-tier in-memory caches (user IDs, VOD lists, clip info) with configurable TTL and periodic cleanup. - **Error classification**: Errors categorized as network/rate_limit/auth/tooling/integrity/io/validation/unknown with retry scheduling. +- **Secrets**: OAuth-Token (Twitch + spaeter) landen verschluesselt via Electron `safeStorage` (Win Credential Manager) in `oauth_accounts` Tabelle der SQLite. Zugriff ueber `src/main/domain/token-store.ts`. Memory-Impl fuer Tests. - **Localization**: EN (`renderer-locale-en.ts`) and DE (`renderer-locale-de.ts`) string tables. ### External Tools diff --git a/tasks/v5.0.0-roadmap.md b/tasks/v5.0.0-roadmap.md index 5a45432..8e64df4 100644 --- a/tasks/v5.0.0-roadmap.md +++ b/tasks/v5.0.0-roadmap.md @@ -29,7 +29,8 @@ Beim Vergleich der echten Codebase (`src/main.ts` 7485 LoC mit 30+ Sektionen) ge ``` Plan 01: Foundation — Vitest + Pure-Utility-Extraction [DONE — v5.0.0-alpha.0] └─> Plan 02: SQLite-Foundation (P3) [DONE — v5.0.0-alpha.1] - └─> Plan 03: OAuth Device Code (P2) [NEXT] + └─> Plan 03: OAuth Foundation Storage (P2) [DONE — v5.0.0-alpha.2] + └─> Plan 03b: OAuth Flow Implementation (P2) [NEXT] └─> Plan 04: Live-Recording Polish + Sub-only (P1) ├─> Plan 05: Auto-Discovery Erweiterung (P7) └─> Plan 06: UI Power-Features (P5) @@ -62,8 +63,9 @@ Plan 10 = Release. |---|---|---|---| | 01 | Foundation: Vitest + Pure-Utility-Extraction | `tasks/v5.0.0-plan-01-foundation.md` | **DONE** (v5.0.0-alpha.0) | | 02 | SQLite-Foundation (Pillar 3) | `tasks/v5.0.0-plan-02-sqlite.md` | **DONE** (v5.0.0-alpha.1) | -| 03 | OAuth Device Code (Pillar 2) | `tasks/v5.0.0-plan-03-oauth.md` | **NEXT** | -| 04 | Live-Recording Polish (Pillar 1) | `tasks/v5.0.0-plan-04-live-rec.md` | nach Plan 03 | +| 03 | OAuth Foundation Storage (Pillar 2) | `tasks/v5.0.0-plan-03-oauth-foundation.md` | **DONE** (v5.0.0-alpha.2) | +| 03b | OAuth Flow Implementation (Pillar 2) | `tasks/v5.0.0-plan-03b-oauth-flow.md` | **NEXT** | +| 04 | Live-Recording Polish (Pillar 1) | `tasks/v5.0.0-plan-04-live-rec.md` | nach Plan 03b | | 05 | Auto-Discovery Erweiterung (Pillar 7) | `tasks/v5.0.0-plan-05-auto-disc.md` | nach Plan 04 | | 06 | UI Power (Pillar 5) | `tasks/v5.0.0-plan-06-ui-power.md` | nach Plan 04 | | 07 | Smart-Resume Final (Pillar 6) | `tasks/v5.0.0-plan-07-smart-resume.md` | nach Plan 06 |