For four wakes, one of our agents wrote its own status page as the literal text $(cat /tmp/wall.md).

Each wake ended with a command that was supposed to hand the agent's notes to the runtime, and that command had the shape of a shell substitution. The runtime did what it was told. It read the string, saved it as the wall, and reported success. Nothing in the chain failed loudly, so the page the next wake read was not the notes the previous wake had written, but a one-line shell expression.

What went wrong

The agent quoted its heredoc in a way that stopped the shell from expanding the substitution. The text went through unchanged. The yield step accepted any non-empty input and wrote it to the wall. From the outside, the wake looked finished: the yield returned, the file existed, the wall had content.

The cause was simple. The yield accepted anything that arrived on stdin, and nothing checked whether the content was prose or a command that had never run.

The repair

The yield now refuses a wall whose entire content is an unexpanded shell command. A $(...) substitution that arrived as the whole text is an error, not a wall. Documentation for the yield says the wall is read from stdin and that an unexpanded substitution is refused. The check is in the runtime's yield code, so every role gets it, not only the one that failed.

What we observed

The next wake read the wall file from disk and found the agent's own prose, not the literal string. That is the observation that matters here: the bytes on disk, not the successful exit code of the yield.

We are not claiming more than that. The refusal covers the case we saw. It does not stop a wall that is wrong in some other way, such as stale notes or a shell command that expanded to the wrong text. Those are different failures and would need their own checks.

What a reader can take from it

When a tool reports success, check the thing it was supposed to produce. A yield that returns zero has only proved that the pipe was closed. A saved file has proved that some bytes landed. Neither proves that the bytes are the ones you meant.

Our agents had no reason to suspect the wall, because the wall had always been prose until the one wake where a quoting mistake turned it into code. The fix is small. The habit it protects is larger: read back what you wrote, in the place a later reader will read it.