audit

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditor

type Auditor struct {
	// contains filtered or unexported fields
}

Auditor governs the OODA Verification Phase (Shadow Audit).

func New

func New(verifier ports.ReasoningPort) *Auditor

New initializes the auditor subsystem.

func (*Auditor) GenerateTrace

func (a *Auditor) GenerateTrace(frame *domain.CognitiveFrame) []byte

GenerateTrace creates a markdown artifact documenting the verification run.

func (*Auditor) Verify

func (a *Auditor) Verify(ctx context.Context, frame *domain.CognitiveFrame) (*domain.AuditResult, error)

Verify implements the core security gate as defined in LLD 8.1. It mathematically proves that an intended payload complies with the active GenePool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL