Guides
Practical notes on coding-agent sessions, newest first.
- AGENTS.md, CLAUDE.md or memory: where should each kind of knowledge live?
One shared AGENTS.md for Claude Code and Codex, a thin CLAUDE.md for Claude-only rules, and what to leave to auto memory and searchable history.
- AI Act and GDPR for companies using coding agents: a triage
A decision tree and a ready-to-paste Art. 30 row for EU companies using coding agents, built from the AI Act and GDPR texts. Not legal advice.
- Avoid an AI account ban: a trigger checklist
A checklist to lower the risk of a Claude, ChatGPT, Codex or Copilot ban. Vendor-stated triggers first, then user-reported factors marked as unproven.
- Back up Claude Code and Codex sessions: rsync, git, or an encrypted archive
How to back up Claude Code and Codex session files with rsync, git, or an encrypted archive, and the one flag that quietly deletes your backup.
- Is it worth keeping coding-agent sessions? The case without invented numbers
A qualitative worksheet for the case for keeping coding-agent transcripts, with counter-arguments and five questions you answer with your own figures.
- ChatGPT account deactivated: how to appeal
What OpenAI's help page says to do when ChatGPT deactivates your account, what to include, and what users report about auto-denials and silence.
- Claude account banned: what to do in the first hour
Your Claude account says it is disabled or banned. What Anthropic's help page confirms, what users report, and the steps to take today, in order.
- Audit logs for Claude Code and Codex: what each records, how long, and what you can keep
What Claude Code and Codex log locally, what OpenTelemetry and the Compliance API add, the retention numbers that are documented, and what stays unclear.
- Auto memory wrote 40 files about your project: which are worth keeping?
Where Claude Code keeps auto memory, what the docs say about the 200-line and 25KB index limit, and a shell audit to decide what to keep, edit or delete.
- Claude Code and Codex sessions after an account ban
After an account ban, local Claude Code and Codex sessions are still files on disk. Which paths to copy, and the 30-day cleanup that can delete them.
- /compact loses context: what compaction keeps, what it drops, and how to get the detail back
What Claude Code compaction keeps and drops, how to steer it, and how to recover the exact pre-compaction detail from the transcript file on disk.
- Claude Code deletes transcripts after 30 days: cleanupPeriodDays and keeping your history
Claude Code deletes transcripts older than 30 days by default. Set cleanupPeriodDays, back up ~/.claude/projects, and know what cannot be recovered.
- ~/.claude is huge: what takes the space, what is safe to delete, and keeping the history
Measure ~/.claude with du, see that transcripts and subagent logs dominate, and learn which folders are safe to delete and which to keep.
- Claude Code remembers the discussion but not the decision: how to get the why back
Claude Code can recall that you compared two options and forget which you chose. Find the decision in the old transcript, then pin it in a note.
- Memory between Claude Code sessions: CLAUDE.md, auto memory, MCP servers and transcript recall
How CLAUDE.md, auto memory, the MCP memory server, claude-mem, mem0 and transcript recall differ on storage, access, backup, search, teams and cost.
- Where does Claude Code memory go, and who can read it?
Where Claude Code, Codex and Copilot write durable memory, who can read each store, what leaves your machine, and a scan for secrets in memory files.
- claude --resume shows no history: wrong folder, swept transcript, compaction or a loader bug
Why claude --resume lists no sessions or opens empty: wrong directory, cleanup, compaction, or a loader bug. How to tell which, and the fixes.
- Claude Code "session not found" on resume: why the transcript is gone and what you can recover
Why claude --resume says no conversation found or session not found, how to tell a deleted transcript from a wrong directory, and what you can recover.
- Your CLAUDE.md is too long: what to cut, what to move, and how to tell a rule is followed
The docs say aim for under 200 lines. How to sort CLAUDE.md lines, find stale ones with a script, and check old sessions to see which rules held.
- Codex says account flagged for high-risk cyber activity
Codex shows a high-risk cyber flag. It is a safeguard on requests, not a closure. What OpenAI documents, what users report, how to apply and appeal.
- Codex older sessions missing from resume: where they went and how to get them back
Why older Codex sessions are missing from codex resume or the app sidebar: cwd filtering, archive, index bugs. How to check disk and recover.
- Codex session logs growing to hundreds of GB: cleanup without losing the history
Why Codex rollout files reach gigabytes, how to measure them with du, what codex delete does, and how to keep the history before you remove it.
- A DPA and subprocessor review checklist for coding agents
A copy-and-fill checklist for reviewing a coding agent vendor DPA against GDPR Article 28, with the Anthropic DPA mapped clause by clause and gaps stated.
- Claude Code, Codex, Copilot and Cursor: which enterprise controls does each document?
A cell-by-cell comparison of what Claude Code, Codex, Copilot and Cursor document for enterprise control, with "not found" marked, checked 2026-11-10.
- Security review questionnaire for coding agents (Claude Code, Codex, Copilot, Cursor): 40 questions and what a good answer looks like
A copy-and-fill security questionnaire for coding agents: 40 questions in 8 sections, what a good answer looks like, and where each vendor documents it.
- A policy for coding-agent session data: what to keep, who may read it, for how long (template)
A copy-and-fill policy template for Claude Code and Codex session data, grounded in what the tools record, with the settings that enforce each rule.
- Coding agents: a one-page brief for the board or exec team
A fill-in one-page template for reporting coding-agent use to a board or executive team, with a risk register where not yet decided is an allowed status.
- Whole company's Claude accounts suspended: what the admin does
Every Claude seat at your company stopped at once. What Anthropic says about organizations on hold, the review request, org export and continuity.
- How to keep a decision log your coding agent actually reads (and writes)
A one-file-per-decision log for AI coding sessions, a short CLAUDE.md pointer that makes the agent consult it, and a way to backfill from old transcripts.
- When a developer leaves, their agent sessions leave too
What is lost when an engineer who used Claude Code or Codex leaves, how to capture the reasoning before they go, and the limits of any such archive.
- A developer pasted a credential into an AI coding agent: the first hour runbook
A first-hour runbook for a credential pasted into Claude Code or Codex: rotate first, find every copy, decide purge or preserve, notify, then prevent.
- Encrypting coding-agent transcripts at rest
Who you are encrypting Claude Code and Codex transcripts against, what disk encryption, age, and sealed archives each stop, and what none of them can.
- Export ChatGPT data after account deactivation
Can you download your ChatGPT chats once the account is deactivated? What OpenAI documents, what users report failing, and what to try and save instead.
- Export a Claude Code conversation to Markdown or JSON
What Claude Code's /export writes today, and how to convert the session JSONL to Markdown or JSON with jq, and what to leave out.
- Export Claude data after a ban
Anthropic says banned users can still export their Claude data. What the export contains, the 24-hour link, and what to try when the banned login loops.
- How to find shadow coding agents in your company
A checklist for finding unsanctioned coding agents with signals, where to look and false positives, plus how to turn personal logins into governed ones.
- Find the command Claude Code ran last week
Every Bash command Claude Code runs is recorded in the session JSONL. Here are jq and grep recipes to list, filter and match them with their output.
- Keep coding while your AI account is banned
Banned from Claude or ChatGPT with a deadline? Legitimate stopgaps on other vendors' own accounts, plus a handoff note and AGENTS.md to move context.
- MCP server and plugin allowlist for coding agents
A policy clause and a one-page approval form for MCP servers and plugins, with the Claude Code, Codex and Copilot controls that enforce an allowlist.
- Should a coding agent remember for you, or should you search what it already did?
Memory stores what an agent chose to keep, search finds what happened. A five-question test for which your project needs, and how to use both.
- Can a bad memory entry poison every future Claude Code session?
A wrong line in MEMORY.md is read at every session start in that repo. How it gets there, how to trace and remove it, and what to check besides memory.
- Move Claude Code sessions to a new computer
Copy ~/.claude/projects to a new machine, map old project folders to new ones, and know why resume says no conversation found when paths differ.
- Onboarding a new engineer with the team's agent session history
How a new engineer and their coding agent can learn from past Claude Code and Codex sessions, what to curate first, and where that history misleads.
- How to roll out Claude Code to 50 engineers, phase by phase
A five-phase rollout for 50 engineers where each phase ends on a check you can run, with managed settings behind each gate and an announcement template.
- Using Claude Code, Codex and Cursor on one repo: how to stop re-teaching each one
Where Claude Code, Codex and Cursor keep instructions, memory and history, a shared AGENTS.md layer all three read, and exporting Cursor memories.
- Search your past Claude Code conversations: grep, ccgrep and MCP tools compared
Search old Claude Code sessions with grep, jq, ccgrep or an MCP server. What each does, what it misses, and why /resume is not a search tool.
- Secrets in Claude Code transcripts: find them, rotate them, stop the leak
Claude Code writes tool output to plaintext JSONL, keys included. How to scan for secrets, redact a copy, rotate, and cut what lands on disk.
- Share a Claude Code session with a teammate
Five ways to hand a Claude Code session to a teammate, what each one carries, and what to scan or strip before it leaves your machine.
- Subscription login in OpenCode or another client: ban risk
Using a Claude, Gemini or ChatGPT subscription login in a third-party client can end in a block. What vendors say, how to stop, how to word an appeal.
- Five developers, five Claudes: how a team shares what the agents learned
Share a reviewed notes folder in Git, keep personal memory personal, date every note and sweep stale ones. Layout and script tested in a scratch repo.
- What must a company log and keep when engineers use coding agents, and for how long?
A retention matrix across GDPR, the AI Act, NIS2, DORA, HIPAA, SEC and FINRA, SOC 2 and ISO 27001, plus a worksheet to decide your own number of days.
- Where Claude Code stores conversation history
Claude Code keeps each session as JSONL in ~/.claude/projects. Folder naming, line format, what else is in ~/.claude, and how to read it with jq.
- Where Codex stores sessions
Codex writes each session as a rollout JSONL under ~/.codex/sessions/YYYY/MM/DD, beside an index and SQLite state. Layout, line format, jq recipes.
- Zero data retention for coding agents: what a buyer gets and gives up
A coverage table of zero data retention across Claude Code, Cursor, Copilot and Codex, what it excludes, the model exceptions, and 8 order-form questions.