approve's outcome is chosen in bin/valley today: it branches on coverage, the record, and the build-here and command-check paths to pick which verdict to print. That is control logic in Bash, against the house rule that Bash is thin glue.
Move the choice into valley-go: approve passes the facts it has, and valley-go decides the outcome and renders it, so bin/valley only runs commands and passes their results along. Done when bin/valley holds no branching on approval outcomes.
Comments
contributor2026-11-06 02:04 UTC
Also review's carried() in bin/valley (from oc-d76a975): it branches on valley-go's carry answer. Fold it into the same move, so review's outcome is chosen in Go too.