feat(runner): the summary says how many steps the generator drove

A green llm run carried no evidence of how much the generator actually
drove: the count was inferable only from llm-calls.jsonl outcomes, and
the number the refusal turns on was invisible in the run's own output.
This commit is contained in:
pj committed 2026-08-18 16:38:00 +05:30
1 parent 58168a6a3e
commit 6cac99cc32
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -574,7 +574,8 @@ func Run(ctx context.Context, options Options) (Summary, error) {
// record, and any unsupported verbs. The wall-clock duration is excluded so the
// output is deterministic and snapshot-testable; the CLI prints it separately.
func RenderSummary(w io.Writer, summary Summary, platform string) {
fmt.Fprintf(w, "\nrun complete: %d steps\n", summary.Steps)
fmt.Fprintf(w, "\nrun complete: %d steps, %d driven by the generator\n",
summary.Steps, summary.GeneratorActions)
if len(summary.Violations) == 0 {
fmt.Fprintln(w, "no violations.")
} else {