Per run and classifier pair: agreement per label, repo and kind, confusion
table, confidence bands, flag agreement and a filterable disagreement list.
Cost: calls, items, tokens, USD and wall time per stage, model and repo, with
spend over time. The v1 server-rendered pages are removed.
- web/: an HTTP client for the Api interface (CSRF from the X-CSRF-Token
response header, errors carry the server's text, 401 goes to sign-in);
the mock API and its view-as menu only in VITE_MOCK=1 builds; the clock
is real time outside the mock; nav links to the server-rendered pages.
- Server: serves web/dist (CRAFT_AUTO_WEB_DIST) behind sign-in, hashed
assets cached a year, index.html uncached for every client route, a 503
page when the build is missing; a strict CSP for the app with the hash
of the Radix scroll-lock style.
- The v1 Decisions, Item and Progress pages are gone; Contributors,
Classifiers, Run and cost, Repos and Access stay at their paths.
- Access roles operator, maintainer and viewer; rows with role admin
become operator on connect.
- v1 form POSTs and sign-out refuse a foreign Origin or Sec-Fetch-Site.
Each decision shows the AI summary and the issue or PR body (sanitised
GitHub-flavoured Markdown, clamped with Show all) before facts and the
question, and list rows show the summary's first sentence. Anyone signed in
gives non-binding opinions with a GitHub permission badge and a per-option
tally; the operator answers or adopts one. Spec trust boundary and
permissions updated to match.
Inter for UI text, mono only for refs, paths and diff stats; compact list
rows, key-value facts, sortable tables and 28-32 px controls; ArtCraft logo,
surfaces and accent. Drops the display type, mono caps labels and
registration marks. Read-only reason shows for maintainers when proposals
are off.
Design language from ArtCraft's brutalist system, a module/panel registry
shell with per-user resizable layouts, a typed API with a fixture-backed
mock, and the Decisions inbox (operator, maintainer and viewer states),
Item and Progress screens.