Skip to content

Latest commit

Β 

History

History
57 lines (42 loc) Β· 2.74 KB

File metadata and controls

57 lines (42 loc) Β· 2.74 KB

StoryCraft Studio β€” Completed Tasks (v1.1 Cycle)

Archived from TODO.md on 2026-04-18. These items were completed during the v1.1 stabilisation and hardening cycle.

For the current documentation map (all .md guides), see README.md Β§ Documentation Hub and AUDIT.md.


Critical (πŸ”΄) β€” All Completed

  • βœ… Set Tauri CSP (src-tauri/tauri.conf.json)
  • βœ… Correct Tauri identifier β†’ com.storycraft.studio
  • βœ… Synchronize Tauri version β†’ 1.1.1 (aligned with package.json, fixed build path + window config)
  • βœ… Restrict Tauri capabilities granularly
  • βœ… AbortController for all 14+ AI thunks in projectSlice
  • βœ… AbortController for hooks (ConsistencyChecker, Critic)
  • βœ… Activate retry() in geminiService (was defined, never called)
  • βœ… Auto-save state validation (null-check, 5MB warning)
  • βœ… generationHistory FIFO limit (50 entries)

High (🟑) β€” All Completed

  • βœ… Per-view error boundaries with recovery
  • βœ… Remove TypeScript any casts (hooks.ts, store.ts)
  • βœ… Redux logger opt-in via localStorage
  • βœ… Decrypt errors β†’ explicit recovery flow + UI warning
  • βœ… Collaboration PSK-based room isolation
  • βœ… Unit tests for critical services (geminiService, dbService, projectSlice, writerSlice, settingsSlice, listenerMiddleware, collaborationService)
  • βœ… Coverage thresholds (50%) configured
  • βœ… CI: lint (Biome) + typecheck on hard-fail
  • βœ… manualChunks extended (leaflet, konva, recharts)

Medium (🟠) β€” Completed Items

  • βœ… Performance budgets (Lighthouse CI)

Low (🟒) β€” Completed Items

  • βœ… Extend Storybook stories (Modal, Toast, Spinner, Drawer, ErrorBoundary)

Post-v1.1 Hardening Batch (2026-04-18)

The following follow-up tasks were completed after the initial v1.1 archive and are fully implemented:

  • βœ… CI Codecov migration to codecov/codecov-action@v5 (deprecated npm uploader removed)
  • βœ… Storybook CI changed to hard-fail mode (continue-on-error removed)
  • βœ… Lighthouse CI behavior tuned with --assert.exitCode=0 while keeping crash visibility
  • βœ… Added repository security disclosure policy in .github/SECURITY.md
  • βœ… PWA update flow switched to explicit user consent (no automatic update activation)
  • βœ… Removed install-time self.skipWaiting() from service worker install path
  • βœ… Added y-webrtc signaling failover endpoint (wss://signaling.yjs.dev)
  • βœ… Extended CSP connect-src for signaling fallback and self-hosted worker endpoints
  • βœ… Added owner-facing README guidance for self-hosted signaling (Cloudflare Worker path)
  • βœ… Replaced settingsSlice stub tests with comprehensive reducer/action coverage
  • βœ… Added applyInitialTheme roundtrip tests (persisted state + auto/system theme resolution)