1237f10539c82d577d872f6d9491cfc69e5082ff
- sessions.ts / jobs.ts schema: add .references(() => nostrIdentities.pubkey) FK constraints on nostrPubkey columns; import without .js extension for drizzle-kit CJS compat - Schema pushed to DB (FK constraints now enforced at DB level) - sessions route: call getOrCreate before insert to guarantee FK target exists; recordFailure now covers both 'rejected' AND 'failed' final states - jobs route: call getOrCreate before insert; recordFailure added in runEvalInBackground for rejected and failed states; recordFailure added in runWorkInBackground catch block for failed state - All GET/POST endpoints now always return trust_tier (anonymous fallback) - Full typecheck clean; schema pushed; smoke tested — all routes green
Description
Timmy Tower World — sovereign AI agent economy
Languages
TypeScript
68.9%
JavaScript
15.5%
Shell
10.6%
HTML
4.5%
CSS
0.4%