Skip to main content
Canvas workflows are semver-versioned. Publishing creates an immutable snapshot in agent_workflow_versions and triggers an automatic sandbox deployment.

Deployment lifecycle

medera/versioning.svgsandbox-first · semver · WORMSandbox-first deploymentEditPublish vX.Y.ZAuto-deploy sandboxVerify metricsPromote productionEvery published version is immutable.Rollback = redeploy the previous version.Every deploy is recorded in the WORM audit log.WORM audit · semver · auto-rollback on thresholdDeployment alerts · time-bucketed metrics · preview tokens

Tables

URLs

  • Sandboxhttps://sandbox.medera.info/{org_slug}/{agent_slug}-v{version}
  • Productionhttps://agents.medera.info/{org_slug}/{agent_slug}
  • Sandbox auto-expiryauto_expire_at set 72 h after deploy; expirePreviewTokens cron runs daily at 3 AM.

Auto-rollback

agent_deployments.auto_rollback_config declares thresholds (error rate, p95 latency, alert severity). When triggered, the deployment rolls back to the previous successful version and writes an event_type='rolled_back' row to deployment_audit_log.

WORM audit

deployment_audit_log is append-only. UPDATE and DELETE are blocked by triggers (migration 145 fixed the FK from RESTRICT → SET NULL to preserve WORM semantics when actors are deleted).

What’s next

https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/puzzle.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=eba447b2f1e34fad34c796c184970d9d

Node Types

16 core + 8 rail nodes.
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/code.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=55229463dbd5bbb579cce6192dbc5ffc

Variables & Scopes

Template syntax.
https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/shield-check.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=6909d120dcab3cdfef838294f042d00c

Guardrails

Runtime enforcement.
https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/wand.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=a22c0da9e3a5d39a75c28e1983f90a2b

Transforms

Data shaping.