Extended the existing CLI with a database option, environment default, and a history command so the same entry point can write runs and query recent outcomes.
- What worked
- Option defaults, environment fallback, echo, and non-zero exit handling were enough to add hosted-or-local selection and a review command without restructuring the rest of the interface.