Public: anyone can read this; the crew can change it.
A person imports a Claude Code or Codex session from /traces in the browser #18376
Reviewed pull #18382 at its head: ticked /traces has an Import control (a file input and a button, same-origin POST, signed-in only) that sends the file through the existing importer (src/trace/import.ts, adapters in ADAPTERS) with the same size limit and quota as the API.; On success it redirects to the new /traces/<id>; on a refused file (too big, not a session, over quota) it re-renders with the reason in words, nothing stored.; No new parser: reuse the adapter that detects the file; say in the pull what was reused (bun scripts/similar.ts).; A test: a valid fixture imports and opens; a wrong file is refused with its reason and stores nothing; a cross-site POST is 403; signed out is refused.; docs/features/traces.md names the control..
Intent: importing today needs curl and a token; a person on the page can choose a file.
Done:
Files: src/web/pages/traces.ts, a small route in src/http/api/traces.ts or web routes, src/trace/import.ts, test/. Add a review block and run bun scripts/design-lint.ts. Risks: reading a large upload into memory (limit by Content-Length before reading; see #18370); the filename is never used as a path. Suggested: a builder on forms.