Remove historical inspection commands

This commit is contained in:
2026-08-01 19:58:11 +00:00
parent 7ffc3dc603
commit ece31567b8
14 changed files with 76 additions and 1058 deletions

View File

@@ -1,6 +1,7 @@
package state
import (
"encoding/json"
"testing"
"time"
@@ -36,3 +37,10 @@ func TestBuildPromptMetadataIncludesOnlyExistingArtifacts(t *testing.T) {
t.Fatalf("metadata includes paths for unreached artifacts: %#v", metadata)
}
}
func TestMetadataRejectsRetiredSchema(t *testing.T) {
var metadata Metadata
if err := json.Unmarshal([]byte(`{"schemaVersion":"weatherreporter.metadata.v1"}`), &metadata); err == nil {
t.Fatal("Unmarshal() error = nil, want retired schema rejection")
}
}