Environment model
Use a separate RevoEngine instance for each trust and release boundary. A typical enterprise setup uses development, test or staging, and production instances with independent identities, quotas, Secrets, providers, ACLs, and runtime activation.
Do not copy credentials or production data as part of source promotion. Recreate or
bind environment-owned configuration under the target instance’s governance policy.
Source of truth
The active environment remains authoritative for deployed state. Local files created by the CLI are the desired source for review and delivery workflows; the CLI lock file records the last synchronized baseline.Portable identity
Use a stable metadata key to match components across environments. UUIDs and element IDs are instance-local and should not be used as durable cross-environment identity.Promotion workflow
1
Plan
Compare the source and target environments. Resolve missing keys and collisions before applying anything.
2
Review
Inspect creates, updates, conflicts, and target-only resources. Use a strict CI check when drift should block delivery.
3
Apply
Create and update first. Deletion requires explicit prune intent and stronger confirmation.
4
Verify
Re-fetch the target and compare portable content after every change. Then run the affected component, endpoint, or automation flow.
Drift and conflicts
Treat three states separately:- local desired state is the reviewed project content;
- last synchronized baseline records what the CLI last observed;
- remote current state is the authoritative definition in the selected instance.
Activation and rollback
Promotion and activation are different decisions. Creating or updating a definition does not prove that its dependencies, ACLs, or runtime revision are ready for traffic.- Apply portable source to the target instance.
- Resolve target-owned dependencies and configuration.
- Run a representative Sandbox or non-production execution.
- Activate the intended Component, Endpoint, Job, Event, or runtime revision.
- Observe Logs, Trace, history, and business state.
Security and release controls
- Use a dedicated service account per CI environment and grant only the required roles.
- Keep profile credentials in the CI secret store and never in project metadata.
- Require stricter review for production apply, prune, Secret, IAM, and activation actions.
- Run drift detection before applying a plan generated earlier.
- Record the target instance, stable key, author, version, and verification evidence.
- Keep production and non-production quotas, egress policy, and data retention independent.

