docs/local-cre/environment/topologies.md
Topologies control the DON layout, chains, infra type, and capability placement for Local CRE.
The CLI shell defaults CTF_CONFIGS to configs/workflow-gateway-don.toml. During environment startup, Local CRE also ensures the default capabilities configuration is prepended.
For smoke tests, the default local flow uses configs/workflow-gateway-capabilities-don.toml unless you override it.
Use the topology commands:
go run . topology list
go run . topology show --config configs/workflow-gateway-capabilities-don.toml
go run . topology generate
Implementation-backed defaults:
topology show --config defaults to configs/workflow-gateway-don.tomltopology show --output-dir defaults to statetopology generate --output-dir defaults to docs/topologiestopology generate --index-path defaults to docs/TOPOLOGIES.mdGenerated topology docs already live in the environment package:
core/scripts/cre/environment/docs/TOPOLOGIES.mdcore/scripts/cre/environment/docs/topologies/*.mdUse them for:
In particular, the generated matrix for workflow-gateway-capabilities-don.toml is the most useful reference for the default local smoke-test topology.
Use a multi-DON topology when the workflow stack needs responsibilities split across separate DONs instead of running everything in one place.
In practice, the common DON roles are:
workflow for workflow executioncapabilities for capabilities exposed to other DONsbootstrap for DON bootstrappinggateway for connector and gateway trafficWhen you inspect or change a multi-DON topology, verify these questions:
Keep these mental rules:
Enabling a capability is not one step. All of the following need to line up:
As a rule of thumb:
After changing capability placement, re-run:
go run . topology show --config <your-topology>.toml
go run . topology generate
Then check the generated capability matrix before starting the environment.
When introducing a new topology:
configs/go run . topology generatego run . topology show --config <file> to sanity-check the result