Skip to Content
Tasknest
Orchestration (M4)

Orchestration Overview

Data passing, opt-in caching, parallelism, affected selection, watch mode, and JSON reports.

Milestone M4 adds composable execution primitives shared across tasknest-py and tasknest-ts:

  1. Data Passing & Scoped Env: ctx.output(...), read-only ctx.deps[...], and task-local ctx.env(...).
  2. Opt-In Caching: Content-hashed .tasknest/cache/ with early cutoff and declared-output verification.
  3. Parallelism & Resource Safety: --jobs, resources conflict locking, TASKNEST_WORKER_BUDGET, and --fail-fast.
  4. Persistent Tasks (Dev Servers): Long-lived servers/watchers with automatic concurrency, prefixed logs, and sibling teardown.
  5. Affected Change Selection: ctx.affected git diff context and conservative fallback selectors.
  6. DAG-Aware Watch Mode: tasknest watch <task> with self-output filtering and early cutoff.
  7. JSON Reports & Redaction: Versioned schema_version = 1 reports with --json stdout purity and secret redaction.