Commit Graph

5 Commits

Author SHA1 Message Date
365e7a61dd Fix supply chain attack date: Sept 2025 → April 2026 2026-04-25 07:14:07 +00:00
3346002fba Resolve all open questions, add class decomposition section
Replace interfaces with typebox equivalents for return types.
Resolve 6 open design questions:
1. Rebuild over incremental (graph sizes too small to matter)
2. Strict internal-only subgraph (matches graphology-operators)
3. Throw CircularDependencyError on cycles (both consumers treat as bugs)
4. Always propagate through completed nodes, exclude from output only
5. Defer depth-escalation to v2 (multiplicative compounding already captures it)
6. Adopt source->target edge keys from the start

Add section decomposing TaskGraph into thin data class + standalone
analysis functions, with operations pattern at the consumer layer.
2026-04-25 05:44:18 +00:00
6b281dee81 Resolve 5 architecture open questions, add new gaps from review
Resolved:
- YAML parser: self-contained frontmatter splitter + yaml (eemeli), no gray-matter/js-yaml
- findCycles: custom DFS with 3-color marking + back-edge path extraction, SCC pre-check
- DAG propagation: default mode for workflowCost, independent as degenerate case
- Zod interop: dropped, typebox is sole schema system
- Graph listeners: expose raw graphology instance, no wrapping

Added:
- DependencyEdge/TaskGraphEdgeAttributes now carry qualityDegradation
- Mutation methods (removeTask, removeDependency, updateTask, updateEdgeAttributes)
- subgraph() method, raw getter, WorkflowCostOptions/EvConfig/EvResult types
- Supply chain security rationale with fear-setting analysis
- 6 new open questions (incremental rebuild, subgraph edges, partial topo, etc.)
2026-04-24 12:22:07 +00:00
e2c872d3a1 Pivot architecture from napi/Rust to pure TypeScript with graphology 2026-04-24 10:49:11 +00:00
ba8c382d53 Add architecture doc and research reports for taskgraph_ts napi wrapper 2026-04-23 10:30:40 +00:00