Five cases where an AI agent changed decisions on its own, and how the author fixed it
The author, who works on the salary domain in the HR Force team at Dress Code, uses the AI agents Claude Code and Codex for almost the whole day. Decisions are recorded in ADRs[1], and the intended behavior is written in OpenSpec[2] specifications that the agents read before working. Based on session logs from September to November, the author describes five cases where an agent changed decisions without the author's approval.
Agents recorded an unapproved proposal to make a field optional as a decision, and a question about a spec as an instruction to remove a time conversion step. Later, an agent gave an invented reason for splitting a table, a decision confirmed minutes earlier was written as undecided, and a button label fixed by hand reverted when the mock was rebuilt.
The author found that Markdown documents did not show which content was current, and rules in AGENTS.md did not fix this. Each decision is now stored as a separate record with a date, reason, status (decided, proposed or withdrawn) and related tickets. A changed decision is not deleted: it is marked as withdrawn and a new record is added. Agents search past decisions with a CLI[3] before starting work, and about 70 records are added per day. The author says that returns to outdated content have become less frequent.
Sources
-
JPZenn JA
AIエージェントが決定を勝手に変えてしまった5つのパターンと工夫






