Expand description
The shared framed-verdict spine: the SUCCESS/ERROR outcome every tool
emits, its 0/1 exit-status mapping, and the Expectation that turns a
search’s match count into a Verdict.
Both binaries reduce to the same shape — frame a question, run a probe,
classify the result, emit a templated verdict — and this module carries the
pieces of that shape that are not specific to what the probe is. ct-test
classifies a command’s streams into a Verdict; ct-search classifies its
match count through an Expectation into the same Verdict; both map it
to an exit status the same way.