Limits and timeouts

Values set by configuration show their default and name the setting. Field lengths and formats are on each resource's own page.

Runs

See Runs.

ItemValue
Run lease60 seconds
Lease renewal by the runnerevery 2 seconds
Lease renewal by the host while a sandbox startsevery 20 seconds
Attempts when the runner is lost3 in all
Attempts while hooks go unanswered6 in all, 5 seconds to 2 minutes apart
Run wall clock on a hostSPOTLIGHT_RUN_TIMEOUT, default 6 hours, for each run; the run fails timed-out and is tried again, 3 attempts in all, counted with lost runners
Wait for background work after a turn without a handoverSPOTLIGHT_BACKGROUND_WAIT in the sandbox, default 30 minutes, for each turn; 0 sends the reminder at once. See Turns without a handover
Stop grace for a sandbox the host stops30 seconds
Messages a person sends, checked forevery 2 seconds
Ended runs checked for missing usageonce a minute, for ended runs with no recorded usage that are not already waiting for it. The first check on a database starts from the oldest ended run, however long ago it ended. Each later check looks only at the ended runs that Spotlight last wrote after a time 1 hour before where the previous check stopped, so a run stored as ended with an end time from much earlier, such as when it paused, is still found. One check notes at most 1,000 runs; while a check notes that many, Spotlight checks again every 2 seconds
Usage of ended runs recorded at onceat most 100 runs per look; while a look finds that many due, Spotlight looks again every 2 seconds
Attempts to record the usage of an ended runWhen a run ends, Spotlight tries to record its usage at once, 8 attempts in all, 2 seconds to 1 hour apart. From 15 minutes after the run ended, it also tries every 15 minutes, 5 times in all. When the fifth of those fails, it records the usage as unknown, with the reason recording-failed. When Spotlight cannot read the stored run even for that, it still records the usage as unknown with the reason recording-failed, but does not announce it, and stops. A replay with that run waits until the usage is announced. Once the stored run is repaired, announce it with POST /api/admin/run-usage/announce, with since a little before the error Spotlight logged for the run

Hosts

See Host settings.

ItemValue
Heartbeatevery 20 seconds
Shown as onlinea heartbeat within the last 90 seconds
Removed after the last heartbeat24 hours
Requirements refreshevery minute
Claim long poll10 seconds
Retry after a failed heartbeat or claimabout 2 seconds, doubling to about 30 seconds
Sandboxes at onceSPOTLIGHT_CAPACITY, default 1
Memory of each sandboxSPOTLIGHT_SANDBOX_MEMORY, default no limit

Pools

See spotlight_runner_pool.

ItemValue
Push pool provision call timeout10 seconds
Provision attempts5 in all, 5 seconds to 2 minutes apart
Time for a provisioned runner to claim5 minutes
Time a provisioned runner waits for its work5 minutes
maxRuns1 to 10,000, or no limit

Sandboxes

See Inside a sandbox.

ItemValue
Sandbox start5 minutes
Image inspection2 minutes
Harness discovery command15 seconds each
Wait for a repository mirror15 seconds
One mirror refresh, at most30 minutes
Checkouts10 minutes for all
setup per checkout15 minutes
Change stack check5 minutes a step, 60 minutes in all; see Checks
Idle grace of a task's or chat's sandboxSPOTLIGHT_SANDBOX_GRACE, default 10 minutes; none after the task moves to Completed or is deleted. See Sandbox lifetime
A sandbox kept up by editors aloneSPOTLIGHT_EDITOR_LIMIT, default 12 hours after its last run
A warm sandbox that no run tookSPOTLIGHT_WARM_SANDBOX_AGE, default 24 hours after it started; see Warm sandboxes
Editor leaseRenewed every 30 seconds while the connection carried traffic in the last 30 minutes; expires 2 minutes after the last renewal
Wait for a sandbox to start for an editor10 minutes
Sandbox not reported by its host after it starts60 seconds, then gone
Sandbox checks for drainingevery 30 seconds

Egress

See Egress.

ItemValue
Wait for egress to be ready90 seconds
Fetching the run's secrets1 minute
Certificate authority lifetime48 hours
Upstream connection30 seconds
Upstream TLS handshake15 seconds
Shutdown grace5 seconds

A shared egress and the local proxy of a push pool runner:

ItemValue
Requests each second, for each workspace and egress processSPOTLIGHT_EGRESS_RATE_LIMIT, default 50; 0 is no limit
Open connections, for each workspace and egress processSPOTLIGHT_EGRESS_MAX_CONNECTIONS, default 200; 0 is no limit
Checking which runs are still activeEvery 30 seconds, at most 500 run proxy credentials in one request
A run with no requestRemoved from egress memory after 2 minutes
Fetching again while the runner has no lease on a runAt most every 5 seconds
Sending connection recordsEvery 5 seconds, at most 2,000 in one call and 10,000 waiting
Time a connection record keeps from egressAt most 1 hour before and 1 minute after Spotlight gets it
Connection records retained30 days
Enforcement check3 seconds
Local proxy authority lifetime48 hours
Upstream connection30 seconds
Upstream TLS handshake15 seconds

