Configuration
Guild Stack's settings live in one plain JSON file per project,
.guild/settings.json, and you edit them with /guild:config. Two commands
cover most days:
/guild:config show --sources # what is set, and which layer set it
/guild:config set wiki.autopromote false
The Power layer is the working guide and the full key reference. The Architect layer covers capability localization — moving shipped roles and skills under your project's own authority.
Working with config
Guild Stack config is policy only. It never stores a host family or a concrete
model id; those bind per session. You edit it with /guild:config, and the
config CLIs own every write.
Sub-verbs
| Sub-verb | What it does |
|---|---|
init | Scaffolds the config. It runs reconcile sync, which never overwrites a value you set. |
show | Prints the resolved config. --sources names the layer each value comes from, down to each nested leaf. --render fails closed if it would leak a secret. |
set | Writes one of the 15 policy keys. It refuses any other key. |
role | Refused in v3.2.0. A role pin names a host, and the host binds per session, not in a file. |
validate | Checks the config against the typed schema. |
reconcile | Reconciles the config against the typed schema. |
providers | Detects review providers. |
ui | Lists and edits config groups, keys, values, and sources. ui set on a danger key needs --confirm. |
update-mcp-hashes | Re-pins the MCP server hashes. |
models inspect [--run-id <id>] [--json] | Read-only. Shows the session's model-binding evidence. |
migrate [--mode=migrate|dry-run|skip|verify] [--recheck] [--workspace] | Inspect and retry the layout upgrade chain. dry-run is the default and writes nothing; verify re-checks a root already marked current and exits 1 if a step would still change it; --recheck with migrate reruns the chain on a current root. |
No sub-verb prints the list of accepted values. Use show and validate to see
what is set and whether it is valid.
Keys the v3 skills read
These keys appear in the shipped skill and command files. Each one has a
default. Only wiki.autopromote and recall.backend are policy keys that
config set writes; the models.* and defaults.* keys are read from the
typed schema.
| Key | Read by | Effect |
|---|---|---|
models.enabled | guild-execute-plan | false skips tier scoring; lanes dispatch at the backend default (research lanes still dispatch powerful). |
models.thresholds | guild-execute-plan | Score-to-tier cutoffs. Default {mid:1, powerful:3}. |
models.tiers | guild-execute-plan | Maps each tier to a model for the host. |
models.shortOutputThreshold | guild-execute-plan | Optional. Turns on the short-output advisor trigger for a task type and tier. |
defaults.auto_learn | /guild:init | true runs the full learn pipeline at Init, like --learn. |
wiki.autopromote | /guild:wiki | Default on. false keeps this root candidates-only. |
recall.backend | /guild:wiki query | hybrid adds a cache-only rerank on top of BM25 and falls back to BM25 if it fails. |
Settings resolve once per run
The execution backend and the review providers resolve once, at command
intake, into the run's snapshot at
.guild/runs/<run-id>/resolved-settings.json. A config edit in the middle of a
run does not change that run.
See Cost and tiering for how the models.*
keys act at dispatch.
Config reference
This page has two lists. First, the 15 policy keys: the only keys
/guild:config set writes. Second, the full typed schema for
.guild/settings.json (guild.config_schema.v1): 143 keys, 14 of them
security-sensitive. For how to read, set, and validate config, see
Configuration.
Policy keys (what config set writes)
Durable config is policy only (KTD22). config set writes the keys below and
refuses every other key with an error that names it. Host family, host id, and
model names are session state: they are detected at run start and recorded on
the run as guild.session_binding.v1, never in a file. So config set refuses
the legacy inventory keys models.tiers.*, host, hosts.*,
host_profiles.*, and roles.* model or host values.
| Key | Type | Default | Meaning |
|---|---|---|---|
tiers.default | enum cheap, mid, powerful | mid | Tier a lane starts at when its score names none. The adapter maps tier to model at dispatch. |
tiers.floors.mid | number 0 to 10 | 3 | Complexity-score floor for the mid tier. |
tiers.floors.powerful | number 0 to 10 | 6 | Complexity-score floor for the powerful tier. |
advisorRounds | integer 0 to 10 | 2 | Advisor escalation rounds a cell may spend before it blocks with next_need: budget. |
budget.tokens | integer, 0 or more | null | Optional per-run token cap. null means uncapped. |
budget.usd | number, 0 or more | null | Optional per-run spend cap in USD. null means uncapped. |
team.compose_scope | enum phase, goal | phase | Team-compose mints per phase, or slices a roster per goal. |
recall.backend | enum bm25, hybrid | bm25 | Recall backend. Embeddings are cache only; a missing model falls back to bm25. |
recall.thresholds.min_score | number 0 to 1 | 0.2 | Minimum BM25 score for a recall hit to enter a bundle. |
recall.thresholds.max_hits | integer 1 to 100 | 8 | Maximum recall hits in one lane bundle. |
review.critic | enum off, advisor | advisor | Who plays critic. advisor is the machinery agent. |
review.independence | boolean | true | A Team Lead may not review its own cell. false only for single-agent local runs. |
wiki.autopromote | boolean | true | Harvest auto-promotes decisions. false means candidates only. |
agent_mode | enum auto, team, agent, subagent | auto | Dispatch backend preference. Never a statement about which host runs. |
dispatch.max_instances | integer 1 to 32 | 4 | Live worker instances one run may hold at once. A concurrency cap, not a roster cap. |
Legacy spellings still work at config set and map to the policy key:
defaults.wiki.autopromote, defaults.agent_mode,
defaults.team.compose_scope, defaults.recall.backend,
defaults.review.critic, defaults.advisorRounds.
Full settings schema
The schema below is what config validate and config reconcile check
.guild/settings.json against. A key in it is not automatically writable by
config set; only the policy keys above are.
Keys are dotted paths. The schema is derived from the single default tree by
flattening it. Plain non-empty objects are expanded. Primitives, arrays, and
empty objects are single keys. So models.tiers.cheap.claude-code-cli is a key,
and mcp.tool_description_hashes (an empty object by default) is one key.
| Group | Keys |
|---|---|
Top-level (includes workspace.mode, statusline) | 18 |
roles.* | 3 |
models.tiers.* | 48 |
models.* (routing, recall, knowledge) | 27 |
security.* and secrets_policy.* | 5 |
mcp.* | 4 |
capability.* | 4 |
defaults.* | 34 |
| Total | 143 |
How values resolve
Config resolves through an inheritance chain. Later layers win:
- built-in defaults
- workspace
settings.json - workspace
settings.local.json - project
settings.json - project
settings.local.json - rigor-profile expansion
- CLI flags
Most keys inherit. workspace.mode and initiative_default do not inherit from
a workspace to its child. Every resolved key and every nested leaf carries a source tag
(builtin, workspace, workspace-local, project, project-local, rigor,
cli). A block names the highest layer that set anything beneath it.
/guild:config show --sources prints it.
The reconciler tracks a second tag per stored value: default, user, or
reconciled. reconcile sync fills missing keys to their default and marks them
reconciled. A user value is never overwritten by any mode, including repair.
config validate is closed-key. A key outside the schema is a violation, an
unknown host id under models.tiers.<tier> is rejected, and a settings.local.json
key that settings.json does not declare is refused rather than silently added.
Security-sensitive keys
A key is security-sensitive when it governs autonomy, bypass posture, secrets handling, remote dispatch, or MCP trust pinning. The reconciler never clobbers any key, but it treats these specially when a stored value is malformed:
- Fail closed. A key with a most-restrictive value is repaired to it, not to its permissive default.
- Held. A key with no most-restrictive value is left untouched and surfaced to you. It is never silently resolved to a weaker setting.
In the tables below, the Security column reads yes, repairs to X or yes, held.
Top-level keys
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
rigor | string | "standard" | Profile knob: quick, standard, or deep. Expands loops, caps, and review depth. | |
auto_approve | array | [] | Opt-in autonomy. Empty, or a list of spec, plan, build, qa, all. Destructive, network, and spend actions still ask. qa auto-proceeds only on a computed release-gate PASS. | yes, repairs to [] |
review | string | "local" | local, cross, or off. cross engages the Claude and Codex adversarial review broker. | |
host | string | "auto" | Execution host: a canonical host id, a legacy alias, or auto. | |
host_mode | enum | null | Host autonomy override: read_only, ask, accept_edits, auto, bypass_all, or null. null means no override. It never lifts a Guild Stack lifecycle gate. | yes, repairs to read_only |
host_profiles | object | {} | Per-host config-render overrides keyed by host id. Entry shape is closed: models (cheap, mid, powerful) and enabled. Empty means none. | |
initiative_default | object | null | null, or an initiative id to attach runs to. Does not inherit from a workspace to its children. | |
index | string | "auto" | auto or off. Optional SQLite read-through cache; auto builds it lazily once reads get slow. | |
record_status_runs | boolean | true | When true, /guild:status records a lightweight run (run.yaml and provenance.json, runs/ only). false restores a pure read. | |
codex_skip_enforcement | enum | "warn" | warn or block. warn surfaces the codex-skip streak sentinel at gates. block refuses dispatch at the gate until the streak is cleared. | yes, repairs to block |
agent_mode | string | "auto" | Execution backend: team, agent, subagent, or auto. | |
workspace.mode | string | "auto" | Workspace federation mode: auto (detect), on (force workspace), off (force regular). Depth is fixed at 1. Not inherited from workspace to child. | |
statusline | boolean | false | Enables the Guild Stack status-line output (sets GUILD_STATUSLINE=1). See Status line. | |
adversarial_review_provider | string | "auto" | auto, or a provider id such as codex-plugin or codex-cli. Honored only when review is cross. | |
loops | object | null | null, or none, spec, plan, implementation, all, or a comma list. null derives from rigor. | |
loop_cap | number | 16 | Max rounds per adversarial loop (integer 1 to 256). | |
codex_cap | number | 5 | Max rounds per Codex review gate (integer 1 to 10). | |
model_policy | object | null | null, or a guild.model_policy.v2 object of operator model-routing preferences. An object that fails the closed-key validator is rejected whole at load. |
roles.*
Schema keys only. In v3.2.0 config role and config set refuse to write a
host pin; the host for a run comes from guild.session_binding.v1.
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
roles.host | object | null | Per-run role pin for the host role. null resolves through the role model; or pin a canonical host id. | |
roles.advisory | object | null | Per-run role pin for the advisory role. null resolves through the role model. | |
roles.adversarial | object | null | Per-run role pin for the adversarial-review role. null resolves through the role model. |
models.tiers.*
Legacy inventory: config set refuses these keys in v3.2.0 (model names are session state). These 48 keys are 16 host ids times three tiers. Each is models.tiers.<tier>.<host id>.
The value is a model string, null, or an object with model and the optional
effort, reasoning, thinking, and verbosity. No other object keys are accepted.
null means no model for that tier on that host. Only the Claude Code CLI slots
ship with a value. The type is string where a default is set and object where
the default is null.
| Host id | cheap | mid | powerful |
|---|---|---|---|
claude-code-cli | haiku | sonnet | opus |
codex-cli | null | null | null |
pi-cli | null | null | null |
antigravity-cli | null | null | null |
agents-file | null | null | null |
claude-code-app | null | null | null |
claude-code-web | null | null | null |
codex-app | null | null | null |
claude-ai-connector | null | null | null |
cursor | null | null | null |
github-copilot | null | null | null |
opencode | null | null | null |
rovo-dev | null | null | null |
kiro | null | null | null |
qoder | null | null | null |
trae | null | null | null |
models.* routing, recall, and knowledge
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
models.enabled | boolean | true | Master toggle for cost tiering. false skips tier scoring. | |
models.scoreWeights.workType | number | 0 | Auto-score weight for the workType signal. | |
models.scoreWeights.blastRadius | number | 1 | Auto-score weight for the blastRadius signal. | |
models.scoreWeights.dependsOn | number | 1 | Auto-score weight for the dependsOn signal. | |
models.scoreWeights.security | number | 1 | Auto-score weight for the security signal. | |
models.scoreWeights.priorEscalation | number | 1 | Auto-score weight for the priorEscalation signal. | |
models.thresholds.mid | number | 1 | Score at or above this maps to the mid tier. Below it maps to cheap. | |
models.thresholds.powerful | number | 3 | Score at or above this maps to the powerful tier. | |
models.advisorRounds | number | 2 | Max advisor consults per lane before the lane records inconclusive. | |
models.escalationMarkers | array | ["I'm not sure", "unclear", "cannot determine", "I don't know", "ambiguous", "uncertain", "not enough information"] | Uncertainty phrases that trigger advisor escalation. | |
models.recallBeforeRead | boolean | true | Enforce recall-before-read: query the wiki before opening a file. | |
models.recallScoreThreshold | number | 0.4 | Minimum BM25 recall score (0 to 1) needed to skip a full file read. | |
models.structuredOutputRequired | boolean | true | Reject agent returns that are not guild.handoff.v2. | |
models.cacheTTL.coordinator | string | "1h" | Coordinator prompt-cache TTL hint: 1h, 5m, or off. | |
models.cacheTTL.leaf | string | "5m" | Leaf-agent prompt-cache TTL hint: 1h, 5m, or off. | |
models.importanceGate | number | 3 | Minimum wiki importance level (1 to 5) for routine recall. | |
models.compositeRecall | boolean | true | Rank recall by relevance, recency, and importance, and filter pages below the importance gate. Bypasses the SQLite cache. | |
models.importanceAtIngest | boolean | true | Stamp each wiki page with a 1 to 5 recall importance at ingest. | |
models.ingestSimilarityGate | number | 0.8 | BM25 top-1 similarity (0 to 1) at or above which wiki ingest pauses instead of overwriting. | |
models.shortOutputThreshold | object | {} | Short-output advisor trigger: task type to tier to output-token floor. Empty means the trigger is silent. Nothing writes it automatically. | |
models.knowledge.maxDepth | number | 8 | Knowledge graph scan: max depth. | |
models.knowledge.maxBranching | number | 12 | Knowledge graph scan: max branching. | |
models.knowledge.minTopicImportance | number | 0.4 | Knowledge graph scan: minimum topic importance. | |
models.knowledge.relMinConf | number | 0.5 | Knowledge graph scan: minimum relationship confidence. | |
models.knowledge.maxFiles | number | 3000 | Knowledge scan: max files. | |
models.knowledge.maxTokens | number | 1000000 | Knowledge scan: max tokens. | |
models.knowledge.batchSize | number | 20 | Knowledge scan: batch size. |
security.* and secrets_policy.*
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
security.bypass_permissions_policy | enum | "audit" | Applies to out-of-scope tool calls under bypassPermissions. deny hard-blocks; audit permits the call and records a security event; allow permits it (audited). | yes, repairs to deny |
secrets_policy.env_allowlist | array | [] | Array of env var names. Validated and read into the policy; v3.2.0 wires no runtime filter to it. | yes, held |
secrets_policy.redaction_patterns | array | [] | Extra regex patterns. They run after the built-in redaction; matches become [REDACTED]. An invalid pattern is a scrub failure. | yes, held |
secrets_policy.fail_mode_durable | enum | "closed" | On scrub failure for durable shared artifacts: closed blocks the write, open warns and proceeds. | yes, repairs to closed |
secrets_policy.fail_mode_telemetry | enum | "open" | On scrub failure for local telemetry writes: open warns and proceeds, closed blocks. | yes, repairs to closed |
mcp.*
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
mcp.tool_description_hashes | object | {} | MCP tool name to SHA-256 of its description. PreToolUse compares the live hash on each call; drift gates on approval. Re-pin with config update-mcp-hashes. | yes, held |
mcp.stdio_available | boolean | true | Whether the MCP stdio transport is available. | |
mcp.http_available | boolean | false | Whether the MCP HTTP transport is available. | |
mcp.bridge_package | object | null | MCP bridge package name for restricted-transport environments. null means no bridge. |
capability.*
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
capability.resolver_mode | enum | "observe" | Which capability definitions resolve: legacy, observe, shadow, project-local, or strict. Changing it is a danger-level edit. | |
capability.suggestion_budget | number | 4 | Max capability proposals per profile (integer 0 to 4). 0 profiles but never proposes. | |
capability.starter_roles | array | [] | Starter role slugs. | |
capability.auto_create_policy | enum | "on_approval" | never or on_approval. Whether an approved proposal may advance the resolver mode. |
defaults.*
| Key | Type | Default | Meaning | Security |
|---|---|---|---|---|
defaults.auto_learn | boolean | false | When true, /guild:init runs the full learn pipeline. The --learn flag overrides settings. | |
defaults.adversarial | string | "on" | on or off. off is rejected for Guild Stack self-build. | |
defaults.team.size | object | null | Legacy concurrency hint, read as a scheduling input. Never a cap on the logical team. | |
defaults.team.always_include | array | [] | Specialist roles always included in a team. | |
defaults.review_workflow | string | "standard" | Default review depth: standard, cross, or minimal. | |
defaults.skill_policy | string | "standard" | Default skill usage: standard or conservative. | |
defaults.gates.auto_approve | array | [] | Default approval-gate posture: empty, or spec, plan, build, qa, all. qa auto-proceeds only on a release-gate PASS. There is no ops token. | yes, repairs to [] |
defaults.wiki.share_mode | string | "team" | Wiki share mode: team or private. | |
defaults.wiki.autopromote | boolean | true | When false, harvest on this root is candidates-only. | |
defaults.quality.budget.per_class_minutes | number | 10 | Wall-clock cap in minutes per QA check class. | |
defaults.quality.budget.total_minutes | number | 30 | Wall-clock cap in minutes for the whole QA phase. | |
defaults.reporting | string | "standard" | Task and progress reporting: standard, quiet, or verbose. | |
defaults.index.enabled | boolean | true | Master switch for the lazy index.sqlite cache. false always parses directly. | |
defaults.index.kg_node_threshold | number | 2000 | Populate knowledge-graph tables when the graph has more than N nodes. | |
defaults.index.kg_size_threshold_mb | number | 1 | Populate knowledge-graph tables when the graph exceeds N MB. | |
defaults.index.links_edge_threshold | number | 2000 | Populate the link-edge table when knowledge-links has more than N edges. | |
defaults.index.runs_threshold | number | 20 | Populate the run-provenance table when more than N runs exist. | |
defaults.index.wiki_file_threshold | number | 500 | Populate the wiki FTS table when the wiki has more than N files. | |
defaults.cross_host.enabled | boolean | false | The local-versus-remote switch. false runs everything locally with no SSH. true allows remote dispatch only when every other condition holds. Env GUILD_CROSS_HOST_ENABLED overrides. | yes, held |
defaults.cross_host.hosts | object | {} | SSH endpoints keyed by host id: address, port, user. No secrets; auth is by ssh keys or agent. | yes, held |
defaults.cross_host.fallback_to_claude | boolean | true | Fall back to the Claude host when no non-Claude host can satisfy a lane. | yes, held |
defaults.retry.max_attempts | number | 1 | Max retry attempts per lane on transient failure. 1 means no retry. | |
defaults.retry.backoff | string | "exponential" | Backoff between retries: immediate, linear, or exponential. | |
defaults.resume.enabled | boolean | true | Enable lane resume from checkpoint on failure. | |
defaults.heartbeat_timeout_ms | number | 600000 | Staleness threshold for the heartbeat sentinel, in ms. An explicit value overrides the tier-scaled built-in. | |
defaults.capability_manifest_ttl_s | number | 3600 | Host capability manifest freshness TTL, in seconds. | |
defaults.update.mode | string | "notify" | Update check behavior: auto, notify, or off. | |
defaults.update.cadence_hours | number | 24 | Hours between update checks. | |
defaults.allowed_tools | array | [] | Project-wide baseline. A tool matching it is allowed even when a lane's capability_scope omits it (OR). The run's autonomy mask still applies. Empty means no baseline. | |
defaults.lean_lead.enabled | boolean | true | Master toggle for the lean-lead advisory hook. | |
defaults.lean_lead.hands_on_edit_threshold | number | 8 | Direct lead Edit/Write operations, while lanes are open, before the advisory fires. Integer 1 or more. | |
defaults.lifecycle_gate.enabled | boolean | true | Master toggle for the lifecycle-gate ad-hoc-activity hook. | |
defaults.lifecycle_gate.adhoc_activity_threshold | number | 20 | Ad-hoc (non-skill) activity count before the lifecycle gate fires. Integer 1 or more. | |
defaults.dispatch.block_unmarked_lanes | boolean | false | When true, a lane dispatch with no structured producer marker is blocked under a resolved team backend, and a lane whose env carries lane carriers but no GUILD_DISPATCH_PRODUCER marker is blocked in every agent_mode. Env GUILD_BLOCK_UNMARKED_LANES overrides, both directions. | yes, held |
See also
- Configuration for the
configsub-verbs. - Hooks for the keys behind the lean-lead and lifecycle-gate hooks.
- MCP servers for
mcp.tool_description_hashes.
Capability localization
Guild Stack ships a set of role templates and domain skills. Capability localization moves the ones your project uses into your own .guild/, so your project's definitions become the authority and a shipped template is no longer read silently as a fallback.
The entry point is /guild:init adopt. The older /guild:adopt alias was removed in v3.1.0.
Try it
Start read-only. report writes nothing, and it is the default verb, so a bare call cannot change your repo.
/guild:init adopt report --project-id my-projectIt lists each shipped asset your project references, the suggested disposition, the reference count, and any conflicts. Review that before you decide anything.
Sub-verbs
| Sub-verb | What it does | Writes |
|---|---|---|
report | Inventory of referenced assets, conflicts and exact source hashes. Default verb. | No |
catalog | The compatibility catalog: 15 templates and 58 domain skills, with deprecation markers. --freeze writes a frozen copy into the project. | Only with --freeze |
adopt | Applies a decisions file you approved. --dry-run runs every check without writing. | Yes |
rollback | Appends rolled_back entries and removes the copies adopt made. History is never deleted. --dry-run is supported. | Yes |
status | Prints the adoption manifest for the project, or says none is valid. | No |
window | Runs the migration window that moves the resolver up its ladder. Actions: status, start, evidence, publish, seal-run, record, advance, restart, verify. | Varies; status and verify are read-only |
g5 | Evaluates the gate for removing the compatibility surface. Needs --windows, --project-local-default and --current-version. | No |
Exit codes: 0 success, 1 usage error, 2 refused. Refusal covers a conflict, a validation failure, or a changed source hash.
Adopt
adopt reads a JSON decisions file, not flags. A migration plan should be reviewable, diffable and re-runnable.
{ "decisions": [ { "kind": "agent", "id": "qa", "disposition": "adopt_as_is" } ] }Dispositions are a closed set: adopt_as_is, refine, substitute, compatibility_only. An item left as compatibility_only stays on the compatibility surface.
Required flags: --project-id, --decisions, --run-id, --binding-ref, --authorized-by (a decision record), and --adopted-at (an RFC 3339 time you supply, because the contract has no clock). The command rebuilds the report at apply time and re-checks each source hash. A stale report cannot approve bytes that no longer exist.
A successful apply updates .guild/adoption-manifest.json and prints the manifest commitment. It also reports whether the resolver mode advanced.
Rollback
rollback needs --project-id, --run-id, --authorized-by, --adopted-at and --reason. --sequences 3,4 limits it to specific manifest entries.
The migration window
The window records evidence while a project sits in observe and then shadow. It is stored at .guild/artifacts/capability/migration-window.json. The module defines a minimum of 3 releases and 14 days per mode. window advance --to <mode> refuses with named blockers when the evidence does not pass.
G5
g5 is the gate for removing the compatibility surface. It passes only when two things hold:
- Usage telemetry over the supplied windows clears every required asset.
- The removal floor is met: versions are stable semver, legacy compatibility is never removed within v2, and at least two minor versions have passed since the project-local default.
The output is PASS or BLOCKED with the blockers. g5 does not change files.
Configuration: capability.*
Four keys under capability in .guild/settings.json select which definitions resolve. They do not widen what a lane may do. That stays with capability_scope and the permission keys.
| Key | Values | Default |
|---|---|---|
capability.resolver_mode | legacy, observe, shadow, project-local, strict | observe |
capability.suggestion_budget | Integer 0 to 4. 0 means profile but never propose. | 4 |
capability.starter_roles | List of role slugs. Lower-case, up to 64 characters, characters a-z0-9._-, no duplicates. | Empty |
capability.auto_create_policy | never or on_approval | on_approval |
starter_roles is empty on purpose. A non-empty default would ship a roster, which is what localization exists to stop. With it empty, Learn proposes roles instead.
resolver_mode records where the project is on the ladder. It never encodes whether the project may move. An unset value resolves with provenance default, so config show --sources shows it was never chosen.
auto_create_policy: on_approval lets an approved adoption advance the mode. A successful adopt that appended entries tries to move the project to project-local. It does not move a mode you pinned yourself, and never suppresses it. The advance is reported as advanced or skipped with a reason.
Resolver modes
The five modes form a ladder. A mode is a policy. Every unresolvable capability and every mode change produces a typed outcome, with no silent fallback.
| Mode | Authority | Behavior |
|---|---|---|
legacy | Shipped | Current roster plus shipped templates and domain skills. The project-local resolver does not run, so nothing is profiled or proposed. |
observe | Shipped | Profiles are written and candidates computed. No capability writes occur. |
shadow | Shipped | Both resolvers run and their answers are compared. Only the legacy side may mint or dispatch. Approved local creation is allowed. |
project-local | Project | Your definitions are authoritative. The compatibility surface is reachable only for replay, rollback and mint. A live dispatch with no project definition fails with a typed no_project_definition. |
strict | Project | Templates and domain packs are unavailable. A missing capability is a typed failure with nothing to fall back to. |
A mode change that skips rungs needs an explicit acknowledgement. A downward change needs a recorded reason. A change to the same rung is rejected.
The context-manager and capability evidence
The context-manager is a mid-tier machinery agent. Besides assembling bounded context bundles, it emits run-scoped capability evidence under .guild/runs/<run-id>/capability/. That evidence is profiles, candidate lists, feedstock bindings and absence records.
Its capability profile (guild.project_capability_profile.v1) is report-only. The artifact's mutation_performed is the literal false, and the validator rejects unequal before and after tree hashes. An emission that changed the roster cannot produce a valid profile. An unavailable knowledge graph is recorded as absent, never treated as empty.
It cannot write an agent or skill definition. guild:create-specialist and guild:create-skill own that, behind a human creation-authority gate. It also cannot register a capability, approve a candidate, or advance the resolver mode. Those are operator acts.
/guild:status prints a candidate block read from the newest emitted profile.