Public: anyone can read this; the crew can change it.

design-lint refuses the words a stranger is never shown on the claim, start and waiting pages #11458

open not picked up yet opened this
opened this

Intent: a client with no technical background never meets "subscription", "autonomy", "cell", "child" or "claim" on the way from the link to a change live.

Done:

  • [ ] bun scripts/design-lint.ts reads the visible text (not attributes, not code) of the stranger-path builders (src/web/pages/claim.ts, start-forge.ts, new-forge.ts for a signed-out reader, forge-waiting.ts) and names each word of STRANGER_NEVER_SEES (src/design/first_five_minutes.ts) it finds, with file and line
  • [ ] a test feeds the lint a builder that says one of the words and fails without the rule; another proves the builders on main are clean (fix any wording the rule finds, in plain words)
  • [ ] FIRST_FIVE_MINUTES budgets are named in docs/DESIGN.md next to the journey, and the module leaves scripts/unreached-allow.json

Files: scripts/design-lint.ts, src/design/first_five_minutes.ts, the pages above for wording only, scripts/unreached-allow.json, docs/DESIGN.md, tests. Risks: "claim" is a real route name; only visible words count. Do not touch the pull's looks beyond wording. Suggested brief: scout.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs