Technical Workflows

Validated technical workflows share one contract:

POST /v1/history/{session_id}/actions/{action}

The route requires an existing Technical Session and one supported action identifier. It accepts no request body and does not execute code, deployments, security scans, migrations, incident actions, or other external changes. It prepares and persists validated guidance.

Workflow catalog

ActionPurposeAnalysis used
architecture_reviewReview component boundaries and architecture context.Architecture
implementation_planPrepare a canonical implementation package.Architecture, code
code_reviewReview supplied code context and security concerns.Code, security
deployment_readinessEvaluate release and production readiness.Infrastructure, operational, security
validation_checklistPrepare checks for supplied technical work.Code, infrastructure
scenario_validationEvaluate a proposed scenario and operational effects.Architecture, operational
technical_decision_reviewReview a technical decision or ADR context.Architecture, infrastructure
infrastructure_reviewReview infrastructure or Terraform context.Infrastructure, security
troubleshootingPrepare a bounded troubleshooting analysis.Code, infrastructure, operational
migration_guidePrepare migration or upgrade guidance.Architecture, code, infrastructure
runbookPrepare operational runbook guidance.Operational, infrastructure
operational_reviewReview monitoring, recovery, ownership, and operations.Operational
production_reviewReview production context and readiness.Operational, infrastructure, security
incident_reviewReview incident or postmortem context.Operational, security
security_reviewReview supplied security context conservatively.Security

Run a workflow

curl --request POST \
  "$IVORLEAF_API_BASE_URL/v1/history/$SESSION_ID/actions/deployment_readiness" \
  --header "Authorization: Bearer $IVORLEAF_API_KEY"

All workflows use the Technical Session's saved objective and evidence. The source-derived packet includes technical analysis, recommendations, risks, validation summary, sources, a revision_id, and an artifact. implementation_plan returns the canonical implementation-package structure instead.

Review and blocking

Workflow validation_summary.human_review_recommended is derived from the canonical package's validation.human_review_required. Inspect it before allowing downstream automation. Prepared artifacts are guidance; this endpoint does not apply changes to external systems.

See Generate Artifacts and Validation Responses.