Versions in this module Expand all Collapse all v0 v0.1.0 Jul 18, 2026 Changes in this version + const DensityFull + const DensitySignature5 + const DensitySignatureOnly + var ErrBudgetExceeded = query.ErrBudgetExceeded + var ErrCitationNotFound = query.ErrCitationNotFound + var ErrFreshnessStale = query.ErrFreshnessStale + var ErrIndexUnavailable = query.ErrIndexUnavailable + var ErrPolicyError = query.ErrPolicyError + var ErrSanitizeFailed = query.ErrSanitizeFailed + func MockEmbedder() types.Embedder + func NewMockEmbedder(dim int, name string) types.Embedder + type AlignmentReport = query.AlignmentReport + type BranchMatch = query.BranchMatch + type ConventionHit = query.ConventionHit + type DensityTier = query.DensityTier + type Engine struct + func Open(path string, opts OpenOptions) (*Engine, error) + func (e *Engine) CheckAlignment() AlignmentReport + func (e *Engine) CheckFreshness() error + func (e *Engine) Close() error + func (e *Engine) ExpandFlow(ctx context.Context, stepID, direction string, hops int) (*ExpandResult, error) + func (e *Engine) FindBranches(ctx context.Context, symptom string, k int) ([]BranchMatch, error) + func (e *Engine) FindInvariants(ctx context.Context, file, category string, tierMin int) ([]InvariantHit, error) + func (e *Engine) Freshness() (FreshnessReport, error) + func (e *Engine) GetConventions(ctx context.Context, packagePrefix string) ([]ConventionHit, error) + func (e *Engine) GetFlow(ctx context.Context, sel FlowSelector) (*FlowView, error) + func (e *Engine) GetInvariantEnforcement(ctx context.Context, invID string) (*InvariantEnforcement, error) + func (e *Engine) Manifest() Manifest + func (e *Engine) SemanticSearch(ctx context.Context, intent string, opts SearchOptions) (*Response, error) + func (e *Engine) Warmup(ctx context.Context) error + type ExpandResult = query.ExpandResult + type FlowNeighbor = query.FlowNeighbor + type FlowSelector = query.FlowSelector + type FlowStepView = query.FlowStepView + type FlowView = query.FlowView + type FreshnessReport = freshness.Report + type Hit = query.Hit + type InvariantEnforcement = query.InvariantEnforcement + type InvariantHit = query.InvariantHit + type Manifest = manifest.Manifest + type OpenOptions struct + Embedder types.Embedder + type Response = query.Response + type SearchOptions = query.Options