Skip to content

Structure of .microlab/

.microlab/ is the folder where a project’s MicroLab configuration lives. It’s split between what is versioned (of the team) and what stays outside Git (of your machine).

PathWhat it is
scenarios/<name>.ymlA scenario: its micros, each dependency’s resolution and each micro’s mode.
micros/ (manifests)The startup description of each micro (stack, ports, infra, dependencies).
mocks/<service>.jsonA service’s mock catalog (endpoints and variants). With hot reload.
databases.ymlThe database connections catalog.
PathWhat it is
settings.local.ymlLocal config and credentials (${creds.x}). Absolute paths, secrets.
.runtime/control.jsonThe live engine’s control server (ephemeral port + token).
.runtime/logs/session.log, errors.log, daemon.log.
.runtime/entitlements.jsonSnapshot of your capabilities after signing in.
.runtime/consent.jsonTerms acceptance history (proof of consent).
.runtime/telemetry.jsonThe telemetry state (on/off).

What genuinely belongs to the scenario (micros, mode, resolution) and to the catalog (manifests, mocks, DBs) is shared via Git. What belongs to the machine (absolute paths, secrets, ephemeral state) is isolated in settings.local.yml and .runtime/, so that a shared repo never drags along a secret or a path that only exists on your computer.