Documentation
¶
Overview ¶
Package provenance answers "why is this here?" for a file, directory or subsystem — the question humans constantly ask and agents are bad at. It is a deterministic query over what the engine already stores (git history, topology, objectives, doctrine) plus a test-file heuristic. No model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Goal ¶
type Goal struct {
ID string `json:"id"`
Title string `json:"title"`
Status string `json:"status"`
}
Goal is an objective this target serves.
type Provenance ¶
type Provenance struct {
Target string `json:"target"`
Subsystem string `json:"subsystem,omitempty"`
Introduced *gitlog.Commit `json:"introduced,omitempty"`
Evolved []gitlog.Commit `json:"evolved"`
Serves []Goal `json:"serves"`
ConstrainedBy []string `json:"constrained_by"`
TestedBy []string `json:"tested_by"`
DependsOn []string `json:"depends_on"`
DependedBy []string `json:"depended_by"`
Notes []string `json:"notes"`
}
Provenance is the structured "why" for a target.
Click to show internal directories.
Click to hide internal directories.