* feat(auth): every way in, on @bitbaum/accountkit, keeping every account
Sign-in offered email and password and Continue with OrangeCat, on
next-auth. It now runs on AccountKit's runtime and screens: email and
password, the emailed sign-in link, passkeys, two-step codes, recovery,
OrangeCat and the shared sign-in (Google, Apple, GitHub, X, Facebook), each
shown once configured. /account holds passkeys, two-step codes, the
password, sign-in methods and deletion. next-auth, the hand-rolled
OrangeCat resolver and the unused /api/v1/auth/{login,register} are gone.
Every account is kept. The Prisma migration 20261101120000 adds
AccountKit's tables (auth_ prefix, modelled in schema.prisma so Prisma
never proposes dropping them) and imports each person under the same id:
the bcrypt / $bs1$ hash (legacyBcrypt) and the OrangeCat link keyed on the
sub, with AccountKit's own placeholder for a person without an address.
A trigger mirrors anyone the old server creates during the cutover. It is
re-runnable and refuses addresses that collide once lower-cased.
/api/v1/* takes the session cookie or the API token /api/account mints in
the format the Express backend verifies. The session key is
BETTER_AUTH_SECRET, or derived from the secret the box already holds.
CI: a new browser-smoke job rehearses the import twice (counts, no Prisma
drift) and drives Chromium through an imported account signing in with
its old password, sign-up, sign-out, a refused wrong password, sign-in,
recovery through the reset link, both API auth paths and every way in at
320, 390 and 1280px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
* test(browser): give the first article visit on next dev a compile-sized wait
The shared-article suite runs on next dev, which compiles a route on its
first visit. The account route (better-auth, pg) now compiles beside the
article for the header, so the first click can outlast the default 5s.
A production server answers at once; the account journey checks that.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
* ci: re-run checks on the latest head
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
---------
Co-authored-by: Claude <noreply@anthropic.com>
Market sizes, prices, revenue projections and success metrics in the
business docs, the Erfassung PRD and VISION carried no source and no
label. They are now marked as estimates, planned prices or targets.
The three 'case studies' reported results with no evidence behind
them; they are now illustrative scenarios with target outcomes. The
SOC 2 compliance claim becomes a target, since no audit exists.
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD
Co-authored-by: Claude <noreply@anthropic.com>
- npm/npx commands -> pnpm across all docs (packageManager pnpm@11.25.0); dropped npm-only --legacy-peer-deps and the `--` arg separator
- package-lock.json -> pnpm-lock.yaml in the preflight description
- Next.js 15 -> 16, Node 18+ -> 20+ (.nvmrc pins 24) wherever stated
- Jest "planned" -> Vitest active (frontend + backend, one runner); Playwright E2E documented as deferred from CI
- DEPLOYMENT.md CI/CD section now describes the real workflows: ci.yml verify gate, auto-merge sweep, deploy.yml -> selfhost-deploy to the Hetzner box (bitbaum, behind Caddy)
- README structure block matches the real layout (frontend/ + backend/, no apps/ or packages/); backend port 5000 -> 5001
- docs/README.md index renamed Formular -> DataCat and now links only documents that exist; erfassung README's never-written guides marked planned
- clone URLs your-org -> bitbaum/datacat; cd formular -> cd datacat
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Updated vulnerable packages where possible.
Some vulnerabilities remain due to next-contentlayer peer dependency conflicts.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>