Skip to main content

Advanced configuration

Status: Ready

Truth label: Limited

Audience: Fleet operator, System designer

Reader outcome: Change one setting deliberately, read what the system actually resolved, and know which evidence would show the change helped.

Last verified: 2026-09-12

Full guides: Configuration, Context budgets, Source passages

What this page will and will not give you​

Configuration reference lists every setting, its default, and the process that reads it. This page is the layer above: how to decide a value, and how to check the result.

It does not recommend numbers. That is deliberate, and the reason is in the product itself. The source documents repeatedly decline to claim a value improves quality, because the measurements do not exist yet. Passage settings say more passages do not establish better retrieval. The writing comparison workflow says it records judgments and establishes no causal improvement. Collecting authentic held-out writing and labeled retrieval questions is an open item for the product, not a finished one.

So this page gives you constraints, diagnostics, and decision procedures. Where a number would be a guess, it says so instead.

The change loop​

Use the same six steps for every setting below.

  1. Read the effective value first. Almost every tunable has a preview or effective-value route that resolves inheritance without generating anything.
  2. Change one thing. Two changes at once produce evidence you cannot attribute.
  3. Preview before saving. Every versioned editor previews, and a save creates a revision with an optimistic check.
  4. Note the revision. Generation reports and attempt records carry the revision that was in force, which is how you match a result to a setting.
  5. Run the work that motivated the change, not a synthetic probe.
  6. Read the evidence surface for that subsystem, listed per section below.

Reverting is a save, not an undo. Every editor keeps history, so restoring an earlier version means loading it and saving it as a new revision.

Read the effective value​

These resolve inheritance and report where each value came from. None of them contacts a model.

QuestionWhere to look
What generation controls does this provider and model accept?GET /chat/generation-controls
What lens and register ids actually resolved?GET /chat/influences
What will an omitted chat setting become?Chat defaults, Preview effective defaults
What budget applies to this provider and model?GET /writing/context-budgets/effective?provider=&model=
What budget applies to a worker attempt?GET /writing/context-budgets/worker-effective?engine=&provider=&model=, or Inspect saved worker budget
Which budget profiles are saved?GET /writing/context-budgets/active
What settings will this task get?New task, Preview effective task settings
Which examples would this writing request select?Voice and drafts, Preview examples for a writing request
Which context records apply right now?Briefs and memory, Preview what applies
What passages would this source produce?Passage settings, Preview
Which sources are eligible for this request?Sources, selection preview
What will this workflow launch?Preview workflow run
When will this schedule fire?Recurring tasks, Preview

A preview is advisory. Defaults can change between a preview and a save, which is why the editors that matter require the preview to still match at save time.

Generation controls​

What is accepted​

Capability is resolved per provider and then narrowed per model. The provider-level answer is the widest set any of its models accepts. With a model supplied, the installed provider profile narrows it, and a model the profile data has never heard of keeps the provider-level answer rather than losing its controls.

Two rules hold regardless of provider:

  • Set temperature or top-p, not both.
  • An unset control delegates to the provider. The application does not substitute a guess.

Reasoning effort is offered only where the installed provider package has a field to carry it. An older package makes the control unsupported rather than sending a parameter the adapter would mishandle. If effort disappeared after a dependency change, that is where to look.

How to decide​

There is no measured recommendation here. What you can do is make the choice observable:

  • Set the control in Chat defaults rather than per message, so a revision number identifies it.
  • Use Compare writing when the question is about wording. It freezes the request, holds the sampling controls constant across three setups, and records blind preference plus self-reported editing effort.
  • Read the generation report to confirm the provider applied what you asked for. A requested model name alone does not prove a fixed model version, and the report retains the provider fingerprint when one is supplied.

One run per setting is a sample, not a trend.

Context budgets​

This is the setting most likely to need changing. The default was raised to 262,144 on 2026-09-10 after required workflow prompts failed under the earlier 29,696 input allocation, but any fleet with saved profiles keeps its saved values until the operator applies new ones, and a single exact-model profile can still be smaller than the work it receives.

Bounds and arithmetic​

FieldDefaultAllowed range
context_tokens262,1444,096 to 1,048,576
answer_reserve2,048256 to 131,072
overhead_reserve1,024256 to 32,768

The usable input allocation is:

input_budget = context_tokens - answer_reserve - overhead_reserve

A profile must leave at least 1,024 estimated input tokens after both reserves, or it is rejected on save.

The estimator counts UTF-8 bytes plus explicit message framing and tool schema serialization. It is conservative for typical text and is not a tokenizer, so context_tokens is an application budget rather than an advertised model capacity.

Which profile wins​

A profile targets every provider and model, one provider, or an exact model. Resolution prefers an exact model match, then a provider match, then the wildcard. The resolved record reports its source as either operator or application fallback, so a budget that silently reverted to defaults is visible rather than inferred.