Working copy archives

See Inside a sandbox.

ItemValue
Packed size2 GiB
Unpacked size8 GiB
Upload or download30 minutes
Archive lease, after the last renewal2 minutes
Store after SIGTERM, once the turn is reported25 seconds
Retained after its task finishes, or its chat stops carrying the conversation7 days
Retained after a newer archive replaces it1 hour
Retained after its task or chat is deletednone; removed within a minute, even when a run started from it or a replay set pins it
Retained after a run that started from it started30 days
Retained while a run that started from it is in a replay setuntil the run leaves the set, or its station leaves the line
An archive never completed, retained24 hours

An archive a run started from, or one pinned by a replay set, is retained for that time even when its task has finished or a newer archive has replaced it.

Replays

See Replays.

ItemValue
Replay sets of a station1, kept by Spotlight
Runs in a replay setat most 30, one per task
Runs a refresh picks fromthe station's latest 100 ended task runs
A run stays in a replay setuntil 90 days after it ended
Refresh of a full setevery 7 days
Refresh of a set with fewer than 30 runsevery day
Replay runs of a team queued or running at once, not counting a search's2
Ceilingabove 0, at most 1,000, in a three-letter currency
Repeats of each run in a replay1 to 5, default 1
Resamples behind a 95% interval2,000
Tasks scored on both sides before a gain can read better or worse5
min_gainabove 0, at most 1, default 0.05
Repeats of each run in a calibrationat least 3
Repeats of each run in a search's seed or a replay check's baselineat least 3
Reason given for a task's sideone line of at most 200 characters
Fewest runs in a set a calibration checks5
Live config success above which a set has almost no room to improve95%
Share of changes the judge passes or fails alike twice, below which its verdicts read as partly chance80%
A judge's guidanceone sentence of at most 280 characters, with no line break, no 5 words in a row from a claim, and no whole sentence of 3 or more words from one
Repeats of each run in a replay with the answerthose of the live replay that started it
Attempts to queue a replay run10
A replay run's usage not recorded when it endedrecorded from 15 minutes after it ended; counted as one run with no cost reported if Spotlight cannot read what it used. If Spotlight cannot read the stored run, the replay waits until the usage is announced
Replays read for Candidates on the Insights Stations tabthe newest 500 started in the period; see Replayed candidates API

Searches

See Searches.

ItemValue
Tasks a set must coverat least 5: at least 2 held out and at least 3 searched
Share of tasks held out30%, rounded up
Tasks held outnever a task an earlier search of the station searched on
Iterations1 to 10, default 3
Candidates per iteration2
Proposals an iteration may try, rejected ones included3 times its candidates
Replay runs of a search queued or running at once1 to 10, default 4, apart from the team's 2
Repeats of each run in its replays1 to 5, default 1
Searches of a station in progress at once1
Ceilingabove 0, at most 1,000 and at most the line's monthly ceiling, in a three-letter currency; default 10
Monthly ceiling of a line's searchesabove 0, default 50
Period and cooldown1h to 365d; default period 7d, default cooldown 3d; the cooldown at most the period
Share of the ceiling for the agent's runsa tenth
Least a replay run may be given0.01 of the ceiling's currency
Hypothesis1 to 4,000 characters
Iterations left for a stalled search to look into whyat least 2
A task a reflection looks intothe best config's success on it below one half
A cause's evidence1 to 4,000 characters
A cause's suggestionat most 4,000 characters
Points in a search's noticeat most 20, of at most 1,000 characters each
A resolved notice shown in the inbox30 days after it was resolved
Candidate namea slug of lowercase letters, digits and hyphens, at most 63 characters
An agent run no runner claimscancelled after 60 minutes
An agent run's usage not recorded when it endedrecorded from 15 minutes after it ended; counted as unpriced if Spotlight cannot read what it used. If Spotlight cannot read the stored run, the search waits until the usage is announced
Tries to open a config pull request5: the first, then again after 30 seconds, 2, 8 and 32 minutes
Tries to close a stale config pull request5, on the same schedule
Open config pull requests of a station1
Reading an open config pull request's state from GitHubevery 6 hours
A config pull request's descriptionat most 60,000 characters; Spotlight leaves out its last sections past that
Changes listed in a config pull request30; long values folded under "Was and now" for the first 8, each value cut at 1,000 characters
Tasks in each table of a config pull request20, then +<n> more tasks.

Replay checks

See Replay checks API.

ItemValue
Sets gating a station's changesat most 1
maxRegressions0 or more, default 0
minGainabove 0, at most 1, default 0.05
Repeats of each run in a check1 to 5, default 1
Ceiling, each replay a check startsabove 0, at most 1,000, default 10 USD
Replays a check starts1, or 2 when the set has no baseline of the live config
Planned repositories sent with a checkat most 64,000 characters
spotlight replay check waitdefault 60 minutes
spotlight replay check intervaldefault 15 seconds, at least 1 second
Failed tries in a row before spotlight replay check gives up5
Reason in a spotlight replay check task tablecut at 160 characters

Change stacks and decisions

See Change stacks and decisions.

