feat(schema): add schema codegen system with comprehensive test coverage
Summary:
- Canonical schema definition (schema/v1.json) as single source of truth
- Code generator producing SQLite, TypeScript, Rust from schema
- 26 fidelity tests verifying all backends match canonical schema
- Runtime validation integrated into Server and Electron backends
- Build integration (yarn build runs codegen automatically)
- Mobile schema drift documented as priority TODO in README
Test coverage verified (411 tests):
- Unit: 79 | Schema: 26 | Extension: 114 | Server: 110
- Sync: 9 | Version compat: 15 | Three-way: 8 | Mobile: 6
- Tauri Rust: 16 | Sync E2E: 13 | Version E2E: 15
Fixes applied:
- Schema path corrected for compiled JS (dist/backend/electron/)
- TypeScript type annotation for PRAGMA result
- Server Node engine aligned to v22 (matches Electron/repo policy)
- Mobile yarn.lock added for workspace isolation
Deferred: Interactive full e2e (requires mobile build env in release-builder workspace)
This is a binary file and will not be displayed.