Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 03:40
· 91 commits to main since this release
v0.2.0
909cf75

Upgrading from 0.1.0: these changes can turn a passing job into a failing one, or change what a run reads.

  • A spackle.toml found in the working directory is no longer trusted in full. Its endpoints, key variables, openai-compatible models, [pricing], [scope], sandbox images and network, pr, state_dir, [output] dir and budget raises are left out, and Spackle names them. Pass --config spackle.toml (in the Action, args: --config ...) to apply such a file in full.
  • A finding with a checked patch that is not applied is now patch-available and counts toward --fail-on. It used to be fixed and passed. Apply or merge the patch, or accept the finding with a baseline.
  • A run nobody confirms (--yes, the Action, the MCP server) with a dollar cap and a model of unknown price is refused with exit code 2. Add a [pricing] entry for the model, or pass --allow-unpriced.
  • report, verify, doctor and debug reject flags they used to accept and ignore (exit code 2). Drop the flag.
  • spackle verify runs only from the scanned directory or one that contains it, and a runs folder tracked by git is not read.
  • A repository whose own .git/config sets a filter, diff or merge driver is scanned as a plain directory.
  • --offline together with --pr is refused with exit code 2.

Added

  • Runs record the version of each installed external scanner in its seeder status, and the report shows it on the seeder line. spackle doctor shows the version and warns when it differs from the version the adapter is tested with, or cannot be read. The tested versions are one Go table that a test keeps equal to the pins of the scanners workflow.
  • spackle scan <directory> --staged reports only on files whose staged version differs from the last commit, so a pre-commit hook judges what is being committed: untracked files and unstaged edits to other files no longer block a commit. The files are read from the working tree, and the report says how many of them also have unstaged edits. A .pre-commit-hooks.yaml lets pre-commit users add Spackle with repo: and rev:, and docs/ci.md now shows the hook with --staged.
  • Reports split the model calls, tokens and cost by pipeline stage, with the models each stage used (a Stage line per stage, and usage.by_stage in the JSON report), so the effect of per-stage models on a budget can be seen. spackle runs shows each run's model spend, and runs --format json and the MCP list_runs tool return it as cost_usd.
  • Baseline files accept known findings, so a team can adopt the gate on an existing codebase. spackle baseline [run-id] --out <file> [--reason <text>] writes one entry per unresolved finding of a run. A scan with --baseline <file> (or [scan] baseline) still reports a finding that matches an entry, with the status accepted and the entry's reason, but does not fail on it; SARIF marks it with an external suppression. Entries match by fingerprint, so code that only moved stays accepted, and may carry an expires date. A run lists the entries that matched nothing and those that expired.
  • Findings carry a line-independent fingerprint, made from the text of the flagged lines instead of the line number. spackle runs compare and the MCP compare_runs tool match on it after the id, so a finding whose code only moved (because lines were added or removed above it) is reported as still present, "moved from" its old location, instead of as one gone and one new. SARIF reports carry it as the extra partial fingerprint spackle/content/v1.
  • The MCP scan tool takes since (a git revision) and changed (uncommitted work), so a coding agent can ask what its change introduced, and a read-only compare_runs tool returns the new, gone and still-present findings of two stored runs.
  • spackle scan <URL> --routes-from <directory> adds the HTTP routes found in the running application's source to the crawl, so a JSON API that links to nothing is examined beyond its start URL. Only plain GET paths are added (a route with a path parameter, a pattern or another method is left out), each goes through the scope check like a link, and the run notes say how many routes were read and added. It is refused for a directory or git URL target.
  • A [test] configuration table sets the project's test commands when the ones Spackle picks do not fit: command runs the whole suite (the scan's baseline and patched test runs, and the suite check after a fix in spackle debug), and single runs one test for spackle debug --test, with {name} replaced by the test name. Projects on Jest, Vitest or Mocha, or whose tests run through make or tox, can then be debugged by test name. Both are argument vectors that run only in the sandbox, and a run that uses them says so in its notes.
  • The MCP scan tool takes dry_run: true, which returns the plan and the cost estimate of the scan, as spackle scan --dry-run shows them, without calling a model or storing a run.
  • spackle scan <directory> --changed reports only on files that differ from the last commit, staged or not, and on new files git does not ignore, for a scan before you commit. docs/ci.md shows it as a pre-commit hook.
  • spackle rules [--format text|json] lists every built-in rule with its source, id, class, severity, CWE and the files it reads. A scan warns, on the terminal and in the report, when [scan] disable_rules names something that looks like a built-in id but matches none, such as a typo.
  • [output] fail_on_confidence (also --fail-on-confidence and the Action input fail-on-confidence) sets the lowest confidence a finding needs to count toward fail_on: plausible (the default, every finding, as before), high or demonstrated. Unconfirmed leads can then be reported without failing CI.
  • spackle report <run> --finding <id> (repeatable) renders only the named findings, in any format. An id that is not in the run exits 2.
  • A [scan] configuration table: exclude (also --exclude, repeatable) keeps paths out of the scan, include reads a directory that is skipped by default, and disable_rules drops the leads of a rule. The report lists what was excluded.
  • spackle verify --format json prints every outcome as one JSON document with the counts, and --finding <id> (repeatable) re-runs only the proofs of the named findings. An id that is not in the run exits 2.
  • Action outputs run-id, run-dir and the per-severity counts critical, high, medium and low, and the input upload-run, which uploads the run directory (ledger, reports, proofs, patches) as a workflow artifact so it outlives the job. The Action now also writes a JSON report next to the SARIF and Markdown ones.
  • Action input spackle-dir, to run the Action with an existing binary instead of a downloaded release, and output has-sarif.
  • spackle doctor --format json prints the checks as JSON, with the same rows the MCP doctor tool returns.
  • spackle scan <git URL> --ref <branch or tag> scans a named branch or tag instead of the default branch. The ref is recorded in the run.
  • spackle scan <directory> --since <revision> reports only on files changed since that revision, so a pull request is judged on what it changes. Leads in other files are left out and the report says how many; with a model only the changed files are planned for investigation. The Action exposes it as the diff-base input, which needs a checkout with fetch-depth: 0.
  • [scan] scanners chooses which external scanners a scan runs (for example ["gitleaks", "hadolint"]). Without the key every installed scanner runs, as before; scanners = [] runs none. A scanner left out is shown as not run, with the reason, in the report and in spackle doctor, and an unknown name is refused when the configuration is loaded.
  • spackle scan --since <revision> --diff-scope lines (or with --changed) reports only the leads on lines the change added or modified, instead of every lead in a changed file, and says how many leads elsewhere in the changed files were left out. A lead with no line, such as a vulnerable dependency, is still reported when its file changed. A resumed run keeps the scope of the run it continues. The Action takes it as the diff-scope input, and the MCP scan tool as diff_scope.
  • spackle scan <directory> --resume <run id> (or --resume latest) continues a scan that stopped on its budget. It investigates what that run planned and did not reach, under a new budget and without planning again, and carries the earlier findings into the new report. It is refused when the target's commit changed since, unless --force is passed. A scan that stops on its budget prints the command.
  • spackle scan --dry-run shows what a scan would read, each seeder and its lead count, the leads by class, the number of investigations that would be planned and the cost estimate. It calls no model and stores no run.
  • SARIF reports now carry the traced data flow of a finding as codeFlows, readable rule names, descriptions and remediation help from the class table, and the verification text and fix branch of a finding that has a patch.
  • spackle runs lists the stored runs, and spackle runs prune --keep <n> or --older-than <age> deletes old runs with their clones and fix worktrees after listing them.
  • spackle runs compare <older> <newer> lists the findings that are new, gone, or present in both of two stored runs. With --fail-on (and --fail-on-confidence) it exits 1 when a new finding meets the threshold.

