Documentation
¶
Overview ¶
Package evidence keeps secrets out of persisted and model-facing evidence. It is defense in depth, not a filesystem or network sandbox.
Index ¶
Constants ¶
const EnvironmentMarker = "GOLEM_ENVIRONMENT_FAILURE:"
EnvironmentMarker starts the first line of every environment failure, so a caller can stop automatic repair for a fault no code change can fix.
Variables ¶
This section is empty.
Functions ¶
func CheckCheckout ¶
CheckCheckout refuses live secrets in a shared checkout before handing its ownership to an agent. It does not inspect secret values or traverse symlinks. Secrets outside this tree still require a deployment filesystem boundary.
func Clean ¶
Clean redacts known process secrets, credential assignments and private keys, and omits entire sensitive-file diff sections before they reach another model.
func SensitivePath ¶
SensitivePath excludes live configuration and key material, not templates.