System configuration schema
Reference for the operator and system configuration schema.
This is a reference for the system configuration schema. The config declares operator-wide settings for the factory runtime: default worker models, worker presets, runtime artifact handling, and the backend scope a machine runs against.
It lives at ~/.you-agent-factory/config.json. Create that file with you config init, or open and edit it on disk.
Core configuration
The root object of ~/.you-agent-factory/config.json. Every field below is declared directly on it; the definitions that follow describe the objects it references.
System configuration
objectThe shared .you-agent-factory/config.json contract owned by the Operator Settings service.
- additionalProperties
false (closed)
Examples
- Operator config defaultsAuthored examplejson
{ "defaults": { "workerModelProvider": "codex", "workerModel": "gpt-5-codex" } }
Fields
- backendScopeIDOptionalstring
Stable identifier for the local provider-backed runtime boundary owned by operator_settings.
- defaultsOptionalobject
Operator defaults parsed by operator_settings from file before env/flag resolution.
- additionalProperties
false (closed)
- additionalProperties
- runtimeOptionalobject
Runtime observability settings loaded from operator configuration before command-line overrides.
- additionalProperties
false (closed)
- additionalProperties
Named worker model presets parsed from file only.
Definitions
The objects operator configuration references — worker presets, runtime artifact settings, and the file-ownership rules that govern them.
fieldContract
object- additionalProperties
false (closed)
Fields
- inventoryIdRequiredstring
- minLength
1
- minLength
- jsonPathRequiredstring
- minLength
1
- minLength
- documentationRequireddocumentation.schema.json(unresolved)Unresolved $ref: /https://schemas.portpowered.com/you/contracts/common/documentation.schema.json is not in the schema catalog.
- lifecycleRequireddeprecations.schema.json(unresolved)Unresolved $ref: /https://schemas.portpowered.com/you/contracts/common/deprecations.schema.json is not in the schema catalog.
- precedenceRequiredprecedence.schema.json(unresolved)Unresolved $ref: /https://schemas.portpowered.com/you/contracts/common/precedence.schema.json is not in the schema catalog.
- sensitivityRequiredsensitivity.schema.json(unresolved)Unresolved $ref: /https://schemas.portpowered.com/you/contracts/common/sensitivity.schema.json is not in the schema catalog.
- defaultEmptyBehaviorRequiredstring
- minLength
1
- minLength
- parseOwnerRequired
- const
"operator_settings"
- const
- persistenceOwnerRequired
- enum
"none" | "operator_settings"
- enum
- strictnessRequiredstring
- minLength
1
- minLength
- notesOptionalstring
- minLength
1
- minLength
fileOwner
object- additionalProperties
false (closed)
Fields
- packageRequired
- const
"operator_settings"
- const
- ownsRequiredarray
- minItems
1
- minItems
- toleratesOptionalarray
- doesNotOwnOptionalarray
operatorWorkerModelProvider
stringRequired model provider canonicalized to a supported provider after surrounding whitespace is trimmed. Symbolic DEFAULT is rejected in presets.
- pattern
^[\t-\r - ]*(?:AGY|ANTHROPIC|CLAUDE|CODEX|GEMINI|KIRO|OPENAI|OPENCODE|PI|agy|anthropic|antigravity|claude|codex|gemini|kiro|kiro-cli|openai|opencode|pi)[\t-\r - ]*$
runtimeArtifactSettings
objectRolling-file storage settings for one runtime observability artifact.
- additionalProperties
false (closed)
Fields
- directoryOptionalstring
Optional artifact root. Omission uses the runtime-owned directory below the operator home.
- pattern
.*\S.* - minLength
1
- pattern
- maxSizeMBOptionalinteger
Maximum artifact file size in megabytes before rotation.
Default100- minimum
1
- minimum
- maxBackupsOptionalinteger
Maximum number of rotated artifact files to retain.
Default20- minimum
1
- minimum
- maxAgeDaysOptionalinteger
Maximum age in days for rotated artifact files.
Default30- minimum
1
- minimum
- compressOptionalboolean
Whether rotated artifact files are gzip-compressed.
Defaultfalse
sharedFileSplit
object- additionalProperties
false (closed)
Fields
- summaryRequiredstring
- minLength
1
- minLength
- minItems
1 - maxItems
1
- minItems
unknownFieldPolicyEntry
object- additionalProperties
false (closed)
Fields
- packageRequired
- const
"operator_settings"
- const
- policyRequiredstring
- minLength
1
- minLength
workerPreset
object- additionalProperties
false (closed)
Fields
- idRequiredstring
Required non-empty preset identifier after trim.
- pattern
.*[^\t-\r - ].* - minLength
1
- pattern
Required non-empty model provider canonicalized to supported providers.
- modelOptionalstring
Optional model name trimmed when present.
- reasoningEffortOptionalstring
Optional reasoning effort level. Surrounding whitespace and letter case are normalized; an empty value is accepted.
- pattern
^[\t-\r - ]*(?:[mM][iI][nN][iI][mM][aA][lL]|[lL][oO][wW]|[mM][eE][dD][iI][uU][mM]|[hH][iI][gG][hH]|[xX][hH][iI][gG][hH]|[mM][aA][xX])?[\t-\r - ]*$
- pattern