DocsReference
Settings reference
Every runtime setting, with its default and allowed range. Set them under knobs: in
<runtime-home>/settings/config.yaml, or override one with an environment variable:
TESS_CORE_<SECTION>_<NAME>, for example TESS_CORE_SUBAGENTS_MAX_LIVE=4.
See Configuration for how the files fit together.
agent
| Setting | Default | Range | Meaning |
|---|---|---|---|
agent.hook_timeout_ms | 60000 | 500..3600000 | Default milliseconds a hook command may run; per-hook timeouts win. |
agent.max_question_nudges | 3 | 0..20 | Maximum [REPLY REQUIRED] nudges before an unanswered child question is backstopped. |
agent.no_progress_limit | 12 | 2..1000 | Consecutive no-progress turns tolerated before the turn is stopped. |
agent.repeated_tool_cycle_limit | 3 | 2..100 | Identical tool-call cycles tolerated before the progress guard intervenes. |
collab
| Setting | Default | Range | Meaning |
|---|---|---|---|
collab.bridge_poll_deadline_ms | 10000 | 1000..600000 | Milliseconds a bridge poll cycle may run before it yields. |
collab.bridge_poll_ms | 750 | 50..60000 | Milliseconds between remote-bridge inbox polls. |
collab.min_update_spacing_ms | 20000 | 1000..3600000 | Minimum milliseconds between assistant collaboration updates. |
collab.tick_ms | 1500 | 100..60000 | Milliseconds between collaboration runtime ticks. |
comms
| Setting | Default | Range | Meaning |
|---|---|---|---|
comms.inline_result_bytes | 48000 | 4096..512000 | Inline byte allowance for inter-agent payloads (SendMessage/Agent tool results and drained child messages) before artifact spill or truncation; they are conversation, not raw command output. |
comms.reply_poll_ms | 500 | 50..10000 | Milliseconds between reply-mailbox polls while a SendMessage call is blocked waiting for a reply. |
comms.reply_timeout_ms | 300000 | 1000..3600000 | Default milliseconds a SendMessage(expects_reply=true) call waits for the counterpart's reply before returning a visible non-answer. |
compaction
| Setting | Default | Range | Meaning |
|---|---|---|---|
compaction.command_preview_char_limit | 6000 | 100..1000000 | Character cap for command output previews in compaction evidence. |
compaction.compact_tool_result_char_limit | 600 | 50..1000000 | Character cap per tool result in the compact evidence fallback passes. |
compaction.evidence_token_budget | 90000 | 5000..1000000 | Token budget for the transcript evidence given to the compaction model. |
compaction.file_preview_lines | 48 | 4..10000 | Line cap for file previews in compaction evidence. |
compaction.match_preview_limit | 32 | 1..10000 | Maximum search matches quoted in compaction evidence. |
compaction.max_preserved_tool_pairs | 10 | 3..100 | Maximum recent tool exchange pairs preserved verbatim across compaction. |
compaction.message_text_char_limit | 8000 | 200..1000000 | Character cap per message text when building compaction evidence. |
compaction.min_recent_messages | 20 | 2..1000 | Minimum recent messages always kept out of compaction. |
compaction.preserved_trace_token_budget | 20000 | 1000..1000000 | Token budget for a preserved agentic-trace record carried across compaction. |
compaction.raw_tail_token_budget | 40000 | 1000..10000000 | Token budget for the raw tail retained alongside a checkpoint. |
compaction.raw_tail_token_target | 100000 | 1000..10000000 | Token size of the raw transcript tail compaction aims to preserve. |
compaction.synthesis_max_retries | 3 | 0..10 | Retries for a failed compaction synthesis call before compaction is abandoned for the turn. |
compaction.synthesis_timeout_ms | 300000 | 10000..3600000 | Milliseconds a compaction synthesis model call may run before it is failed. |
compaction.tool_input_char_limit | 2400 | 100..1000000 | Character cap per tool input when building compaction evidence. |
compaction.tool_result_char_limit | 8000 | 100..1000000 | Character cap per tool result when building compaction evidence. |
compaction.verification_max_retries | 3 | 0..10 | Retries for a failed compaction verification call before the unverified checkpoint path is taken. |
compaction.verification_timeout_ms | 300000 | 10000..3600000 | Milliseconds a compaction verification model call may run before it is failed. |
compaction.working_context_token_limit | 200000 | 10000..10000000 | Token ceiling for the working-context document compaction maintains. |
context
| Setting | Default | Range | Meaning |
|---|---|---|---|
context.estimate_margin_tokens | 2000 | 0..100000 | Safety margin tokens added to estimated request input sizes. |
context.raw_checkpoint_token_limit | 200000 | 10000..10000000 | Raw-context token level at which a durable checkpoint is considered. |
context.relief_context_token_limit | 200000 | 10000..10000000 | Context token ceiling that triggers relief handling. |
context.relief_message_text_chars | 1200 | 100..1000000 | Character cap per message text under context relief. |
context.relief_preserve_min_messages | 12 | 2..1000 | Minimum messages always preserved when context-relief trimming activates. |
context.relief_raw_tail_tokens | 24000 | 1000..10000000 | Preferred raw-tail token size when context relief rebuilds the transcript. |
context.relief_tool_input_chars | 500 | 50..1000000 | Character cap per tool input under context relief. |
context.relief_tool_result_chars | 750 | 50..1000000 | Character cap per tool result under context relief. |
daemon
| Setting | Default | Range | Meaning |
|---|---|---|---|
daemon.auth_timeout_ms | 2000 | 25..30000 | Milliseconds a connecting client gets to complete the daemon auth handshake. |
daemon.boot_grace_ms | 300000 | 1000..3600000 | Milliseconds a booting daemon's not-yet-running state file is honored before the boot is treated as wedged and the instance replaced. |
daemon.close_grace_ms | 250 | 25..30000 | Milliseconds the daemon transport waits for a client connection to close cleanly during shutdown. |
daemon.dead_work_grace_ms | 900000 | 1000..86400000 | Milliseconds a task record whose process has died keeps its last status before the boot sweep finalizes it as lost. |
daemon.dispatch_drain_ms | 5000 | 100..300000 | Milliseconds in-flight daemon RPC dispatches get to finish before shutdown cancels them. |
daemon.events_rotate_bytes | 33554432 | 65536..1073741824 | Byte size at which a daemon instance's events log is rotated. |
daemon.events_rotate_check_ms | 300000 | 1000..3600000 | Milliseconds between the daemon's checks of its events log for size-based rotation. |
daemon.events_tail_bytes | 65536 | 4096..16777216 | Bytes read from the tail of a daemon events log when loading recent events. |
daemon.health_tick_ms | 2000 | 100..300000 | Milliseconds between the task supervisor's health reconcile sweeps. |
daemon.heartbeat_ms | 3000 | 50..60000 | Milliseconds between the runtime's liveness checks of its containment daemon; a dead daemon is replaced by exactly one fresh instance. |
daemon.instance_lock_timeout_ms | 5000 | 100..30000 | Milliseconds to wait for the per-instance daemon-ensure lock before giving up on daemon startup coordination. |
daemon.instance_reap_ms | 3600000 | 60000..86400000 | Milliseconds a dead daemon instance's on-disk directory is kept for diagnosis before the garbage collector removes it. |
daemon.live_work_cache_ttl_ms | 30000 | 0..600000 | Milliseconds the supervisor's live-work verdict cache stays fresh before process liveness is re-verified. |
daemon.mailbox_watch_ms | 1500 | 100..60000 | Milliseconds between the containment daemon's sweeps of live children's mailboxes for unannounced to_parent messages (the parent-wake signal). |
daemon.owner_poll_ms | 2000 | 50..60000 | Milliseconds between the containment daemon's liveness checks of its owner runtime process; owner death kills all owned workers and exits the daemon. |
daemon.rpc_timeout_ms | 30000 | 25..300000 | Default milliseconds a daemon RPC may run before the client fails the call; explicit per-call overrides win. |
daemon.start_timeout_ms | 30000 | 25..600000 | Milliseconds to wait for a starting containment daemon to accept connections before startup is failed. |
images
| Setting | Default | Range | Meaning |
|---|---|---|---|
images.max_aggregate_bytes | 20971520 | 65536..41943040 | Default byte cap for all input images together when the provider profile is silent. |
images.max_bytes | 5242880 | 65536..20971520 | Default byte cap per input image when the provider profile is silent. |
images.max_count | 8 | 1..32 | Default images accepted per request when the provider profile is silent; bounded by the hardcoded provider ceilings. |
images.max_encoded_request_bytes | 25165824 | 65536..58720256 | Default byte cap for the encoded request carrying image inputs when the provider profile is silent. |
mcp
| Setting | Default | Range | Meaning |
|---|---|---|---|
mcp.blob_keep | 64 | 1..10000 | Most-recent MCP blob files kept per blob directory. |
mcp.body_idle_timeout_ms | 10000 | 500..600000 | Default milliseconds of MCP HTTP body silence tolerated. |
mcp.close_grace_ms | 750 | 50..60000 | Milliseconds an MCP stdio server gets to exit after close before escalation. |
mcp.close_kill_wait_ms | 2000 | 100..60000 | Milliseconds to wait for an MCP server to die after SIGKILL. |
mcp.close_stdin_grace_ms | 100 | 10..10000 | Milliseconds after closing an MCP server's stdin before termination proceeds. |
mcp.connect_timeout_ms | 10000 | 500..600000 | Default milliseconds to establish an MCP HTTP connection. |
mcp.headers_timeout_ms | 10000 | 500..600000 | Default milliseconds to receive MCP HTTP response headers. |
mcp.inline_bytes | 8000 | 500..10000000 | Inline byte budget for MCP resource payloads before artifact spill. |
mcp.max_resource_page | 40 | 1..1000 | MCP resources listed per page. |
mcp.request_timeout_ms | 30000 | 500..3600000 | Default milliseconds per MCP request; per-server settings win. |
mcp.startup_timeout_ms | 10000 | 500..600000 | Default milliseconds for an MCP server to start; per-server settings win. |
memory
| Setting | Default | Range | Meaning |
|---|---|---|---|
memory.max_records | 48 | 1..10000 | Maximum durable memory records persisted per project. |
memory.max_text_chars | 480 | 40..100000 | Character cap per durable memory record. |
memory.retrieved_records | 8 | 1..1000 | Maximum durable memory records retrieved into a session's context. |
memory.retrieved_token_budget | 1600 | 100..1000000 | Token budget for retrieved durable memory in a session's context. |
payloads
| Setting | Default | Range | Meaning |
|---|---|---|---|
payloads.file_change_diff_max_lines | 120 | 10..100000 | Line cap for the inline diff in a file-change tool result. |
payloads.file_change_diff_target_bytes | 8000 | 500..10000000 | Byte target the file-change diff is trimmed toward when the payload is over budget. |
payloads.file_change_result_max_bytes | 12000 | 1000..10000000 | Byte cap for a file-change tool result payload before its diff is trimmed. |
payloads.inline_output_chars | 30000 | 1000..512000 | Characters of a tool result returned inline. A larger result is saved to a file and the model gets its path and a preview. |
payloads.notebook_cell_source_bytes | 2000 | 100..10000000 | Byte cap per notebook cell source in a NotebookRead page. |
payloads.notebook_cells_per_page | 20 | 1..1000 | Notebook cells per NotebookRead page. |
payloads.notebook_output_sample_bytes | 600 | 50..10000000 | Byte cap per sampled notebook cell output. |
payloads.preview_bytes | 2000 | 200..30000 | Bytes from the start of a saved tool result shown to the model as its preview. |
payloads.read_default_lines | 2000 | 1..100000 | Lines Read returns when the call gives no limit. |
payloads.read_max_tokens | 25000 | 1000..250000 | Estimated tokens one Read may return. A larger read is refused and the model is told to page with offset and limit. |
process
| Setting | Default | Range | Meaning |
|---|---|---|---|
process.activation_timeout_ms | 30000 | 1000..600000 | Milliseconds an owned worker process waits for its activation payload on stdin before exiting. |
process.bash_termination_fallback_ms | 4000 | 500..600000 | Milliseconds the Bash termination ladder waits overall before giving up. |
process.bash_termination_grace_ms | 1000 | 100..60000 | Milliseconds a Bash process gets after SIGTERM before SIGKILL. |
process.kill_grace_ms | 1000 | 100..60000 | Milliseconds an owned worker process gets to disappear after SIGKILL before termination is reported as failed. |
process.spool_max_bytes | 67108864 | 1048576..4294967296 | Byte cap for a subprocess output spool file before output is truncated. |
process.stdio_leak_grace_ms | 2000 | 100..60000 | Milliseconds to wait for leaked stdio readers after a Bash process exits. |
process.term_grace_ms | 3000 | 100..60000 | Milliseconds an owned worker process gets to exit after SIGTERM before the runtime escalates to SIGKILL. |
provider
| Setting | Default | Range | Meaning |
|---|---|---|---|
provider.anthropic_max_attempts | 2 | 1..20 | Default attempts per Anthropic request before the turn fails; per-call maxAttempts wins. |
provider.anthropic_retry_delays_ms | [350, 700] | 0..600000 | Quick-retry delay ladder in milliseconds for Anthropic messages requests; a small random jitter is added on top. |
provider.compaction_headroom_ratio | 0.25 | 0.01..0.9 | Fraction of the compaction threshold reserved as output headroom for the compaction model. |
provider.compaction_preservation_ratio | 0.1 | 0.01..0.9 | Fraction of the source transcript compaction aims to preserve verbatim. |
provider.compaction_threshold_tokens | 200000 | 10000..100000000 | Default token level that triggers compaction when the profile does not declare compactionThresholdTokens. |
provider.google_max_attempts | 4 | 1..20 | Default attempts per Google Gemini request before the turn fails; per-call maxAttempts wins. |
provider.google_retry_delays_ms | [1000, 3000, 5000, 10000] | 0..600000 | Escalating retry backoff ladder in milliseconds for Google Gemini requests; attempts beyond the ladder reuse its last entry and a small random jitter is added on top. |
provider.json_response_timeout_ms | 120000 | 1000..3600000 | Milliseconds to wait for a complete non-streaming provider JSON response. |
provider.max_context_length | 200000 | 8000..100000000 | Default provider context length in tokens when the profile does not declare maxContextLength and no model rule infers one. |
provider.max_output_tokens | 16384 | 256..1000000 | Fallback max output tokens per provider request when neither the request nor the provider profile specifies one. |
provider.openai_max_attempts | 6 | 1..20 | Default attempts per OpenAI-kind request before the turn fails; per-call maxAttempts wins. |
provider.openai_retry_delays_ms | [1000, 3000, 5000, 10000, 30000] | 0..600000 | Escalating retry backoff ladder in milliseconds for OpenAI-kind provider requests; attempts beyond the ladder reuse its last entry. |
provider.output_budget_safety_margin_tokens | 4096 | 0..1000000 | Safety margin subtracted from the provider output budget when sizing requests. |
provider.partial_output_ack_timeout_ms | 5000 | 100..600000 | Milliseconds to wait for a partial-output sink acknowledgement before proceeding without it. |
provider.request_start_timeout_ms | 120000 | 1000..3600000 | Milliseconds to wait for a provider request to start streaming before the attempt is failed as timed out. |
provider.stream_idle_timeout_ms | 60000 | 1000..3600000 | Milliseconds of stream silence tolerated before a provider attempt is failed as idle. |
provider.token_count_timeout_ms | 15000 | 1000..600000 | Default milliseconds for a provider token-count request; per-profile tokenCountTimeoutMs and per-call options win. |
provider.total_request_timeout_ms | 600000 | 10000..7200000 | Default milliseconds for a whole provider request; per-profile totalRequestTimeoutMs and per-call options win. |
runtime
| Setting | Default | Range | Meaning |
|---|---|---|---|
runtime.close_failure_ms | 10000 | 500..600000 | Milliseconds runtime close waits for component cleanup before reporting the close as failed. |
scheduler
| Setting | Default | Range | Meaning |
|---|---|---|---|
scheduler.clock_check_ms | 30000 | 1000..3600000 | Longest the scheduler's timer sleeps before re-reading the wall clock and the job records: a machine that slept, a changed clock or a job written by another process is noticed within this. It sleeps less when a job is due sooner and wakes at once for jobs added through this process. |
scheduler.max_late_ms | unset | 1000.. | How late a scheduled job may still fire after its time (the host was down or asleep); a later fire is skipped with a visible notice. Unset: no bound; it fires late and says by how much. |
sessions
| Setting | Default | Range | Meaning |
|---|---|---|---|
sessions.background_max_provider_calls | unset | 1.. | Provider calls a background turn the runtime starts itself (continuity for a child's message) may make before it is ended. Unset: no ceiling. |
sessions.background_max_tool_calls | unset | 1.. | Tool calls a background turn the runtime starts itself may make before it is ended. Unset: no ceiling. |
sessions.background_max_wait_ms | 120000 | 100..3600000 | Milliseconds the oldest waiting background turn of a session (a child's message, a monitor delivery) may wait behind user turns before it takes the next slot. The age is never reset by newer arrivals. |
sessions.background_timeout_ms | unset | 1.. | Milliseconds a background turn the runtime starts itself may run before it is ended. Unset: no ceiling. |
sessions.idle_close_ms | 900000 | 50..86400000 | Milliseconds an open session may stay idle (no turn running, nothing queued) before the runtime unloads it. It stays resumable and any turn reopens it; having children is not a reason to stay open. |
sessions.monitor_claim_lease_ms | unset | 1000..300000 | Lease taken on a monitor delivery while the runtime works on it, renewed while the work runs; a crashed runtime's claim expires after it. Unset: the controller's maximum, 300000 (a lease is fencing, not a ceiling). |
sessions.monitor_cleanup_ms | unset | 1.. | Milliseconds reserved at the end of the delivery deadline for failure bookkeeping and cancellation cleanup (at most a third of it). Unset: no reserve; cleanup is cancel-and-quarantine. |
sessions.monitor_poll_ms | 1000 | 100..3600000 | Milliseconds between the runtime's monitor intake polls: observe every monitor, then offer pending deliveries to their sessions. |
sessions.monitor_renew_ms | 500 | 50..60000 | Milliseconds between lease renewals while a monitor delivery is worked on; a renewal is also where a stop or mute is noticed and the work abandoned. |
sessions.monitor_total_deadline_ms | unset | 1.. | Milliseconds one monitor delivery (claim, authoring, checkpoint, publication) may take in total. Unset: no ceiling. |
sessions.pending_retry_ms | unset | 1.. | Base delay before pending work for a session the host answered Unavailable(retry=True) is offered again; it doubles per refusal up to 15 minutes. Unset: offered again at the daemon's next announcement. |
storage
| Setting | Default | Range | Meaning |
|---|---|---|---|
storage.lock_timeout_ms | 5000 | 500..60000 | Default milliseconds to wait for a storage file lock before the operation fails; explicit per-call timeouts win. |
subagents
| Setting | Default | Range | Meaning |
|---|---|---|---|
subagents.continuation_lease_ms | 30000 | 1000..3600000 | Milliseconds a subagent continuation lease stays valid before it may be re-claimed. |
subagents.max_depth | 2 | 1..10 | Maximum nesting depth for subagents spawning subagents. |
subagents.max_live | 8 | 1..64 | Maximum live subagent processes per runtime instance; at capacity the Agent tool returns the live-children roster instead of spawning. |
subagents.resident_idle_ttl_ms | 900000 | 100..86400000 | Milliseconds a resident subagent may stay idle (no turn, no queued message, no open question, no work of its own) before it stops for good. Working time never counts. |
subagents.resident_poll_ms | 1000 | 100..60000 | Milliseconds between a resident subagent's mailbox polls while idle between turns. |
tasks
| Setting | Default | Range | Meaning |
|---|---|---|---|
tasks.health_drain_timeout_ms | 10000 | 500..600000 | Milliseconds health-check work gets to drain during shutdown. |
tasks.health_event_excerpt_bytes | 4096 | 256..10000000 | Byte cap per recorded health-check event excerpt. |
tasks.health_log_max_bytes | 4194304 | 65536..1073741824 | Byte size at which a health-check log rotates. |
tasks.health_log_rotations | 3 | 1..100 | Rotated health-check log files kept. |
tasks.monitor_check_interval_ms | 5000 | 250..3600000 | Default milliseconds between monitor checks; per-monitor checkIntervalMs wins. |
tasks.monitor_heartbeat_interval_ms | 60000 | 1000..86400000 | Default milliseconds between monitor heartbeats; per-monitor value wins. |
tasks.monitor_min_progress_bytes | 120 | 1..1000000 | Minimum new output bytes for a monitor observation to count as progress. |
tasks.monitor_narration_spacing_ms | 20000 | 1000..3600000 | Minimum milliseconds between narrated monitor updates. |
tasks.monitor_output_excerpt_chars | 6000 | 200..1000000 | Character cap for narrated monitor output excerpts. |
tasks.monitor_tick_ms | 1500 | 100..60000 | Milliseconds between monitor runtime ticks; per-call tickIntervalMs wins. |
tools
| Setting | Default | Range | Meaning |
|---|---|---|---|
tools.diff_context_lines | 3 | 0..100 | Unchanged context lines around each hunk in file-change diffs. |
tools.search_timeout_ms | 120000 | 1000..3600000 | Default milliseconds a streaming code search may run; per-call timeouts win. |
tools.task_output_poll_ms | 250 | 50..60000 | Milliseconds between TaskOutput polls while blocking on a running task. |
web
| Setting | Default | Range | Meaning |
|---|---|---|---|
web.fetch_body_idle_timeout_ms | 10000 | 500..600000 | Milliseconds of WebFetch body silence tolerated before the fetch fails; per-call overrides win. |
web.fetch_connect_timeout_ms | 10000 | 500..600000 | Milliseconds to establish a WebFetch connection; per-call overrides win. |
web.fetch_headers_timeout_ms | 10000 | 500..600000 | Milliseconds to receive WebFetch response headers; per-call overrides win. |
web.fetch_max_redirects | 5 | 0..20 | Maximum redirects followed per WebFetch acquisition. |
web.fetch_private_host_allowlist | "" | Comma-separated hostnames, IP addresses, or CIDR blocks exempted from the web fetch plane's private-address block (loopback, RFC1918, and other non-global destinations); link-local and cloud-metadata endpoints are never exempted. | |
web.fetch_total_timeout_ms | 30000 | 1000..3600000 | Total milliseconds for one WebFetch acquisition; per-call overrides win. |