Configuration Overview
Scion uses a multi-layered configuration system to manage orchestrator behavior, agent execution, and server operations.
Key Configuration Files
Section titled “Key Configuration Files”| File | Purpose | Scope | Reference |
|---|---|---|---|
settings.yaml | Orchestrator Settings. Defines profiles, runtimes, and harness configurations. | Global (~) or Project (.scion) | Orchestrator Settings |
scion-agent.yaml | Agent Blueprint. Defines the configuration for a specific agent or template. | Template or Agent | Agent Configuration |
state.yaml | Runtime State. Tracks system state like sync timestamps. | Project (.scion) | N/A (Managed by Scion) |
Server Configuration
Section titled “Server Configuration”Server configuration (for Hub and Runtime Broker) is now integrated into settings.yaml under the server key.
Telemetry Configuration
Section titled “Telemetry Configuration”Telemetry settings control agent observability — trace collection, cloud forwarding, privacy filtering, and debug output. These are configured via the telemetry block in settings.yaml and can be overridden per-template or per-agent in scion-agent.yaml.
Configuration Hierarchy
Section titled “Configuration Hierarchy”Scion resolves settings in the following order (highest priority first):
- CLI Flags: (e.g.,
scion start --profile remote) - Environment Variables:
SCION_*overrides. - Grove Settings:
.scion/settings.yaml(Project level). - Global Settings:
~/.scion/settings.yaml(User level). - Defaults: System built-ins.
Migration
Section titled “Migration”To migrate legacy configuration files to the new schema v1 format:
# Migrate general settingsscion config migrate
# Migrate server.yaml to settings.yamlscion config migrate --server