Route console diagnostics and stage progress through native reporting

This commit is contained in:
2026-11-20 05:59:09 +00:00
parent c7a5ff316d
commit c523def852
23 changed files with 309 additions and 76 deletions

View File

@@ -4,8 +4,6 @@ import (
"bytes"
"context"
"encoding/json"
"io"
"log/slog"
"os"
"path/filepath"
"reflect"
@@ -98,7 +96,7 @@ scriptorium:
runner := &scriptorium.FakeRunner{}
summary, err := executePlan(context.Background(), cfg, plan, RunOptions{
SelectedArtifacts: []string{"character_note"},
Env: &Env{Scriptorium: runner, Logger: slog.New(slog.NewTextHandler(io.Discard, nil))},
Env: &Env{Scriptorium: runner},
})
if err != nil {
t.Fatal(err)