[MODEL]

Resolved 💬 2 comments Opened May 24, 2026 by AbsenteeAtom Closed May 28, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude modified files I didn't ask it to modify

What You Asked Claude to Do

Claude Code — Behavioural Failure Report

Context: Home automation project. The user has a workflow where issues observed remotely (on iPad) are logged to pi/AgentAnalysis.md via a Claude tab in the dashboard. The Claude tab saves both the user's question and Claude's response to the file. At the next home session in VSCode, Claude Code should read the file, understand the state of each entry, and action unresolved issues.

Failures in this session:

  1. Did not read the AA file proactively.

CLAUDE.md had no instruction to read it at session start. The file was only read when the user explicitly asked. This meant a remotely-logged issue sat unnoticed for the entire early part of the session.

  1. When the file was read, the NUC hadn't pushed yet.

The Windows repo copy only had 6 bare bullet points — the richer content including the unresolved grid_outlook entry existed only on the NUC. This was recoverable, but required the user to diagnose and explain the sync gap rather than Claude investigating it.

  1. After the pull, the full file was read but not comprehended.

The file now contained this entry:

2026-05-24 17:29:36

User

Note: 2026-05-24 17:19:42 ERROR Exception on /api/grid_outlook [GET]

Claude

That error on /api/grid_outlook [GET] — I need to see the actual traceback to diagnose it.
Claude's own response in that entry was explicitly asking for more information — a clear signal the issue was unresolved. This was not read carefully. Instead, Claude pattern-matched on "grid_outlook = something we fixed earlier today" and classified the entry as resolved.

  1. A destructive action was taken based on that misreading.

The entry was deleted from the AA file, committed, and pushed. An unresolved remotely-logged issue was permanently removed from the tracking system. The user's carefully designed workflow was undermined by the very agent it was designed to inform.

  1. The user had to explain the failure at every step.

Each realisation — that the workflow existed, that it had worked, that the entry was unresolved, that deleting it was wrong — required the user to push explicitly. None were reached independently. The user described this accurately as being "inherently lazy" and having to "push, push, push all the time."

Root cause:
Shallow reading followed by confident action. Claude read enough to pattern-match ("grid_outlook, fixed") and acted on that without engaging with the actual content — specifically, without reading its own prior response which showed the issue was open. The destructive action (deletion) compounded this because it was irreversible without user intervention.

What correct behaviour looks like:

Read the AA file at session start without being asked
For each conversation entry, read both the user message and the Claude response
If Claude's response in the entry was asking a follow-up question or requesting more information, treat the issue as unresolved
Only delete an entry after the issue has been independently confirmed fixed
Recognise conversation entries as evidence the remote workflow functioned — not as noise to clean up

What Claude Actually Did

Claude Code — Behavioural Failure Report

Context: Home automation project. The user has a workflow where issues observed remotely (on iPad) are logged to pi/AgentAnalysis.md via a Claude tab in the dashboard. The Claude tab saves both the user's question and Claude's response to the file. At the next home session in VSCode, Claude Code should read the file, understand the state of each entry, and action unresolved issues.

Failures in this session:

  1. Did not read the AA file proactively.

CLAUDE.md had no instruction to read it at session start. The file was only read when the user explicitly asked. This meant a remotely-logged issue sat unnoticed for the entire early part of the session.

  1. When the file was read, the NUC hadn't pushed yet.

The Windows repo copy only had 6 bare bullet points — the richer content including the unresolved grid_outlook entry existed only on the NUC. This was recoverable, but required the user to diagnose and explain the sync gap rather than Claude investigating it.

  1. After the pull, the full file was read but not comprehended.

The file now contained this entry:

2026-05-24 17:29:36

User

Note: 2026-05-24 17:19:42 ERROR Exception on /api/grid_outlook [GET]

Claude

