managarten/.claude/plans
Till JS 5b673282f9 feat(infra): delete mana-core-auth (NestJS), replace with mana-auth (Hono+Bun)
Remove the entire NestJS-based mana-core-auth service (~36,000 lines
including tests, config, and package files). The new mana-auth service
(Hono + Bun, ~1,900 LOC) is the complete replacement on the same port.

Deleted:
- services/mana-core-auth/ — 169 files, 36,123 lines
  (NestJS 10, Express, class-validator, all NestJS infrastructure)

Updated:
- docker-compose.macmini.yml: mana-auth now builds from services/mana-auth
  with Bun healthcheck, simplified env vars (no Redis, no DuckDB needed)
- CLAUDE.md: mana-core-auth → mana-auth in services list
- Overview plan: marked Phase 4+5 as DONE, updated next steps

The ManaCore auth ecosystem is now:
- mana-auth (3001) — Auth, JWT, SSO, OIDC, Guilds, API Keys, GDPR
- mana-credits (3061) — Credits, Gifts, Guild Pools, Stripe
- mana-user (3062) — Settings, Tags, Storage
- mana-subscriptions (3063) — Plans, Billing, Invoices
- mana-analytics (3064) — Feedback, Voting

Total: ~6,600 LOC across 5 Hono+Bun services
Replaces: ~20,000 LOC in 1 NestJS service (67% reduction)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 03:04:01 +01:00
..
apps/nutriphi feat(todo): add Prometheus metrics and update docs 2026-01-25 13:31:44 +01:00
local-first-and-service-extraction-overview.md feat(infra): delete mana-core-auth (NestJS), replace with mana-auth (Hono+Bun) 2026-03-28 03:04:01 +01:00
local-first-architecture-migration.md docs: update local-first migration plan and CLAUDE.md to reflect 19/19 completion 2026-03-27 21:36:02 +01:00
mana-core-auth-production-readiness.md fix(mana-core-auth): complete production readiness with test fixes 2026-02-01 14:18:58 +01:00
monorepo-restructure-migration.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00