Auth stub returns 201 with no user creation — any caller thinks they registered #84
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Where:
api/src/index.ts:11-13.Bug:
Returns HTTP 201 Created with a static
{ status: 'ok' }body. No body parsing, no zod validation, nobcrypt.hash, no insert intousers(api/src/db/schema.ts:3-8). The 201 is a lie: no user was created.Risk:
Fix consistent with existing patterns:
Replace the stub with one of two contracts:
api/src/db/schema.ts:3-8) using the deps already inpackage.json:Recommended: Path 1 until #4 is staffed; path 2 then supersedes.
api/Express stub — zero callers, 11 unused deps, dead vite proxy/api/v1 → :3001#113