Two clamps apply after resolution. An Ollama request clamps the configured application context to the host's actual ollama_num_ctx, so raising a profile above that value changes nothing until you raise the Ollama setting too. Hosted models use the configured application limit, because the application does not infer undocumented capacities.

Symptoms that mean the budget is wrong​

SymptomReading
An actionable error before generation, naming a protected prompt that cannot fitThe budget is smaller than the required material. This is the intended failure: facts and constraints are never silently cut
A CLI or provider call that stops before dispatch on a workerSame cause on the worker side. Some multi-skill methods exceed the default even with no optional references
A notice that optional references or dialogue were omittedThe budget is working. Raise it only if the omitted material mattered
A shortened tool result carrying a request for narrower evidenceA single result exceeded its 8,000 byte estimate cap. Narrow the query rather than raising the budget
The attempt recorded an application fallbackBrain could not supply valid profiles. Fix the profile, do not raise the number

A sizing procedure​

  1. Resolve the effective budget for the exact provider and model, or use Inspect saved worker budget for an engine. Note whether the source is operator or application fallback.
  2. Dispatch the work that failed, or open a completed turn.
  3. Open the per-round allocation record. For chat this is under generation settings; for a task it is Context allocation for this attempt. Each record carries the required-input size, the estimate, the reserves, and the inclusion decision per section.
  4. Compare the required-input size against input_budget. That difference is the number you are actually short by, rather than a guess.
  5. Raise context_tokens for the narrowest profile that covers the case, which is usually the exact model rather than the provider. When every engine should move together, use Apply limits to all agents and models and Save all budget profiles instead of editing each profile; it also updates exact-model overrides that would otherwise keep an older limit.
  6. For Ollama, raise OLLAMA_NUM_CTX to at least the same figure and restart, or the clamp holds the old ceiling.

Raise the answer reserve only when replies are being cut off at the end. It bounds input space and does not change the provider's own output limit.

When a change takes effect​

Budgets freeze at the first allocation in a Brain request, so changing one while tools are running affects later requests. A worker reads the active profiles once when an attempt starts, so an ongoing attempt keeps its original version and new or retried stages pick up the change.

Writing comparisons freeze the budget in their manifest and separate aggregate groups by it, so a budget change splits your comparison history into two cohorts rather than mixing them.

Retrieval and passage settings​

Passage size and overlap​

FieldDefaultAllowed range
Passage characters1,000256 to 8,000
Overlap2000 to 1,000, and smaller than the passage limit

Recursive splitting is the default. Paragraph and rule mode keeps each paragraph, numbered or bulleted entry, and fenced code block separate when it fits. Oversized blocks split with overlap; whole separate blocks do not overlap.

These settings belong to one source. Changing them affects nothing until you publish that source again, and the active generation changes only after indexing finishes.

How to test a change​

The product states plainly that more passages do not establish better retrieval, and that small rule entries can create many competing results. The check it asks for is comparative, not absolute:

  1. Write down a handful of questions you actually ask that source.
  2. Record the current answers, their citations, and which passages opened from the Source buttons.
  3. Change one setting. Preview the passages without publishing to see the boundaries.
  4. Publish, then ask the same questions again.
  5. Compare citation coverage and whether the opened passages contain the claim.

That is a labeled retrieval set in miniature. Building a real one is an open task, not a solved one.

Symptoms in the retrieval path​

SymptomReading
The preview reports the candidate cap prevented filling the result limitBackfill stopped at 512 candidates. Many inactive generations consume that window, so index cleanup helps more than a larger limit
A selected source returns no passageNot evidence the book was read and rejected. It means no passage matched
A published book returns nothingCheck the active generation finished, then the request's source mode and exclusions
Retrieval traces mark exact_small_setThe candidate set was small enough for exact ranking over retained vectors rather than approximate search

Voice examples and the polish gate​

SettingDefaultRange
VOICE_EXAMPLE_LIMIT30 to 3
VOICE_REVISION_MODEoffoff, auto, always
VOICE_REVISION_MIN_SCORE850 to 100
VOICE_REVISION_TEMPERATURE0.20.0 to 2.0
VOICE_VERIFIER_MODEadvisoryoff, advisory, required

VOICE_REVISION_MIN_SCORE is the deterministic tone score below which auto mode runs the polish pass. Lowering it makes polish run less often; raising it makes polish run more often. The score is mechanical, so it measures style rules rather than quality.

Recommended order of operations, because these interact:

  1. Leave polish off until the acceptance gate passes. That is the shipped default and the product's own advice.
  2. Use Preview examples for a writing request before changing the example limit. If the preview already returns fewer than the limit, the limit is not the constraint: approval, voice match, provider eligibility, audience, or format is.
  3. Turn on advisory before required. Advisory lets a valid negative model judgment reject a candidate while leaving unknown judgments to the deterministic decision. Required turns unknown into a held draft, which increases review load.
  4. The verifier never upgrades a deterministic rejection. If candidates are always rejected, read the flagged clauses in the before and after panel rather than changing the verifier.

