Show your agent what the command produced.

Run your application’s own commands and keep their output for comparison. An exit code tells you the command finished; its result tells you what happened.

Bash · fulfillment workerIllustrative example
fulfill-order.mdLocalBash
worker.bash
command="./bin/fulfill order-1042"

Your application command. Its result becomes a snapshot.

Beforeexit 0
stdout.txt order: 1042 status: dispatched tracking_number:
TRK-1042
stderr.txtempty
Afterexit 0
stdout.txt order: 1042 status: dispatched
tracking_numberMissing from output
stderr.txtempty
State and evidence changed
Exit code
0 → 0
Standard output
Changed

Both commands succeeded. The saved output differs.

Agent’s review note

“The worker still reports ‘dispatched’, but no longer returns a tracking number. Can the shipment notification still include a tracking link?”

Evidence: before + after / stdout.txt

Keep the output with the run.

Use Bash for a worker, a build or a test command your team already runs. Reflow retains stdout, stderr and the exit code, with selected output files when you need them.

  • Stdout and stderr
  • Exit code
  • Selected output files

Inspect the difference after the process has finished.

Compare the retained command results and captured files from two runs. Your agent can inspect an output change even when both commands exited successfully.

A fulfillment worker still reports success, but the tracking number has disappeared from its output. Your agent can relate that difference to the customer’s delivery updates and flag it in the PR review.

Bring the evidence into PR review

Your existing test command, in a flow

Point the private LocalBash connection at your application’s working directory. The example uses the application’s fulfillment command; replace it with the command you want to exercise.

Your agent can inspect the installed plugin’s commands and write the flow using your application knowledge. Select the plugin version in the flow’s requirements.

Flow excerptLocalBash
---
providers:
  worker: LocalBash
---

worker.bash command="./bin/fulfill order-1042"

Plugin requirements and private connection settings are configured separately.

Check the rest
of the application.