Cause: Server started without OPENAI_API_KEY.
Fix:
- Export key in shell.
- Restart
npm run dev.
Check run-readiness rules in apps/web/docs/run-readiness.md.
Common causes:
- Missing or duplicate Start nodes.
- Broken connections.
- Invalid subagent graph.
- Missing outgoing branch for reachable
if/approvalnodes.
Cause: paused engine not currently in server memory.
Possible reasons:
- Server restarted before paused state was persisted with full restore fields.
- Run ID is stale/invalid.
Fix:
- Use
GET /api/run/:runIdto inspect status. - If not recoverable, re-run workflow.
Cause: same run is being resumed concurrently (/api/resume and /api/resume-stream lock conflict).
Fix: resume from only one /api client path at a time.
Checklist:
- File exists at
.config/default-workflow.json. - Shape is
{ "nodes": [], "connections": [] }. - localStorage
agentflow-workflowis not overriding it.
Cause: design-system submodule not initialized.
Fix:
git submodule update --init --recursiveAlso verify symlink:
apps/web/public/design-system -> ../../../design-system
Cause: apps depend on built outputs of shared packages.
Fix:
npm run build:packages
npm run typecheck
npm run buildCause: route only accepts numeric runId to prevent path traversal.
Fix: pass raw numeric run ID (timestamp string), no prefixes or suffixes.