ItemValue
Diff6 MiB, 2,000 hunks
Generation attempts4 in all, 30 minutes each, 30 seconds apart and doubling
Waiting for a runner to check60 minutes
Check output stored16,000 characters a step

Memory

See Memory and Agent commands.

ItemValue
A memory1 to 1,000 characters
Reason for retiring a memory1 to 500 characters
A path a memory is about1 to 500 characters, within its repository
Paths a memory is aboutat most 20
Steps and notes a memory citesat most 20 steps and 20 notes
Words a recall looks for1 to 500 characters
Memories a recall printsat most 10
Memories in a run's briefingat most 8, and 3,000 characters together; see Briefing
Memories listed on each tab of the Memory pagethe newest 500
Drafting attempts4 in all, 30 seconds apart and doubling to 10 minutes; after an unreadable failure, 3 in all, doubling to 5 minutes; after no-evidence or interrupted, 1
Drafts at once4 on each control plane server
Rejected memories shown to the drafterthe 20 newest from the last 90 days that apply where the run ran

Agent commands

See Agent commands.

ItemValue
Request timeout2 minutes
Tool input8 MiB

Outbound calls

See Calls out of Spotlight. These limits apply to each call that Spotlight makes for a workspace's configuration, together with the limits of each area below.

ItemValue
Opening a connection10 seconds
Response headers120 seconds
Time between two chunks of a response body120 seconds
Integration request answer4 MB
File an integration fetches25 MB
JWKS of a webhook's JWT check1 MiB, read within 15 seconds

Polls, schedules, actions, webhook event lookups and file fetches, tool calls and hook requests that Spotlight sends also count toward a limit for each workspace. See Rate limit.

ItemValue
Requests each workspace sends to other services50 each second, and 50 at once, set by SPOTLIGHT_OUTBOUND_RATE_LIMIT
Wait for a free request when over the limit5 seconds

Lookup calls of webhook and poll events have their own limit. See Lookup calls.

ItemValue
Lookups in one poll or delivery, tool calls and lookup.request requests together20, at most 4 at once. A poll reads the other events on the next poll; a delivery fails without reading them

Actions sent from the network

See Sent from the network. A host's egress sends these, so the limits above other than the rate limit do not apply.

ItemValue
Time from queueing to responsetimeoutSeconds, default 30, 1 to 60
Tries1
Redirects followed0
Response body read256 KiB
Egress getting the action's secrets10 seconds

API specs

See API specs.

ItemValue
Spec size64 MB
Fetching a spec30 seconds, redirects included
Reading its operations once fetched30 seconds, waiting for a turn included
Specs read at once2 on each control plane server
Tools generated per integration1,000, counted after include and exclude
OpenAPI schema depth followed8 levels
GraphQL input object depth followed3 levels
Schema nodes read for one operation's inputs4,000
Generated tool answer4 MB
Redirects a request follows5
GraphQL selection depth1 to 5, default 2
Generated tool description1,000 characters
Specs readOpenAPI 3.0 and 3.1, in JSON or YAML, and GraphQL; not Swagger 2
$refs followedonly those inside the spec

MCP servers

See MCP servers.

ItemValue
Listing the tools againevery 600 seconds, set by SPOTLIGHT_MCP_RELIST_SECONDS, checked every minute
Pages of tools read in one listing50
Each MCP request, listing or call60 seconds
Tool answer4 MB
Tools offered per integration1,000, counted after include and exclude
Tool description1,000 characters
Calls one session carries at once1
Session left unusedclosed after 5 minutes
Calls again after the server no longer has a session1
Discovery requests15 seconds each
What discovery foundcached 10 minutes on each control plane server
Transportstreamable HTTP

Hooks

See spotlight_hook.

ItemValue
Request timeouttimeoutSeconds, default 10, 1 to 30
Callback token lifetime15 minutes
Response body stored16 KiB
Delivery attempts8 in all, 2 seconds to 1 hour apart
Causal chain depth8
Firings for the same change3 within 10 minutes
Text a hook adds to a briefing4,000 characters, the rest cut with a note
Text of all hook sections in a briefing16,000 characters as the agent gets it, headings and note included; later sections are left out with a note
Reason a replay gives for a skipped hook1,000 characters

Tokens and trusts

See Workspace tokens and spotlight_oidc_trust.

ItemValue
Workspace token lifetimeuntil expiresAt, or no expiry
Token from an OIDC trustlifetimeMinutes, default 15, 1 to 60

Command line login

See spotlight login.

ItemValue
Device code lifetime15 minutes
Poll interval of spotlight login5 seconds, 5 seconds more after each slow_down
Login sessionends after 7 days without use; each use renews it

Resource API

See Resource API.

ItemValue
Idempotency-Key retained24 hours
Idempotency-Key lengthat most 255 characters

Other

ItemValue
Attachment size per file25 MiB; see Attachments
Invite lifetime14 days from when it was last sent; see Invites
Addresses per invite request1 to 50; see Invites
Live update connectionThe app's connection for live updates closes after 10 to 12 minutes, and the app connects again
Delivered domain eventsDeleted 7 days after they are recorded, once every subscriber has them; an event that a subscriber has not taken stays

On this page