mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 13:00:25 +01:00
* chore(deploy): rename revampit infra references to evig The GitHub repo was renamed revamp-it -> evig a while back and the domain/Caddy layer already points at evig.orangecat.ch (with a 308 from the old revampit.orangecat.ch), but the self-host deploy pipeline was still targeting /opt/revampit and the revampit-app systemd unit. Renamed the deploy script, CI's throwaway fixture names, and the smoke-test default URLs to match. The systemd unit + /opt directory on the box were renamed to evig-app / /opt/evig directly, verified live (200 before and after). Left untouched: production database names/users (revampit_cms etc. in rollback-production.sh, monitoring-setup.sh, check-services.sh) and the revampit-cron@*.timer / revampit-backup units — those are a separate, higher-stakes rename. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * chore(deploy): point deploy pipeline + CI fixtures at evig, not revampit The GitHub repo was renamed revamp-it -> evig a while back and the domain/Caddy layer already points at evig.orangecat.ch (with a 308 from the old revampit.orangecat.ch), but the self-host deploy pipeline was still targeting /opt/revampit and the revampit-app systemd unit. Updates the deploy script's NAME var, CI's throwaway fixture names/emails, and the smoke-test default URLs to match. The systemd unit + /opt directory on the box were renamed to evig-app / /opt/evig directly, verified live (200 before and after, zero downtime). Left untouched: production database names/users (revampit_cms etc. in rollback-production.sh, monitoring-setup.sh, check-services.sh) and the revampit-cron@*.timer / revampit-backup units — those touch live data and a schedule (one timer looks like it releases escrow), so they're a separate, higher-stakes rename flagged for a deliberate go/no-go rather than folded in here. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * fix(docs): point deploy-script docs at the renamed evig script The rename to scripts/selfhost-deploy-evig.sh left 5 docs pointing at the old filename, tripping the docs-paths CI gate (stale count rose 68 -> 73). Fixed the references; net stale count actually fell to 65, so lowered the baseline in the same PR per the gate's own instruction. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG * fix(ci): correct the docs-paths baseline back to 68 My previous commit set this to 65 based on a local run that was reading a dirty working tree (leftover untracked files were falsely satisfying 3 path checks). Verified against a truly clean clone of this branch: the real count, after the doc-path fixes, is 68 — unchanged from main, since this PR only touches the 5 revampit->evig references and leaves the pre-existing unrelated stale docs alone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG --------- Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <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)