Changed

  • The short hash in a [REDACTED:<rule>:<hash>] marker and in a secret finding is now keyed with a random value made when Spackle starts and kept only in memory. It still tells two secrets apart within a run, but can no longer be compared against guessed values, and it differs from run to run. Finding fingerprints leave the hash out, so they stay the same across runs.
  • A user name and password in a git URL target are no longer repeated in clone errors, and the clone's origin is set to the URL without them, so they are not kept on disk with the run.
  • Redaction and the secrets check cover armored OpenPGP secret keys and the credential of an Authorization value (a request header, a git extraheader, an assignment), keeping the scheme readable. The model's file tools no longer read inside .git, .hg, .svn or .spackle.
  • Redaction now covers the values the Dockerfile, Kubernetes and Terraform checks report as hardcoded secrets (unquoted ENV and ARG values, Kubernetes env values, short or plain quoted values), and values the reporting rules skip as placeholders or low-entropy strings. Only whole variable and template references stay readable. Reporting is unchanged. Quotes stored in a finding's flow are redacted again before they are kept.
  • The external scanners run in an empty directory of their own instead of the target, so they no longer read trivy.yaml, .trivyignore, .hadolint.yaml or .gitleaksignore from it. gitleaks is given a config that extends its default rules in place of the target's .gitleaks.toml, and osv-scanner an empty config in place of osv-scanner.toml files. Semgrep still honors a .semgrepignore, and the seeder status then says so.
  • Response headers of a running target whose name marks a credential (X-Auth-Token, X-Session-Id, Authentication-Info and the like) are recorded and shown to the model as [redacted], as request headers already were. WWW-Authenticate and Proxy-Authenticate stay readable.
  • A running-target request whose path has a dot segment with parameters, white space or a NUL byte attached (..;, ..;jsessionid=1, ..%20) is refused by the scope check, since some servers resolve it as ...
  • A password or token whose value starts with $ is now reported and redacted. Only a whole variable reference ($NAME, ${...}, %NAME%) is still treated as a placeholder.
  • spackle verify runs a stored proof only from the scanned directory or one that contains it, checks it as a scan checks a new proof (allowed program, files inside spackle_poc/), and runs it in the image configured for its language instead of the one stored with it. A runs folder whose files are tracked by git is not read by verify, report, runs, baseline or the MCP tools, and a finding id must be a single path element (letters, digits, ., _, -).
  • A spackle.toml found in the working directory, not named with --config, is no longer trusted in full, because the working directory is usually the code being scanned. Its base_url and api_key_env settings, openai-compatible models, [pricing], [scope], sandbox images, network and raised limits, pr, state_dir, [output] dir, allow_unpriced and budget caps above the defaults are not applied, and Spackle names what it left out. Pass --config spackle.toml to apply such a file in full. In the GitHub Action, put settings like these in a file the workflow trusts and pass it with args: --config.
  • Spackle no longer runs git on a repository whose own .git/config names a program for git to run: a filter, diff or merge driver, or, for the push of --pr, a credential helper, ssh command or remote pack program. Such a directory is scanned as a plain directory, and the message names the setting. Signature display is turned off on every git call, and git archive gets the same overrides as the other calls.
  • A recorded fix patch (fix.patch, the ledger, every report and MCP reply) shows a detected secret as its [REDACTED:...] marker on both sides. Where the model kept a marker, the file written to the fix branch gets the original value back instead of the marker text, and a reply with a marker that stands for no secret in the file is rejected.
  • spackle verify now runs proofs under the [budget] sandbox run and wall time caps, as a scan does. A proof that the caps stop is not run, and its finding keeps its status with a note. Its evidence files are numbered after the scan's, in the same way scan and debug number theirs.
  • The Kubernetes and workflow rules parse YAML with go.yaml.in/yaml/v4 instead of v3, which is frozen upstream.
  • The mapper reads and scans files on several cores, no longer reads test files (their path is enough) or files of languages it has no patterns for, and tries only a file's own language's framework imports on its lines. Mapping a large repository is faster.
  • A diff scan (--since, --changed) now runs the built-in rules on the changed files only, and drops an external scanner's leads in other files before its lead cap applies. A lead in a changed file can no longer be dropped by the cap because of leads elsewhere in a large repository.
  • spackle scan --changed now maps only the changed files when the map of HEAD is in the cache, and takes the rest of the map from it, instead of mapping the whole tree on every run. The map cache entries now also record which frameworks each file imports, so entries written by earlier versions are rebuilt once.
  • spackle runs and spackle runs prune read each run's stored summary instead of decoding its whole ledger, as the MCP list_runs tool already did, so listing many runs is fast.
  • The map cache in the state directory (cache/map-<commit>.json, one file per scanned commit) now keeps only the 20 newest files. They used to pile up with every commit scanned.
  • The default sandbox image for JavaScript and TypeScript is now node:24-slim (Node 24, the active LTS) instead of node:22-slim, which reaches end of life on 2027-04-30. Set [sandbox.images] to keep the old one.
  • The installed external scanners (Semgrep, gitleaks, osv-scanner, Trivy, hadolint) now run side by side, up to three at a time, and alongside the built-in rules, instead of one after another. The seeder list and the leads are in the same order as before.
  • spackle scan --dry-run --yes now says when the real run would be refused because its dollar cap cannot be enforced for a model without a known price. The dry run still exits 0.
  • The report of a running-target scan now states that requests were sent without credentials and that pages behind a login were not examined.
  • A run that nobody confirms (--yes, the GitHub Action, the MCP server, spackle bench --yes) is now refused with exit code 2 when you set a dollar cap (--budget-usd or usd under [budget]) and the model has no known price, because that cap could not stop the run. The message shows the [pricing] table to add. Pass --allow-unpriced or set allow_unpriced = true under [budget] to run under the token cap alone. In the Action, set args: --allow-unpriced. Local models, OpenRouter and the built-in default cap are not affected.
  • spackle verify re-runs proofs against the directory that was scanned, which is now recorded as an absolute path, instead of resolving the target as typed against the current directory.
  • Directories that are pruned by default are now listed in the report as "Not read". vendor, dist, build, target and coverage are pruned only at the target root or where a marker file shows they are dependencies or build output, so a first-party package with one of those names is scanned.
  • The sandbox no longer copies .git, .spackle, virtual environments and tool caches from the top of the target into the in-memory work directory, which makes each run faster and leaves more of the memory limit for the program. node_modules and vendor are still copied.
  • A finding with a checked patch that is not applied now has status patch-available instead of fixed, and it counts toward --fail-on: the exit code no longer passes while the flaw is still in the scanned code. fixed is kept for a finding whose proof no longer succeeds against the code itself, as spackle verify establishes. The JSON report counts gain patch_available, and SARIF lists a fixed finding at level note.
  • The MCP tools list_runs and get_finding answer from a small summary and the finding's own file instead of decoding the whole ledger of each run. Runs stored by an earlier version are read from the ledger as before.
  • Model calls of a long investigation are prepared faster: each message is checked for secrets once, not again on every later turn of the conversation.
  • Agent search tools are faster on large targets: the target listing is taken from the mapper and shared by every stage of a run, and a file is scanned for secrets once and again only when it changes.
  • The deterministic scan is faster: the built-in code, secret and infrastructure seeders process files in parallel, each secret rule runs only on files that contain one of its literal markers, listing the target no longer stats every file twice, and a file is read once for the mapper and all built-in seeders instead of up to three times.
  • A rule now reports at most 50 leads per file and a seeder at most 5000 leads per run, so one generated or vendored file can no longer bury a report or exhaust memory. The seeder line in the report says how many leads were dropped and where. The report of an external scanner is read up to 256 MiB.
  • The go directive in go.mod is now 1.26.11, so a source install with an older Go 1.26 toolchain builds with the current patch release and its standard library fixes.
  • report, verify, doctor and debug now accept only the flags they read. A flag that used to be accepted and ignored, such as spackle report latest --fail-on low, is now a usage error with exit code 2.
  • The notes that say which languages have automatic proofs now name them as "Go, Python, JavaScript and TypeScript", as the documentation does. The list is generated from one table of supported languages.

