Decompose the reviewed architecture specs into taskgraph-managed tasks: - 2 setup tasks (project init, test infrastructure) - 4 schema tasks (enums, node attrs, edge attrs, graph schemas) - 1 error hierarchy task - 6 graph tasks (FlowGraph class, 3 construction paths, queries, validation) - 5 analysis tasks (type-compat, build-type-edges, ordering, template-validation, defaults) - 5 component tasks (Operation, Sequential, Parallel, Conditional, Map) - 2 host config tasks (GraphologyHostConfig, ReactiveHostConfig) - 4 reactive tasks (WorkflowRoot, node-status, max-concurrency, retry-semantics) - 3 review tasks (foundation, reactive-and-hosts, complete-library) - 5 meta cluster tasks (schema, graph, component, reactive, analysis layers) - 1 API exports task Validated with taskgraph: zero cycles, 38 tasks, 12 parallel generations. Critical path: 12 tasks through reactive execution layer.
2.4 KiB
2.4 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level |
|---|---|---|---|---|---|---|---|
| setup/project-init | Initialize project with package.json, tsconfig, build tooling, and source skeleton | pending | moderate | low | project | implementation |
Description
Set up the TypeScript project from scratch. The repo currently has only AGENTS.md and docs/. Initialize everything needed for a pure TypeScript ESM library targeting DAG-based workflow orchestration.
- Package name:
@alkdev/flowgraph - ESM primary, CJS compat via tsup
- Targets: Node 18+, Deno, Bun, Browser (pure JS, no native addons)
- Build:
tsupfor ESM + CJS + declarations - Dependencies:
graphology,graphology-dag,@alkdev/typebox,@alkdev/ujsx,@preact/signals-core - Peer dependencies:
@alkdev/operations
Acceptance Criteria
package.jsonexists with name@alkdev/flowgraph, ESM primary ("type": "module"), full exports map per build-distribution spec- All production dependencies listed:
graphology,graphology-dag,@alkdev/typebox,@alkdev/ujsx,@preact/signals-core - Peer dependency:
@alkdev/operations - Dev dependencies include:
typescript,vitest,@vitest/coverage-v8,tsup,@types/node tsconfig.jsonconfigured for ES2022 target, Node16 module resolution, strict mode withnoUncheckedIndexedAccess,noUnusedLocals,noUnusedParameters,noFallthroughCasesInSwitch,erasableSyntaxOnlytsup.config.tswith named entry points matching exports map (index, component/index, host/index, schema/index, graph/index, reactive/index, analysis/index, error/index)vitest.config.tswith@alias, globals, V8 coverage.gitignorecoversnode_modules/,dist/,*.js.mapsrc/directory skeleton created per build-distribution spec with all module directories and empty index.ts barrel filestest/directory with placeholder test files per module structurenpm installsucceeds without errorsnpx tsc --noEmitsucceeds (empty source files, but config is valid)npm run buildsucceeds via tsup (produces dist/ output with ESM + CJS + .d.ts)
References
- docs/architecture/build-distribution.md — project structure, dependencies, exports map, tsup config, tsconfig, vitest config
Notes
To be filled by implementation agent
Summary
To be filled on completion