Documentation
¶
Overview ¶
Package evidence is the append-only audit log for the self-optimization loop (SPEC-ADDITIONS §18.6). It copies skillsaw/store's idiom — append-only, validate-on-write, a malformed line is a hard error (corruption is surfaced, never swallowed) — but records JSON lines with adh columns binding a gate decision to its arc, stage, and scores. Read and Append are pure over io; the file open/append lives in the command shell.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Record ¶
type Record struct {
Timestamp string `json:"timestamp"`
Arc string `json:"arc,omitempty"`
Stage string `json:"stage,omitempty"`
GateAction string `json:"gate_action,omitempty"`
OldScore float64 `json:"old_score"`
NewScore float64 `json:"new_score"`
Status Status `json:"status"`
Note string `json:"note,omitempty"`
}
Record is one evidence line: a gate decision bound to its arc, stage, and the scores that produced it.
Click to show internal directories.
Click to hide internal directories.