Versions in this module Expand all Collapse all v0 v0.11.0 Aug 25, 2026 Changes in this version + const RegistryVersion + const ReviewStatusPendingReview + const ReviewStatusReviewed + const ThreadstoreBoundaryManifestVersion + func LoadReviewedThreadstorePhysicalSchema(path string) (map[string][]string, map[string]string, map[string]string, error) + func Validate(registry Registry, findings []Finding) []string + func ValidateThreadstoreBoundaryManifest(manifest ThreadstoreBoundaryManifest, schemaColumns map[string][]string, ...) []string + func WriteRegistry(path string, registry Registry) error + func WriteThreadstoreBoundaryManifest(path string, manifest ThreadstoreBoundaryManifest) error + type Finding struct + Codecs []string + DTOs []string + Keys []string + Path string + SHA256 string + SinkKinds []string + Tables []string + func Scan(root string) ([]Finding, error) + type Registry struct + Entries []RegistryEntry + Version int + func LoadRegistry(path string) (Registry, error) + func RefreshRegistry(existing Registry, findings []Finding) Registry + type RegistryEntry struct + Authority string + Codecs []string + DTOs []string + DataClasses []string + Keys []string + Owner string + Path string + ReviewNote string + ReviewStatus string + SHA256 string + SinkKinds []string + Tables []string + func NewReviewedEntry(finding Finding) RegistryEntry + type ThreadstoreBoundaryManifest struct + Queries []ThreadstoreQueryContract + Tables []ThreadstoreTableContract + Version int + func LoadThreadstoreBoundaryManifest(path string) (ThreadstoreBoundaryManifest, error) + func RefreshThreadstorePhysicalContracts(manifest ThreadstoreBoundaryManifest, columns map[string][]string, ...) (ThreadstoreBoundaryManifest, error) + func RefreshThreadstoreQueries(existing ThreadstoreBoundaryManifest, scanned []ThreadstoreQueryContract) ThreadstoreBoundaryManifest + func RefreshThreadstoreUsageContracts(manifest ThreadstoreBoundaryManifest) ThreadstoreBoundaryManifest + type ThreadstoreIndexUse struct + AllowedQueryIDs []string + IntegrityOnly bool + Name string + Purpose string + type ThreadstoreQueryContract struct + Action string + BuilderSHA256 string + Consumer string + ConsumerKind string + DynamicReview string + Function string + ID string + LookupKeys []string + Method string + Path string + ReadColumns []string + RenderedSQLExpr string + SQLSHA256 string + Tables []string + WriteColumns []string + func ScanThreadstoreSQL(root string) ([]ThreadstoreQueryContract, error) + type ThreadstoreTableContract struct + APIUIVisibility string + AllowedLookupKeys []string + AllowedPurpose string + Authority string + CanonicalIdentity string + Columns []string + Consumers []string + DataClass string + IndexUses []ThreadstoreIndexUse + Indexes []string + LifecycleProhibition string + Owner string + Phase1CDecision string + RetentionOrDeletion string + Table string + TriggerUses []ThreadstoreTriggerUse + Triggers []string + type ThreadstoreTriggerUse struct + AllowedQueryIDs []string + Name string + Purpose string