Evidence ledger
JSON cases connect the review, commits, rule, and replay result. No hidden model memory.
v0.10 beta · local repository learning
Preserve a reviewed regression test. Prove it fails on the broken code and passes on the fix. Check later changes under constrained local execution.
A failure becomes repository memory
Follow the complete v0.10 beta workflow. This preview is illustrative; the published npm beta includes a seeded literal case you can run without an account, model key, or Docker.
Run the one-command quickstart →spine learn --case failure.json
case tenant-query imported
The preview uses a seeded example. Spine stores local evidence and checks literal rules; it does not claim to infer every architectural mistake.
The learning loop
Spine makes each step reviewable. The beta stays deliberately narrow so a passing replay means something concrete.
Import a manual case file or GitHub review metadata. Evidence stays explicit and inspectable.
Create a scoped require-text or forbid-text rule with a file glob and source trail.
Read historical Git objects to prove the broken commit fails and the corrected commit passes.
Run verified rules against a diff in CI, then serve only relevant context to any MCP client.
What replay proves
A verified rule failed on the recorded broken commit and passed on the recorded correction. That is strong evidence for a narrow check. It is not a promise that every future defect is prevented.
$ spine replay tenant-query
✓ broken demo commit required literal missing
✓ corrected demo commit required literal present
verified: require "WHERE tenant_id = ?"
scope: src/invoices.js
source: manual review evidenceExecutable correction pilot
The source-available correction pilot captures a user-reviewed Node built-in test from an explicit fixed commit. Verification pairs those same test bytes with each revision’s own source files and runs both in constrained Docker containers.
A correction stays a candidate until the broken revision fails, the fixed revision passes, and the execution controls succeed. The first pilot is intentionally narrow: dependency-free JavaScript using node:test.
Why not just write a test?
Spine does not replace your normal test suite. It keeps the reviewed test, source-file scope, broken/fixed proof, and execution policy together. Reports fingerprint each tested snapshot; current-tree checks rerun the correction under the same controls.
Context can surface an unverified correction as a candidate, but only a successful controlled run is labelled verified.
Read the correction model → Propose a pilot case →The v0.10 beta surface
Compile and drift workflows remain available. Learning, replay, guard, context, reports, CI, and MCP form the new center of gravity.
JSON cases connect the review, commits, rule, and replay result. No hidden model memory.
Deterministic forbid-text and require-text checks scoped by repository globs.
Read-only historical verification. Spine inspects commits; it does not rerun an AI agent.
Machine-readable output and diff-aware checks make verified rules useful on every pull request.
Ask for files and receive applicable rules through the CLI or local MCP server.
Generate an HTML report that a maintainer can review, archive, or share with a team.
Need to test an actual configured agent or evaluator? spine evaluate is a separate, explicit execution path with different risks and costs. Read the evaluation contract →
Try the literal loop first
The command downloads the exact published npm beta, then runs the Docker-free literal demo. It needs Node 22.12+ and Git, and uses the network only to install the package. No account or model key required.
$ npx --yes --package=project-spine@0.10.0-beta.3 spine demo§ KEEP THE CORRECTION
Local, deterministic, MIT licensed, and built for maintainers who work with more than one coding agent.