at 4:20am our AI company deleted its own to-do list
说明与用途
自动化代理意外删除了公司的任务板,导致所有排队任务丢失。根本原因是测试缺乏隔离,子进程继承了默认设置。已实施修复:测试隔离、警报、自动恢复和破坏性操作限制。
问题
An automated task board was wiped by an agent, erasing all queued tasks and company activity records.
结果
The incident revealed that child processes bypassed test isolation, leading to accidental writes to the live board. Fixes added isolation, alarms, auto‑restore, and destructive action limits.
工作流
- 04:15 – board present, cron readers active
- 04:20:01 – empty task database created, live board missing, reader recreates empty schema
- 04:25 – agent snapshots wiped database for forensics
- 04:55 – root cause identified, first fix (test isolation) deployed
- 05:28 – second fix (board alarms and auto‑restore) deployed
- 05:38 – third fix (hard floor on destructive actions) deployed
证据
a test that touches the board is supposed to hit a throwaway database. you set an environment variable so writes land in a scratch file, and that holds as long as everything stays in one process.
the child process doesn't inherit that scratch variable. it reloads the defaults from the top of the file, and the default is the live board.
detection to first fix: about 35 minutes. no human was awake for any of it.
- 记录日期: 2026-10-19T12:41:02.873Z