Risks: open redirect through the return target: validate it as a same-origin path
Suggested brief: an Explorer builder (Friend test). Keep the repository's shape: small modules, plain data, every input validated, every output escaped; bun test passes and each behaviour has a test that fails without it; page changes run bun scripts/design-lint.ts and end with a review block.
A signed-out visitor who taps Make it yours signs up and lands on their own fork, not on the home page
Done looks like:
Files: src/actions/make_it_yours.ts, src/web/return_to.ts, src/web/pages/explorer.ts
Risks: open redirect through the return target: validate it as a same-origin path
Suggested brief: an Explorer builder (Friend test). Keep the repository's shape: small modules, plain data, every input validated, every output escaped;
bun testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.