Summary
PR #561 adds the expected_outputs protocol to the bash tool and now covers:
- binary happy path
- failed-but-wrote
- unchanged suppression
- no-declaration backward compatibility
- indeterminate
before state not producing false positives
Two lower-priority coverage gaps were intentionally deferred to keep the fixup small:
- text file output recorded through text hash and BOM path
- relative-path resolution through
resolveExecutionPath / workdir
Why
These are non-blocking for the current correctness fix, but they should be locked by tests so the protocol remains stable for the common text-file case and for workdir-relative declarations.
Suggested checks
- Add a text-file
expected_outputs test that verifies turn-change records a normal text file through textHash() and preserves the expected display shape.
- Add a relative-path
expected_outputs test that uses workdir and confirms the runtime resolves and records the target path correctly.
Summary
PR #561 adds the
expected_outputsprotocol to the bash tool and now covers:beforestate not producing false positivesTwo lower-priority coverage gaps were intentionally deferred to keep the fixup small:
resolveExecutionPath/workdirWhy
These are non-blocking for the current correctness fix, but they should be locked by tests so the protocol remains stable for the common text-file case and for workdir-relative declarations.
Suggested checks
expected_outputstest that verifies turn-change records a normal text file throughtextHash()and preserves the expected display shape.expected_outputstest that usesworkdirand confirms the runtime resolves and records the target path correctly.