Field reports · AIB-067

Thirty Days, No Notice

Claude Code’s default transcript sweep, the patent work it took, and what would have prevented it

Filed 2026-10-06Kill ratio 1.0Rooms: AI, fabAlso told as Surely You’re Joking, Claude Code

Public edition of the evidence record. Personal file paths and internal references have been removed. The findings and their evidence labels are unchanged.

Categories: Product and UX feedback; AI safety and ethics; trust and verification; AI governance and policy.

Evidence labels used throughout. VERIFIED: read directly on Debbie’s Mac or in her own files on 2026-10-06. DOCUMENTED: stated in Anthropic’s own published documentation, fetched 2026-10-06. REPORTED: third-party reporting. DEBBIE-REPORTED: Debbie’s own account; missing documentation changes the label, not the claim. INFERRED: a conclusion drawn from the above, not observed directly. U: unknown. Times are Pacific Time (PT), with Coordinated Universal Time (UTC) where the source records it.

1. Summary

Claude Code, the agentic coding tool inside the Claude desktop app for Mac, deletes its own conversation records. Each time a session starts, it removes every transcript, and a dozen related working folders, older than a setting called cleanupPeriodDays. The default is 30 days. The setting has no control in the app. It exists only as a key in a hidden text file, ~/.claude/settings.json. Nothing warns the user before a deletion, and nothing records what was deleted. (DOCUMENTED; REPORTED)

Debbie used Claude Code on her Mac for patent development because, as Claude told her, a local session was the most capable surface and the safest place for sensitive work, since everything would be saved on her own computer. (DEBBIE-REPORTED) She works in long cycles: she develops one part of an invention, sets it aside, and returns to it weeks or months later. Under a 30-day default, the work she set aside longest was the work most certain to be deleted. No Claude Code conversation older than 2026-08-01 remains on her Mac. Among the losses are patent conception work and a new, detailed patent idea she has spent more than a month searching for. (Section 6 sorts what is VERIFIED from what is DEBBIE-REPORTED.)

Patents are not the only work exposed. Debbie also uses Claude Code for home construction planning, survey and lot planning, architectural renderings of different designs, music tutoring on songs she is preparing to perform live (edited to match the way she plays them), and systems analysis using a range of systems techniques, including teaching the AI to draw systems diagrams correctly. (DEBBIE-REPORTED) Every Claude Code session in every one of these areas ran under the same 30-day default.

The setting was raised on her Mac on 2026-09-30 to 36,500 days. Anthropic stopped applying the sweep to desktop and Cowork conversations in Claude Code version 2.1.248, around 2026-08-28. (VERIFIED; DOCUMENTED; date REPORTED) Neither change restores anything already deleted.

2. What the software does

  • At every session start, Claude Code deletes files older than cleanupPeriodDays from these folders under ~/.claude/: projects/ (full conversation transcripts, sub-agent transcripts and large tool outputs), file-history/ (copies of files from before Claude edited them, used for undo), plans/, tasks/, uploads/, paste-cache/, image-cache/, debug/, session-env/, shell-snapshots/, backups/ and several smaller ones. Pasted images kept in the Mac’s temporary folder are removed on the same schedule. (DOCUMENTED)
  • The default is 30 days and the minimum is 1. A value of 0 is rejected. (DOCUMENTED)
  • A conversation kept in use survives; a conversation set aside is removed. (INFERRED, consistent with the VERIFIED evidence in Section 5: the oldest surviving transcript was started 2026-08-01 and last written 2026-10-05.)
  • Before version 2.1.248, conversations started in the Claude desktop app and in Cowork were swept like any other. From 2.1.248 on, they are kept at any age unless a new setting, desktopSessionCleanupPeriodDays, sets a limit. (DOCUMENTED) Version 2.1.248 appeared around 2026-08-28. (REPORTED)
  • Transcripts are stored as plain, unencrypted text. Anthropic’s stated reason for the sweep is security: “Keeping plain text transcripts of coding sessions on disk indefinitely creates real security and privacy risks, since they can contain source code, credentials, and other sensitive material.” Anthropic also said the sweep “has been part of Claude Code’s design since launch as a security measure.” (REPORTED, Anthropic statement to The Register) Debbie’s rebuttal is in Section 7.
  • No record of deletions is kept. (REPORTED) No deletion log was found on Debbie’s Mac. (VERIFIED)
  • The desktop app does not expose the setting anywhere in its interface. (REPORTED, GitHub issue 62959)

