(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
@@ -3,13 +3,13 @@
Phase: 4 — Terminal (Surface C)
Stage: REFACTOR
Depends on: [4.5](4.5-command-set.md), [4.6](4.6-namespace-validation.md)
Depends on: [4.4](4.4-api-exec.md), [4.6](4.6-namespace-validation.md)
- [ ] `simplify` pass on the enum parser
- [ ] `simplify` pass on the enum parser in [app/api/exec/route.ts](../app/api/exec/route.ts)
## Verify
```bash
curl -X POST https://riotpiao.com/api/exec -d '{"cmd":"get pods; rm -rf /"}'
curl -X POST http://localhost:3000/api/exec -d '{"cmd":"get pods; rm -rf /"}'
pnpm test:e2e terminal.e2e.ts # required, must pass before merge
```