Files
suaveplan/openspec/archive/2026-05-26-foundation-fix-gap-1-pipeline-router/tasks.md
2026-05-27 23:29:53 +01:00

24 lines
1.9 KiB
Markdown

# Tasks
- [x] `api-router-hono`: add `src/pipeline/pipeline.ts` (`PipelineRouteTable`).
- [x] `api-router-hono`: add `src/pipeline/pipeline.types.ts` (`HonoPipelineRoute` + bag types).
- [x] `api-router-hono`: add `src/pipeline/index.ts` barrel.
- [x] `api-router-hono`: add `src/pipeline/pipeline.md` (≥200 words, basic + advanced examples).
- [x] `api-router-hono`: add `src/pipeline/pipeline.test.ts` (full coverage on `PipelineRouteTable`).
- [x] `api-router-hono`: extend `HonoRouter` with pipeline-facet methods.
- [x] `api-router-hono`: add `ROUTER_HONO.PIPELINE_ROUTE_COLLISION` error code.
- [x] `api-router-hono`: add `./pipeline` subpath + `PipelineRouteTable` to top-level barrel.
- [x] `api-router-hono`: vite config — multi-entry so subpath `index.js` files emit.
- [x] `api-router-hono`: add `@suaveplan/api-host` as dev dep.
- [x] `api-host/testing`: add `pipeline-router-conformance/` feature module with `runPipelineRouterConformance(factory)`.
- [x] `api-host/testing`: self-test the harness via a reference in-memory `PipelineRouter`.
- [x] `api-host/testing`: re-export the harness from `testing.ts` and `testing/index.ts`.
- [x] `api-host`: vite config — emit `testing/testing.js` and `testing/pipeline-router-conformance/pipeline-router-conformance.js`.
- [x] `api-router-hono`: add `pipeline.conformance.test.ts` wiring the harness against `HonoRouter`.
- [x] `e2e/foundation-stack/src/fixture-plugin.ts`: drop `createFixtureRouter` body; use real `HonoRouter` pipeline facet.
- [x] `e2e/foundation-stack/src/server.ts`: refresh the wiring-deviations comment.
- [x] Run `bunx turbo lint typecheck test build --filter=@suaveplan/api-router-hono --filter=@suaveplan/api-host` → green.
- [x] Run `bunx turbo test:coverage --filter=@suaveplan/api-router-hono` → 100/100/100/100.
- [x] Run `cd e2e/foundation-stack && bunx playwright test` → all 10 tests pass.
- [x] Fold deltas + archive change folder.