Files
using.cash/openspec
rick 86d9a9da79
CI / docker (push) Has been cancelled
CI / build-and-test (push) Has started running
Add backend worker, bootstrap, and tests (sections 11-13)
Section 11 — Backend Worker:
- BackgroundWorkerService: IHostedService with 7 scheduled tasks
  (heartbeat, exchange rates, mail queue, event bus, blockchain monitor,
  forex P&L, auto payouts) on configurable intervals
- SchemaVersionCheck: IHostedLifecycleService that verifies schema
  version on startup
- Worker registered in API host (in-process)

Section 12 — Bootstrap:
- 009-bootstrap.sql: creates System Administrator role with all
  permissions and initial admin user

Section 13 — Tests (21 passing):
- MoneyTests: storage, display (fiat/crypto), arithmetic, currency
  enforcement, ToCurrency with double, equality, zero
- UserPasswordTests: PBKDF2 hash format, correct/wrong password verify,
  different salts, malformed hash handling
- EnumConsistencyTests: account types, permission count, dependency
  types, expense claim lifecycle

Also fixes task list honesty: 10 frontend pages correctly marked as
placeholders pending implementation.

Made-with: Cursor
2026-04-08 19:21:08 +02:00
..