Expand description
tda use cases — orchestrate the domain core through the ports (spec §5, §10).
Every mutation is a method on Services: build a command → decide →
apply → persist (task-local), or graph-validated structure ops.
Structs§
- Aggregate
- Export
- Self-contained snapshot of a branch: its tasks and the
child/blocksedges among them. Deterministically ordered soexport → import → exportis stable. - Query
Hit - A task in a query result, with its ancestor titles (root → parent).
- Services
- Task
Snapshot - A read-only view of a task assembled from its components — for query results,
export, and as the return of a mutation. Never fed back to
decide/apply(those work capability-keyed via the store); assembling here is one-way, so there is no partial-aggregate to reconcile. Decomposed back to components byServices::write_snapshoton import.