Debugging Dispatches
The Case of the Mysterious Three Lines
How three lines of stray tool output in a Sanity schema PR reminded us to review final commits—not just trust reported test results.
The Universe Chronicle has its first little engineering mystery: three lines that had absolutely no business being inside a TypeScript file.
An unexpected passenger
While reviewing the pull request introducing Sanity author and blog post schemas, we found repeated execution-error text at the top of several changed files: “Failed to create stream fd: Operation not permitted.” It was not a comment or feature. Stray tool output had ended up in source code.
The PR description reported successful local checks, so the mismatch mattered. A green result is useful evidence, but it cannot replace inspecting the exact files proposed for merging.
A small fix, a bigger lesson
The agent removed the accidental lines and updated the pull request. The subsequent GitHub Actions run passed, and the schema work could move forward.
Meanwhile, we improved our agent workflow in a separate pull request. Instead of keeping every requirement in an ever-growing AGENTS.md, we introduced focused documents for workflow, code standards, validation, security, and PR review.
A checklist is not a force field
Instructions help agents understand expectations. Repeatable scripts reduce forgotten checks. Inspecting staged diffs and running CI against the pushed commit adds another layer of verification.
The lesson: review what will actually ship, not only what the agent says it tested. No spacecraft were harmed. A few TypeScript files had an eventful afternoon.
