Documentation
¶
Overview ¶
Package disambiguation defines the canonical machine-readable record shared by fak's terminology index generator and readers.
EntrySchemaVersion is the wire contract. Version 1 is intentionally pinned: readers reject unknown versions, unknown JSON fields, trailing JSON values, and incomplete required groups. Any field addition, rename, removal, or type change therefore needs a new schema version instead of being interpreted as v1. Empty aliases are represented by [] rather than by an absent or null field.
The package owns the record, parser, validation, hermetic selfchecks, coverage, and incidental local-token classification contracts. It performs no filesystem or network writes, so the generator remains the single writer of the derived disambiguation index.
Index ¶
- Constants
- Variables
- func AdmitOwnership(entries []Entry, manifests PublicManifests) error
- func Explain(result QueryResponse) string
- func FindRepositoryRoot(start string) (string, error)
- func GenerateIndex(entries []Entry) ([]byte, error)
- func GeneratePublicIndex() ([]byte, error)
- func SelfTest() error
- func SumMetrics(counts []MetricsCount) int
- func ValidateClaimTermFixture(f ClaimTermFixture) error
- func ValidateVocabulary(terms []VocabularyTerm) error
- func ValidationCode(err error) string
- type ActivationMode
- type CLISourceReport
- type CLITerm
- type CLITermKind
- type CacheSourceResolution
- type CacheSourceSelfTestReport
- type ChangeKind
- type ClaimTermFixture
- type ClaimsSourceSelfTestReport
- type CommittedFreshnessReport
- type CommittedFreshnessVerdict
- type CompatibilityImpact
- type Contrast
- type CoverageFinding
- type CoverageReport
- type CoverageSelfCheckReport
- type DiffReport
- type DispatchIdentity
- type DispatchIdentityInput
- type DocPage
- type Entry
- type FleetSourceResolution
- type FleetSourceSelfTestReport
- type Freshness
- type FreshnessProbe
- type FreshnessReasonDescriptor
- type FreshnessSelfCheckCase
- type FreshnessSelfCheckReport
- type FreshnessVerdict
- type GeneratedIndex
- type GoCandidateKind
- type GoSourceCandidate
- type GoSourceInventory
- type GoSourceSelfTestReport
- type Identity
- type IncidentalTerm
- type Index
- type IndexChange
- type IndexVersion
- type IssueSuggestion
- type IssueSuggestionSelfTestReport
- type LadderKind
- type Lifecycle
- type LifecycleClass
- type LifecycleLadderResolution
- type LifecycleSourceSelfTestReport
- type MetricsCount
- type MetricsReport
- type MigrationRecord
- type MigrationReport
- type MigrationSelfTestReport
- type Owner
- type OwnershipBinding
- type OwnershipFixture
- type OwnershipMismatchError
- type OwnershipMismatchKind
- type OwnershipSelfCheckReport
- type OwnershipSourceSelfTestReport
- type PolicySourceResolution
- type PolicySourceSelfTestReport
- type ProvenanceSelfCheckReport
- type PublicManifests
- type PublicReference
- type PublicTerminologySurface
- type QueryResponse
- func Query(canonicalTerm string) (QueryResponse, error)
- func QueryScoped(canonicalTerm string, scope Scope) (QueryResponse, error)
- func Resolve(term string) (QueryResponse, error)
- func ResolveLadderSpelling(kind LadderKind, spelling string) (QueryResponse, error)
- func ResolveScoped(term string, scope Scope) (QueryResponse, error)
- type QuerySelfTestReport
- type ReasonSourceSelfTestReport
- type ReverseLocatorKind
- type ReverseLookupResponse
- type ReverseMatch
- type ReverseSelfTestCase
- type ReverseSelfTestReport
- type RuntimeSourceResolution
- type RuntimeSourceSelfTestReport
- type SchemaDescriptor
- type Scope
- type SearchGroups
- type SearchMatch
- type SearchResponse
- type SearchVerdict
- type SelfTestReport
- type SessionSourceResolution
- type SessionSourceSelfTestReport
- type SourceWitness
- type StaleSymbolsSelfCheckReport
- type TermClassification
- type ValidationError
- type VocabularyKind
- type VocabularyTerm
Constants ¶
const ( // ClassificationIncidental marks a local exported implementation token as // coverage-accounted without admitting it as a canonical glossary identity. ClassificationIncidental = "incidental" // ClassificationReasonLocalImplementation is the stable reason code for an // exported Go identifier that is implementation vocabulary rather than a // public concept agents should query. ClassificationReasonLocalImplementation = "LOCAL_IMPLEMENTATION_TOKEN" )
const ( CoverageReasonMissingClassification = "MISSING_TERM_CLASSIFICATION" CoverageClassCanonical = "canonical" CoverageClassIncidental = "incidental" )
const ( FreshnessReasonSourceCurrent = "SOURCE_CURRENT" FreshnessReasonSourceOutdated = "SOURCE_OUTDATED" FreshnessReasonEvidenceMalformed = "EVIDENCE_MALFORMED" )
Stable freshness reason codes. These values are part of the public JSON contract; callers should branch on them rather than human-readable text.
const ( SourceKindDocument = "document" SourceKindGoSource = "go-source" SourceKindTest = "test" SourceKindGeneratedIndex = "generated-index" SourceKindGitHubMetadata = "github-metadata" ErrProvenanceSourceKind = "DISAMBIGUATION_PROVENANCE_SOURCE_KIND_UNVERIFIABLE" ErrProvenanceLocatorAbsolute = "DISAMBIGUATION_PROVENANCE_LOCATOR_ABSOLUTE" ErrProvenanceLocatorEscape = "DISAMBIGUATION_PROVENANCE_LOCATOR_ESCAPE" ErrProvenanceLocatorInvalid = "DISAMBIGUATION_PROVENANCE_LOCATOR_INVALID" ErrProvenanceRevisionInvalid = "DISAMBIGUATION_PROVENANCE_REVISION_INVALID" ErrProvenanceCheckedAtInvalid = "DISAMBIGUATION_PROVENANCE_CHECKED_AT_INVALID" ErrProvenanceProbeInvalid = "DISAMBIGUATION_PROVENANCE_PROBE_IDENTITY_INVALID" ErrProvenanceReferenceInvalid = "DISAMBIGUATION_PROVENANCE_REFERENCE_INVALID" )
Public source kinds are intentionally closed: each kind denotes material that can be independently read from the public fak repository checkout.
const ( ErrPublicSafetyLocalPath = "DISAMBIGUATION_PUBLIC_SAFETY_LOCAL_PATH" ErrPublicSafetyCredential = "DISAMBIGUATION_PUBLIC_SAFETY_CREDENTIAL" ErrPublicSafetyPrivateRepo = "DISAMBIGUATION_PUBLIC_SAFETY_PRIVATE_REPOSITORY" ErrPublicSafetyPrivateHost = "DISAMBIGUATION_PUBLIC_SAFETY_PRIVATE_HOST" ErrPublicSafetyControlText = "DISAMBIGUATION_PUBLIC_SAFETY_CONTROL_TEXT" )
const ( ReferenceKindGoSymbol = "go-symbol" ReferenceKindCLIVerb = "cli-verb" ReferenceKindReasonCode = "reason-code" ReferenceKindDocAnchor = "doc-anchor" FreshnessReasonPublicSymbolMissing = "PUBLIC_SYMBOL_MISSING" FreshnessReasonCLIVerbMissing = "CLI_VERB_MISSING" FreshnessReasonReasonCodeMissing = "REASON_CODE_MISSING" FreshnessReasonDocAnchorMissing = "DOCUMENT_ANCHOR_MISSING" )
Public reference kinds identify repository-visible contracts that can become stale independently of the file carrying them.
const CLISourceSchemaVersion = "fak-disambiguation-cli-source/1"
CLISourceSchemaVersion identifies terminology derived from fak's public help.
const CacheSourceSelfTestSchemaVersion = "fak-disambiguation-cache-source-self-test/1"
const ClaimsSourceSelfTestSchemaVersion = "fak-disambiguation-claims-source-self-test/1"
const ClassificationSchemaVersion = "fak-disambiguation-classification/1"
const CoverageSchemaVersion = "fak-disambiguation-coverage/1"
const DiffSchemaVersion = "fak-disambiguation-diff/1"
const EntrySchemaVersion = "fak-disambiguation-entry/1"
EntrySchemaVersion is the only entry schema this package understands.
Version 1 is fail-closed: ParseEntry rejects a different schema value instead of guessing that a future or historical record has the current meaning.
const FleetSourceSelfTestSchemaVersion = "fak-disambiguation-fleet-source-self-test/1"
const GeneratedDocsSchemaVersion = "fak-disambiguation-docs/1"
const GeneratedIndexSchemaVersion = "fak-disambiguation-index/1"
const GoSourceSelfTestSchemaVersion = "fak-disambiguation-go-source-self-test/1"
const IndexVersionSchema = "fak-disambiguation-index-version/1"
const IssueSuggestionSchemaVersion = "fak-disambiguation-issue-suggestion/1"
const LifecycleSourceSelfTestSchemaVersion = "fak-disambiguation-lifecycle-source-self-test/1"
const MetricsSchemaVersion = "fak-disambiguation-metrics/1"
const MigrationSchemaVersion = "fak-disambiguation-migration/1"
const OwnershipSourceSelfTestSchemaVersion = "fak-disambiguation-ownership-source-self-test/1"
const PolicySourceSelfTestSchemaVersion = "fak-disambiguation-policy-source-self-test/1"
const PublicIndexVersion = "public-seed/1"
PublicIndexVersion identifies the immutable public seed set used by this reader. The later generator may replace the seed while retaining this read contract.
const QuerySchemaVersion = "fak-disambiguation-query/1"
QuerySchemaVersion identifies the canonical-identity query response contract.
const ReasonSourceSelfTestSchemaVersion = "fak-disambiguation-reason-source-self-test/1"
const ReverseLookupSchemaVersion = "fak-disambiguation-reverse/1"
ReverseLookupSchemaVersion identifies the locator-to-canonical-identity contract.
const RuntimeSourceSelfTestSchemaVersion = "fak-disambiguation-runtime-source-self-test/1"
const SearchSchemaVersion = "fak-disambiguation-search/1"
SearchSchemaVersion identifies the ranked terminology-search response contract.
const SessionSourceSelfTestSchemaVersion = "fak-disambiguation-session-source-self-test/1"
Variables ¶
var ( ErrReverseKindInvalid = errors.New("invalid reverse locator kind") ErrReverseNotFound = errors.New("reverse locator not found") )
var ErrCanonicalTermNotFound = errors.New("canonical term not found")
ErrCanonicalTermNotFound reports that an exact canonical-term lookup missed.
var ErrClaimBaselineMissing = errors.New("claim baseline missing")
var ErrClaimProvenanceMissing = errors.New("claim provenance missing")
var ErrClaimScopeMissing = errors.New("claim scope missing")
var ErrDispatchIdentityMissing = errors.New("dispatch identity missing from structured fields")
var ErrIssueSuggestionIncomplete = errors.New("incomplete issue suggestion candidate")
var ErrIssueSuggestionUnsafe = errors.New("unsafe issue suggestion candidate")
var ErrLadderSpelling = errors.New("incompatible ladder spelling")
var ErrMigrationRecordInvalid = errors.New("migration record invalid")
var ErrScopeRequired = errors.New("scope required for overloaded term")
ErrScopeRequired reports that a token has multiple scoped owners and cannot be resolved safely without an exact scope qualifier.
var ErrSilentRemoval = errors.New("silent identity removal")
var ErrVocabularyCollision = errors.New("incompatible vocabulary collision")
Functions ¶
func AdmitOwnership ¶
func AdmitOwnership(entries []Entry, manifests PublicManifests) error
AdmitOwnership rejects entries that cannot be routed through both public registries. It is called by generation before any output is written.
func Explain ¶
func Explain(result QueryResponse) string
Explain renders one resolved entry for a human while QueryResult remains the stable machine contract.
func FindRepositoryRoot ¶
FindRepositoryRoot finds the public repository manifests without consulting private configuration or environment-specific state.
func GenerateIndex ¶
func GeneratePublicIndex ¶
func SelfTest ¶
func SelfTest() error
SelfTest is the compact compatibility seam used by package tests and callers. Detailed omission evidence is available from RunSelfTest.
func SumMetrics ¶
func SumMetrics(counts []MetricsCount) int
func ValidateClaimTermFixture ¶
func ValidateClaimTermFixture(f ClaimTermFixture) error
func ValidateVocabulary ¶
func ValidateVocabulary(terms []VocabularyTerm) error
ValidateVocabulary rejects an overloaded code unless every declaration names the same kind and canonical meaning. Package and symbol may differ: that is a declared cross-package alias, not a semantic collision.
func ValidationCode ¶
ValidationCode extracts a stable code without parsing an error string.
Types ¶
type ActivationMode ¶
type ActivationMode string
ActivationMode is the normalized activation posture carried with an entry.
const ( RolloutOff ActivationMode = "off" RolloutShadow ActivationMode = "shadow" RolloutOn ActivationMode = "on" )
type CLISourceReport ¶
type CLISourceReport struct {
Schema string `json:"schema"`
Terms []CLITerm `json:"terms"`
Stale []CLITerm `json:"stale"`
}
CLISourceReport is a read-only projection of the public help source. Stale contains prior terms no longer emitted by that source.
func IndexCLISource ¶
func IndexCLISource(help string, prior []CLITerm) CLISourceReport
IndexCLISource derives terminology from fak usage synopsis lines and compares it with an optional prior snapshot. It never writes the canonical index.
type CLITerm ¶
type CLITerm struct {
Term string `json:"term"`
Kind CLITermKind `json:"kind"`
Invocation string `json:"invocation"`
}
CLITerm is one command, subcommand, or long flag discovered from a public usage synopsis. Invocation preserves the command context for overloaded flags.
type CLITermKind ¶
type CLITermKind string
CLITermKind names the CLI namespace that owns a discovered term.
const ( CLITermCommand CLITermKind = "command" CLITermSubcommand CLITermKind = "subcommand" CLITermFlag CLITermKind = "flag" )
type CacheSourceResolution ¶
type CacheSourceResolution struct {
Input string `json:"input"`
CanonicalTerm string `json:"canonical_term"`
OwnerLeaf string `json:"owner_leaf"`
Scope string `json:"scope"`
SourcePath string `json:"source_path"`
ContrastCount int `json:"contrast_count"`
}
CacheSourceResolution captures the four axes that distinguish one cache.
type CacheSourceSelfTestReport ¶
type CacheSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Resolutions []CacheSourceResolution `json:"resolutions"`
Pairwise bool `json:"pairwise_contrasts_complete"`
}
CacheSourceSelfTestReport proves all four cache concepts resolve through the public index and carry complete pairwise distinctions.
func RunCacheSourceSelfTest ¶
func RunCacheSourceSelfTest() (CacheSourceSelfTestReport, error)
RunCacheSourceSelfTest resolves four overloaded cache names and verifies each record contrasts with every sibling using public provenance.
type ChangeKind ¶
type ChangeKind string
const ( ChangeAdditive ChangeKind = "additive" ChangeAliasMove ChangeKind = "alias-move" ChangeSemantic ChangeKind = "semantic-change" ChangeContrast ChangeKind = "contrast-change" ChangeOwnerMove ChangeKind = "owner-move" ChangeStaleTransition ChangeKind = "stale-transition" ChangeRemoval ChangeKind = "removal" )
type ClaimTermFixture ¶
type ClaimsSourceSelfTestReport ¶
type ClaimsSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
CanonicalTerms []string `json:"canonical_terms"`
MissingBaselineRejected bool `json:"missing_baseline_rejected"`
MissingProvenanceRejected bool `json:"missing_provenance_rejected"`
MissingScopeRejected bool `json:"missing_scope_rejected"`
}
func RunClaimsSourceSelfTest ¶
func RunClaimsSourceSelfTest() (ClaimsSourceSelfTestReport, error)
type CommittedFreshnessReport ¶
type CommittedFreshnessReport struct {
Schema string `json:"schema"`
Verdict CommittedFreshnessVerdict `json:"verdict"`
CommittedClean bool `json:"committed_clean"`
OverlayDrift bool `json:"overlay_drift"`
ProbeAvailable bool `json:"probe_available"`
Reason string `json:"reason,omitempty"`
}
func EvaluateCommittedFreshness ¶
func EvaluateCommittedFreshness(committed, overlay []byte, probeErr error) CommittedFreshnessReport
type CommittedFreshnessVerdict ¶
type CommittedFreshnessVerdict string
const ( CommittedFreshnessClean CommittedFreshnessVerdict = "committed-clean" CommittedFreshnessOverlayDrift CommittedFreshnessVerdict = "own-overlay-drift" )
type CompatibilityImpact ¶
type CompatibilityImpact string
const ( ImpactCompatible CompatibilityImpact = "compatible" ImpactReview CompatibilityImpact = "review" ImpactBreaking CompatibilityImpact = "breaking" )
type Contrast ¶
type Contrast struct {
CanonicalTerm string `json:"canonical_term"`
Explanation string `json:"explanation"`
RequiredPair *bool `json:"required_pair"`
ForbiddenConflation *bool `json:"forbidden_conflation"`
}
Contrast names one concept this entry must not be conflated with and explains the distinction. Cross-entry existence and symmetry checks belong to the index validator; this record validator guarantees the pair is expressible.
type CoverageFinding ¶
type CoverageReport ¶
type CoverageReport struct {
SchemaVersion string `json:"schema_version"`
Surfaces []PublicTerminologySurface `json:"surfaces"`
Findings []CoverageFinding `json:"findings"`
Classifications []TermClassification `json:"classifications"`
Candidates int `json:"candidates"`
Canonical int `json:"canonical"`
Incidental int `json:"incidental"`
OK bool `json:"ok"`
}
func InventoryCoverage ¶
func InventoryCoverage(root fs.FS, surfaces []PublicTerminologySurface, index *Index, incidental []IncidentalTerm) (CoverageReport, error)
InventoryCoverage checks only explicitly declared public surfaces. Go packages are parsed from the supplied public repository filesystem; no network or private input is used.
type CoverageSelfCheckReport ¶
type CoverageSelfCheckReport struct {
SchemaVersion string `json:"schema_version"`
ClassificationSchema string `json:"classification_schema"`
DetectedReason string `json:"detected_reason"`
Classification string `json:"classification"`
ClassificationReason string `json:"classification_reason"`
Detected bool `json:"detected"`
Covered bool `json:"covered"`
AbsentFromQuery bool `json:"absent_from_query"`
Cleared bool `json:"cleared"`
Passed bool `json:"passed"`
}
func CoverageSelfCheck ¶
func CoverageSelfCheck() CoverageSelfCheckReport
type DiffReport ¶
type DiffReport struct {
Schema string `json:"schema"`
Changes []IndexChange `json:"changes"`
}
func DiffIndexes ¶
func DiffIndexes(before, after []Entry) DiffReport
type DispatchIdentity ¶
type DispatchIdentity struct {
WorkerID string `json:"worker_id"`
Issue string `json:"issue"`
Lane string `json:"lane"`
LeaseID string `json:"lease_id"`
}
DispatchIdentity is derived exclusively from structured fields.
func ResolveDispatchIdentity ¶
func ResolveDispatchIdentity(input DispatchIdentityInput) (DispatchIdentity, error)
ResolveDispatchIdentity refuses to mine identity from narration. Narration is retained for display/forensics by callers but carries zero identity authority.
type DispatchIdentityInput ¶
type DispatchIdentityInput struct {
WorkerID string `json:"worker_id"`
Issue string `json:"issue"`
Lane string `json:"lane"`
LeaseID string `json:"lease_id"`
Narration string `json:"narration"`
}
DispatchIdentityInput separates authoritative dispatch fields from worker-authored narration.
type DocPage ¶
DocPage is one deterministic documentation artifact rendered from the canonical terminology index.
func RenderDocs ¶
RenderDocs renders canonical-term pages without introducing a second source of terminology truth.
func RenderPublicDocs ¶
RenderPublicDocs renders the human-readable projection of the same records used by GeneratePublicIndex and the query commands.
type Entry ¶
type Entry struct {
Schema string `json:"schema"`
Identity Identity `json:"identity"`
Definition string `json:"definition"`
Contrasts []Contrast `json:"contrasts"`
Scope Scope `json:"scope"`
Owner Owner `json:"owner"`
Sources []SourceWitness `json:"sources"`
Freshness Freshness `json:"freshness"`
Lifecycle Lifecycle `json:"lifecycle"`
}
Entry is one canonical distinction in fak's disambiguation index.
The groups are values rather than open maps so producers and consumers share one shape. ParseEntry is the persisted-wire admission seam; programmatically constructed entries use Validate before entering a generated index.
func DecodeGeneratedIndex ¶
func ParseEntry ¶
ParseEntry decodes exactly one v1 JSON record. It rejects unknown fields at every nesting level, trailing documents, unknown schema versions, and entries that fail Validate.
func ProbePublicReferences ¶
ProbePublicReferences re-evaluates an entry's cited public references from a repository checkout. It only reads repository-visible files and does not write or register entries. Invalid evidence outranks unavailable probes; unavailable probes outrank missing references, preserving #6280 precedence.
func SelfTestEntry ¶
func SelfTestEntry() Entry
SelfTestEntry returns a deterministic complete public-source record used by the package self-test and CLI witness. It is sample data, not an index writer.
type FleetSourceResolution ¶
type FleetSourceResolution struct {
Input string `json:"input"`
CanonicalTerm string `json:"canonical_term"`
OwnerLeaf string `json:"owner_leaf"`
SourcePath string `json:"source_path"`
}
FleetSourceResolution is one public fleet/dispatch concept.
type FleetSourceSelfTestReport ¶
type FleetSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Resolutions []FleetSourceResolution `json:"resolutions"`
NarrationRejected bool `json:"narration_identity_rejected"`
StructuredAccepted bool `json:"structured_identity_accepted"`
}
FleetSourceSelfTestReport captures terminology and narration-safety proof.
func RunFleetSourceSelfTest ¶
func RunFleetSourceSelfTest() (FleetSourceSelfTestReport, error)
RunFleetSourceSelfTest resolves all eight terms and proves a persuasive worker sentence cannot become dispatch identity without structured fields.
type Freshness ¶
type Freshness struct {
Verdict FreshnessVerdict `json:"verdict"`
ReasonCode string `json:"reason_code"`
CheckedAt string `json:"checked_at"`
Probe string `json:"probe"`
}
Freshness records the last source-check outcome and the public probe that produced it. CheckedAt is RFC 3339 so JSON consumers do not have to guess a locale or timezone. ReasonCode is required for every verdict, including fresh.
func EvaluateFreshness ¶
func EvaluateFreshness(observation FreshnessProbe) Freshness
EvaluateFreshness converts one public probe observation into the four-state wire verdict. Invalid probe metadata or malformed returned evidence outranks age; probe unavailability is unknown; only valid, available, current evidence can be fresh. It performs no I/O and is not an index writer.
type FreshnessProbe ¶
type FreshnessProbe struct {
Probe string `json:"probe"`
CheckedAt string `json:"checked_at"`
Available bool `json:"available"`
EvidenceValid bool `json:"evidence_valid"`
Current bool `json:"current"`
}
FreshnessProbe is the public-only observation consumed by EvaluateFreshness. EvidenceValid applies only when Available is true. An unavailable probe has no evidence to validate and therefore yields unknown, never fresh.
type FreshnessReasonDescriptor ¶
type FreshnessReasonDescriptor struct {
Verdict FreshnessVerdict `json:"verdict"`
ReasonCode string `json:"reason_code"`
}
FreshnessReasonDescriptor binds a public verdict to its stable reason code.
type FreshnessSelfCheckCase ¶
type FreshnessSelfCheckCase struct {
Verdict FreshnessVerdict `json:"verdict"`
ReasonCode string `json:"reason_code"`
Passed bool `json:"passed"`
}
FreshnessSelfCheckCase is one row of the hermetic four-state package witness.
type FreshnessSelfCheckReport ¶
type FreshnessSelfCheckReport struct {
Schema string `json:"schema"`
Cases []FreshnessSelfCheckCase `json:"cases"`
Passed bool `json:"passed"`
}
FreshnessSelfCheckReport is the stable CLI/package JSON witness.
func FreshnessSelfCheck ¶
func FreshnessSelfCheck() FreshnessSelfCheckReport
FreshnessSelfCheck exercises every public state without filesystem, network, private-source, or writer dependencies.
type FreshnessVerdict ¶
type FreshnessVerdict string
FreshnessVerdict is the four-state result of checking an entry's cited public sources. Unknown means evidence could not be obtained; invalid means evidence was obtained but could not be interpreted as a valid witness.
const ( FreshnessFresh FreshnessVerdict = "fresh" FreshnessStale FreshnessVerdict = "stale" FreshnessUnknown FreshnessVerdict = "unknown" FreshnessInvalid FreshnessVerdict = "invalid" )
type GeneratedIndex ¶
type GoCandidateKind ¶
type GoCandidateKind string
const ( GoCandidateSymbol GoCandidateKind = "exported-symbol" GoCandidateCapability GoCandidateKind = "capability-token" )
type GoSourceCandidate ¶
type GoSourceCandidate struct {
Kind GoCandidateKind `json:"kind"`
Name string `json:"name"`
Package string `json:"package"`
SourcePath string `json:"source_path"`
}
type GoSourceInventory ¶
type GoSourceInventory struct {
Schema string `json:"schema"`
Candidates []GoSourceCandidate `json:"candidates"`
ExcludedTests int `json:"excluded_tests"`
ExcludedGenerated int `json:"excluded_generated"`
ExcludedUnexported int `json:"excluded_unexported"`
}
func InventoryGoSource ¶
func InventoryGoSource(source fs.FS, root string) (GoSourceInventory, error)
type GoSourceSelfTestReport ¶
type GoSourceSelfTestReport struct {
Schema string `json:"schema"`
Candidates []GoSourceCandidate `json:"candidates"`
Deterministic bool `json:"deterministic"`
TestsExcluded bool `json:"tests_excluded"`
GeneratedExcluded bool `json:"generated_excluded"`
UnexportedExcluded bool `json:"unexported_excluded"`
}
func RunGoSourceSelfTest ¶
func RunGoSourceSelfTest() (GoSourceSelfTestReport, error)
type Identity ¶
type Identity struct {
CanonicalTerm string `json:"canonical_term"`
Aliases []string `json:"aliases"`
}
Identity names the canonical term and every declared alias. Aliases is required on the wire even when empty so absence cannot be mistaken for a producer that forgot to classify aliases.
type IncidentalTerm ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index is an immutable read index over canonical terms and their declared aliases. A token may have multiple owners only when every owner has a distinct, required scope.
func NewAdmittedIndex ¶
func NewAdmittedIndex(entries []Entry, manifests PublicManifests) (*Index, error)
NewAdmittedIndex is the generator/admission constructor. It refuses to build an index until every ownership target exists in the public manifests.
func NewClassifiedIndex ¶
func NewClassifiedIndex(entries []Entry, classifications []TermClassification) (*Index, error)
NewClassifiedIndex builds the single query/coverage index with strict local term classifications. It is the classification-aware form of NewIndex.
func NewIndex ¶
NewIndex constructs a read-only index. Canonical terms and aliases share one exact, case-sensitive namespace. Repeated tokens are accepted only when their scope qualifiers are distinct; callers must then use a scoped lookup.
func (*Index) Classifications ¶
func (i *Index) Classifications() []TermClassification
Classifications returns a stable copy of the classifications used by this index. Query results remain canonical-only.
func (*Index) ReverseLookup ¶
func (i *Index) ReverseLookup(kind ReverseLocatorKind, value string) (ReverseLookupResponse, error)
ReverseLookup finds entries carrying the exact locator. Source paths also match the path portion of a locator with a document anchor.
func (*Index) Search ¶
func (i *Index) Search(term string) SearchResponse
Search discovers terms in this index. Exact matches outrank prefixes, but all groups remain visible so callers can explain why a result is ambiguous.
type IndexChange ¶
type IndexChange struct {
Kind ChangeKind `json:"kind"`
CanonicalTerm string `json:"canonical_term"`
Detail string `json:"detail"`
QueryImpact CompatibilityImpact `json:"query_impact"`
}
type IndexVersion ¶
type IndexVersion struct {
Schema string `json:"schema"`
IndexSchema string `json:"index_schema"`
SourceRevision string `json:"source_revision"`
EntryCount int `json:"entry_count"`
ContentSHA256 string `json:"content_sha256"`
}
func CurrentIndexVersion ¶
func CurrentIndexVersion() (IndexVersion, error)
func VersionIndex ¶
func VersionIndex(entries []Entry) (IndexVersion, error)
type IssueSuggestion ¶
type IssueSuggestion struct {
Schema string `json:"schema"`
Title string `json:"title"`
Problem string `json:"problem"`
DoneCondition string `json:"done_condition"`
AcceptanceGate string `json:"acceptance_gate"`
LikelyFiles []string `json:"likely_files"`
DedupeQuery string `json:"dedupe_query"`
}
func SuggestIssue ¶
func SuggestIssue(finding CoverageFinding) (IssueSuggestion, error)
type IssueSuggestionSelfTestReport ¶
type IssueSuggestionSelfTestReport struct {
Schema string `json:"schema"`
Suggestion IssueSuggestion `json:"suggestion"`
UnsafeRejected bool `json:"unsafe_rejected"`
NoAutoFile bool `json:"no_auto_file"`
}
func RunIssueSuggestionSelfTest ¶
func RunIssueSuggestionSelfTest() (IssueSuggestionSelfTestReport, error)
type LadderKind ¶
type LadderKind string
const ( LadderLifecycle LadderKind = "lifecycle" LadderActivation LadderKind = "activation" LadderMaturity LadderKind = "maturity" )
type Lifecycle ¶
type Lifecycle struct {
Class LifecycleClass `json:"class"`
Rollout ActivationMode `json:"rollout"`
}
Lifecycle separates the entry's authority class from its rollout posture.
type LifecycleClass ¶
type LifecycleClass string
LifecycleClass states whether the entry describes current authority or material retained for a narrower historical or research purpose.
const ( LifecycleCurrent LifecycleClass = "current" LifecycleVersioned LifecycleClass = "versioned" LifecycleResearch LifecycleClass = "research" LifecycleArchived LifecycleClass = "archived" )
type LifecycleLadderResolution ¶
type LifecycleLadderResolution struct {
Ladder LadderKind `json:"ladder"`
CanonicalTerm string `json:"canonical_term"`
Spellings []string `json:"spellings"`
SourcePath string `json:"source_path"`
}
type LifecycleSourceSelfTestReport ¶
type LifecycleSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Ladders []LifecycleLadderResolution `json:"ladders"`
IncompatibleSpellingsRejected bool `json:"incompatible_spellings_rejected"`
}
func RunLifecycleSourceSelfTest ¶
func RunLifecycleSourceSelfTest() (LifecycleSourceSelfTestReport, error)
type MetricsCount ¶
type MetricsReport ¶
type MetricsReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Total int `json:"total"`
Freshness []MetricsCount `json:"freshness"`
SourceFamilies []MetricsCount `json:"source_families"`
Owners []MetricsCount `json:"owners"`
UncoveredCandidateClasses []MetricsCount `json:"uncovered_candidate_classes"`
}
func Metrics ¶
func Metrics(entries []Entry, coverage CoverageReport) MetricsReport
func PublicMetrics ¶
func PublicMetrics() MetricsReport
type MigrationRecord ¶
type MigrationReport ¶
type MigrationReport struct {
Schema string `json:"schema"`
Accepted []MigrationRecord `json:"accepted"`
}
func ValidateMigrations ¶
func ValidateMigrations(changes DiffReport, records []MigrationRecord) (MigrationReport, error)
type MigrationSelfTestReport ¶
type MigrationSelfTestReport struct {
Schema string `json:"schema"`
SilentRemovalRejected bool `json:"silent_removal_rejected"`
VersionedAliasAccepted bool `json:"versioned_alias_accepted"`
ReplacementTarget string `json:"replacement_target"`
}
func RunMigrationSelfTest ¶
func RunMigrationSelfTest() (MigrationSelfTestReport, error)
type OwnershipBinding ¶
type OwnershipBinding struct {
Path string `json:"path"`
ModuleAtRev string `json:"module_at_rev"`
Leaf string `json:"leaf"`
Lane string `json:"lane"`
Stamp string `json:"stamp"`
}
func ResolveOwnershipFixture ¶
func ResolveOwnershipFixture(f OwnershipFixture) (OwnershipBinding, error)
type OwnershipFixture ¶
type OwnershipMismatchError ¶
type OwnershipMismatchError struct {
Kind OwnershipMismatchKind
Detail string
}
func (*OwnershipMismatchError) Error ¶
func (e *OwnershipMismatchError) Error() string
type OwnershipMismatchKind ¶
type OwnershipMismatchKind string
const ( OwnershipPathUnknown OwnershipMismatchKind = "path-unknown" OwnershipLeafMismatch OwnershipMismatchKind = "leaf-mismatch" OwnershipLaneMismatch OwnershipMismatchKind = "lane-mismatch" OwnershipStampMismatch OwnershipMismatchKind = "stamp-mismatch" )
type OwnershipSelfCheckReport ¶
type OwnershipSelfCheckReport struct {
OK bool `json:"ok"`
AcceptedFixture bool `json:"accepted_fixture"`
RejectedLeaf bool `json:"rejected_owner_leaf"`
RejectedLane bool `json:"rejected_dispatch_lane"`
LeafSource string `json:"leaf_source"`
LaneSource string `json:"lane_source"`
}
func OwnershipSelfCheck ¶
func OwnershipSelfCheck() OwnershipSelfCheckReport
OwnershipSelfCheck proves both admission edges using repository-shaped public fixtures. The report is JSON-safe for the CLI selfcheck seam.
type OwnershipSourceSelfTestReport ¶
type OwnershipSourceSelfTestReport struct {
Schema string `json:"schema"`
Binding OwnershipBinding `json:"binding"`
LeafMismatchTyped bool `json:"leaf_mismatch_typed"`
LaneMismatchTyped bool `json:"lane_mismatch_typed"`
StampMismatchTyped bool `json:"stamp_mismatch_typed"`
}
func RunOwnershipSourceSelfTest ¶
func RunOwnershipSourceSelfTest() (OwnershipSourceSelfTestReport, error)
type PolicySourceResolution ¶
type PolicySourceSelfTestReport ¶
type PolicySourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Resolutions []PolicySourceResolution `json:"resolutions"`
StructuralBeforeModel bool `json:"structural_before_model"`
CapabilityNotVerdict bool `json:"capability_not_verdict"`
IncompatibleReasonRejected bool `json:"incompatible_reason_rejected"`
}
func RunPolicySourceSelfTest ¶
func RunPolicySourceSelfTest() (PolicySourceSelfTestReport, error)
type ProvenanceSelfCheckReport ¶
type ProvenanceSelfCheckReport struct {
Schema string `json:"schema"`
OK bool `json:"ok"`
RoundTrip bool `json:"round_trip"`
RejectedAbsolute bool `json:"rejected_absolute"`
RejectedEscape bool `json:"rejected_escape"`
RejectedSourceKind bool `json:"rejected_source_kind"`
}
ProvenanceSelfCheckReport is the JSON witness for strict public provenance.
func ProvenanceSelfCheck ¶
func ProvenanceSelfCheck() ProvenanceSelfCheckReport
ProvenanceSelfCheck exercises the public valid and rejection seams without I/O.
type PublicManifests ¶
PublicManifests is the admission view derived from the repository's existing public contracts. Leaves are real internal/<name> and cmd/<name> directories; lanes are declarations in dos.toml [lanes] and [lanes.trees].
func LoadPublicManifests ¶
func LoadPublicManifests(repoRoot string) (PublicManifests, error)
LoadPublicManifests reads the authoritative public leaf and lane registries.
type PublicReference ¶
PublicReference names a contract inside a public repository source.
type QueryResponse ¶
type QueryResponse struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
MatchedAlias string `json:"matched_alias,omitempty"`
Entry Entry `json:"entry"`
}
QueryResponse is the versioned, machine-readable result of a lookup. Entry always exposes the canonical owner. MatchedAlias is populated only when an exact declared alias selected that owner and preserves the caller's spelling.
func Query ¶
func Query(canonicalTerm string) (QueryResponse, error)
Query performs an exact, case-sensitive lookup of a canonical term. It stays canonical-only so callers that require canonical ownership cannot silently broaden their lookup to aliases.
func QueryScoped ¶
func QueryScoped(canonicalTerm string, scope Scope) (QueryResponse, error)
QueryScoped performs an exact canonical lookup constrained by the required scope qualifier. The entry returns the stored scope unchanged.
func Resolve ¶
func Resolve(term string) (QueryResponse, error)
Resolve performs an exact, case-sensitive lookup across canonical terms and declared aliases. The returned entry always carries the canonical identity; MatchedAlias records the exact alias used and is empty for canonical input.
func ResolveLadderSpelling ¶
func ResolveLadderSpelling(kind LadderKind, spelling string) (QueryResponse, error)
func ResolveScoped ¶
func ResolveScoped(term string, scope Scope) (QueryResponse, error)
ResolveScoped performs an exact canonical-or-alias lookup constrained by the required scope qualifier. The entry returns the stored scope unchanged.
type QuerySelfTestReport ¶
type QuerySelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
CanonicalTerm string `json:"canonical_term"`
MatchedAlias string `json:"matched_alias"`
EntrySchema string `json:"entry_schema"`
Complete bool `json:"complete"`
OverloadedTerm string `json:"overloaded_term"`
UnscopedAmbiguous bool `json:"unscoped_ambiguous"`
Scope Scope `json:"scope"`
}
QuerySelfTestReport is the machine-readable CLI witness for canonical and declared-alias query behavior.
func RunQuerySelfTest ¶
func RunQuerySelfTest() (QuerySelfTestReport, error)
RunQuerySelfTest reads the public seed through both strict Query and Resolve. It proves alias resolution does not alter canonical ownership.
type ReasonSourceSelfTestReport ¶
type ReasonSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Terms []VocabularyTerm `json:"terms"`
IncompatibleRejected bool `json:"incompatible_duplicate_rejected"`
CrossPackageAliasAllowed bool `json:"cross_package_alias_allowed"`
}
ReasonSourceSelfTestReport captures both sides of the collision contract.
func RunReasonSourceSelfTest ¶
func RunReasonSourceSelfTest() (ReasonSourceSelfTestReport, error)
RunReasonSourceSelfTest proves the public inventory is valid, an incompatible duplicate fails, and the declared COLLISION_RISK alias remains accepted.
type ReverseLocatorKind ¶
type ReverseLocatorKind string
ReverseLocatorKind names a repository-visible handle carried by an Entry.
const ( ReverseSourcePath ReverseLocatorKind = "source-path" ReverseGoSymbol ReverseLocatorKind = "symbol" ReverseCLIToken ReverseLocatorKind = "cli-token" ReverseReasonCode ReverseLocatorKind = "reason-code" )
type ReverseLookupResponse ¶
type ReverseLookupResponse struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Kind ReverseLocatorKind `json:"kind"`
Input string `json:"input"`
Matches []ReverseMatch `json:"matches"`
}
ReverseLookupResponse returns every exact evidenced owner. Multiple matches remain visible because a source path or reason code may intentionally support several canonical distinctions.
func ReverseLookup ¶
func ReverseLookup(kind ReverseLocatorKind, value string) (ReverseLookupResponse, error)
ReverseLookup finds canonical identities from a public source locator.
type ReverseMatch ¶
type ReverseMatch struct {
Kind ReverseLocatorKind `json:"kind"`
Input string `json:"input"`
MatchedValue string `json:"matched_value"`
Entry Entry `json:"entry"`
}
ReverseMatch preserves why an entry matched instead of presenting an inferred canonical owner without evidence.
type ReverseSelfTestCase ¶
type ReverseSelfTestCase struct {
Kind ReverseLocatorKind `json:"kind"`
Input string `json:"input"`
CanonicalTerm string `json:"canonical_term"`
MatchCount int `json:"match_count"`
}
ReverseSelfTestCase records one supported locator kind proved through the immutable public index.
type ReverseSelfTestReport ¶
type ReverseSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Cases []ReverseSelfTestCase `json:"cases"`
UnknownRejected bool `json:"unknown_rejected"`
}
ReverseSelfTestReport is the captured public-seam witness for reverse lookup.
func RunReverseSelfTest ¶
func RunReverseSelfTest() (ReverseSelfTestReport, error)
RunReverseSelfTest resolves every supported locator kind and proves unknown evidence does not produce a guessed identity.
type RuntimeSourceResolution ¶
type RuntimeSourceResolution struct {
Scope Scope `json:"scope"`
Alias string `json:"alias"`
CanonicalTerm string `json:"canonical_term"`
OwnerLeaf string `json:"owner_leaf"`
SourcePath string `json:"source_path"`
}
RuntimeSourceResolution is one scoped owner of the intentionally overloaded canonical token "runtime".
type RuntimeSourceSelfTestReport ¶
type RuntimeSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
UnscopedAmbiguous bool `json:"unscoped_ambiguous"`
Choices []RuntimeSourceResolution `json:"choices"`
}
RuntimeSourceSelfTestReport proves unscoped ambiguity and exact scoped lookup.
func RunRuntimeSourceSelfTest ¶
func RunRuntimeSourceSelfTest() (RuntimeSourceSelfTestReport, error)
RunRuntimeSourceSelfTest asks the ambiguous question first, then resolves all five public runtime surfaces with the required scope qualifier.
type SchemaDescriptor ¶
type SchemaDescriptor struct {
Schema string `json:"schema"`
Compatibility string `json:"compatibility"`
UnknownFields string `json:"unknown_fields"`
TrailingValues string `json:"trailing_values"`
Aliases string `json:"aliases"`
Required []string `json:"required"`
FreshnessVerdicts []string `json:"freshness_verdicts"`
FreshnessReasons []FreshnessReasonDescriptor `json:"freshness_reasons"`
LifecycleClasses []string `json:"lifecycle_classes"`
Rollouts []string `json:"rollouts"`
}
SchemaDescriptor is the public, machine-readable summary of the pinned wire contract. Required uses JSON paths so callers can display or audit the contract without duplicating the Go validator.
func Descriptor ¶
func Descriptor() SchemaDescriptor
Descriptor returns the deterministic v1 contract description.
type Scope ¶
Scope qualifies which public surface gives the canonical term this meaning. Kind names the dimension (for example product, package, cli, runtime, protocol, or operator); Value names the member within that dimension.
type SearchGroups ¶
type SearchGroups struct {
Exact []SearchMatch `json:"exact"`
Alias []SearchMatch `json:"alias"`
Prefix []SearchMatch `json:"prefix"`
}
SearchGroups are ordered by authority: exact canonical matches, exact alias matches, then canonical-or-alias prefix matches.
type SearchMatch ¶
SearchMatch preserves the token and namespace that led to a canonical entry.
type SearchResponse ¶
type SearchResponse struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Query string `json:"query"`
Verdict SearchVerdict `json:"verdict"`
Groups SearchGroups `json:"groups"`
}
SearchResponse returns every ranked candidate and an explicit resolution verdict. Ambiguous results never select an owner on the caller's behalf.
func Search ¶
func Search(term string) SearchResponse
Search discovers exact canonical, exact alias, and prefix matches in the public terminology index.
type SearchVerdict ¶
type SearchVerdict string
SearchVerdict tells callers whether search found one safe owner or requires them to choose explicitly from multiple candidates.
const ( SearchVerdictExact SearchVerdict = "exact" SearchVerdictAlias SearchVerdict = "alias" SearchVerdictPrefix SearchVerdict = "prefix" SearchVerdictAmbiguous SearchVerdict = "ambiguous" SearchVerdictNotFound SearchVerdict = "not_found" )
type SelfTestReport ¶
type SelfTestReport struct {
Schema string `json:"schema"`
CompleteAccepted bool `json:"complete_accepted"`
OmissionsRejected []string `json:"omissions_rejected"`
Freshness FreshnessSelfCheckReport `json:"freshness"`
}
SelfTestReport is the stable, machine-readable result of exercising the v1 contract without filesystem, network, or private-source dependencies.
func RunSelfTest ¶
func RunSelfTest() (SelfTestReport, error)
RunSelfTest proves through the strict JSON reader that one complete record is accepted and every path declared required by Descriptor is rejected when omitted. Identity aliases is included: its array must be present on the wire, although [] is a valid value.
type SessionSourceResolution ¶
type SessionSourceResolution struct {
Input string `json:"input"`
CanonicalTerm string `json:"canonical_term"`
SourcePath string `json:"source_path"`
}
SessionSourceResolution proves one public term resolves to its intended canonical identity rather than a similarly named session mechanism.
type SessionSourceSelfTestReport ¶
type SessionSourceSelfTestReport struct {
Schema string `json:"schema"`
IndexVersion string `json:"index_version"`
Resolutions []SessionSourceResolution `json:"resolutions"`
ResumeRecoveryConflation bool `json:"resume_recovery_conflation_rejected"`
CompactionCheckpointConflation bool `json:"compaction_checkpoint_conflation_rejected"`
}
SessionSourceSelfTestReport is the public fixture witness for #6314.
func RunSessionSourceSelfTest ¶
func RunSessionSourceSelfTest() (SessionSourceSelfTestReport, error)
RunSessionSourceSelfTest resolves every session-family alias and verifies the two required forbidden distinctions are present in both directions.
type SourceWitness ¶
type SourceWitness struct {
Kind string `json:"kind"`
Locator string `json:"locator"`
Revision string `json:"revision"`
CheckedAt string `json:"checked_at"`
Probe string `json:"probe"`
Reference *PublicReference `json:"reference,omitempty"`
}
SourceWitness is strict public provenance for one supporting source. Locator is repository-relative; Revision, CheckedAt, and Probe make verification reproducible without introducing a private-source dependency.
type StaleSymbolsSelfCheckReport ¶
type StaleSymbolsSelfCheckReport struct {
Schema string `json:"schema"`
Fresh Freshness `json:"fresh"`
Stale Freshness `json:"stale"`
PackagePassed bool `json:"package_passed"`
Passed bool `json:"passed"`
}
StaleSymbolsSelfCheckReport is the package/CLI JSON witness for public reference probing and the required fresh-to-stale transition.
func StaleSymbolsSelfCheck ¶
func StaleSymbolsSelfCheck() StaleSymbolsSelfCheckReport
StaleSymbolsSelfCheck creates and removes a public fixture in an isolated directory. It is deterministic apart from the irrelevant temporary path, which is never emitted.
type TermClassification ¶
type TermClassification struct {
SchemaVersion string `json:"schema_version"`
Term string `json:"term"`
Classification string `json:"classification"`
Reason string `json:"reason"`
}
TermClassification is public classification data consumed by the same Index that serves canonical queries and terminology coverage. Incidental terms are deliberately not inserted into canonical or alias query maps.
func ValidateClassifications ¶
func ValidateClassifications(items []TermClassification) ([]TermClassification, error)
ValidateClassifications validates and returns a deterministic copy. The contract is intentionally closed: unknown schema versions, classes, reasons, malformed local Go identifiers, and duplicate identities are rejected.
type ValidationError ¶
type ValidationError struct {
Code string `json:"code"`
Field string `json:"field"`
Message string `json:"message"`
}
ValidationError is the stable machine-readable provenance admission error. Code and Field are contract fields; Message is deterministic human context.
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
type VocabularyKind ¶
type VocabularyKind string
VocabularyKind names the semantic role of a public uppercase token.
const ( VocabularyReason VocabularyKind = "reason" VocabularyVerdict VocabularyKind = "verdict" VocabularyGateClass VocabularyKind = "gate-class" VocabularyDecision VocabularyKind = "decision-kind" )
type VocabularyTerm ¶
type VocabularyTerm struct {
Code string `json:"code"`
Kind VocabularyKind `json:"kind"`
Package string `json:"package"`
Symbol string `json:"symbol"`
CanonicalMeaning string `json:"canonical_meaning"`
SourcePath string `json:"source_path"`
}
VocabularyTerm is one public code declaration. CanonicalMeaning is the stable identity that allows intentional aliases across package boundaries.
func PublicReasonVocabulary ¶
func PublicReasonVocabulary() []VocabularyTerm
PublicReasonVocabulary returns representative public declarations spanning policy/ABI, hooks, DOS, and runtime dispatch surfaces.
Source Files
¶
- cache_source.go
- claims_source.go
- classification.go
- cli_source.go
- committed_freshness.go
- coverage.go
- diff.go
- doc.go
- docs.go
- entry.go
- explain.go
- fleet_source.go
- freshness.go
- generator.go
- go_source.go
- index.go
- issue_suggest.go
- lifecycle_source.go
- metrics.go
- migration.go
- ownership.go
- ownership_selftest.go
- ownership_source.go
- policy_source.go
- provenance.go
- provenance_selftest.go
- public_safety.go
- query.go
- query_selftest.go
- reason_source.go
- reverse.go
- reverse_selftest.go
- runtime_source.go
- schema.go
- search.go
- selftest.go
- session_source.go
- stale_symbols.go
- stale_symbols_selftest.go
- version.go