Define each tRPC API in its main-process feature and keep contracts model-only.
Separate renderer composition, feature state, and presentational UI components.
Retain desktop capabilities with explicit opt-out construction and authorization.
Add safe diagnostics, IPC timeouts/cancellation, snapshot streams, and cleanup.
Align renderer behavior with the structured design specification and shared tokens.
Record M1 scope, freeze rules, validation, and M2 release acceptance criteria.
Validation: lint, typechecks, 84 unit/SQLite tests, 2 Electron E2E tests,
build, packaged EXE test, production audit, and design/token checks passed.
Memory pressure required constrained Node memory and serial unit tests;
the default package extraction issue remains documented.