Five literals that each duplicated a fact owned somewhere else, or named
something that no longer exists.
1. packages/saldo/package.json — `homepage` pointed at
`revampit.orangecat.ch/saldo`. That host is retired: the organisation renamed
to evig, the canonical host is `evig.orangecat.ch`, and this repo's own
`src/config/urls.ts` and `.env.selfhost.local.example` already say so. A
published package's homepage is the one copy that would outlive the Caddy
redirect keeping the old name alive.
2. scripts/setup-deploy-keybind.sh — the generated trigger script baked
`PROJECT_DIR="/home/g/dev/revampit"`, wrong twice over: it names one
developer's laptop, and it names the repo by a directory it no longer uses.
The checkout knows where it is, so ask it: PROJECT_DIR is now derived from
the setup script's own resolved location (`scripts/` -> repo root), which is
the same root the rest of the file already assumes. The heredoc had to become
interpolating for that, so the generated script's own `$PROJECT_DIR`
references are escaped to stay literal. Verified by running it: the generated
file lands on the parent of `scripts/`, and `bash -n` passes on both.
3+4. The Hetzner box IP was written out twice — `ssh-keyscan -H 167.233.22.31`
in .github/workflows/deploy-selfhost.yml and
`BOX="${BOX:-ubuntu@167.233.22.31}"` in scripts/selfhost-deploy-evig.sh — for
one fact that already has an org-wide definition: the `HETZNER_IP` Actions
variable (visibility: all). Both now read it, the workflow passing it to the
script through the job env.
Each end fails LOUDLY rather than proceeding on an empty value.
`ssh-keyscan -H ""` writes nothing and exits 0, so an unset variable would
have produced a deploy that died much later with an unhelpful host-key error;
the step now emits `::error::` and stops. The script uses `${HETZNER_IP:?…}`
so it refuses to guess a target. Setting BOX explicitly still overrides both,
for a one-off host. Proved by mutation: unset -> exit 1 with the message;
set -> ubuntu@<ip>; BOX set with HETZNER_IP unset -> BOX wins.
5. src/config/e2e-test-accounts.ts held two real personal addresses as a shipped
`as const` array. That published who they were in a public repo and made
changing them a release. The list is configuration: it now comes from
`E2E_TEST_ACCOUNT_EMAILS` (comma-separated) and defaults to EMPTY.
Empty is the safe direction and the reason this is not a behaviour risk: the
list only ever RELAXES a rate limit, so an unset variable means nobody is
exempt — the strict path every other account already takes. The opposite
default would trust an address nobody configured on every deployment of this
code. It is read at call time, not module load, so the value cannot be
snapshotted before the environment is populated. This follows the direction
scripts/e2e-inventory-prod.sh already took when it dropped its own hardcoded
account default.
OPERATIONAL NOTE: until `E2E_TEST_ACCOUNT_EMAILS` is added to `SELFHOST_ENV`,
the prod dual-persona smoke runs under normal rate limits. Documented in
.env.example and .env.selfhost.local.example.
The test asserted the hardcoded list's length, which is no longer a property
of the source. It now sets the variable itself with fictional fixture
addresses — a test naming a real person's mailbox is the same leak the source
just stopped committing — and adds the two cases that matter most: unset and
empty must both exempt nobody.
Deliberately NOT touched: src/config/org.ts DEFAULT_CONTACT_EMAIL. The comment
above it records that the gmail address is a live decision because evig.ch is
not registered and the previous address bounced.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore: add a formatter, matching the style this repo already writes
singleQuote=true was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.
Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* style: format with prettier, and close a comment that was never closed
The formatter refused this repo outright, which turned out to be a real defect
rather than a tooling complaint. kivitendo-intake.css opens a header comment,
and line 17 contains an inner /* ⚠ PRÜFEN */ — CSS comments do not nest, so
that inner terminator CLOSES the header. Everything after it is parsed as CSS
until the stray */ on line 20. A browser mis-parses it the same way.
The file exists in two places (public/presentations/ and deliverables/), both
carrying the same defect; fixing one still failed the gate, which is how the
duplicate surfaced at all.
Mechanical otherwise. This SHA is listed in .git-blame-ignore-revs.
* chore: teach git blame to skip the reformat
* fix: undo a 3-way merge duplication in AdminSidebar.tsx
Merging main with -X theirs duplicated a 30-line block: main's currency-sweep
commit and this branch's prettier reformat both touched overlapping lines in
the single-destination-group render path, and the -X theirs strategy inserted
rather than replaced, leaving two near-identical copies and a dangling closing
brace — SyntaxError: ',' expected at line 298.
The branch has no legitimate change to this file's logic, only formatting, so
main's content is correct outright. Took it wholesale rather than hand-editing
the merge result.
* fix(lint): reattach 5 directives the reformat detached
Four eslint-disable-next-line sites for react-hooks/set-state-in-effect and one
@ts-expect-error, all the same defect: the directive sat above useEffect( (or
above a JSX element), while the statement that actually errors is 1-2 lines
further down inside the block. eslint/tsc report at the real statement; the
directive, still bound to its original line number, protects nothing there.
TimecardReviewDrawer.tsx (x2), DataEntryTabs.tsx, AppointmentBookingForm.tsx,
CreatePoolModal.tsx. Same root cause documented for hirnli, fleetcrown and
ivy-portal earlier today — a positional directive is a hidden dependency on
formatting, and this is the fourth distinct shape it's taken.
* fix(i18n): restore a same-line audit-exemption marker
Fifth shape of today's positional-directive defect, this time the repo's own
i18n-hardcoded-audit convention rather than eslint or tsc: a // i18n-ok comment
exempts a hardcoded string only when it trails the SAME line. prettier wrapped
this one if-statement's long condition onto its own line, leaving the marker
on the return statement below — the exact sibling one line down
('fortgeschrittene bis experten') stayed on one line because it was short
enough not to wrap, and it alone kept passing.
Restored the one-line form and added // prettier-ignore so a future reformat
cannot re-split it. Verified against the real audit script locally: 0 new
violations.
---------
Co-authored-by: Claude Opus 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 things the user asked for: finish renaming Layer A brand surfaces to evig
(the GitHub repo is already `evig`; the rendered app copy + org.ts were already
migrated), and lean INTO the Revamp-IT origin — name it, honour its history, and
tell the fork honestly. Layer B infra identifiers (is_revampit, @revamp-it.ch,
revampit_cms, /opt/revampit, systemd, host) are deliberately untouched.
Layer A rename (leftovers):
- package.json name revampit -> evig
- public/site.webmanifest: name/short_name/description -> evig; drop the stale
RevampIT orange (#ff6b35) for evig obsidian (#0a0a0a)
- LICENSE holder -> evig
- packages/saldo/package.json: stale github.com/maonakamoto/revampit -> /evig
- CONTRIBUTING.md clone URL: was doubly-stale g-but/revampit -> maonakamoto/evig
- public/saldo/index.html footer "from Revamp-IT" -> "from evig"
- public/blog/geraete-eingang-integration.svg diagram label -> evig
Honour Revamp-IT + the fork story (naming them, linking revamp-it.ch, crediting
their real since-2003 history as THEIRS, and framing the split as a difference of
ambition + tempo — not grievance):
- src/config/org.ts: new ORG_ORIGIN SSOT (Revamp-IT: Zürich gemeinnütziger Verein,
since 2003, revamp-it.ch)
- GeschichteSection (/about) + vision (/vision): render the Revamp-IT link, rewrite
the origin narrative in DE + EN
- messages/{fr,es,it,ja,ko}.json: translated founding narrative (vision stays de/en
with DE fallback, as before)
- docs/EVIG_STORY.md + docs/MISSION_STATEMENT.md: rewritten to name/honour Revamp-IT
and set the "grateful, never at their expense" voice guardrail; docs/MANIFESTO.md
retitled to evig with a dated historical note
Verified: tsc clean, eslint clean on changed files, lint:umlauts clean, all 7
locale JSON valid with balanced <a>/{foundingYear} tags.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The product name is easy to change without breaking the engine (where "saldo"
also means "balance"):
- The landing site's brand name is a single PRODUCT.name constant; the two
mid-sentence brand mentions were reworded so the domain word "Saldo" (the
SALDO column, computeTimeSaldo, Zeitsaldo/Feriensaldo) is fully isolated.
- The Projects card title comes from a config `brandName` (data.ts), not the 8
locale files — a brand is a proper noun, so it lives in one place.
- `packages/saldo/scripts/rename.mjs "New Name"` renames everything (package,
alias, site, Projects card, README, locale titles) in one command; it reads
the current name from the SSOT (re-runnable) and never touches the domain
term or the /saldo URL. Round-trip tested. See packages/saldo/RENAME.md.
- Removed the redundant packages/saldo/site copy (the app serves public/saldo).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
tsc (bundler resolution) emits extensionless relative imports; Node's ESM
loader requires them. A post-build step rewrites dist/*.js and dist/*.d.ts.
Source stays extensionless (the monorepo app consumes it via its bundler);
only the published package is affected. Verified: `import from 'saldo-engine'`
now resolves under plain Node.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Zeitsaldo/Feriensaldo accounting core is now `saldo-engine`
(packages/saldo) — pure, dependency-free TypeScript with its own tests
(node:test, 12 passing, zero app imports) and an MIT licence, ready to
publish and reuse in any project.
- packages/saldo: the engine (computeTimeSaldo / computeVacationBalance),
schedule math, a config-driven category classifier (Swiss default, bring
your own), optional Swiss holidays, a BRAND SSOT so the name is a one-line
change, a README, and a marketing landing page (site/index.html, DE/EN,
light/dark, live balancing ledger).
- The app dogfoods it: src/lib/team/saldo.ts is now a thin adapter that wires
the engine to this app's category SSOT (@/config/timecards). Behaviour is
identical — all existing saldo tests pass through the package.
- tsconfig + jest: `saldo-engine` path alias → packages/saldo/src.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Bump nodemailer to 9.0.1, @sentry/nextjs to 10.61, pin safe transitive
versions via overrides, and raise ai-native-cms-core uuid to 11.1.1+.
Co-authored-by: Cursor <cursoragent@cursor.com>