(plan) convert original implement plan to mock api

This commit is contained in:
Story Crater Bot
2026-08-19 09:47:14 -07:00
parent c42040319f
commit 0aef2281bc
65 changed files with 307 additions and 627 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
# 5.7 — POST /api/chat (GREEN)
# 5.7 — POST /api/chat (mock, GREEN)
Phase: 5 — Chat + Rate Limiter (Surface D)
Stage: GREEN
Depends on: [5.1](5.1-ratelimit-test.md), [5.2](5.2-disconnect-test.md), [5.3](5.3-budget-test.md)
- [x] `POST /api/chat` — SSE token stream
- [ ] `POST /api/chat` — session + Turnstile, 12/day/session, 6 global concurrent, SSE token stream
Done — implemented in [app/api/chat/route.ts](../app/api/chat/route.ts). Streams a canned reply through `queue` -> `reasoning` -> `content` -> `done` events. Mock only: no session, no Turnstile, no rate limiting, no real model. See [REQUIREMENTS.md](REQUIREMENTS.md).