3. What Debbie was told, and what she expected

DEBBIE-REPORTED:

  • Claude described Claude Code on the Mac as the most powerful surface, and as safer for sensitive documents such as patents, because the work would all be saved locally on her computer.
  • Her claude.ai web and iOS conversations do not roll off. As a paying subscriber, she expected her data to be kept.
  • She had no reason to expect that the surface recommended as safest for patent work would be the one that deletes work on a timer.

Supporting record:

  • Her claude.ai conversations from 2024-12-18 onward are present in her 2026-09-28 account export. (VERIFIED, export record in her chat archive)
  • Anthropic’s own Cowork help article says Cowork “stores conversation history locally on your computer, so is not subject to Anthropic’s data retention timeframe.” (DOCUMENTED) A reasonable reader takes that sentence as a protection. On every version before 2.1.248, the local software applied a 30-day retention of its own.

4. Timeline

DateEventLabel
before 2026-08-01Debbie using Claude Code on the Mac, including patent workDEBBIE-REPORTED
2026-05-18Earliest surviving Cowork transcript on the MacVERIFIED
2026-07-13Claude Code session containing patentable spatial AI conception work; later found missing from every picker, export and captureMissing: VERIFIED. Deleted by the sweep: INFERRED
2026-08-01Earliest surviving Claude Code transcript on the MacVERIFIED
about 2026-08-28Claude Code 2.1.248 stops sweeping desktop and Cowork conversationsDOCUMENTED; date REPORTED
2026-09-05Debbie’s standing rules for her AI team record the sweep and instruct that the setting be raised before Claude Code launches againVERIFIED, instruction files
2026-09-17 to 2026-09-25Daily reviews by her AI team carry the retention fix as “the one item with a clock”VERIFIED
2026-09-21Full copy of local Claude history taken, 597 megabytesVERIFIED
2026-09-28An earlier AIB entry records the July 13 lossVERIFIED
2026-09-30, 02:08 PTSetting raised to 36,500 days; the previous settings file is preserved and contains no retention keyVERIFIED
2026-10-03, 01:47 PTMost recent sweep, run under the new settingVERIFIED
2026-10-06This investigation: nothing lost after 2026-09-21VERIFIED

The only available fix was a hand edit to a hidden file on the Mac itself. No app setting, cloud session or connector could apply it.

5. Evidence on the Mac, 2026-10-06

All VERIFIED, read-only.

  • ~/.claude/settings.json now contains "cleanupPeriodDays": 36500.
  • A preserved copy of the settings file as it stood before the fix contains no retention key. The 30-day default therefore applied from installation until 2026-09-30, 02:08 PT.
  • ~/.claude/.last-cleanup reads 2026-10-03T08:47:21Z (01:47 PT).
  • The Claude Code project folder under ~/.claude/projects/ holds 9 Claude Code transcripts, 156.8 megabytes. The oldest was created 2026-08-01, 16:33 PT, and last written 2026-10-05.
  • The Claude Code sidebar holds 7 conversation entries. Cowork holds 244 task records; the oldest surviving Cowork transcript is dated 2026-05-18.
  • The 2026-09-21 capture holds the same 9 Claude Code transcripts, the same 7 sidebar entries and the same 244 Cowork records. Nothing was lost between 2026-09-21 and 2026-10-06.
  • No deletion log was found. history.jsonl, the prompt history file Anthropic says the sweep never removes, is not present.
  • Versions: Claude desktop app 2.19675.1, read from the device; Claude Code 2.1.286, as recorded in a Claude Code session record last opened 2026-10-03.

