Documentation
¶
Index ¶
- type ReasoningAdapter
- func (a *ReasoningAdapter) Query(ctx context.Context, query string, genome []domain.DomainGene) ([]domain.Atom, error)
- func (a *ReasoningAdapter) Verify(ctx context.Context, subject interface{}, genome []domain.DomainGene) (*domain.AuditResult, error)
- func (a *ReasoningAdapter) VerifyAtoms(ctx context.Context, atoms []domain.Atom, genome []domain.DomainGene) (*domain.AuditResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReasoningAdapter ¶
ReasoningAdapter implements ports.ReasoningPort using the Google Mangle engine.
func NewReasoningAdapter ¶
func NewReasoningAdapter() *ReasoningAdapter
NewReasoningAdapter initializes the Datalog evaluator with strict circuit breakers.
func (*ReasoningAdapter) Query ¶
func (a *ReasoningAdapter) Query(ctx context.Context, query string, genome []domain.DomainGene) ([]domain.Atom, error)
Query allows raw datalog extraction, bounded by the depth limit.
func (*ReasoningAdapter) Verify ¶
func (a *ReasoningAdapter) Verify(ctx context.Context, subject interface{}, genome []domain.DomainGene) (*domain.AuditResult, error)
Verify implements the Shadow Audit for structured plans.
func (*ReasoningAdapter) VerifyAtoms ¶
func (a *ReasoningAdapter) VerifyAtoms(ctx context.Context, atoms []domain.Atom, genome []domain.DomainGene) (*domain.AuditResult, error)
VerifyAtoms executes the core Mangle evaluation (semi-naive with stratification).
Click to show internal directories.
Click to hide internal directories.