That error on /api/grid_outlook [GET] — I need to see the actual traceback to diagnose it.
Claude's own response in that entry was explicitly asking for more information — a clear signal the issue was unresolved. This was not read carefully. Instead, Claude pattern-matched on "grid_outlook = something we fixed earlier today" and classified the entry as resolved.

  1. A destructive action was taken based on that misreading.

The entry was deleted from the AA file, committed, and pushed. An unresolved remotely-logged issue was permanently removed from the tracking system. The user's carefully designed workflow was undermined by the very agent it was designed to inform.

  1. The user had to explain the failure at every step.

Each realisation — that the workflow existed, that it had worked, that the entry was unresolved, that deleting it was wrong — required the user to push explicitly. None were reached independently. The user described this accurately as being "inherently lazy" and having to "push, push, push all the time."

Root cause:
Shallow reading followed by confident action. Claude read enough to pattern-match ("grid_outlook, fixed") and acted on that without engaging with the actual content — specifically, without reading its own prior response which showed the issue was open. The destructive action (deletion) compounded this because it was irreversible without user intervention.

What correct behaviour looks like:

Read the AA file at session start without being asked
For each conversation entry, read both the user message and the Claude response
If Claude's response in the entry was asking a follow-up question or requesting more information, treat the issue as unresolved
Only delete an entry after the issue has been independently confirmed fixed
Recognise conversation entries as evidence the remote workflow functioned — not as noise to clean up

Expected Behavior

Claude Code — Behavioural Failure Report

Context: Home automation project. The user has a workflow where issues observed remotely (on iPad) are logged to pi/AgentAnalysis.md via a Claude tab in the dashboard. The Claude tab saves both the user's question and Claude's response to the file. At the next home session in VSCode, Claude Code should read the file, understand the state of each entry, and action unresolved issues.

Failures in this session:

  1. Did not read the AA file proactively.

CLAUDE.md had no instruction to read it at session start. The file was only read when the user explicitly asked. This meant a remotely-logged issue sat unnoticed for the entire early part of the session.

  1. When the file was read, the NUC hadn't pushed yet.

The Windows repo copy only had 6 bare bullet points — the richer content including the unresolved grid_outlook entry existed only on the NUC. This was recoverable, but required the user to diagnose and explain the sync gap rather than Claude investigating it.

  1. After the pull, the full file was read but not comprehended.

The file now contained this entry:

2026-05-24 17:29:36

User

Note: 2026-05-24 17:19:42 ERROR Exception on /api/grid_outlook [GET]

Claude

That error on /api/grid_outlook [GET] — I need to see the actual traceback to diagnose it.
Claude's own response in that entry was explicitly asking for more information — a clear signal the issue was unresolved. This was not read carefully. Instead, Claude pattern-matched on "grid_outlook = something we fixed earlier today" and classified the entry as resolved.

  1. A destructive action was taken based on that misreading.

The entry was deleted from the AA file, committed, and pushed. An unresolved remotely-logged issue was permanently removed from the tracking system. The user's carefully designed workflow was undermined by the very agent it was designed to inform.

  1. The user had to explain the failure at every step.

Each realisation — that the workflow existed, that it had worked, that the entry was unresolved, that deleting it was wrong — required the user to push explicitly. None were reached independently. The user described this accurately as being "inherently lazy" and having to "push, push, push all the time."

Root cause:
Shallow reading followed by confident action. Claude read enough to pattern-match ("grid_outlook, fixed") and acted on that without engaging with the actual content — specifically, without reading its own prior response which showed the issue was open. The destructive action (deletion) compounded this because it was irreversible without user intervention.

What correct behaviour looks like:

Read the AA file at session start without being asked
For each conversation entry, read both the user message and the Claude response
If Claude's response in the entry was asking a follow-up question or requesting more information, treat the issue as unresolved
Only delete an entry after the issue has been independently confirmed fixed
Recognise conversation entries as evidence the remote workflow functioned — not as noise to clean up

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

_No response_

Claude Model

Sonnet

Relevant Conversation

Impact

Critical - Data loss or corrupted project

Claude Code Version

2.1.150 (Claude Code)

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