Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

state.json

setting never mined JSON

A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Background job files can be stored somewhere other than disk, but nothing switches that on yet.

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.223.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 175on this box, as of v2.1.336
Written about v2.1.260 first named in a changelog, 3 Sep 2026

In the changelogs

7

Releases whose published page names state.json.

  1. v2.1.333
    Background job records recover from damaged or oversized files

    If a background job's state.json cannot be read, Claude Code uses the last good copy, and it saves a smaller record when the file is too large

    named in this entry, found in this entry's text

  2. v2.1.321
    Background jobs can record how they were started

    Saved state for background jobs can now hold an optional field recording which entry point launched the job

    found in this entry's text

  3. v2.1.311
    Claude Code now reports when a background job's saved state is rejected

    Claude Code now sends a usage report the first time a background job's state.json file fails its validity check

    found in this entry's text

  4. v2.1.304
    New CLAUDE_CODE_ATTRIBUTION_PROJECT setting checked against claude.ai Project IDs

    Claude Code now recognises CLAUDE_CODE_ATTRIBUTION_PROJECT and drops a value that is not a valid claude.ai Project ID from saved jobs

    found in this entry's text

  5. v2.1.296
    Background jobs now say which saved environment entries they ignored and why

    When a background job loads its state.json, Claude Code now lists ignored environment entries with a reason for each

    found in this entry's text

  6. v2.1.280
    Provider env state validated against saved job state

    Restored background-job provider environment variables are now validated, not just copied

    found in this entry's text

  7. v2.1.260
    New kept-worktree state: unpushed_shared

    Worktrees shared with another finished job's unpushed commits are now kept instead of offered for discard.

    found in this entry's text

First cited

3

The earliest release whose published evidence quoted state.json was v2.1.280, 22 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.28022 Sep 2026the saved job state (state.json providerEnv)
v2.1.2969 Oct 2026ignored these saved environment entries in the job's state.json
v2.1.33330 Nov 2026state.json could not be read: working from the last good copy, which may be saved over it

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.

Feedback