Removes the fleet auto-merge sweep caller (and wake chain where present);
checks run on pull requests only, not again after merging; a deploy that
waited for CI on main now deploys on push. The forge merge check
(forge/verify) verifies each PR on its merge result and merges it.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The key was retired on the box on 2026-11-13 (loki fleet-env.sh retire):
it sat on a billed Google project and cost about $567 on 10-11 Nov. This
workflow could have written it back into this app's env.
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq
Co-authored-by: Claude <noreply@anthropic.com>
ai-kit <=1.25 put Google's Gemini API in the free model chain on the
fleet-wide GEMINI_API_KEY. That key sits on a billed Google project and
cost about $567 on 10-11 Nov 2026. 1.26 builds no Google link (free chain
is Groq, then OpenRouter :free), keeps paid AI off unless an app opts in,
and adds daily caps.
- the freeAvailability test now pins that a Gemini key switches nothing
on, and that Groq comes before OpenRouter
- README, live-check warning and the live check's comments no longer name
GEMINI_API_KEY as a free key
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq
Co-authored-by: Claude <noreply@anthropic.com>
Run 4 applied the tuning and search answers again (bing: 10 results),
but SearXNG logs 'The engine field is missing for presearch': it is
not one of SearXNG's default engines. The tune now removes that entry
and no longer adds it.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
Run 3 (apply) stopped before writing: /etc/searxng/settings.yml is a
read-only bind of /opt/searxng/settings.yml. The container now only
prepares the new file; the host copies it over the original (already
backed up) and restarts SearXNG.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
Run 1 failed: the image's system python3 has no yaml module. The edit
now runs with the first interpreter in the container that imports it
(SearXNG's venv), and says what it found if none does.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
Search doctor found SearXNG running four engines (brave, duckduckgo,
google cse, wikipedia), all four suspended for too many requests or a
CAPTCHA, so every query from every fleet app answered empty. This
workflow switches on more free engines with independent indexes (bing,
mojeek, startpage, qwant, yahoo, presearch) and shortens suspensions to
minutes. Dry run by default; apply backs up /opt/searxng/settings.yml,
edits it inside the container, restarts SearXNG and probes it.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
Web search on the box answers 'empty' to every query, so the agent
cannot cite law. This workflow shows where SearXNG runs, which engines
its settings switch on (secrets left out), recent engine errors, and
per-engine results and unresponsive engines for real queries.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
The owner narrowed the focus: no US market for now. Markets are now a
config (lib/jurisdictions.ts): each country is one record with its regions,
interface languages and a note for the agent; MARKETS lists the ones that
are switched on. Adding a country is that record, its words under
Home.where.<code>, and its code in MARKETS. A test fails if a market lacks
its words in any language.
The agent's country rules moved out of its prompt into each market's note,
read for the matter's own jurisdiction. The front page's markets and kicker
are generated from MARKETS. The US stays pickable under Elsewhere.
The Spanish interface existed for the US market and goes with it (git
history keeps it); a letter can still be translated into Spanish.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
* wip: front page redesign, CH/LI/US markets, five locales (translations in progress)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
* i18n: German and French for the new front page; one word under budget
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
* i18n: Spanish, and the sample case in Italian and Spanish
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
* wip: Italian (in progress)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
* feat: a new front page, Switzerland, Liechtenstein and the US, five languages
Front page (inspired by what Harvey and Laine do well, for a person rather
than a firm): an invented letter worked through as an animation (the name
hidden, the deadline with its source, a draft, the person's decision), two
calendars (days without, minutes with), the anonymisation drawn, an honest
comparison with a chatbot and a lawyer, markets counted from the data, the
common problems linking straight into a matter. Headlines in sentence case
with an italic accent (one edit in theme.css). The OrangeCat section is gone:
no account elsewhere is needed, and the page no longer suggests one.
Markets: Liechtenstein and the fifty states join the cantons; one grouping
(JURISDICTION_GROUPS) feeds every picker; the agent keeps cantonal, state
and federal law apart and Liechtenstein's own order distinct.
Languages: Italian and Spanish, whole (site, accounts, mail, sample). The
locale list is one SSOT; three hard-coded copies are gone. A letter can be
translated into nineteen languages, the same list helpers choose from.
Sign-up asks who the account is for (needs help / helps others).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
---------
Co-authored-by: Claude <noreply@anthropic.com>
- Helpers list themselves (AI service, legal assistant, licensed lawyer) under
a name or pseudonym; the same account keeps matters of its own. Directory
search and filters through searchkit and listkit, with the typo suite.
- A lawyer's admission is submitted privately (evidence sealed per
credential), checked by a staff reviewer, and published as an SD-JWT signed
with Ed25519: the place in clear, the legal name only as a salted digest.
Key at /.well-known/jwks.json; anyone can check at /verify. A lawyer is
listed only where verified.
- An owner asks a helper about a matter, with or without their personal
details; the request is previewed exactly as it will be read. Accepted, the
helper becomes a participant; anonymisation is applied in the store, so no
route can forget it. A lawyer hands over the checked name with proof.
Ending it removes access in the same transaction.
- Reviewers are staff/admin accounts, granted by the Grant role workflow.
- Who may do what is lib/professions.ts, the one domain file, so Diplodoctor
reuses the engine by changing it.
- Fixes: the account menu label template; one site URL instead of three, with
a dev-only origin so local sign-in works.
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
Co-authored-by: Claude <noreply@anthropic.com>
Email and password, a sign-in link, passkeys, two-step codes and (where
configured) the shared sign-in and OrangeCat, all from @bitbaum/accountkit/auth.
Matters made while OrangeCat was the only way in are re-keyed to the account the
same person signs in with. Live check and provisioning updated.
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
Co-authored-by: Claude <noreply@anthropic.com>
* Provision: record 0000_init in the shared deploy's schema ledger
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Search queries keep their placeholders; a real-model agent check that runs on the box
The agent restored placeholders in every tool's arguments, so a search query
the model wrote as "[NAME-1] …" went to the search engine with the name in
it. Arguments are now restored only for tools that write into the matter;
web search, page reads and domain lookups go out as the model wrote them.
live/agent.live.ts runs one turn through the real free chain on PGlite and
asserts a recorded deadline and that no request carried the name; the Agent
check workflow runs it on the box, where the keys are.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
---------
Co-authored-by: Claude <noreply@anthropic.com>
* Matters: encrypted, agentic legal workspace behind OrangeCat sign-in
A matter is sealed per matter (AES-256-GCM data key under CAUSIUS_MASTER_KEY).
The agent works it with tools (search, read, deadlines, tasks, drafts,
approvals); every personal detail is swapped for a placeholder before a model
sees it, and the person's account name is always one of them. The database in
the clear holds no name, message, deadline or document.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Fleet design system, a technical narrative, one account across the fleet, domain checks
- @bitbaum/design-tokens replaces the bespoke paper-and-ink theme; Solon's
grammar (kicker, headline-caps, btn-frame) for every page, pinned dark.
- New Platform, Security and Ecosystem pages; the home page rebuilt around what
works today (lib/capabilities.ts is the one place a status is decided).
- Sign-in and sign-up routes hand straight to OrangeCat; the account menu and
the ecosystem page link the rest of the fleet, read from the fleet map.
- The agent can check domain names with the registries over RDAP.
- The i18n parity test reads ICU properly (select branches, apostrophes).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Provision matters on the host: database, OrangeCat client, runtime env
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
---------
Co-authored-by: Claude <noreply@anthropic.com>
The live check found the free model calling a migration office's request
for proof of stays abroad paperwork for an assistant. A residence permit is
at stake in every such letter; say so in the prompt and check it live.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
A one-off, hand-run workflow: copies GROQ/GEMINI/OPENROUTER keys from
Heidi's runtime env to Causius's on the host, never printing them, never
overwriting, then redeploys. Changelog entries no longer cite a pull request
that does not exist.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Build out Causius: case intake, case file, helper marketplace
Replace the day-zero page with the product: a landing page, letter intake
with env-gated AI analysis, a case view (deadline, checklist, translations,
draft reply), browser-only case storage with export/import, and the helper
marketplace rules for legal assistants and licensed lawyers.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Put Causius on the fleet's stack and its three planes
- AI: replace the hand-rolled single-vendor fetch with @bitbaum/ai-kit
complete() over the shared free chain; no pinned model id. Add the
fleet's own-model flow (ai-kit byok + probe), key kept in the browser.
- Validation with zod, rate limits with limitkit, tests with Vitest.
- Identity rendered from the Loki fleet map; ROADMAP.md and CHANGELOG.md
as the public record, shown through bip-kit.
- Helpers live on OrangeCat as services; OrangeCat and Solon links appear
only when the fleet map reports the profiles exist.
- Nav contract: routes constant, aria-current, 44px targets. Beta label.
- CI and auto-merge from the current site template; TypeScript 6,
ESLint 10, Node 24; AGENTS.md from the fleet template.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
* Speak English, German and French; make intake work end to end
- next-intl with locale routing (en unprefixed, /de, /fr), every string in
the message catalogues, a parity test, Swiss German spelling.
- The analysis is written in the reader's language.
- Several pages per letter; photos are shrunk in the browser so a phone
picture fits.
- The deadline is shown with the sentence it was read from, and the model
is told never to compute a date the letter does not state.
- /api/health, and the intake page says up front what the free models can
do. `pnpm run check:analyze` runs the sample letter through a real model.
- A down fleet map no longer stalls on-demand pages.
- Refuse the two build scripts next-intl brought, so installs stay clean.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
---------
Co-authored-by: Claude <noreply@anthropic.com>
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
5 files changed, 17 insertions(+), 17 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>