internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent holds the model-driven stages of the pipeline: planner, investigators, reviewer and the shared tool loop they run on.
Package agent holds the model-driven stages of the pipeline: planner, investigators, reviewer and the shared tool loop they run on.
tools
Package tools is the allowlisted, read-only tool set an investigator model uses to look at a target.
Package tools is the allowlisted, read-only tool set an investigator model uses to look at a target.
Package authz is the authorized-scope gate for live targets.
Package authz is the authorized-scope gate for live targets.
Package bench runs Spackle over the labelled corpus in bench/corpus and scores what it reports against each fixture's ground truth.
Package bench runs Spackle over the labelled corpus in bench/corpus and scores what it reports against each fixture's ground truth.
Package budget enforces the hard caps of a run: tokens, spend, wall time, sandbox runs and agent turns.
Package budget enforces the hard caps of a run: tokens, spend, wall time, sandbox runs and agent turns.
Package cli implements the spackle command line: subcommand dispatch, flag parsing, help text and exit codes.
Package cli implements the spackle command line: subcommand dispatch, flag parsing, help text and exit codes.
Package config loads spackle.toml and merges it with defaults.
Package config loads spackle.toml and merges it with defaults.
Package dast analyzes a running web application that the operator owns or is authorized to test.
Package dast analyzes a running web application that the operator owns or is authorized to test.
Package diffx produces unified diffs.
Package diffx produces unified diffs.
Package engine runs the Spackle pipeline for one target and writes the run's ledger, evidence folders and reports.
Package engine runs the Spackle pipeline for one target and writes the run's ledger, evidence folders and reports.
Package envelope marks target content as untrusted data before it is shown to a model.
Package envelope marks target content as untrusted data before it is shown to a model.
Package finding defines the Spackle finding: the schema every stage produces and every report renders, with validation, CVSS 4.0 scoring, deduplication and ranking.
Package finding defines the Spackle finding: the schema every stage produces and every report renders, with validation, CVSS 4.0 scoring, deduplication and ranking.
Package gitx wraps the git command line for the few operations Spackle needs: reading the commit, cloning a target, creating a worktree for fixes, reading history, and bisecting.
Package gitx wraps the git command line for the few operations Spackle needs: reading the commit, cloning a target, creating a worktree for fixes, reading history, and bisecting.
Package ledger implements the append-only evidence ledger that every run writes and every report is rendered from.
Package ledger implements the append-only evidence ledger that every run writes and every report is rendered from.
Package llm is Spackle's model provider layer: one small interface, three wire implementations (Anthropic Messages, OpenAI-compatible Chat Completions, Ollama), a scripted fake for tests, and the wrappers that enforce redaction and the offline guarantee.
Package llm is Spackle's model provider layer: one small interface, three wire implementations (Anthropic Messages, OpenAI-compatible Chat Completions, Ollama), a scripted fake for tests, and the wrappers that enforce redaction and the offline guarantee.
Package mapper builds a model-free map of a target: its languages, frameworks, entry points, trust boundaries, and how to build and test it.
Package mapper builds a model-free map of a target: its languages, frameworks, entry points, trust boundaries, and how to build and test it.
Package mcp serves Spackle to AI clients over the Model Context Protocol: JSON-RPC 2.0 messages, one per line, read from one stream and written to another (the stdio transport).
Package mcp serves Spackle to AI clients over the Model Context Protocol: JSON-RPC 2.0 messages, one per line, read from one stream and written to another (the stdio transport).
Package policy holds tests that enforce repository-wide security invariants, such as "no code in this module opens a network listener".
Package policy holds tests that enforce repository-wide security invariants, such as "no code in this module opens a network listener".
Package redact finds secrets in text and replaces them with markers.
Package redact finds secrets in text and replaces them with markers.
Package report renders a stored run.
Package report renders a stored run.
Package sandbox runs untrusted code (model-written proofs of concept and candidate fixes) inside a locked-down container by driving the docker or podman CLI.
Package sandbox runs untrusted code (model-written proofs of concept and candidate fixes) inside a locked-down container by driving the docker or podman CLI.
Package seed produces leads: deterministic, model-free observations that start an investigation.
Package seed produces leads: deterministic, model-free observations that start an investigation.
Package target classifies what the operator pointed Spackle at.
Package target classifies what the operator pointed Spackle at.
Package version holds build metadata set by the linker at release time.
Package version holds build metadata set by the linker at release time.
Package walk lists the files of a target safely.
Package walk lists the files of a target safely.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL