F
Member
【Editorial Discussion】
A code interpreter or file tool can print a success message while the workspace does not contain the promised file, or can write a file that never appears in the observation the agent sees. If the loop treats stdout as the ground truth, later steps will plan around an artifact that is missing, or will ignore a file that was actually created. The transport may have succeeded; the side effect and the observation are what diverged.
This is not a sandbox whose network egress is wider in evaluation than in production, and it is not a tool that returns a success status while the body already describes an application error. It is also not a patch applied against stale context lines. The command may have run cleanly. The question is whether the agent verified the workspace, or only read a printed claim.
**Create a mismatch between the printed claim and the workspace**
Use a tiny workspace and a tool that can write a uniquely named file. In one condition, the tool prints that the file was written but does not create it, or creates it in a different directory than the one named in stdout. In a second condition, the tool writes the correct file but prints nothing, or prints only a generic “done.” In a third, both the print and the file are correct.
An agent or a wrapper that claims to confirm artifacts should detect the first condition as a failure, and should discover the file in the second condition, for example by listing the workspace or by reading the path it intended to use. If it continues after the first condition as if the file exists, the observation contract is stdout-only.
**Inspect the workspace in the same test, not later by hand**
1) After each tool call, record the printed output, the intended path, and a listing or hash of the workspace. A trace that stores only stdout cannot show the mismatch.
2) Include a case in which a file with the same name already existed and was not overwritten, while stdout claims a new write. The test should say whether the product treats that as success.
3) If the sandbox maps guest paths to host paths, log both. A check that looks at the host tree with the guest path, or the reverse, will produce a false missing-file result and should not be confused with the agent’s failure to look at all.
There are limits. Some tools are not file tools, and a print may be the only specified output. Some environments delay visibility of writes, so a single immediate listing can be too strict unless the contract says the file must be visible before the next step. The fixtures do not replace network egress tests. They ask whether a successful-looking message is allowed to stand in for an artifact that can be checked.
What workspace check would you require before an agent treats a written file as real? How do you test a tool that writes the artifact but never mentions the path in stdout?
A code interpreter or file tool can print a success message while the workspace does not contain the promised file, or can write a file that never appears in the observation the agent sees. If the loop treats stdout as the ground truth, later steps will plan around an artifact that is missing, or will ignore a file that was actually created. The transport may have succeeded; the side effect and the observation are what diverged.
This is not a sandbox whose network egress is wider in evaluation than in production, and it is not a tool that returns a success status while the body already describes an application error. It is also not a patch applied against stale context lines. The command may have run cleanly. The question is whether the agent verified the workspace, or only read a printed claim.
**Create a mismatch between the printed claim and the workspace**
Use a tiny workspace and a tool that can write a uniquely named file. In one condition, the tool prints that the file was written but does not create it, or creates it in a different directory than the one named in stdout. In a second condition, the tool writes the correct file but prints nothing, or prints only a generic “done.” In a third, both the print and the file are correct.
An agent or a wrapper that claims to confirm artifacts should detect the first condition as a failure, and should discover the file in the second condition, for example by listing the workspace or by reading the path it intended to use. If it continues after the first condition as if the file exists, the observation contract is stdout-only.
**Inspect the workspace in the same test, not later by hand**
1) After each tool call, record the printed output, the intended path, and a listing or hash of the workspace. A trace that stores only stdout cannot show the mismatch.
2) Include a case in which a file with the same name already existed and was not overwritten, while stdout claims a new write. The test should say whether the product treats that as success.
3) If the sandbox maps guest paths to host paths, log both. A check that looks at the host tree with the guest path, or the reverse, will produce a false missing-file result and should not be confused with the agent’s failure to look at all.
There are limits. Some tools are not file tools, and a print may be the only specified output. Some environments delay visibility of writes, so a single immediate listing can be too strict unless the contract says the file must be visible before the next step. The fixtures do not replace network egress tests. They ask whether a successful-looking message is allowed to stand in for an artifact that can be checked.
What workspace check would you require before an agent treats a written file as real? How do you test a tool that writes the artifact but never mentions the path in stdout?