Fixed

  • The clone of a git URL target (clones/<run-id> in the state directory) is now owner-only, like the run's own files. git clone used to create it with the user's umask, so on most Linux systems other local users could read the cloned source.
  • --offline together with --pr (or pr = true in [fix]) is now refused with exit code 2. The pull request step pushed a branch and called gh even in offline mode, which is described as refusing every connection that would leave the machine.
  • A dry run of a paid model without --yes and without a terminal now says that the real run would be refused because nobody can confirm the estimate, instead of exiting 0 with only the estimate.
  • The 256 MiB limit on an external scanner's report now holds. The report was copied into memory in a way that bypassed the limit, so a scanner that wrote more was read in full.
  • spackle bench no longer accepts --authorize, --pr, --fail-on, --fail-on-confidence and --format, which it ignored, and never asks a fixture scan to open a pull request, even with [fix] pr = true in the config.
  • A running target whose host has non-ASCII letters is now refused before the interactive confirmation, with the hint to write the host in punycode in a scope file. The operator used to be asked to type the host and then be refused anyway.
  • A model tool call with a path that contains a NUL byte is now refused before the file system is touched, and an OS error about a path is reduced to its cause. The error used to include the absolute path of the scanned checkout, which was sent to the provider.
  • spackle runs and spackle runs compare now clean control characters out of finding titles, locations and targets before printing them, as the reports do, so a scanned repository cannot send terminal escape sequences through them.
  • spackle report --finding <id> --out <dir> without --format now writes the configured file formats under <dir>, or exits 2 and asks for --format when only the terminal format is configured. It used to print to the terminal, write nothing and exit 0.
  • spackle scan --changed on a git URL now names --changed in its refusal instead of --since, and --since given the report's label for --changed is treated as a revision instead of starting a --changed scan. The MCP scan tool refuses a blank since, and since together with changed, in its own argument names.
  • spackle scan --changed now works in a repository with no commit yet, where every staged or untracked file counts as changed, and no longer counts the files of the state directory as changed files in its note.
  • Pressing Ctrl-C while spackle debug bisects or looks for the root cause now ends the run interrupted and keeps the reproduced failure as its finding, as an interrupted scan keeps its findings. It used to end the run failed and drop the reproduction.
  • spackle scan --resume of a --since or --changed scan now keeps that run's file set. The run records its diff base, the resume command printed when the budget runs out includes the flag, a resume without it applies the stored one, and a different one is refused. A resumed diff scan used to report every lead in the tree.
  • spackle runs prune --help no longer shows an internal default of -1 for --keep or the scan wording for --yes, and a negative --keep is a usage error. The docs and help text now say that patch-available findings count toward fail_on, that verify exits 1 when a proof could not be verified, that --resume also continues an interrupted scan, which flags doctor and runs take, that finding ids made from a rule hit include the rule, and that [sandbox] network = "scope" attaches an unfiltered bridge network to code-scan proofs.
  • spackle verify now keeps the output of each proof it re-runs in the finding's evidence/ folder and links it from the ledger, as a scan does, and a proof that could not be run in the sandbox leaves an inconclusive verdict in the ledger. Before, the output behind a fixed verdict was discarded and a sandbox error left no trace.
  • A spackle debug run now records the absolute directory it debugged, so spackle verify re-runs its reproduction there. Verified from another directory, it used to run against the target as typed (often .), resolved against the current directory, and could mark the finding fixed.
  • A cap reached while a finding is reviewed, proved or fixed now ends the run as budget-exhausted whichever investigation it happens on, and the report names the step that was cut for that finding. On the last planned investigation the run used to end as completed.
  • The wall time cap now also stops the sandbox runs of spackle debug (the reproduction, bisect probes and fix checks) and the project's baseline test run in a scan. Each could run for the full sandbox timeout past the cap. A debug run whose bisect is cut short by a cap now ends as budget-exhausted.
  • spackle debug --test <name> --good <rev> no longer judges a commit where the test does not exist yet. Bisect used to call such a --good revision bad (pytest) or blame the commit that added the test (Go, JavaScript); it now stops and says the test must exist at the --good revision.
  • Interrupting a running-target scan while the model assesses its findings now ends the run as interrupted with the probe's findings in the report, and lists the findings not yet assessed. It used to end as failed with no findings. An interrupt during the probe no longer tells you to check that the target is reachable.
  • With a model, the max_findings cap now bounds the report. An investigated finding cut by the cap used to stay in the report and be listed as skipped too, and investigated findings could be cut in favour of leads nobody investigated. They are now kept first.
  • The Semgrep adapter runs Semgrep with the p/default rule set instead of --config auto, which Semgrep refuses with metrics off. It used to fail on every run, so a scan got no Semgrep leads. Metrics stay off.
  • The lead count shown for each seeder is now the number of its leads the scan reports. In a diff scan (--since), and with [scan] exclude or disable_rules, it used to be the count for the whole target, so the seeder lines did not add up to the lead total.
  • A scan that is cancelled no longer hands further files to the built-in seeders, and a cancelled scan of a small target is reported as stopped early instead of complete.
  • Different rules of the same class that fire at one place (several container hardening rules on one line, several advisories on one lockfile, several missing headers on one page) are now reported as separate findings instead of one. Finding ids of uninvestigated leads change as a result.
  • Findings in files whose name contains two dots, such as the Next.js catch-all route pages/api/auth/[...nextauth].js, are no longer dropped. Only a real .. path segment is refused.
  • A conversation that uses all its turns now ends with a final answer on the Anthropic provider. The last request used to drop the tool list, which the API refuses when the history holds tool calls, so the investigation was recorded as failed.
  • A proof of concept that times out or is killed is no longer read as "the flaw is gone". The fixer rejects such a patch attempt, spackle verify keeps the finding status and reports the proof as not verified (and exits 1), and a debug bisect stops instead of counting the commit as good.
  • The fix branch no longer picks up uncommitted edits. A fix for a file with uncommitted changes in the working tree stays a patch file, with a note, instead of being committed (and, with --pr, pushed) together with those edits. A fix that fails part way no longer leaves files behind for the next fix commit.
  • SARIF file paths are now relative to the repository root when a subdirectory of a git repository is scanned, so code scanning alerts attach to the right file (for example with the Action input path: services/api).
  • Investigations that failed, drafts that were refused and leads dropped at validation are now listed under "What was skipped" in the terminal, Markdown and HTML reports and in a new rejected array of the JSON report. They used to be recorded in the ledger only, so a report could say nothing was skipped when part of the plan produced no result.
  • The quote check on a drafted finding now compares against the file as the model saw it, with secrets shown as redaction markers, so a finding whose cited line holds a secret is no longer rejected. A quote must also cover a meaningful part of the line it matches: a fragment of a few characters is refused.
  • spackle debug --good <rev> on Linux: each commit exported for bisect is now readable by the unprivileged sandbox user. The export used to be private to the operator, so every bisect probe failed to copy the source and bisect stopped early.
  • Built-in code rules now read comments in the syntax of the file language. A Go or Python statement that starts with * and a JavaScript private member that starts with # are no longer skipped as comments, a word in a trailing comment can no longer hide a lead, and commented-out code no longer produces one.
  • The Go rule for file paths built from request data no longer treats filepath.Clean as a sanitizer: filepath.Join(base, filepath.Clean(input)) keeps a leading ../ and is now reported. filepath.Base and the rooted Clean("/" + input) idiom still suppress the lead.
  • Interrupting an agentic scan (Ctrl-C) no longer discards the findings already investigated. Each finding is written to the ledger as soon as it is complete, the run ends with outcome interrupted, the reports are written, and the command exits 3. An interrupt during planning is no longer reported as completed, and one failed proof or fix step no longer ends the whole run.
  • A sandbox run that times out while the source is still being copied is now reported as a setup failure instead of a timed-out proof.
  • Large inputs can no longer exhaust memory or stall a run: the diff of a fix is computed in a bounded table (a very large rewrite is shown as one block), a fix may only patch a regular file within the 1 MiB source limit, a Dockerfile instruction with many continuation lines is parsed in linear time, and over-long quotes in a draft are refused before the file is searched.
  • Release pipeline: the container image is built only after the release tests pass, a prerelease tag no longer moves the latest image tag, and the image reports the same version, commit and build date as the release archives.
  • The GitHub Action could not be loaded: action.yml was not valid YAML (an unquoted colon in an input description). It now parses, and a new workflow runs the Action against the demo app on Linux, macOS and Windows.
  • The Action args input now accepts several lines. It used to read only the first line and drop the rest silently. A value with quotes, which would have been split into pieces, is refused with a clear message.
  • The GitHub Action no longer stops at the scan step when the scan finds something. The step ran under bash -e, so a scan that exited 1 ended it before the SARIF upload and left the exit-code and sarif outputs empty.
  • Scanner results that an external scanner adapter could not classify are no longer dropped without a word: the seeder line in the report now says how many were skipped and why.
  • A fix to a file that exists but is empty is now written as a modification. It used to be written as a file creation, which git apply refuses.
  • A GitLab repository in a subgroup (https://gitlab.com/group/subgroup/project) is now recognized as a git URL instead of a running application, and the refusal for an unrecognized address on a code hosting site says to use the clone URL ending in .git.
  • spackle doctor now uses the same container runtime detection as a scan, so it no longer reports a daemonless Podman as not answering while scans run proofs in it. It also checks the TypeScript sandbox image.
  • The HTML report now shows control characters and bidirectional overrides as visible escapes, like the terminal and Markdown reports. They used to reach the page raw, so a quoted line could display in a different order than its bytes.
  • Built-in rule accuracy: the Python SQL call rules now require SQL text, so ssh.execute("cd " + d) is no longer reported as SQL injection; the insecure-random rules require a sensitive word that stands on its own, so a random index into keys is no longer reported; and a rule finding carries the same OWASP categories as a model-drafted finding of its class.
  • spackle bench: a fixture whose scan failed is no longer counted as a clean fixture left alone or as missed flaws. Failed fixtures are left out of the totals and counted in their own failed_fixtures figure, and no results file is written for such a run unless --force is given.
  • One definition of "test code" is now used everywhere. A fix can no longer edit a test under test/, spec/ or a conftest.py, and the built-in code rules skip the same files the mapper and the fixer treat as tests.
  • Sandbox limits and other numeric settings are now checked when the configuration is loaded. A [sandbox] timeout above the 15 minute cap or a negative limit is refused before the run starts, instead of failing every proof after the model call that wrote it.
  • spackle debug: bisect now checks the committed code at HEAD first and, when it does not show the failure, says the cause is uncommitted changes instead of blaming the HEAD commit. A --test name that matches no test is refused before any model call, instead of being read as a failing or a passing test.
  • The running-target note "N URL(s) were outside the authorized scope" now counts each URL once instead of once per page that links to it.
  • The wall time cap now also bounds a model call or sandbox run that is in progress when the cap is reached. Such a call is stopped and the run ends as budget exhausted; it used to run on for as long as the provider client or the sandbox timeout allowed.
  • The clone of a git URL target is removed when no run comes of it (the run is refused, not confirmed, or a dry run). It used to stay under the state directory with nothing referring to it.
  • A provider response with a success status and a body that cannot be decoded (an HTML page from a proxy, or a response over the size limit) is no longer requested again. It used to be sent up to three times, each of which a hosted provider could charge for.
  • spackle verify no longer marks a finding fixed when its proof never succeeded during the scan. It re-runs only the proofs of findings the scan demonstrated and says which findings it skipped.
  • A run that is cancelled or reaches its deadline while a provider request is in flight is reported as stopped. It used to be reported as a failed request with a hint to check the network.
  • Standard input redirected from the null device (< /dev/null, < NUL) is no longer taken for a terminal. scan, bench and runs prune now say that there is no terminal to confirm on and to pass --yes, instead of showing a prompt nobody can answer.
  • Runs started in the same second now sort in the order they were started, so latest, spackle runs and spackle runs prune --keep no longer pick the older of two such runs. A run id keeps its form: after the timestamp come a two-digit sequence number and four random hex digits, where there used to be six random digits.
  • A running-target assessment that uses up the scope's max_requests now ends with outcome budget-exhausted, and the report lists the findings that were not assessed. It used to end as completed, and a finding could be dismissed by a model that had been refused the requests it asked for.
  • spackle verify no longer marks a finding fixed when its proof prints the marker and then exits with an error. The flaw was still observed, so the outcome is inconclusive and the finding keeps its status. The scan, the fixer and verify now judge a proof run by one rule.
  • The map cache is used again on the second and later scans of a clean repository. The default state directory .spackle, untracked inside the target, used to make the work tree count as changed, so the cache was written once and never read.
  • Long model output, proof output and error text are no longer cut in the middle of a multi-byte character, which left a replacement character in the ledger and the reports.

Full changelog: v0.1.0...v0.2.0

Verify this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp 'https://github.com/TMHSDigital/Spackle/.github/workflows/release.yml@refs/tags/v.*' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com
sha256sum --ignore-missing -c checksums.txt
gh attestation verify <archive> --repo TMHSDigital/Spackle