Skip to main content

Planning Endpoints

Planning endpoints generate previews without executing changes. The authoritative input schemas and example payloads live in api-contract.json.

ProcedureRequired Scope(s)Purpose
composeDeploymentPlandeploy:readPreview a direct Compose upload, including bundle metadata and env interpolation analysis
deploymentPlandeploy:readPreview a registered service deployment, including preview-target modeling
rollbackPlandeploy:readPreview rollback steps and available rollback targets
backupRestorePlanbackup:readPreview restore readiness, target path, and approval-request input without queueing work
configDiffdeploy:readCompare two deployment snapshots and summarize config differences
deploymentDiffdeploy:readCompatibility alias for config comparison during CLI and agent transitions

Notes

  • composeDeploymentPlan is the planning-lane contract used by direct daoflow deploy --compose ... --dry-run and daoflow plan --compose ....
  • deploymentPlan models service-based deploys, preview deploys, and preview cleanup without executing them.
  • rollbackPlan is the non-mutating companion to executeRollback.
  • backupRestorePlan backs daoflow backup restore --dry-run, so agents can preview restore readiness with a read-only token before any restore is queued.
  • The generated contract artifact includes machine-readable example payloads for the planning lane, so external consumers do not need to reverse-engineer request shapes from source.