Admin is no longer a Revamp mailbox. butaeff@gmail.com and butai@gmail.com
join the lockout floor; the current Revamp login stays so that account
is not locked out. A verified floor address can open /admin even before
the staff flag is set.
Einstellungen can change the login address (code sent to the new inbox,
and a bootstrap owner keeps admin on the new address) and the password.
Anyone signed in can ask for admin. An existing admin confirms full
admin or everyday staff from the same screen.
A cloud session has no ~/.claude/CLAUDE.md, so it never saw the org rules.
Those stay in bitbaum/fleet AGENTS.md (packages by default, searchkit,
chatkit, names, identity). This file only points there.
Staff is the is_staff column, and production is one app on Hetzner. The agent brief, the auth doc, and the generated API page still said otherwise, so the next session kept reopening closed work. lint:claims fails the build if those sentences come back.
@bitbaum/searchkit moved from orangecat's packages/ folder to
bitbaum/searchkit (created by bitbaum/fleet's package-repos workflow).
Same code as before; the pin is now a release tag, so Dependabot moves it
forward instead of someone hand-editing a commit pin per release.
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
Co-authored-by: Claude <noreply@anthropic.com>
* feat(search): one slip in a name still finds it — adopt @bitbaum/searchkit
Every search box here matched `toLowerCase().includes(q)` or `ILIKE '%q%'`
(and the marketplace a German FTS that needs whole words): one wrong letter,
a swapped pair or "Zurich" for "Zürich" found nothing. searchkit gives the
fleet one matcher for that; this wires it in instead of a 26th hand-rolled one.
In-memory lists (lib/search/list-search): createSearch ranking + typo budget,
with the old substring rule kept as a fallback after the ranked hits, because
searchkit matches word starts and German compounds ("Computerreparatur" for
"reparatur") must keep matching.
- user ⌘K palette: one ranked list, groups ordered by best hit, matches marked
(results logic moved to user-palette-results.tsx; component 373 → 241 lines)
- admin ⌘K: actions + sections ranked together; server rows reranked, capped
- blog search, open-source registry search, people pickers (protocol
attendees ×2, decision participants) and the conversation filter
Database searches keep Postgres for recall (lib/search/corrections): a cached
vocabulary per collection (5 min) adds, for each typed word the collection
lacks, the words it could mean or is the start of; a word that exists is taken
as meant (ipad must not fetch iPods). Order stays the database's / the user's.
- marketplace /api/listings: FTS ORs the corrections per word
- technicians /api/technicians: name/city ILIKE widened (and `%` now escaped)
- admin /api/admin/search-index: ILIKE widened per table, over-fetch 25, the
palette ranks and shows 8
Searches left as typed carry a one-line comment saying why (exact IDs/part
numbers, moderation queues kept in order, short fixed lists).
Tests: generated typoCases/evaluate suites per surface (success@1 = 1 for
people, blog, admin commands; palette 1 miss in 1969; registry 0.98 with the
misses listed) plus hand-picked cases. Changelog 0.5.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
* chore(deps): add @bitbaum/searchkit 0.2.1, pinned to orangecat 6da45621
The fleet's one search package, installed from orangecat by commit
(packages/searchkit). It ships compiled dist/, so no transpile step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
* chore(deps): searchkit 0.2.2 (orangecat e6cda794)
When no item has every typed word, keep the words some item has rather
than dropping the last one; two words the text wrote apart, matched as
one, rank as a typo.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
---------
Co-authored-by: Claude <noreply@anthropic.com>
CHANGELOG.md and src/config/changelog.ts stopped at 0.1.4 (2026-06-16)
while four months shipped. Five releases written from the merged PRs, in
both shapes (de + en for the site): 0.1.5 QC gate and open CO2 data, 0.2.0
Revamp-IT becomes evig, 0.3.0 divisions/pillars and what did not work,
0.4.0 security, mail and the public roadmap, 0.5.0 Sign in with OrangeCat;
0.5.1 is this change.
- bip-kit ^0.3.1 -> ^0.6.0 (additive): /roadmap links each finished step
to the changelog day that delivered it ({#id} on the ROADMAP.md step and
the CHANGELOG.md line); /changelog carries a change-<date> anchor on the
first release of each day; tokens never reach the page.
- changelog-record.test.ts: both shapes list the same releases and dates,
no token in rendered copy, every cited id declared, every ticked id
delivered.
- i18n-hardcoded audit: config/changelog.ts is excluded — it stores
release notes as translated { de, en } pairs, not hardcoded strings.
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
Co-authored-by: Claude <noreply@anthropic.com>
whenkit's defaults wrap tokens as hsl(var(--surface-base)), but evig's
tokens are full colours, so they resolved to hsl(#ffffff) — invalid — and
fell back to initial values. --accent-primary does not exist in evig, so
every date field's focus ring was whenkit's #ff5c00 orange instead of the
action colour. One unlayered :root block in globals.css maps each colour
and face variable onto evig's semantic tokens; .dark flips them, so dark
mode needs nothing more. A test fails if whenkit reads a variable the
mapping leaves out, maps through hsl(), points at an undefined token, or
the block ends up inside a layer.
Claude-Session: https://claude.ai/code/session_01Mg5wrkfw95JWfmAz8yRT1j
Co-authored-by: Claude <noreply@anthropic.com>
After an answer, Hirn now offers the two to four things the person is
likely to say next as buttons; one tap sends it through the same path as
the composer. Format and parsing are SSOT in @bitbaum/chatkit 0.6.0
(REPLIES_INSTRUCTION / extractReplies), rendered with its ChatReplies.
- @bitbaum/chatkit pinned to 163c879 (chatkit#13 merged) and moved to
dependencies: it now ships in the app, not just a CI check.
- The instruction is appended to the three conversational prompts only:
staff Hirn, public Hirn, deliverable Q&A.
- The quick_replies block is split off server-side, so it never reaches
a client: not in a fresh answer, not in reloaded history.
- chatkit's stylesheet is imported by SuggestedReplies; globals.css maps
--ck-* onto evig's tokens once (unlayered, so it beats chatkit's
defaults; dark mode follows the tokens).
Fixes found on the way:
- Staff history returned stored answers raw, so after a reload the
hirn-actions JSON envelope showed as message text.
- DeliverableChat had hard-coded German strings; now in messages/*.
- DeliverableChat sent its own error text back to the model as if Hirn
had said it.
- HirnChat's user avatar icon was text-white on the action colour
(unreadable on electric lime in dark mode); sessionId now URL-encoded.
Claude-Session: https://claude.ai/code/session_01Mg5wrkfw95JWfmAz8yRT1j
Co-authored-by: Claude <noreply@anthropic.com>
* feat(forms): dates read in words — Input delegates dates to @bitbaum/whenkit
25 date and datetime fields (time off, compensation, leave periods, vacancies,
workshop instances and proposals, donations, appointments, tasks, decisions,
protocols, promo codes, membership payments) showed the browser's bare
"tt.mm.jjjj" box. All of them are evig's own Input, so one branch covers
them: for type date / datetime-local it renders whenkit's DateInput with the
SAME design-system control classes, so the box matches its neighbours and
reads "Sa., 11. Okt. 2026 · 14:00" while the real input stays on top —
picker, keyboard, required, min, refs and onChange(event) all unchanged. The
empty state follows <html lang> ("Datum wählen"). Every other type is
untouched.
Checked in a browser on the German donate page at 390px and 1280px: the date
box is 38px, exactly its text-input sibling. 2,052 tests, typecheck, lint,
format, umlaut and chrome gates pass; the existing console error on that
page ("script tag while rendering") is on every page, date field or not.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* chore(deps): whenkit 0.3.2 — date box matches a native input's height
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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>
* 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>
SourceUploader's input asked for audio AND text extensions at once
(getAcceptString). Android answers a mixed accept with a chooser of capture
apps (Camera, Recorder, "Photos & Videos") and no file browser, so a meeting
recording or a notes file could not be picked from a phone. The input now
has no accept — the plain file browser — and classifyFile still rejects
anything unsupported after the pick, with the existing German message. The
one-drop-zone design stays.
getAcceptString existed only to build the mixed list and is removed; its
tests become one that pins the picker to no mixed accept.
dependabot: @bitbaum/* packages arrive grouped as one PR when they release.
Claude-Session: https://claude.ai/code/session_01BWXjqiHm8jFta4FXuc7Tck
Co-authored-by: Claude <noreply@anthropic.com>
* fix(sh): grep -q reads a here-string, not a pipe — no SIGPIPE false negatives under pipefail
Under pipefail, `producer | grep -q PAT` can report a miss for text that is there: grep -q exits on its first match, the producer dies of SIGPIPE, and pipefail returns 141.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix(sh): grep -q reads a here-string, not a pipe — no SIGPIPE false negatives under pipefail
Under pipefail, `producer | grep -q PAT` can report a miss for text that is there: grep -q exits on its first match, the producer dies of SIGPIPE, and pipefail returns 141.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The homepage said what evig does (pillars) but not which problem that
answers. New section right under the hero: six situations in the reader's
own words ("Mein Laptop ist so langsam geworden ...") and five societal
ones (e-waste, the AI access gap, ended updates, licence costs, repair
skills without customers). Each card states what works on the platform
today and links to the one page where the reader acts on it.
- Structure in src/config/problems-we-solve.ts (id, href, icon), strings
under `problems.*` in all eight locales, paired by stable id; no arrays
and no figures in messages (CO2 links to /transparenz/co2 instead).
- ROUTES gains linuxOpenSource / openSourceSolutions; pillars uses it.
- Test pins unique ids, links to existing pages, DE strings per id, no
orphaned message entries, no digits in the copy.
Claude-Session: https://claude.ai/code/session_016tA6LherCgxwapQ2oYTjc5
Co-authored-by: Claude <noreply@anthropic.com>
The provider, the link token and the sign-in rule now come from
@bitbaum/accountkit/orangecat v0.2.1, which took evig's "Connect OrangeCat"
link cookie and its resolution rule as sources. What stays in
lib/auth/orangecat.ts is evig's POLICY, stricter than the fleet default: an
email that already has an evig account is refused (connect from the profile
instead) and an anonymous OrangeCat account is refused. Its tests are kept
and now exercise the shared rule under that policy.
The shared profile carries no email, so next-auth's User.email is now
optional — which is true: an OrangeCat user arrives without one and the
signIn callback reads the address from the raw claims.
forgot-password no longer mails a reset link to an account OrangeCat
created (no password, unverified address); same generic answer. Route test.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
It has not since the staff-from-domain bypass was closed (src/auth.ts:
is_staff = false at signup; the JWT reads only the DB flag). The stale
comment kept the bypass looking open to anyone reading the schema — and to
scanners that raise it as an urgent alert.
Claude-Session: https://claude.ai/code/session_01BWXjqiHm8jFta4FXuc7Tck
Co-authored-by: Claude <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>
OrangeCat becomes the primary way into evig. The provider, the
users.orangecat_actor_id key (migration 141) and the never-link-by-email
rules already shipped in #523; this change puts them first in the UI.
- /auth/login: "Mit OrangeCat anmelden" is the first, full-width primary
button. The password form sits behind "Mit E-Mail und Passwort anmelden"
so the existing accounts keep their way in. It opens by itself when the
visitor arrives from a verify or reset link, or with an error.
- /auth/register: leads with "Konto mit OrangeCat erstellen" (Google,
GitHub or email) and the AGB/Datenschutz note. The password wizard is
one click behind it. Someone already mid-registration stays on the
password path.
- Both pages share components/auth/OrangeCatSignIn.tsx. It asks
/api/auth/providers whether the provider is mounted. Without the env
pair it shows the password form alone, so there is never a dead button.
- The provider id moved to a crypto-free module. The client buttons and
the server config now import one constant instead of mirroring it.
A test pins it to "orangecat", since the registered callback depends on it.
- The e2e ensureAuthenticated helper opens the disclosure and clicks the
form's own submit, because three buttons now say "anmelden".
- Strings are added in all 8 locales.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat(auth): "Sign in with OrangeCat" beside the password login; connect from the profile
Step D8 of orangecat ADR-0009 ("One account for every door"). evig keeps its
own accounts — staff grants, orders and memberships live here — and lets an
account BE an OrangeCat account by carrying the actor id.
- /auth/login: "Mit OrangeCat anmelden" beside the password form, shown only
when Auth.js actually mounted the provider (the form asks /api/auth/providers),
so the button can never be a dead end.
- users.orangecat_actor_id (migration 141, unique): the ONLY cross-product
key. Never email — OrangeCat's password sign-up does not verify the address,
so an email match would let anyone who registers the victim's address there
walk in here. src/lib/auth/orangecat.ts holds the rules, pure and tested:
a linked actor signs in; a new person gets an account (email unverified,
like a fresh password registration); an existing unlinked account with that
email is refused with a message that names the way forward.
- That way forward: "OrangeCat verbinden" on the profile. POST /api/user/orangecat
mints a signed ten-minute cookie for the signed-in user; the sign-in callback
reads it and attaches the OrangeCat identity to THAT account and no other.
- Staff is untouched: is_staff stays the sole grant, whatever the sign-in.
Provider config mirrors Solon/Heidi/Loki (client_secret_post, PKCE + state,
openid profile email). Env pair documented in .env.example; the client is
registered on the OrangeCat box with scripts/oauth/register-client.ts.
Verified: the pure module typechecks and its 10 tests pass; prettier and
lint:umlauts clean. A full tsc/lint run was not possible in the sandbox (the
ai-forms GitHub tarball is blocked there); CI is the gate.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
* fix(auth): typecheck and docs-path check for the OrangeCat sign-in
- OrangeCatSection: apiFetch may resolve undefined; fall back to the
hidden state instead of passing undefined to setState (CI tsc).
- CLAUDE.md: name orangecat's ADR-0009 without a path the docs-paths
checker reads as local.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
* fix(auth): OrangeCat section reads the apiFetch envelope; strings in every locale
- apiFetch resolves { success, data?, error? }; the section typed the payload
as the envelope (CI tsc). Read data on success, treat a refused link intent
as an error instead of starting the round-trip anyway.
- The nine new strings translated into fr, it, es, ru, ja, ko so the i18n
audit's baseline stays where it is.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
---------
Co-authored-by: Claude <noreply@anthropic.com>
evig joins the fleet's building-in-public record contract. The record lives
in this repository as two markdown files; Loki's fleet map ingests them and
the site renders them from the map, so there is one source and no local copy
that can drift.
- ROADMAP.md at the root, Now / Next / Later / Shipped with milestones,
derived from CLAUDE.md, docs/ and the git history. No dates. The honesty
boundary holds: the Verein is "in Gründung", nothing claims receipts or a
recognised non-profit status.
- CHANGELOG.md at the root in Keep-a-Changelog form, generated from the same
releases src/config/changelog.ts renders at /changelog; that config now
states the root file is the canonical record and must move with it.
- /[locale]/roadmap renders profile.roadmap from
loadDevelopmentProfile(fleet map, "evig") with evig's own chrome
(PageHero, Section, Card) — the data is the map's, the markup is ours, so
the card-shell ratchet holds at 3. Fetch revalidates every 300s with an 8s
timeout. A null profile says the record is temporarily unavailable; an
empty one says nothing is recorded yet.
- Labels for the page and the footer link in all eight locales, DE canonical.
- Footer links the roadmap next to the changelog; both are in the sitemap.
- Unit test for the data path over a fleet-map fixture through
developmentProfileFromMap, grouping, progress and the fetcher's cache
semantics.
Until Loki's producer change deploys, the live map carries no evig records
and the page shows "nothing recorded yet" — expected.
Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3
Co-authored-by: Claude <noreply@anthropic.com>
The fleet render sweep counted 87 sub-44px nav targets on evig.orangecat.ch
and three pages where the cookie banner's "Verstanden" was painted on top of
"Hirn öffnen" at 390 and 834.
Targets (fleet nav contract rule 3) are fixed where they come from, so every
page gets them: the footer's link lists and legal row, the home division
rail, the logo link, the header nav items, sign-in / Kontakt CTAs, the theme
toggle, hamburger, locale switcher (trigger and options) and the command
palette trigger. The hit area grows; text sizes are unchanged, and the
lists drop their spacing to pay for the height.
Overlap: the banner is bottom chrome while it is up, like the mobile bottom
nav, so it now publishes --cookie-banner-clearance (its measured height, 0
once dismissed) and the Hirn FAB and its chip add it to their offset.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The nightly close-decisions timer closed expired votes through
transitionDecision(), which fired generateOutcomeNarrative() in the
background: one free-tier model call (evig's Groq key, then the
OpenRouter key shared by eleven apps) per closed decision, with nobody
asking. A manual close did the same as an unrequested side effect.
Closing no longer calls a model. The Beschluss narrative is now written
only when staff click "Beschlusstext mit KI erstellen" on a closed
decision: POST /api/decisions/[id]/narrative, rate-limited to 10/h per
staff member, living in a module the decisions barrel does not export.
Regression test src/lib/ai/__tests__/no-background-ai.test.ts walks the
import graph transitively from every cron route, webhook route, boot
module and page/layout and fails if any can reach a model module.
Mutation-proven: re-adding the decisions-narrative import to
decisions-transitions.ts failed 3 of its 6 tests (cron, render, and the
narrative assertion); reverting made them pass.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>