safety

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package safety is the Stage-1 namespace for hallucination guard, output redaction, permissions, risk assessment. See ../REFACTOR_PLAN.md.

Index

Constants

This section is empty.

Variables

View Source
var BuildRejectionMessage = engine.BuildRejectionMessage
View Source
var FormatAssessment = engine.FormatAssessment
View Source
var FormatGroundingResult = engine.FormatGroundingResult
View Source
var GenerateMitigations = engine.GenerateMitigations
View Source
var NewHallucinationGuard = engine.NewHallucinationGuard
View Source
var NewOutputRedactor = engine.NewOutputRedactor
View Source
var NewPermissionEngine = engine.NewPermissionEngine
View Source
var NewPermissionMemory = engine.NewPermissionMemory
View Source
var NewProtectedPaths = engine.NewProtectedPaths
View Source
var NewRiskAssessor = engine.NewRiskAssessor
View Source
var ParseAutonomyLevel = engine.ParseAutonomyLevel
View Source
var PresetConfig = engine.PresetConfig
View Source
var ShouldProceed = engine.ShouldProceed

Functions

This section is empty.

Types

type AutonomyConfig

type AutonomyConfig = engine.AutonomyConfig

type AutonomyLevel

type AutonomyLevel = engine.AutonomyLevel

type GroundingResult

type GroundingResult = engine.GroundingResult

type HallucinationGuard

type HallucinationGuard = engine.HallucinationGuard

type OutputRedactor

type OutputRedactor = engine.OutputRedactor

type PermissionEngine

type PermissionEngine = engine.PermissionEngine

type PermissionMemory

type PermissionMemory = engine.PermissionMemory

type PermissionMode

type PermissionMode = engine.PermissionMode

type PermissionRequest

type PermissionRequest = engine.PermissionRequest

type ProtectedPaths

type ProtectedPaths = engine.ProtectedPaths

type RedactPattern

type RedactPattern = engine.RedactPattern

type RedactStats

type RedactStats = engine.RedactStats

type RiskAssessment

type RiskAssessment = engine.RiskAssessment

type RiskAssessor

type RiskAssessor = engine.RiskAssessor

type RiskContext

type RiskContext = engine.RiskContext

type RiskFactor

type RiskFactor = engine.RiskFactor

type RiskFactorDef

type RiskFactorDef = engine.RiskFactorDef

Jump to

Keyboard shortcuts

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