* fix(copy): stop claiming a workshop, partners and receipts evig does not have
evig is online-first and in Gründung (org.ts BASE_REGION: no public store),
but several public pages still carried Revamp-IT's facts:
- get-involved: drop the "Partnerorganisationen" list (Uster, Rüti, HEKS,
AOZ) - Revamp-IT's partners, never evig's.
- reparaturbonus: drop the "Werkstatt und Verkaufsstelle" card, "seit über
zwei Jahrzehnten", "repariert seit 2026 mitten in Zürich" and "bring dein
Gerät direkt zu evig"; repairs are found through IT-Hilfe technicians.
- faq: drop "Kann ich ohne Termin vorbeikommen? Gerne." and fix the mojibake
closing quote in "Right to Repair" (de).
- donate: drop "Spendenquittung auf Anfrage" (no receipts until the Verein is
recognised) and the uncited 285 kg CO2 figure (co2-impact.ts gives a laptop
150 kg).
- about: drop "Werkstatt, Repair-Café" from the repair line.
- home/transparenz: drop "kostenlos"/"ohne Gebühren" and "freiwillige
Techniker" (technicians can be paid); fix "Als in Gründung" grammar.
- changelog: evig.ch is not registered - drop it; `npm run d` -> `pnpm run d`.
All eight locales changed together; ru home "Nutzen" card had a wrong string.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* docs(copy): README states TypeScript 6 and no stale table count
The badge said TypeScript 5 (package.json pins ^6.0.3) and "~130 table
name constants" when TABLE_NAMES has 121; say what it does instead of a
count that drifts.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(copy): inquiry confirmation links the site by its real host, not evig.ch
The auto-reply to a contact inquiry said "mehr über uns erfahren auf evig.ch"
(ORG.emailDomain) while linking ORG.website. evig.ch is not registered
(org.ts: no MX, no A record), so the visible text named a domain that does
not resolve. Show the host of ORG.website instead (evig.orangecat.ch).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(copy): finish the workshop cut, stop implying a technician network
Round 2 after independent review of PR #531.
- Workshop/on-site claims left one key away from round 1: donate hero,
wishlist, drop-off intro, device path, FAQ, technical-experts benefits
(workshop access + "diverse expert team"), founding story, dashboard
appointments card.
- /api/technicians total = 1: copy describes request -> offer instead of
"technicians near you" / "Techniker-Netzwerk" (reparaturbonus, about,
home, IT-Hilfe hub + meta, divisions, transparenz, nav, techniker meta).
- /api/workshops = []: drop "vor Ort in Zürich" courses and the donate
tier's "place in our Linux workshop".
- transparenz.mission.body: non-de locales no longer interpolate the German
ORG.legalForm; dead keys mission.text + geschichteSection.milestoneDesc
deleted; Hirn prompts say "Verein in Gründung".
- Admin impact page + metric formula: 285 kg/device replaced by the
per-category factors read from config/co2-impact.ts.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(copy): ru transparenz no longer claims no fees, like the other locales
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017cqEJ2nWRCs2CA6GP6BmoZ
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Makes taking this project as easy as using it: what it needs to run,
where its branding lives, that the shared kits need no private registry,
and three questions for people who want to build it with us. Adds
"license": "MIT" to package.json so tooling sees the licence too.
Claude-Session: https://claude.ai/code/session_016RWATe7R8uf25orV7Bh4Uc
Co-authored-by: Claude <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>
github.com/catomean/... -> github.com/bitbaum/... across CONTRIBUTING.md,
README.md, org.ts, statuten.ts, evig-projects.ts (the kivvi repo link),
and packages/saldo/package.json's repository/bugs URLs. Found while
resolving a merge conflict on an unrelated PR whose local branch carried
a partial version of this same fix from 2026-08-28 -- six of nine files
it touched were still unfixed on origin/main.
Harmless today (GitHub's rename redirect still resolves these), but the
same fragility class as the Actions uses: refs that don't get redirected.
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Two divisions leave the site. `evig architecture` and `evig health` were real
research, but they were George's research, not evig's work, and carrying them
here cost the one thing a young organisation cannot spare: a reader being able
to say in one sentence what evig does. They now live as projects on
orangecat.ch ("Building for the Ruin", "Healthspan and Preservation").
Because EVIG_DIVISIONS is the only list, removing the two entries is the whole
change on the render side: the homepage hero rail, the divisions section and
its ICU {count}, the footer column and the nav entries all follow with no edit
of their own. That is the SSOT paying for itself — a five-division site became
a three-division site without a single hardcoded number to hunt down.
Also removed, per the same focusing pass:
- `/architecture` and `/health` routes, their ROUTES entries, and their
'architecture'/'health' theme keys in SECTION_KEYS.
- divisions.items.* and divisions.pages.* for both, in all eight locales
(912 lines of message JSON).
- The "we are not a charity" framing. It appeared as
about.mission.paragraph1 and vision.diff.intro (plus README and
EVIG_STORY), and it had gone stale: it was an over-correction away from
Revamp-IT's specific charity-recycling model, and it now contradicted
evig's own legal page, which says gemeinnütziger Verein in Gründung.
Defining yourself by what you are not is weak copy anyway. It states the
positive instead — and keeps "in Gründung", the honesty boundary that no
recognised tax-exempt status is claimed until the Verein is registered.
Docs updated in the same commit (CLAUDE.md brand table, EVIG_STORY divisions
section) with a note not to reintroduce the two, so the next session does not
read a doc describing a site that moved on.
npm run verify green: lint, umlauts, chrome, docs, compliance, typecheck,
7747 tests, production build.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
CLAUDE.md carried a full 'Layer 2 — tailwind.config.ts' section for a file
Tailwind v4 removed, plus a token table naming --color-bg / --color-surface
/ --color-border (zero occurrences in globals.css; the real names are
--surface-base, --text-primary, --border-default), a dark-mode mechanism
that does not exist (it claimed @layer utilities auto-remaps bg-white —
globals.css contains no 'bg-white'), and a green #f0fdf4..#14532d palette
for a brand that is Ion Lime. Five false claims in sixty lines, in the
file every agent session reads first.
Also corrected: Tailwind 3.4 -> 4 and React 18 -> 19 in the stack tables;
the .claude/CLAUDE.md ADMIN_SECTIONS table (10 rows, wrong paths, ids that
no longer exist — 'products' and 'finances' are gone, and granting
'workshops' grants nothing because the admin section is 'workshops-admin')
replaced by a pointer to sections.ts and the two rules that do not change;
the dev-DB row that said Neon while CLAUDE.md said Docker:5433;
002-simplified-auth.sql -> 002b-; repairer_profiles -> technician_profiles
(renamed by migration 105); and a Revamp-IT street address in
SHARED_CONTEXT that org.ts explicitly forbids publishing.
scripts/ci/docs-paths-exist.sh closes the class: every backticked repo path
in the docs must exist. CLAUDE.md, .claude/CLAUDE.md and README.md are held
at ZERO; the 68 stale references in older reference docs are ratcheted so
they can fall but never rise. Historical plans and audits are excluded —
a June plan naming files that later moved is history, not a defect.
Proven by mutation: a planted bad path in CLAUDE.md exits 1.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Ten checks across the invoice, refund and escrow routes read
`session.user.isStaff` to decide 'is this an admin'. These endpoints are
'owner OR finance staff' so they cannot use withAdmin('finanzen') — that
would lock the owner out — and each one made the decision inline.
`finanzen` is sensitive: true, so DEFAULT_STAFF_PERMISSIONS excludes it.
Every non-finance staff member (workshop coordinators, repair techs)
therefore passed all ten checks: they could read any user's invoice and
PDF, and refund transactions that were not their own — while being
correctly refused by /api/admin/refunds one directory over.
- canAccessFinance() in lib/permissions.ts is now the single decision.
- All ten call sites use it.
- money-routes-guarded.test.ts asserts it against the directories, so the
eleventh money route cannot reintroduce it. Proven by mutation: planting
session.user.isStaff back into invoices/route.ts turns the suite red.
- README taught staff detection by e-mail domain, the exact anti-pattern
lib/permissions.ts forbids in capitals — corrected.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
- README: retitle funding section to evig's market/quality model (not
non-profit), fix clone URL g-but/revampit -> maonakamoto/evig, fix footer
- .claude/CLAUDE.md: add Revamp-IT->evig rebrand banner encoding the
Layer A (brand) vs Layer B (infra identifiers) split so future work never
blind-renames DB/column/auth-domain/deploy identifiers; correct mission
framing from charity/non-profit to affordable-intelligence
- CLAUDE.md: retitle + point to the Layer A/B rule
Layer-B infra identifiers (is_revampit, revampit_cms, @revamp-it.ch,
revampit-app, revampit.orangecat.ch) intentionally left accurate to the
running system until a deliberate infra cutover.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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>
Repo cleanup pass focused on what visitors (engineers evaluating the
codebase, prospective contributors, allied non-profits, donors) see when
they land on the GitHub page.
README.md:
- Reframe lede around the one-line value prop ("Used computers repaired
and rehomed — not landfilled") so the mission is immediately legible.
- Add a "What this platform does" surface table (storefront, P2P
marketplace, IT-Hilfe, workshops, erfassung, member services, HIRN AI).
- Add a "How a non-profit funds this kind of platform" section laying
out the five revenue + sustenance streams (storefront margin, paid
services, donations, membership, grants) so the economic model is
transparent. Explicit "not VC-backed" framing so VC visitors don't
bounce confused — we're built for adoption by other circular-economy
orgs, not for an exit.
docs/:
- 42 dated/one-time files (PHASE_*, PROGRESS_*, AUDIT_REPORT, INCIDENT_*,
HANDOFF_*, *_COMPLETE, DATABASE_CONNECTION_ISSUE_RESOLUTION, all the
email-solution-comparisons whose decisions long since shipped, etc.)
moved to docs/archive/ via `git mv` so history is preserved but the
index isn't drowning in work logs.
- docs/README.md rewritten as a real index — six sections (Getting
started, Architecture, Product surfaces, Design, Operations, Mission)
pointing at the 24 curated reference docs that remain at docs/ root.
- The stale "Current Status (2025-12-02)" block in docs/README.md is gone.
Also (separate, prior in this session): 5 stale remote branches deleted
on origin — merged/closed/abandoned `claude/loop-bugfixes-2026-05`,
`claude/audit-ssot-dry-violations-k4aVl`, `snyk-fix-*` (x2),
`claude/improve-partnerships-page-ELMcD`. Remaining 11 origin branches
all correspond to open PRs (10 dependabot + 1 active feature).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The README had drifted significantly from reality. Fixed:
- Drop the "Express.js CMS backend on port 3001" section. There is no
active Express CMS in the main flow — the project is a single Next.js
16 app with App Router for both pages and API routes.
- Stripe → Payrexx (Swiss payment provider, used by 28 files in src/).
- Test count 312 / 24 suites → 7,500+ tests / 500+ suites (current
baseline: 7,569 in 507 suites).
- TABLE_NAMES count 165 → ~130 (actual: 132).
- Clone URL revamp-it/revampit → g-but/revampit.
- Drop "CMS on :3001" from dev command; only Next.js runs on :3000 now.
- Env var fixes: STRIPE_SECRET_KEY → PAYREXX_INSTANCE +
PAYREXX_API_SECRET + PAYREXX_WEBHOOK_SECRET; AUTH_SECRET for NextAuth.
- Add NextAuth v5 + Drizzle ORM + Listmonk to the Tech Stack table.
- Project Structure refreshed to reflect actual surfaces: [locale]/
public site, admin/ staff surface, lib/it-hilfe/, lib/payments/,
db/schema/.
- AI line updated to HIRN provider cascade (Groq → OpenRouter → Ollama).
This isn't a comprehensive doc overhaul — just brings the most user-facing
file in line with reality so newcomers don't get misdirected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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>
Major structural improvements for professional open source presentation:
🗂️ **Repository Organization:**
- Organized tools/ directory with deployment/ and development/ subdirectories
- Moved all scripts to appropriate locations (deploy.sh → tools/deployment/)
- Created archive/legacy/ for historical files
- Removed outdated directories (strapi/, backend/, content/, messages/, etc.)
📚 **Documentation Structure:**
- Reorganized docs/ with guides/, reference/, api/, and legacy/ structure
- Created comprehensive docs/README.md with clear navigation
- Added detailed ARCHITECTURE.md explaining Strapi vs Custom CMS decision
- Moved legacy documentation to docs/legacy/ folder
🔧 **Developer Experience:**
- Added professional GitHub issue templates (bug_report.yml, feature_request.yml)
- Enhanced .gitignore with comprehensive patterns for clean repository
- Fixed import issues and development server configuration
- Created proper folder structure for maintainability
✨ **Professional Presentation:**
- Repository now presents as legitimate, well-organized open source project
- Clear separation of concerns in folder structure
- Professional documentation hierarchy
- Ready for new contributor onboarding
This brings the repository to senior engineering standards with clear organization,
comprehensive documentation, and professional development workflow setup.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major improvements to make the repository welcoming for new contributors:
- Completely rewrote README.md with clear project overview, installation steps, and professional presentation
- Added comprehensive CONTRIBUTING.md with development workflow, code standards, and contributor recognition
- Created MIT LICENSE file for proper open source compliance
- Added .env.example files for both frontend and CMS API with all necessary configuration variables
- Organized documentation in docs/ folder for better structure
- Removed outdated files and AI-related placeholders
- Updated project description to focus on sustainable technology mission
- Added professional badges and clear feature descriptions
- Included proper setup instructions for both development environments
The repository now presents a professional, legitimate open source project that clearly communicates its purpose and makes it easy for developers to contribute.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Translate service descriptions and features to German
- Fix "Our Services" to "Unsere Dienstleistungen"
- Translate process steps in data recovery service
- Fix "Contact Us" and "Browse Inventory" buttons
- Translate "This service is coming soon" message
- Ensure consistent German language throughout services
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>