Commit Graph
6 Commits
Author SHA1 Message Date
Cato d2dbb21ccc Unify article drafting and edits with WritingKit (#1565)
* fix(articles): unify drafting and edits with WritingKit

* fix(articles): use secure randomness for draft operation identities
2026-11-05 18:05:28 +01:00
Cato 0e410b3097 feat(writing): extract revision-safe content operation core (#1563)
* feat(writing): extract revision-safe content operation core

* docs(writingkit): make verification instructions portable
2026-11-05 10:41:19 +01:00
CatoandClaude ed65865a06 feat(money): one payment surface — a scannable code, every way to be paid, one Send field (#1372)
Receive opens on what the bottom bar's QR icon promises: a QR of the pay
link with the owner's name on it, the link under it, Copy link · Share as
two equal cells, and "Add an amount" that the code and the link then
carry. Under it, every way the account is paid, as one list: Bitcoin first
(the Lightning name and the wallet it lands in), then any other app the
owner adds — Twint, PayPal, Revolut, Cash App, Venmo, Wise, a bank, a link.
OrangeCat is currency-agnostic by principle; this is the first surface that
is.

- payment_methods table + registry (src/config/payment-methods.ts) + domain
  service + /api/payment-methods. Handles are normalised per method (an
  IBAN passes mod-97, a pasted paypal.me link becomes the name).
- /pay/<username> shows the other ways under the Bitcoin flow, each with
  the one action its service has: open with the amount filled in when the
  service takes that currency, or copy. A page with no Bitcoin wallet but a
  Twint number is still payable. These settle outside OrangeCat and the
  copy says so.
- Send is one field: username, Lightning address, invoice, or a scanned
  code — someone's Receive QR included, amount prefilled. The person /
  invoice tab row is gone.
- Receive, Send and Request share one frame (MoneyPage lost its icon prop
  on purpose); in-app actions are monochrome primary; the note is a button
  that says "Add a note"; amount suggestions are four equal cells.
- Design discipline written down: CLAUDE.md → "Design discipline: one
  shape per kind" (instances, gates, pre-PR checklist), pointing at the
  fleet-wide rule. New gate check:choice-rows fails a wrapping box of
  choices; it found two (weekday picker, help-wanted tags), both fixed.


Claude-Session: https://claude.ai/code/session_01Te8nLte2wV2S7ttNgwSt3n

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-21 06:49:12 +02:00
CatoandClaude 86725c1804 refactor(searchkit): install it from bitbaum/searchkit like every other site (#1344)
searchkit now has its own repo, created from this folder by bitbaum/fleet's
package-repos workflow and tagged v0.2.2. OrangeCat installs that tag, the
same way the five other sites do, and the folder goes: one copy of the
package, changed through its own repo's pull requests, with its tests there.
Dependabot moves the tag forward here as everywhere else.

Same code; the search suites (find, palette, Discover) pass against the
tagged package.


Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 01:35:13 -07:00
CatoandClaude dc04de3324 refactor(searchkit): the package carries its own tests, ready for its own repo (#1343)
searchkit's tests lived in orangecat's vitest tree, so the folder could not
stand alone. They now sit in packages/searchkit/test and run with Node's
own test runner against the built package (`npm test`), and orangecat's
verify runs them as `test:packages`. The dist check resolves TypeScript the
normal way instead of through orangecat's node_modules path.

This is what lets bitbaum/fleet's package-repos workflow create
bitbaum/searchkit from this folder with no hand edits.


Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 01:16:56 -07:00
CatoandClaude Opus 5.5 90689cabca perf(ci): verify runs in parallel lanes; CD's recovery path asks about the tip (#1270)
verify was 24 steps chained with &&, though none reads another's output.
Measured on CI 2026-10-07 it took ~280s (unit 151s, eslint 51s, the two
type-checks 31s + 32s, the rest ~10s), and it runs twice per change — on the
PR and again on main — before anything deploys. scripts/verify.mjs runs the
same steps in three lanes on CI (unit | type-checks | lint + static checks);
locally it stays serial in the old order, since parallel gates were OOM-killed
on a loaded laptop. VERIFY_LANES overrides. A test keeps the lane list and the
serial list identical, so a check cannot run in one mode and not the other.

cd.yml's bare-dispatch path (the fleet reconcilers) asked for "the newest
successful CI run on main" and refused unless it was the tip. Every merge gets
a cancelled duplicate CI run, and the answer depends on list order; it refused
green tips four times on 2026-10-07, leaving a red CD run after each merge.
It now asks for a successful run of the tip itself.


Claude-Session: https://claude.ai/code/session_01Nx1u7uUWsgi3MagxbmQmPN

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 03:41:03 -07:00