For Agents

Reverse-chronological session log. Newest entries at top, grouped by date (## YYYY-MM-DD). Each bullet: one piece of work, short summary, wikilinks to docs touched. Updated by obsidian-documenter on every project doc write. Read by historian at bootstrap.

2026-06-04

  • Fixed a silently-broken DI layer: src/core/ioc.ts keyed services on t.prototype.name (always undefined) in both register() and get(), so all class registrations collided under undefined and ioc.get(Database) missed the registerExact("Database", ...) string key. Fix: key on t.name; works for the named class expression Database too. Verified with pnpm exec tsc --noEmit. Gotcha captured: services keyed by Class.name, so name-mangling minification would break resolution. Context: unblocked UsersService.provision() + paginated GET /users. — Fix - IoC Container Keyed on prototype.name
  • Documented the backend architecture decision to integrate Discord via discord.js (v14.26.4) rather than raw REST — DiscordService in src/services/discord.ts, gateway-ready foundation, first feature fetchProfile(id). Captured the IoC service pattern (binder.ts / bindServices(ioc)), the lazy-login ensureReady() gotcha (no login in constructor to avoid boot crash), DISCORD_BOT_TOKEN requirement, and GatewayIntentBits.Guilds-only intents. — Decision - Discord Integration via discord.js

2026-05-11

  • Documented the txArchive 2025 unified full-stack rewrite — created the project overview note (txArchive 2025 Rewrite), the new Supabase backend contract (txArchive Supabase Contract — supersedes the obsolete frontend §8), and the new SPA architecture (txArchive Frontend Architecture). Source: txarchive_2025/docs/txarchive-2025-unified-design.md. Captured: what the rewrite is (Rust monolith → Supabase; stock-shadcn SPA → Vite/React 18/TanStack stack; data migration; real OCR → full-text search; CI/CD; DNS cutover), the ~20 resolved decisions, doc locations, and status (design written, implementation plan in progress, adversarial validation loop to follow).
  • Initialized activity log.