Orchestration (M4)
JSON Reports & Redaction
Emit versioned, secret-redacted machine-readable reports via --json and --report.
tasknest run --json test
tasknest run --report dist/report.json testReport Contract (schema_version: 1)
- Pure stdout: With
--json, stdout contains only the JSON report document. Task and subprocess stdout are redirected tostderr. - Distinct task states: Every task record reports
status(passed,failed,skipped,blocked,cancelled),cache_status(hit,miss,bypassed,disabled),duration_ms,commands,error, andoutput_hash. - Secret redaction: Built-in redaction masks sensitive flag values (
--token,--password,--api-key, etc.),Bearerheaders, URL credentials (https://user:pass@), and known token prefixes (ghp_,github_pat_,pypi-,npm_,sk-).