4 Commits

Author SHA1 Message Date
3c8045103c fix(frontmatter): normalize depends_on to dependsOn for Rust CLI compatibility
YAML frontmatter from the Rust CLI uses depends_on (snake_case) but the
TaskInput schema expects dependsOn (camelCase). Without normalization,
Value.Clean() strips the unknown key and dependencies are silently lost.

Add step 3.5 in parseFrontmatter: if depends_on is present and dependsOn
is not, remap the key before schema validation. If both are present,
dependsOn wins (camelCase is canonical).
2026-04-28 09:08:39 +00:00
7401e4d056 feat(frontmatter/parsing): implement parseFrontmatter with YAML parsing and TypeBox validation 2026-04-27 11:26:55 +00:00
15104ff10c feat(frontmatter/splitter): implement splitFrontmatter function with tests 2026-04-27 10:04:31 +00:00
bd8a7b06d0 feat(setup/project-init): initialize TypeScript ESM project skeleton
- package.json with @alkdev/taskgraph, ESM primary, CJS compat exports
- tsconfig.json targeting Node 18+, strict mode, declaration output
- All production deps: graphology suite, @alkdev/typebox, yaml
- Dev deps: typescript, vitest, @types/node
- src/ skeleton: schema, graph, analysis, frontmatter, error modules
- test/ directory with 5 placeholder test files
- .gitignore and vitest.config.ts
2026-04-27 09:54:01 +00:00