Close out the repository audit

This commit is contained in:
2026-08-13 13:52:16 +00:00
parent 13b06039b1
commit fc8ddada9a
29 changed files with 421 additions and 263 deletions

View File

@@ -4,6 +4,7 @@ package promptdebug
import (
"encoding/json"
"errors"
"fmt"
"net/url"
"path/filepath"
@@ -14,6 +15,11 @@ import (
"gitea.maximumdirect.net/eric/weatherreporter/internal/report"
)
// ErrSecureCaptureUnsupported reports that the host cannot provide the
// handle-relative, no-follow filesystem operations required for prompt debug
// artifacts.
var ErrSecureCaptureUnsupported = errors.New("secure prompt debug capture is unavailable on this platform")
const (
promptPreparationDebugSchemaVersion = "weatherreporter.prompt_preparation_debug.v2"
promptExecutionDebugSchemaVersion = "weatherreporter.prompt_execution_debug.v2"