6. What was lost

  • A 2026-07-13 Claude Code session containing patentable spatial AI conception work. It is absent from every picker, export and capture. (Missing: VERIFIED. Deleted by the sweep: INFERRED.)
  • Every Claude Code conversation from before 2026-08-01. Debbie used Claude Code before that date and watched earlier patent sessions disappear from the Code history. (DEBBIE-REPORTED) None older than 2026-08-01 remain. (VERIFIED)
  • A new, detailed patent idea Debbie has searched for over more than a month, at a cost of many hours. (DEBBIE-REPORTED. Whether it lived in a swept Claude Code transcript: U.)
  • Claude Code sessions in Debbie’s other work areas: construction and lot planning, architectural renderings, music tutoring for her live performances, and systems analysis. All ran under the same sweep. (Scope: DEBBIE-REPORTED. Exposure: INFERRED. Which sessions were lost: U.)
  • Weeks of hours spent searching for conversations and demonstrations that, on this evidence, were no longer on the Mac to be found. (DEBBIE-REPORTED; INFERRED in part)
  • Sleep, peace of mind, and time with her family, spent on the search and on the stress of the loss. (DEBBIE-REPORTED)

The names, dates and count of the deleted conversations cannot be recovered from the app, because Claude Code keeps no record of what it removes.

7. Why a professional cannot work this way

Debbie’s position: she serves clients who pay her to protect their work and their interests. A tool that deletes her working records without telling her makes her the one who fails them. She cannot run a practice on a tool that does not inform her of this, and she cannot extend trust to a vendor that builds it that way. Her minimum requirement is simple: a notice, every session, so the user knows and can act.

In semiconductor yield terms, this is a silent killer defect with a kill ratio of 1.0. Every record it touches is destroyed; nothing survives in part, and nothing flags the loss when it happens. It also behaves like a clustered defect. The losses build up out of sight and surface all at once: Debbie opened the Claude Code history one day and found her earlier patent work gone, with nothing to tell her what hit it. (DEBBIE-REPORTED)

Put as fab equipment: a process tool that purges its own run records after thirty days, with the purge interval set in a configuration file the operator was never shown, and no purge log. The tool runs fine. The data is gone. No equipment engineer would release that tool to production, and no fab would accept “it was in the config file” as the answer at the yield review.

Debbie rejects the security rationale, on four grounds. (Debbie’s position, 2026-10-06)

  1. The premise does not fit the work. The sweep assumes transcripts hold passwords. Debbie’s Claude Code work is patent development, construction and lot planning, architectural renderings, music arrangement for performance, and systems analysis. Most of it needed no password at all, and she cannot name a Claude Code session of hers that did. (DEBBIE-REPORTED)
  2. Logins already have a safer path. Where a task needs a signed-in website, Claude in Chrome works inside the user’s own browser tabs, already logged in, so the password never has to pass through a transcript. Debbie has worked this way in Cowork many times. (DEBBIE-REPORTED)
  3. Users already trust their tools to hold passwords. Chrome stores them. Apple Passwords stores them. People are used to the main systems they depend on keeping credentials safe. (DEBBIE-REPORTED)
  4. The fix belongs at the credential, not the record. A better design would change how Claude Code reaches password-protected material, for example by keeping secrets out of transcripts at the moment they are written, instead of destroying the entire working record on a timer. (Debbie’s position) Debbie’s own design for this is change 12 in Section 9.

To manage a risk that, by Debbie’s account, her transcripts did not carry, the design destroyed every one of them left unused for thirty days.

Safety is a risk in both directions. (Debbie’s position, 2026-10-06) This sweep is a safety measure that caused harm of its own: lost work, lost sleep, stress, and lost time with family. In Debbie’s analysis, companies often reach for a filter or a protocol because it shows they are trying, a hedge against litigation over harm from not acting, while the damage done by the measure itself goes uncounted. Her framework The Safety of Safety (July 2026) names this asymmetry: the cost of not intervening is legible and attributable, traced to “a single decision, a headline, a lawsuit,” while the cost of intervening is spread thin and rarely measured. This case is that second cost made visible: a security measure applied to every user by default, with a kill ratio of 1.0, on records that by her account carried no security risk.

