Status: frozen before confirmatory implementation evidence.
Can a local, fail-closed harness catch common supervised fine-tuning pipeline faults and block adapter releases that exceed explicit regression budgets?
- Audit local JSONL training and evaluation files.
- Inspect exact rendered token roles and the supervised-token mask when a compatible tokenizer is available.
- Run a tiny overfit smoke test outside the core package if desired.
- Supply paired base and adapter evaluation records.
- Generate a machine-readable Regression Card and a static browser report.
- Use the CLI exit code in continuous integration.
- A dependency-light Python library and
sftguardCLI. - Deterministic dataset audits with bounded input sizes.
- A tokenizer integration that abstains when the chat template cannot expose a trustworthy assistant-token mask.
- Paired target/retention regression gates with deterministic bootstrap intervals.
- Content-addressed JSON artifacts that contain hashes and aggregates, not raw prompts or responses.
- A static React report viewer. Imported reports remain in the browser.
- A synthetic fault-injection benchmark and checked-in evidence artifact.
- GitHub Actions checks for Python, web, dependency, and artifact validation.
PASS: every required check ran and every frozen gate passed.FAIL: at least one required check ran and violated its gate.ABSTAIN: the harness lacks the evidence required to make a pass/fail decision. Abstention must never be silently converted to a pass.
- Dataset analysis is local by default.
- Reports must not contain raw dataset text, secrets, or model weights.
- Secret and PII-like detectors report only location and category.
- Input files are size-limited and parsed line by line.
- No shell commands are constructed from dataset values.
- The public dashboard has no analytics, external fonts, or upload endpoint.
The built-in fault matrix is deterministic synthetic validation of SFTGuard's own checks. It is not an external benchmark, a safety certification, or proof that the tool catches every real fine-tuning failure. Base-versus-adapter Regression Cards measure only the supplied evaluation contract.