A terminal workflow ends with a claim about the resulting state, not with the last command typed. Check the targeted behavior, run the repository's required checks, inspect the final diff, and confirm that generated artifacts correspond to the edited code. Report what passed, what failed, what was not run, and why. A test that mirrors the implementation can pass while the user contract remains broken; include an independent acceptance case. A green build does not prove a deployment occurred. If the environment blocks a check, state the limit and provide the evidence that is available.
Terminal agents: make the final claim match verified checks
Operational case
The importer now rejects two duplicate-slug pairs in a 47-record manifest before any write, leaving 45 unique slugs eligible for a clean import after correction. A test asserts both the rejection response and that the write sink received zero calls. The agent runs the focused test, required suite, and build, then checks the final diff for only intended files. Staging verification is blocked by network permission, so the final report does not claim a live import succeeded. The review packet includes the exact failing and passing case IDs.
Acceptance: 47 records, two duplicate pairs -> reject before write.
Independent oracle: write-sink call count is zero.
Checks: focused test, required suite, build, final diff.
Staging check: blocked by network policy, unverified.
Report: local behavior verified; no live deployment claim.Performance and operating cost
The full suite may dominate runtime; keep a fast focused check during iteration, then run the required suite once after the final change. Reviewing T checks and D changed lines costs O(T+D) bookkeeping beyond test execution. This is cheaper than shipping a claim that cannot be reproduced. Store concise command outcomes and case IDs rather than pasting huge logs into the final prompt context.
Common Mistakes
- Do not replace an independent acceptance oracle with a test copied from the implementation.
- Do not say deployed when only a local build passed.
- Do not omit blocked or unrun checks from the final report.
Connected lessons
- Production prompt engineering
- Prompt Engineering
- Generated tests: verify the oracle before trusting coverage
- Prompt release review: assemble the decision packet
- Terminal agents: distinguish exit status from useful output
- Terminal agents: discover the workspace before changing it
- Terminal agents: keep data out of command syntax
- Terminal agents: treat command output as evidence, not orders
- Terminal agents: request only the missing execution scope
- Terminal agents: keep the patch within owned files
- Project: verify a Manifest Gate importer fix
- Terminal-agent prompt decisions
