Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultGoalID = "GOAL-20260603-XLIB-GOALCLI-001" EvidenceLedgerPath = "release/evidence/goalcli/" SourceLedgerPath = ".agent/evidence/ledger.jsonl" )
Variables ¶
This section is empty.
Functions ¶
func WriteEvidence ¶
WriteEvidence idempotently records passed goalcli MVA reports in the source ledger. Final reports also write the generated evidence pack after the prerequisite G12-G16 ledger entries have been reconciled for the same goal.
Types ¶
type GateReport ¶
type GateReport struct {
ID string `json:"id"`
Command string `json:"command"`
Status string `json:"status"`
Blocking bool `json:"blocking"`
}
GateReport records one local goalcli evidence gate.
type LedgerEntry ¶
type LedgerEntry struct {
SchemaVersion string `json:"schema_version"`
GoalID string `json:"goal_id"`
Command string `json:"command"`
Status string `json:"status"`
MVAStatus string `json:"mva_status"`
Blocking bool `json:"blocking"`
EvidencePackPath string `json:"evidence_pack_path"`
}
LedgerEntry is the compact JSONL source entry for generated goalcli evidence.
type Report ¶
type Report struct {
SchemaVersion string `json:"schema_version"`
Command string `json:"command"`
Status string `json:"status"`
GoalID string `json:"goal_id"`
Gate string `json:"gate"`
Mode string `json:"mode"`
Executor string `json:"executor"`
ControlPlane string `json:"control_plane"`
Blocking bool `json:"blocking"`
MVAStatus string `json:"mva_status"`
LedgerPath string `json:"ledger_path"`
EvidencePackPath string `json:"evidence_pack_path"`
Gates []GateReport `json:"gates,omitempty"`
Details []string `json:"details,omitempty"`
Evidence []string `json:"evidence,omitempty"`
AuthorityPaths []string `json:"authority_paths,omitempty"`
Gaps []string `json:"gaps,omitempty"`
}
Report is the machine-readable goalcli MVA evidence returned by goalcli.
Click to show internal directories.
Click to hide internal directories.