Closer/functions
null 884cf9f614 chore(build): stop committing functions/dist; delete stale schema cruft (kill the artifact-drift class)
The dist-stale bug (deployed onCoupleKeyRotated lacked committed src twice) was
one instance of a class: a tracked build artifact whose source is elsewhere,
with no guard they match. Fix it at the root — don't track the artifact.

- functions/dist: git rm --cached (104 files) + gitignored. src is truth; dist
  is tsc output that ships (main: dist/index.js). The predeploy hook already
  builds it at deploy and backend-ci builds it for tests, so the old
  "committed for reproducibility" rationale is dead — committing it only hid
  drift behind noisy .js/.js.map diffs. You cannot ship stale what you don't
  track; a deploy on a fresh clone now fails loudly (missing dist) instead of
  shipping old code.
- app/schemas: deleted the stale com.couplesconnect.app.data.local dir — dead
  cruft from the package rename to app.closer, and living proof the class isn't
  hypothetical. The live app.closer schema stays committed (legitimate Room
  migration provenance, validated by AssetDatabaseVerifyTest).
- ERM rewritten: the dist-committed convention is reversed; the app.db + schema
  cousins documented as same-class-but-guarded.

No behavior change — dist remains on disk (untracked) so local/predeploy/CI
builds and deploys are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 02:58:38 -05:00
..
scripts feat(dates): Firestore-backed date catalog + sponsored ideas 2026-07-06 21:02:22 -05:00
src feat(crypto): wire "change recovery phrase" with a partner handshake (closes the desync landmine) 2026-07-15 21:57:58 -05:00
jest.config.js fix: test infrastructure and entitlement logic updates 2026-06-17 21:08:13 -05:00
package-lock.json build(functions): B6a bump firebase-functions to v7 (latest) 2026-07-08 00:03:17 -05:00
package.json build(functions): bump runtime Node 20 → 22 (Node 20 decommissioned 2026-10-30) 2026-07-08 03:42:18 -05:00
tsconfig.json feat(billing): server-side entitlement sync — RevenueCat webhook handler, entitlement logic, Firestore EntitlementChecker, Hilt DI, callable sync function (batch 10) 2026-06-17 01:25:51 -05:00