Remove the dead join-mode code
The /join form is gone, but its intake and wizard code still ships.
Someone is on this. You can still follow the thread and help in the discussion.
What and why
We closed applications and /join now redirects to /contribute. The web app still carries the join-mode intake chat, the application wizard and their drafts (apps/web/lib/form-drafts.ts, the intake join mode). Remove what nothing reaches any more, across web, contracts and the API, without breaking /submit.
Done when
Acceptance criteriaNo code path in apps/web references the join intake or wizard
Contracts drop the unused join form kinds, or keep them only where the API still reads old rows
/submit and its intake chat work as before (tests)
pnpm typecheck, test and lint pass
Proposals 2
Open to read. Decline notes go only to the proposer.Remove the dead join-mode code
Remove the dead join-mode flow from the web app:
Drop the old join intake branches and any join-only draft state in apps/web/lib/form-drafts.ts Remove join-specific UI/wizard code and any mode checks that still branch on "join" in the web intake flow and form state Keep /submit and its intake chat intact; only remove the no-longer-reachable join path Clean up shared contracts:
In packages/contracts/src/index.ts, remove unused join-mode types/draft objects such as INTAKE_MODES, joinDraft, emptyIntakeDraft, and any join-only form/public event kinds If the API still needs to read older rows or historical event payloads, keep only a compatibility layer instead of shipping the live join flow Trim dead API handling:
Remove join-specific intake validation or route branching in the API, while leaving /submit behavior unchanged Keep any compatibility for legacy stored draft/event data only where it still matters for old rows; do not keep the live join form path active Verify that no code path in web still references join-mode when submitting or editing a project pitch
Run the targeted contract tests for intake drafts and form validation: pnpm --filter @nw/contracts test Run the API intake tests that cover /submit and the chat flow: pnpm --filter @nw/api exec vitest run test/intake-chat.test.ts Run the repo-level validation the task requires: pnpm typecheck pnpm test pnpm lint
Discussion 0
Questions, updates and decisions live here.No posts yet. Ask a question before you propose.