For Technical Users

Technical Overview

NDploy is a deterministic CLI for promoting n8n workflows from DEV to PROD with dependency awareness and controlled execution. This documentation explains technical behavior from an operator perspective, focusing on guarantees, boundaries, and runtime decisions.

Core Model

What NDploy Is Optimized For

Conceptual Guarantees

Area Guarantee Limit
Dependency Discovery Recursively includes workflow dependencies required by the root workflow. References outside the analyzed graph are not rewritten unless resolvable in mapping.
Credential Handling Credentials are handled through source/target snapshots plus an editable credentials_manifest.json. Operators still review and validate template data before apply.
Idempotence Equivalent workflow updates can be skipped. Equivalence is structural; external system state is out of scope.
Safety Root workflow is not auto-published by apply. Operator still decides final activation timing.

Recommended Operational Sequence

  1. Init project: ndeploy init <workflow_id_dev> [project_root]
  2. Generate plan: ndeploy plan <project>
  3. Review reports/plan_summary.json (plus plan.json if needed).
  4. Run ndeploy credentials fetch <project>, then credentials compare, then credentials merge-missing.
  5. Review credentials_manifest.json and run ndeploy credentials validate <project> --side manifest --strict before apply.
  6. Apply plan: ndeploy apply <project>
  7. Review reports/deploy_summary.json (and reports/deploy_result.json if needed).
  8. Publish root workflow manually when release criteria are met.
Contract: plan is a point-in-time artifact; apply is the runtime source of truth.