Files
CatoandClaude Opus 5.5 05d1b2da83 feat(auth): every way in, on @bitbaum/accountkit, keeping every account (#342)
* 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>
2026-11-01 23:21:15 +01:00
..

DataCat Documentation


created_date: 2025-07-28 last_modified_date: 2026-09-04 last_modified_summary: "Renamed Formular -> DataCat; index now lists only documents that exist."

Project Overview

DataCat (formerly Formular) is a universal AI-powered data capture platform that transforms any form responses into actionable business insights by combining user data with contextual knowledge and AI analysis.

Vision

Create an intuitive form builder that collects responses and uses AI to extract actionable insights across any industry or use case where form responses need intelligent analysis.

Core Value Proposition

Transform any form responses into actionable intelligence by combining user data with contextual knowledge and AI analysis.

Directory Structure

docs/
├── README.md                 # This file - documentation index
├── getting-started/          # Onboarding and quick start guides
├── architecture/             # System design and architecture docs
├── development/              # Development guides (rearchitecture plan)
├── deployment/               # Deployment and operations guides
├── business/                 # Business case and market analysis
├── features/                 # Feature documentation (Erfassung)
└── decisions/                # Architecture Decision Records (ADRs)

Quick Navigation

🚀 New to the project?

🏗️ Architecture & Design

👩‍💻 Development

🚀 Deployment

🐱 Features

📊 Business & Market

Documentation Standards

  • All documentation uses Markdown format
  • Each document includes metadata header with creation and modification dates
  • Use clear, descriptive headings and table of contents for longer documents
  • Include code examples and screenshots where helpful
  • Keep a changelog of major updates

Contributing to Documentation

  • Documentation updates should accompany code changes
  • Review documentation regularly for accuracy

Last updated: 2026-09-04