FLOW Intake Route
build-execution artifact · for Bezel Workflow · phase W0-S3 · status complete
- npx vitest run apps/api/test/flow-intake-route.test.ts: 3/3 passed
- npx vitest run apps/api/test/http-server.test.ts: /flows route covered and passed
- npx vitest run apps/api/test/openapi-contract.test.ts: passed after adding /flows to public path list
- npm test: 44 files / 166 tests passed
- npm run typecheck: passed
- npm run build: passed
W0-S4: connect apps/workflow shell to a real FLOW fixture and POST /flows flow submission path, or add workflow run timeline product view backed by existing workflow run/task/event APIs.
W0-S4: connect apps/workflow shell to a real FLOW fixture and POST /flows flow submission path, or add workflow run timeline product view backed by existing workflow run/task/event APIs.
- npx vitest run apps/api/test/flow-intake-route.test.ts: 3/3 passed
- npx vitest run apps/api/test/http-server.test.ts: /flows route covered and passed
- npx vitest run apps/api/test/openapi-contract.test.ts: passed after adding /flows to public path list
- npm test: 44 files / 166 tests passed
- npm run typecheck: passed
- npm run build: passed
W0-S4: connect apps/workflow shell to a real FLOW fixture and POST /flows flow submission path, or add workflow run timeline product view backed by existing workflow run/task/event APIs.
Machine-readable source fields
build-execution
/Users/justinking/Vaults/Projects/bezel-api
FLOW Intake Route
complete
- Added apps/api/src/flow-intake-route.ts.
- Added POST /flows to compile human-product FLOW.json into existing PlanIntake-compatible runtime plans.
- POST /flows supports raw FLOW.json or wrapper body { flow, role_id_by_name } for product role to runtime role mapping.
- POST /flows rejects invalid FLOW.json and missing compiled runtime queues before materialization.
- Wired /flows through apps/api/src/http-server.ts using existing principal resolution, role queue resolution, and materializePlan runtime path.
- Documented /flows in README, apps/api/README.md, OpenAPI paths, and Flow schemas.
Bezel Workflow
W0-S3
W0-S4: connect apps/workflow shell to a real FLOW fixture and POST /flows flow submission path, or add workflow run timeline product view backed by existing workflow run/task/event APIs.
2026-05-09T17:06:35.906Z
- npx vitest run apps/api/test/flow-intake-route.test.ts: 3/3 passed
- npx vitest run apps/api/test/http-server.test.ts: /flows route covered and passed
- npx vitest run apps/api/test/openapi-contract.test.ts: passed after adding /flows to public path list
- npm test: 44 files / 166 tests passed
- npm run typecheck: passed
- npm run build: passed