(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 @@
# 3.5 — GET /api/delivery/{app}/resources (GREEN)
# 3.5 — GET /api/delivery/{app}/resources (mock, GREEN)
Phase: 3 — Delivery Tree (Surface E)
Stage: GREEN
Depends on: [3.4](3.4-api-delivery.md)
- [x] `GET /api/delivery/{app}/resources` — resource kinds + counts per app
- [ ] `GET /api/delivery/{app}/resources` cursor-paginated at 100 items (prometheus alone has 68 resources today)
Done — implemented in [app/api/delivery/[app]/resources/route.ts](<../app/api/delivery/[app]/resources/route.ts>), serves fixture data from `resourceKinds`/`DEFAULT_KINDS` in [lib/clusterMock.ts](../lib/clusterMock.ts). Mock only: no cursor pagination (fixture never exceeds 100 items), `hasMore` always `false`. See [REQUIREMENTS.md](REQUIREMENTS.md).