Related work on this site

  • The Safety of Safety, framework paper, July 2026. The intervention decision is itself a risk-bearing action, and AI safety needs a monitoring tier between “ignore” and “act.”
  • The Karen Variable, the Trivial Call Problem and the Negotiation Tax: three sibling findings that The Safety of Safety organizes as one feedback loop.
  • Doogie Howser in the Matrix: Your AI Armchair Psychotherapist, white paper, May 2026. Safety protocols calibrated for catastrophic edge cases, generating new liability and harm for the general population.
  • Prohibition as band-aid, from the session audit The Format Is the Control, September 2026: a prohibition patches an underspecified positive rule.
  • Told Is Not Controlled, applied to this sweep: the deletion was not disobedience; it was a default nobody surfaced.
  • The Bella sketch of this case: two reinforcing loops, and nobody in either one doing anything wrong.

Standing instructions did not reach Claude Code. Debbie keeps her file-disposition rules in her Claude account preferences. Claude Code’s documented mechanism for standing instructions is CLAUDE.md files. (DOCUMENTED) Claude Code sessions produced files as chat attachments instead of saving them to her folders, and those attachments are now gone. (DEBBIE-REPORTED; consistent with the documented mechanism, INFERRED) A CLAUDE.md file now exists at ~/.claude/CLAUDE.md. (VERIFIED present)

Cowork output files sit in hidden folders. Files Cowork created and did not copy to a user folder live only in that task’s outputs folder under ~/Library/Application Support/Claude/local-agent-mode-sessions/. On this Mac they include several versions of a white paper, a presentation, and 3D house models. A Dropbox search found no copy of the white papers or of the presentation. (VERIFIED) These files survive today. Other users report that an app reset, reinstall, or the “Delete Cowork VM Sessions and Restart” action removes everything in that folder. (REPORTED)

9. Changes that would have prevented this

  1. Notify affected users. The 2.1.248 change was made silently. Users whose desktop and Cowork transcripts were swept before it should be told, and told whether anything can be recovered.
  2. Warn before deleting. Before any sweep that removes conversations, show a confirmation listing what will be removed, with an export option.
  3. Show retention in every session. Each conversation should carry a plain notice of where it is stored and whether and when it will be deleted. Debbie asks for this at the end of every chat, so a user can act before the clock runs out.
  4. Put the setting in the app. Retention belongs in Settings, in plain words, not in a hidden text file.
  5. Keep by default for paying accounts. Deletion should be opt-in. Apply the 2.1.248 protection to every Claude Code session, not only those started from the desktop app.
  6. Keep a deletion log, so a user can at least learn what was taken.
  7. Offer export and auto-archive for Code and Cowork, including an “always save to this folder” option, the way claude.ai offers an account export.
  8. Carry account-level standing instructions into Code and Cowork, or tell the user plainly that they do not apply there.
  9. Disclose retention when recommending a surface. When Claude recommends a local surface as safer for sensitive work, it should say that local records are subject to automatic deletion and how to stop it.
  10. Ask where to save Cowork outputs at the end of a task, instead of leaving them in a hidden session folder.
  11. Handle credentials at the credential. Keep passwords out of transcripts when they are written, and route signed-in access through the user’s own browser session or the system’s password store, instead of deleting whole records to contain them.
  12. Lock session passwords behind the user’s fingerprint. If Claude Code must keep a password, keep it in an encrypted store of its own on the Mac, such as a section labeled “Passwords needed for Code sessions,” opened only by the user’s fingerprint (Touch ID). Let the user choose to delete it when the session ends. The conversation record stays; only the secret is locked away. (Debbie’s design, 2026-10-06)

A ten-minute checklist for anyone using Claude Code is in the narrative edition.

10. Sources