Leakdown

How a session ends and what the process returns.

Every session ends one of four ways, and a goal test turns those into an exit code.

Session endings

The ending decides whether a session counts as a drop-off.

EndingMeaningCounts as a drop-off
COMPLETEDReached the goal. With --expect, only if every value showed.No
ABANDONEDWalked out with a reason, or ran out of patience.Yes
GUARDRAILA safety rule refused an action and the prospect could not route around it.Yes
COULD NOT RUNOur side failed: unreachable URL, model stopped answering, setup error.No, counted apart

Exit codes

The process exit code is what CI and shell scripts read.

CodeWith --goalAnywhere
0Every session completed.Success.
1A session walked out or hit a guardrail.An error, e.g. --validate-flow found a problem.
2Nothing failed, but a session could not run.
130Ctrl-C out of a menu.
ci.sh
leakdown "$URL" --goal "sign up" --steps 15 --yes --headless
case $? in
  0) echo "signup works" ;;
  1) echo "signup failed for someone"; exit 1 ;;
  2) echo "could not run; retry" ;;
esac
Ask the docsalpha
Open full page ↗

This is alpha. It does not write answers — it finds the paragraph of the docs that answers you and shows it word for word, or tells you the docs do not cover it. It can still pick the wrong paragraph, so check the page it links to before you rely on it.

Ask a question about the Leakdown CLI.

Answers are copied from the docs, never written. Type /help for commands.