Timeouts and leases​

Three ceilings bound a run and the smallest one ends it.

CeilingEnforced bySet on
The CLI's own print-mode wallThe CLIDerived from the worker ceiling for Antigravity
SE_MANAGER_CLI_RUN_TIMEOUT_SECONDSThe workerEvery worker machine
SE_MANAGER_RUN_MAX_WALLCLOCK_SECONDSCentralCentral

Raising one alone does nothing past the other. For runs measured in hours, raise the worker ceiling and the Central cap together, then restart both.

Diagnosing which one fired: a worker-side timeout ends the run from the worker with the CLI stopped. A Central expiry appears as lease loss, which the worker treats as a cancel.

SE_MANAGER_LEASE_TTL_SECONDS defaults to 60 while the renewal poll runs about every five seconds, so the default tolerates many dropped polls. Raising it makes a genuinely dead worker hold its task longer. Lowering it risks expiring a live run on a flaky link. Change it only with a specific network problem in hand.

Fleet timing and throughput​

Each of these trades one cost against another. None has a measured optimum here.

SettingDefaultRaising itLowering it
FORGE_WORKER_POLL_INTERVAL10Less request traffic, slower pickupFaster pickup, more empty polls
SE_MANAGER_WORKER_HEARTBEAT_INTERVAL30Less traffic, slower offline detectionFaster detection, more traffic
SE_MANAGER_WORKER_TIMEOUT120Fewer false offline marks on a slow linkFaster detection of a dead worker
SE_MANAGER_PINNED_WORKER_OFFLINE_GRACE_SECONDS3600Fewer alerts for a laptop that closes its lidEarlier notice that pinned work is stranded
SE_MANAGER_MAX_CONCURRENT_TASKS5More parallel work per workerLess contention on one checkout
SE_MANAGER_VERBOSE_TASK_LOGStrueDetail Cortex can hide behind a toggleLess log traffic where that traffic is the cost

Keep the heartbeat interval well below the worker timeout. The timeout is counted in missed heartbeats, so the two are one decision.

Before raising concurrency, confirm the checkout can take it. Two workers must not operate on the same project directory at once, and the way to add throughput safely is usually another checkout or another machine, not a larger number here.

Stop repeating an override​

If you are setting the same value on every task, it belongs higher in the chain. Resolution runs explicit request, then workflow or pipeline stage, then project defaults, then operator defaults, then system defaults.

Move a repeated override up one level at a time, and preview after each move. Two semantics catch people:

ValueIn a task requestIn a defaults editor
NullInheritRemove the override
Empty skills listSelect no skillsAn enabled empty list means no skills

An enabled empty skills list is a decision, not an absence. Clearing an override and saving is what returns a field to inheritance.

A project's supervision mode is itself a project-level setting, so it takes precedence over operator supervision. An explicit task override still wins.

Settings that are effectively permanent​

Change these before data exists, or not at all.

SettingWhy
EMBEDDING_PROVIDER and EMBEDDING_MODELEach persistent collection records the identity that wrote its vectors and rejects a mismatch. Changing either strands the existing store. Use a new data root or rebuild the affected collections
DATA_DIR and SE_MANAGER_DATA_DIRThese select which data root a process opens. An unexpected value can silently select a different one. Confirm the resolved root after any change
The data root's filesystemThe store layer refuses drvfs, 9p, virtiofs, cifs, and nfs. In containers the data root is a named volume, never a bind mount

Content directory paths are different. After the first Cortex pack configuration save, voice-pack-settings.json in the Brain data root is authoritative for that host, and changing VOICE_PACK_DIR or VOICE_PACKS afterward does not replace saved Cortex choices.

How to tell whether a change helped​

This is the honest limit of the whole page.

Evidence you haveWhat it supports
A per-round allocation recordExactly what was included and omitted. This is a fact
A generation reportWhat was supplied to the model. Not which evidence caused the wording
A blind writing comparisonA recorded preference between setups on one case. One sample
An aggregate review across a suiteCounts of wins, ties, unacceptable results, and reported editing effort, grouped by profile, pack hash, model, controls, and budget
Checkpoint grades in outcome analyticsObservational. Not an experiment, and it does not establish causality
A mechanical check such as a missing required termThat the term is absent. Both "ship Friday" and "do not ship Friday" contain Friday

What none of them supports is a claim that a value is optimal. Building that would take authentic held-out writing, labeled retrieval questions, and repeated operator judgments, which the product tracks as open work rather than finished work.

Until then, treat every value on this page as a decision you made and recorded, not a setting the system recommended.