Orchestration (M4)
DAG-Aware Watch Mode
Monitor declared inputs and incrementally re-run only the minimal dirty subgraph.
Start watch mode for any target task and its resolved dependency DAG:
tasknest watch build
tasknest watch --interval 250 --jobs 2 --json buildIncremental Execution & Early Cutoff
- Input monitoring: Watches declared
inputsacross the target DAG (via polling in Python andRuntimeAdapter.watchPath+ content-hash verification in TypeScript). - Self-output loop protection: Writes to a task's own declared
outputsand.tasknest/are ignored, and unchanged file content hashes never re-trigger execution. - Early cutoff: Clean upstream tasks seed their last
ctx.outputvalues into dirty downstream tasks; when an upstream task re-runs without changing itsctx.outputdigest, cached downstream tasks hit cache and are skipped.