chore: join 4 commits from a parallel line
This commit was the merge "Merge useref.dev/refs/source main into main". It holds the changes of 4 commits from the merged line. Their messages follow. Both sides refactored the same first commit in different ways. The source split the backend into handles/ and added about 130 commits of features. The local refactor moved the same old code into other files. Its renamed files were copies of the source files, so each conflict resolves to the source side. The local commits stay in history and on the backup/main-before-merge branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --- Aman, 2026-11-22 refactor(backend): split into one concept per file with injected clock and typed errors Group the backend by concern (access, validation, stores, models, services, git, browse, algorithms, markdown, platform, errors). Add branded ids, result unions, an injected clock, and shared form limits in the contract. Name tests by behaviour and add tests for access rules, ref resolution, label diffs and input validation. --- Aman, 2026-11-22 refactor(design-system): one component per file and shared count formatting Split repo, shell and tasks components into folders. Export countOf, pluralNoun and formatSize, and replace select value casts with checks. --- Aman, 2026-11-22 refactor(frontend): split routes into components and parse form input without casts Split lib/session into cookie, handle, response, form and clock modules. Move route components into concern folders. Accept only known form intents, roles, colors and visibilities. Add tests for form parsing. --- Aman, 2026-11-22
No file changes
These revisions have identical trees.