Files
graphify/graphify
Allionix ddc24c76d8 fix(cli): give lookups distinct exit codes for ambiguous and missing names
explain and query exited 0 when no node matched, the same status as an
answer, and path exited 1 for an ambiguous endpoint, a missing one and a
missing graph file alike. A script or an agent could not tell a refusal
from an answer without parsing the text.

explain, path and query now exit 3 when a name is ambiguous (the
candidates are listed) and 4 when no node matches. Messages and output
streams are unchanged; "no path found" between two existing nodes is
still an answer. The codes are documented in --help and the README.

Co-Authored-By: Claude <noreply@anthropic.com>
(cherry picked from commit 13dc2400e1)
2026-10-11 20:49:42 +01:00
..
…
…
…
…