Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentReviewLayer ¶
func NewAgentReviewLayer(runner LoopRunner) scan.Layer
NewAgentReviewLayer constructs a Layer that performs an LLM-driven architectural review of the Go source files in projectDir. Inject DefaultLoopRunner{} for production use, or a stub in tests.
func NewSecurityScanLayer ¶
func NewSecurityScanLayer(runner scan.ExecRunner) scan.Layer
NewSecurityScanLayer constructs a Layer that runs gosec -fmt json ./... against projectDir. If gosec is not found in PATH, the layer passes with a skip message.
func NewStaticAnalysisLayer ¶
func NewStaticAnalysisLayer(runner scan.ExecRunner) scan.Layer
NewStaticAnalysisLayer constructs a Layer that runs go build, go vet, and staticcheck (skipped gracefully if not installed) against projectDir.
func NewTestExecutionLayer ¶
func NewTestExecutionLayer(runner scan.ExecRunner) scan.Layer
NewTestExecutionLayer constructs a Layer that runs `go test -race ./...` in projectDir. Test failures are surfaced via RawOutput; no individual findings are parsed.
Types ¶
type DefaultLoopRunner ¶
type DefaultLoopRunner struct{}
DefaultLoopRunner delegates to the axon-loop Run function.