mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 12:38:10 +01:00
The backlog described two rounds; there have been three. The third came from
opening all 33 public pages in a browser instead of reading the code, and the
distinction matters enough to write down: greps and typechecks were green
throughout, while the site was serving donation buttons pointing at another
organisation, two nav entries rendering <a href="">, a 404 in the live FAQ,
a tenure claim on an org founded two years ago, and three different causes of
one doubled page title.
Records what the refocus settled (services catalogue, Über uns, navGroup as
the placement SSOT) so it is not re-litigated, and adds the four gates from
this pass — each mutation-proved, because a gate that has never been seen red
is a claim rather than a check.
Two items promoted to "needs a human decision", both because they are claims
about the world that the repository cannot answer:
- Praktikum + Wiedereinstieg name HEKS, AOZ and two municipalities as
partners. If evig runs those programmes they belong with pillar 4 and
deserve prominence; if they came across with the code, naming four real
organisations is worse than merely off-thesis.
- /karriere is invisible to nav, footer and sitemap, and carries the only
hardcoded-German PageHero on the site, so it is also the one page that
cannot be translated.
And education is now stated as the biggest gap rather than a bullet: George
has said teaching will be a large part of what evig does, and /workshops
renders "0 Workshops" while /blog renders nothing. The seeded workshops use
legacy category strings matching none of the ten canonical ids, are written
in formal "Sie" against the site's "du", and have no instances outside
e2e-seed.ts — so even with rows there would be no dates and no registration.
New process notes: a cancelled deploy is not a failed one (a newer merge
supersedes it, and a watcher checking only "not success" cries wolf), and
measure the rendered output rather than reasoning about the framework — two
of the three doubled titles were missed by reasoning about Next's
title.template and found by curling <title>.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Documentation
Curated reference for engineers, operators, and contributors. Everything in this folder is meant to stay reasonably current — point-in-time work logs, incident reports, and superseded plans live under archive/.
Getting started
- SHARED_CONTEXT.md — tech stack, database, file layout
- COMMANDS.md — every npm script and what it does
- BEST_PRACTICES.md — engineering standards (logger, TABLE_NAMES, parameterized queries, Swiss-German rules)
- ARCHITECTURE_QUICK_START.md — the 10-minute architecture orientation
Architecture
- ARCHITECTURE_DATABASE_BACKEND.md — schema, Drizzle ORM, query patterns
- DATABASE_SCHEMA.md — the canonical schema reference
- UNIFIED_AUTH.md — Auth.js v5, JWT sessions, verify-code, shared admin login
- ARCHITECTURE_DEBT.md — resolved parallel-implementation debt (#1–#3 done)
- HIRN_AI.md — the in-house AI knowledge / action system
- API_DOCUMENTATION.md — public + internal API surface
Product surfaces
- FEATURE_INVENTORY.md — 155-item feature/route audit matrix (living SSOT)
- BLOG_SYSTEM.md — content pipeline + approval flow
- PROJECT_PAGES_GUIDE.md — community project pages
- SERVICE_PAGES_GUIDE.md — paid service pages
- ADMIN_QUICK_REFERENCE.md — admin surface tour for staff
- AI_BOT_SYSTEM_PROMPT.md · AI_BOT_SYSTEM_PROMPT_README.md — public chatbot system prompt + how to update it
Design
- DESIGN_SYSTEM.md — CSS-variable SSOT, semantic Tailwind, dark-mode behavior
- RESPONSIVE_DESIGN_SYSTEM.md — mobile-first responsive primitives in
src/lib/responsive.ts
Operations
- MIGRATIONS.md — canonical migration path (
scripts/db/migrations/), naming, idempotency rules, applied to the prod self-hosted Hetzner Postgres on deploy (tracked inschema_migrations) - EMAIL_SETUP.md — Listmonk + Brevo configuration
- RELIABILITY.md — uptime expectations, on-call practices
- CODE_AUDIT.md — running list of known issues being worked on
- LEGAL_NONPROFIT_COMPLIANCE.md — Swiss-Verein legal posture, data handling
Mission
- MISSION_STATEMENT.md — why this codebase exists
- CODE_OF_CONDUCT.md — community norms
Subdirectories
api/— per-route referencecomponents/— component-level notesdevelopment/— environment + workflow setupfeatures/— feature briefsguides/— how-to walkthroughshirn/— HIRN AI internalslegacy/— preserved older docsreference/— long-form reference materialarchive/— superseded plans, incident reports, completed-migration logs (preserved for history, not for navigation)