Getting StartedYour First Workflow

First workflow

Deploy

Deploy uses the active context from causet context show. It compiles the rules, publishes a release, and activates it on the fork. It does not install infrastructure.

causet build
causet deploy --fork sandbox

causet deploy --fork main and production deploys ask for confirmation unless you pass --yes. Leave --yes off until you intend to activate that fork.

The deploy sequence is lint, validate, compile, plan, release create, release publish, deploy apply, and deploy activate.

Submit an intent

The command shape is:

causet intent <TYPE> \
  --stream <stream> \
  --entity <entity-id> \
  --fork sandbox \
  --payload '{"field":"value"}'

A preflight rejection returns a non-zero exit and does not commit. An accepted sync intent prints ACCEPTED, an intent id, and a timeline id.

The execution that was actually returned is on the next page. It used an application that was already deployed. It is the same causet intent command, pointed at that application’s stream and entity.

Next: Inspect execution.