Files
CatoandClaude e3dcbda881 feat(helpers): a directory of helpers, lawyers checked and still pseudonymous (#25)
- 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>
2026-10-21 05:48:41 +02:00

33 lines
1.3 KiB
TypeScript

/**
* Shared class strings for the app screens. Each one names a shape defined in
* app/globals.css on the fleet tokens, so a button is one decision rather than
* nine copies, and it is the same decision Solon made.
*/
export const btnPrimary = "btn-primary";
export const btnQuiet = "btn-secondary";
export const link = "text-link";
export const eyebrow = "kicker";
export const field = "field";
/** A box, used sparingly: space separates first, a frame is the last resort. */
export const card = "rounded-surface border border-border p-5 sm:p-6";
export const shell = "section-shell";
/** The shapes the account screens (components/auth) are written in, mapped onto Causius's own. */
export const button = btnPrimary;
export const buttonQuiet = btnQuiet;
export const input = field;
export const label = "block text-sm font-medium";
export const notice =
"border border-border px-4 py-3 text-sm text-fg-secondary";
export const errorText = "text-sm text-accent";
/** A toggle in a row of choices; `aria-pressed` carries the state, so it is styled from it. */
export const chip =
"inline-flex min-h-11 items-center rounded-control border border-border px-3 text-sm text-fg-primary transition-colors hover:border-fg-muted aria-pressed:border-accent aria-pressed:bg-accent/10";