DocsArchitecture & Integration
Database & Auth Roadmap
SQLite deployment details, append-only paradigm, and multitenant future.
Trentarev exclusively uses local SQLite (via better-sqlite3) for persistence, eliminating external database overhead.
Write-Capable Tables
- Calls: Immutable events documenting structural positions.
- Activity: Append-only log defining changes or exits.
- Derivatives: Profile statistics are computationally aggregated from
Calls+Activity.
Looking Forward (v2 Auth)
Currently, the app assumes a single local user. To permit cloud syncing, we plan to adopt:
- Session Enforcement: Asymmetric JWT validation.
- Row-Level Security: Migrating
user_idinto the indexing strategy. - Key-Exchange Integration: GitHub OAuth for minimal friction.