Commit Graph
3 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 35faee8843 Agent: set the matter up, cite every rule, answer in the reader's language (#19)
* Agent: set the matter up first, cite every rule, answer in the person's language

From the first real-model run: it found the right deadline but answered a
question written in English in German (the letter's language), wrote ß, cited
the federal act for a cantonal assessment without a source number, and left
the matter untitled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ

* Agent answers in the reader's interface language

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>
2026-10-11 13:45:33 -07:00
CatoandClaude Opus 5.5 4a610f612d Search queries keep their placeholders; a real-model agent check (#18)
* 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>
2026-10-11 13:31:58 -07:00
CatoandClaude Fable 5.1 1ccc37cdea Build out Causius: cases, own model, helpers, EN/DE/FR (#7)
* 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>
2026-10-11 18:59:28 +02:00