Adds @bitbaum/chatkit (dev only — evig has no chat) for its
chatkit-check-file-inputs bin, and `check:file-inputs` to `verify`, which
CI runs verbatim. It fails any file input whose literal accept mixes image
and document families, the shape that made Android show a capture-app
chooser instead of the file browser (SourceUploader, fixed in #537).
Pinned to the merged chatkit 0.4.1 commit until it is on npm.
Claude-Session: https://claude.ai/code/session_01BWXjqiHm8jFta4FXuc7Tck
Co-authored-by: Claude <noreply@anthropic.com>
The E2E personas are real accounts on a real deployment, and every place
that needed one carried it as a literal in a public repo: a fallback in
scripts/e2e-inventory-prod.sh, four `|| '...'` defaults across the e2e
specs and their auth helper, a workflow header comment, and two docs
tables. The repo therefore published whose accounts they are — and the
defaults were dead weight besides: CI has supplied both addresses from
the repository secrets of the same name since they were created, so the
literals were an unreachable branch that only ever leaked.
Now there is no default anywhere. The addresses come from
AUTH_TEST_USER_EMAIL and AUTH_TEST_ADMIN_EMAIL, both existing repo
secrets, and the absence of one is an error rather than a quiet
substitution:
- scripts/e2e-inventory-prod.sh requires both with `:?` naming the
secret. The "no passwords configured, skip" path still runs first, so
an unconfigured checkout is unaffected.
- The two consuming jobs guard first and fail with `::error::` naming
the missing secret, instead of dying inside bash or playwright.
- The specs skip a persona when its address is unset, the same way they
already skip on a missing password, rather than attempting a login
with an empty e-mail and reporting it as a broken page.
Unchanged: the e2e-local job, which sets all four addresses to its own
seeded @evig.test fixtures at job level, so the defaults were never
reached there either.
Not addressed here, and still in the tree: the owner's address in the
SUPER_ADMIN_EMAILS allowlist (plus its assertions and the applied SQL
migrations that reference it), and the public contact address in
src/config/org.ts, which is published on purpose. Those are identity and
data, not E2E credentials, and removing them is a separate decision.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Docs truth-sweep against ground truth (package.json, CI workflows):
- npm → pnpm across evergreen docs (pnpm 11.25.0 is the package manager;
npx tsx → pnpm exec tsx, npx ts-prune/jscpd → pnpm dlx, npm ci →
pnpm install --frozen-lockfile, package-lock.json → pnpm-lock.yaml)
- Jest → Vitest in README, CONTRIBUTING, COMMANDS (vitest 4 is installed)
- Node claims: README 20+ → 22.13+ (engines) with CI/deploy on 24;
deployment.md "Setup Node 20 (npm cache)" → Node 24 (pnpm cache), and
the pipeline line now shows `pnpm run verify` as CI actually runs
- TypeScript 5.x claims → 6 (typescript ^6.0.3); Next.js 14 → 16 in
BLOG_SYSTEM, guides/ARCHITECTURE, AI_BOT_SYSTEM_PROMPT
- COMMANDS.md: dropped nonexistent `dev:cms` script; services list fixed
to db/meilisearch/listmonk (no redis in compose)
- HR_RUNBOOK: `npm run test -- src/…` → `pnpm run test src/…` (pnpm
passes args without the `--` separator)
Historical records (docs/archive/**, dated audit reports, UPGRADE_PLAN)
left as-is — they describe what was true when written.
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>
* 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>
Close inventory items #19 and #24 with dual-persona coverage, align
update-request canton validation with create schema, and harden login/API
helpers for local webpack dev runs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Blog draft → publish → public view journey; exempt known prod test emails from IT-Hilfe create rate limit so inventory can run all journeys back-to-back.
Co-authored-by: Cursor <cursoragent@cursor.com>
Deterministic sense_check flow with absolute quorum 1; wired into prod inventory script and feature inventory (#98, #99).
Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise create, process-notes JSON import, review UI, and finalize without
depending on LLM availability on prod.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add admin create → checklist gate → publish E2E and coerce selling_price_chf
before toFixed so published intake detail no longer hits the error boundary.
Co-authored-by: Cursor <cursoragent@cursor.com>
Normalize Postgres TIME to HH:MM on timecard API reads so resubmit no longer
400s. Align preferred-technician selection with community visibility SSOT.
Add prod E2E for timecards, IT-Hilfe preferred flow, and richer dynamic
route discovery (orders, sellers, admin detail pages).
Co-authored-by: Cursor <cursoragent@cursor.com>
Add dual-persona E2E for workshop propose/approve/reject (#61–62) and wire it
into post-deploy inventory. CI now replays all migrations on pgvector Postgres
with idempotent guards so fresh-DB apply matches prod evolution.
Co-authored-by: Cursor <cursoragent@cursor.com>
Community technicians are public when active; Techniker terminology SSOT;
dynamic ID discovery and empty-state fallbacks; Payrexx setup doc; dual-persona
E2E for workshops registration and service appointment assign flow.
Co-authored-by: Cursor <cursoragent@cursor.com>
Admin creates request, user techniker offers/completes, admin accepts/reviews.
Post-deploy and CI inventory now include journey; add service repair and
upcycling routes to the inventory matrix.
Co-authored-by: Cursor <cursoragent@cursor.com>
Post-deploy job hits 186 routes as user + admin when E2E passwords are
in GitHub secrets; CI also runs optional prod inventory on PRs/main.
Co-authored-by: Cursor <cursoragent@cursor.com>
Every navigable surface is checked as non-admin user and staff admin on
prod. Route matrix lives in inventory-routes.ts; run via test:e2e:inventory.
Co-authored-by: Cursor <cursoragent@cursor.com>
Retire cloud DB and AUTH_DB_* split in code, env examples, and docs so
local dev uses Docker Postgres and prod ops use the Hetzner tunnel pattern.
Add Playwright user-admin-flows spec with locale-aware auth helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
A lot of documentation still described the retired stack. Updated to ground truth:
prod DB = self-hosted Postgres 17 on Hetzner (Neon retired for prod+auth, single
DATABASE_URL pool); images on Cloudflare R2 (revampit-media); deploys via GitHub
Actions → rsync → systemd revampit-app (Vercel retired); nightly off-box backups
to R2 (revampit-backups). Rewrote DISASTER_RECOVERY.md and deployment.md for the
self-host flow, marked github-vercel-setup.md legacy, and added HISTORICAL banners
to point-in-time audit/architecture docs (DATABASE_AUDIT, AUDIT_REPORT, CODE_AUDIT,
guides/ARCHITECTURE, BACKEND_CONTENT_MANAGEMENT, hosting-migration-frauenfeld).
Surgical factual fixes to README, SHARED_CONTEXT, COMMANDS, MIGRATIONS,
ARCHITECTURE_DATABASE_BACKEND, system-integration, installation, MIGRATION_PLAN_QQQ5,
production-ready-checklist, and the docs index.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Consolidates the Monitor-Upcycling sub-site (reading flow SSOT, business plan
split, stale content fixes, local photos), fixes Projekte mega-menu labels via
nav.items.* resolution, and redesigns public techniker profiles to match list UX.
Docs and i18n parity scripts updated; typecheck, i18n:businessplan, build pass.
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove all Medusa-specific documentation (MEDUSA_*.md, SETUP_*.md,
README_MEDUSA.md, AI_AGENT_QUICK_REFERENCE.md, REVAMPIT_SHOP_*.md).
Update remaining docs, README, AGENTS.md, CLAUDE.md, env examples,
sitemap, and agent config files to reflect the simplified architecture
without Medusa dependency. Replace Medusa.js with WooCommerce in
service offerings documentation.
Co-Authored-By: Claude Opus 4.6 <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>