Repository navigation
Releases
v0.44.0
v0.44.0 — A table is a set of tests
Released 2026-11-30.
A parametrized test is one function and several cases. Deleting a row from the
table kept every count we had, so a case could disappear silently. This release
counts the rows.
Highlights
@pytest.mark.parametrizerows. A literalparametrize("x", [1, 2, 3])
contributes three rows. Removing one reports
removed 1 test row(s). A table held in a variable is not counted and is a
declared blind spot.test.each([...])rows. The JS/TS shape counts the top-level rows of a
table, with strings, escapes, comments, and nested arrays handled.- Same signal in both languages. A removed row fails
tests.integrity
exactly like a removed test block.
Evidence
- 805 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- Cases: 3 rows → 2 fails; a comma inside a string does not inflate the count;
a nested array is one row; a variable parametrize table is not counted. - The monorepo and JS rewrite fixtures from 0.43 still pass.
- The repository's own production gate passes before publishing.
Known limits
- A test generated by a
forloop or a helper is not counted. - A parametrize table held in a variable, or built at runtime, is not counted.
- JS/TS scanning remains lexical; syntax is not parsed.
- No external adoption claim; the evidence is public.
Upgrade
pip install --upgrade assaystone==0.44.0For the GitHub Action, pin yellowsand1/assaystone@v0.44.0.
v0.43.0
v0.43.0 — Every test directory counts
Released 2026-11-30.
Two gaps that let a real weakening through, both closed with fixtures that would
have failed before.
Highlights
- Monorepo test directories are protected. The default contract scanned only
the repository root, sopackages/app/tests/test_x.pycould be deleted without
a finding. It now walks the repository with pruning (node_modules,
virtualenvs, build output) and protects every nestedtests/,test/,
testing/,spec/,__tests__/, ande2e/directory. - JS/TS rewrites are detected. A test whose body changed while the count
stayed the same is reported as a note in the default check and escalates under
strict_rewrites. This closes the "replace an assertion withexpect(true)"
case. The scanner respects quotes and comments; template literals are opaque.
Evidence
- 800 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- A monorepo fixture: a deleted package test fails with
packages/app/tests/test_app.py; a benign package change passes. - A JS fixture:
npm testexits 0 while a test is deleted; the check fails with
removed 1 test(s). A same-count rewrite produces a note, and
strict_rewritesescalates. - The demo pull request still fails and comments with the deleted test.
- The repository's own production gate passes before publishing.
Known limits
- The JS scanner is lexical: a test built by a helper, a loop, or a table is not
named, and its removal is not counted. This is a declared blind spot. - A monorepo without a root test runner runs no suite; the comment says so,
while the path-level checks still protect every nested test directory. - No external adoption claim; installation is one workflow and the evidence is
public.
Upgrade
pip install --upgrade assaystone==0.43.0For the GitHub Action, pin yellowsand1/assaystone@v0.43.0.
v0.42.0
v0.42.0 — Tests, visible in JavaScript
Released 2026-11-30.
Week 3 of PLAN.md. The default check now sees a removed test in a JavaScript
repository, and it no longer flags things that are not test tampering.
Highlights
- JS/TS test weakening.
tests.integritycountstest()/it()/
specify()blocks andexpect()/assert()calls in.js,.jsx,.ts,
.tsx,.mjs, and.cjsfiles, with comments stripped. A removed JS test is
reported even when the remaining suite is green. - The default is scoped to the job.
quality.no_debug_printsleft the
default contract: it flagged aprint()in an entry-point module of an
agent-authored PR, and debug prints are a different job from test tampering.
It stays in the editable contract, withbin/,cmd/,cli/,commands/,
entrypoints/, and common entry-point names excluded. - Six agent-authored merged PRs measured. Found through Claude/Codex
co-author trailers, reconstructed at their merge base: 6 pass, 0 findings.
A null result, recorded as such; the real-catch criterion stays open.
Evidence
- 794 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- The golden test runs
npm test(exit 0) and asserts the check fails with
removed 1 test(s)— the case that matters: a green suite with a test gone. - The demo pull request still fails and comments with the deleted test.
- The repository's own production gate passes before publishing.
Known limits
- JS/TS counts are lexical: a test built by a helper, a loop, or a table is not
counted. Syntax is not parsed for JS. - The agent-authored sample is six PRs; no real catch yet.
- Ten human PRs and six agent PRs are a floor, not a population estimate.
- No external adoption claim. Installation is one workflow; the evidence is
public.
Upgrade
pip install --upgrade assaystone==0.42.0For the GitHub Action, pin yellowsand1/assaystone@v0.42.0.
v0.41.0
v0.41.0 — Measured on real PRs
Released 2026-11-30.
Week 2 of PLAN.md. The default check was measured on ten merged pull requests;
the first pass was noisy, the second is not, and it still names a real
test-count drop.
The measurement
- 10 merged PRs from Flask, Click, HTTPX, Starlette, and pytest.
- Each touches a test file and a Python source file.
- Base is the PR merge base (three-dot), not the target branch head. The
first run used the wrong base and counted 236 unrelated files as deletions;
the field note records the mistake. - Result: 8 pass, 2 findings, 0 false alarms under the definition "a finding
on a PR that did not change tests or the harness". Review rate 2/10; both
findings are accurate test-count drops (a test removed with its function; seven
tests consolidated into four).
Fixes driven by the data
diff.max_linesleft the default check. It flagged Flask at 504 lines and
Click at 521. Patch size is a scope question, not test tampering.- Debug prints in test directories are excluded. pytest's own test used
print()intesting/and was flagged.testing/,test/,spec/, and
__tests__/are now excluded. - A rewritten test body is a note, not an escalation, in the default check.
Ordinary refactors no longer fail a PR. The audit keepsstrict_rewrites. tests.integritycontinues after a rewrite, so a deleted test later in the
same run is still found (click#3902).
Evidence
docs/field-note-prs.md: sample, method, numbers, and limits.- 790 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- The demo pull request still fails and comments with the deleted test.
- The repository's own production gate passes before publishing.
Known limits
- Python only; the JavaScript sample did not yield qualifying PRs in this pass.
- Ten PRs selected by recency, not a random sample.
- The suite was not run in the measurement;
tests.passwas excluded. - No PR in the sample was authored by a coding agent; the defect rate needs
agent-authored or rejected PRs, which is Week 3.
Upgrade
pip install --upgrade assaystone==0.41.0For the GitHub Action, pin yellowsand1/assaystone@v0.41.0.
v0.40.1
v0.40.1 — Install the action's own checkout
Released 2026-11-30.
A patch for the first real pull request.
The bug
Inside a composite action, github.action_repository was empty, so the install
step fell back to the caller's repository and ran pip install on it. The
Action failed before the check, so no comment was posted.
Caught by yellowsand1/assaystone-action-demo PR #1 — the fixture that exists
to run the Action on a real pull request.
The fix
The install step now uses github.action_path, the action's own checkout,
unless install: is set.
- uses: yellowsand1/assaystone@v0.40.1No other changes. 788 tests, lint clean.
v0.40.0
v0.40.0 — One comment on the PR
Released 2026-11-30.
Week 1 of PLAN.md. The reviewer is in the pull request, so the product is now
there too.
Highlights
- Zero-config Action.
uses: yellowsand1/assaystone@v0.40onpull_request
needs no inputs. It resolvesorigin/<base>and the merge base, uses the
discovered or default contract, writes a certificate, uploads it, and posts
one sticky comment. - The comment is the product.
PASS/FAIL/NEEDS REVIEW, the failing
check and reason, what was not checked, and the certificate artifact. One
comment per PR, updated in place. - A missing base is loud. A shallow clone fails with
fetch-depth: 0,
rather than passing silently. initis a top-level command, so the default contract note points at
something visible in--help.- Tested without GitHub.
assaystone/action.pyholds base resolution,
comment rendering, and outputs;tests/test_action.pyand
tests/test_action_script.pycover them. CI runs the composite Action on a
fixture commit with a deleted test and asserts it fails and writes a
certificate.
Evidence
- 788 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- The
action-checkCI job exercises the composite Action end to end on a
fixture commit: deleted test → failure, certificate written. - The local cold start is unchanged: zero config, PASS on a benign change,
FAIL on a deleted test. - The repository's own production gate passes before publishing.
Known limits
- The comment-posting step itself runs only on a real pull request; the CI job
exercises the Action withcomment: false. - The default checks are path-level for non-Python repositories.
- The workspace copy excludes dependencies; a project may need a setup step
beforetests.passcan run. - Week 2 is the measurement: 10 real pull requests, false-alarm rate, first
real catch. No new features until then.
Upgrade
pip install --upgrade assaystone==0.40.0For the GitHub Action, pin yellowsand1/assaystone@v0.40.0.
v0.39.0
v0.39.0 — Usable by default
Released 2026-11-30.
The previous releases made the artifact good. This one makes the first sixty
seconds work.
Highlights
checkwith no contract.assaystone checkno longer stops at an error.
It uses a minimal, high-precision default and prints a note thatinitwrites
an editable one.- Real runner detection. pytest, unittest, npm / pnpm / yarn, go, cargo,
maven, gradle.tests.passis included only when a runner exists; Python-only
checks only when Python files exist. - A JS repository is no longer read as Python. A
test/directory used to
producepython -m unittest, so a benign JS change failed. It now runs
npm testand path-level test-integrity checks. - The default output is a summary.
PASS (7 checks, 34 ms), or the failing
checks with a reason and a pointer to--verbose.--certificatestill writes
the artifact.
The cold start, measured
Python repo, zero config PASS (7 checks, 34 ms)
JS repo, zero config PASS (5 checks, 146 ms) # npm test
deleted test FAIL (2 checks, 2 ms)
tests.integrity: tests/test_app.py (deleted)
No contract file, no verifier names, no transcript.
What did not change
- The kernel, certificate, calibration, spec, transport, and hooks are unchanged.
They are the "why trust it" layer, not the first-run pitch. - The default checks are path-level for non-Python repos; syntax is not checked
for JS, Go, or Java. - The workspace copy excludes
node_modulesand virtualenvs; a project with
dependencies may need a setup step beforetests.passcan run. - No external user yet. The next proof is five real repositories and a measured
false-alarm rate.
Upgrade
pip install --upgrade assaystone==0.39.0For the GitHub Action, pin yellowsand1/assaystone@v0.39.0.
v0.38.0
v0.38.0 — The corpus is the moat
Released 2026-11-30.
A calibration table without cases is a table of dashes. This release grows the
Failure Zoo from 13 cases to 26 and measures 20 of the 21 built-in checks.
Highlights
- New
mutationfamily (9 cases). Syntax error, oversized patch, public API
break, false success claim, runaway steps, harness hijack, test-support
tampering, CI bypass, and a clean control. - New
ops_edgefamily (4 cases). Refunded amount out of range, invalid
JSON, a missing approval lineage, and a clean control. - Thresholds raised to the new floor. Every defective case must be caught
and no clean case may alarm before the benchmark passes. - The demo's own contract:
calibration 3/12 checks measured (gap 75%)
becomes11/12 checks measured (gap 8%). The remaining gap is
diff.language_coverage, whose designed answer for an unsupported language is
unknown, not a catch. docs/failure-zoo.mdanddocs/reliability.mdare regenerated; the packaged
reliability profile now carries twenty measured checks.
Evidence
- Failure Zoo: 26 cases (20 defective, 6 clean), 20/20 caught, 0 false alarms.
- 761 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- The wheel ships the regenerated profile; a clean venv install reports
11/12 checks measured (gap 8%)on the demo certificate. - The repository's own production gate passes before publishing.
Known limits
- The cases are self-authored and small:
nis 1–2 per check. The corpus is a
floor, not a population estimate. diff.language_coverageremains unmeasured by design; its answer is
unknown, not a decision.- No external user yet. P1 remains three external repositories, one published
defect the tests missed, and one external contract.
Upgrade
pip install --upgrade assaystone==0.38.0For the GitHub Action, pin yellowsand1/assaystone@v0.38.0.
v0.37.0
v0.37.0 — Say what you saw
Released 2026-11-27.
A verifier judges what it can see. When an execution is compacted, delegated, or
imported through a tracing vendor, the verifier sees a summary, and a judgment
about a summary is not a judgment about the execution. This release makes the
view part of the decision.
Highlights
Trace.view. Every trace recordsnative,restored,imported,
compacted,delegated, or unknown. Git episodes and runtime guards are
native; a Claude Code transcript with a compaction marker is compacted;
LangSmith / Langfuse / OpenTelemetry imports are imported.- The certificate says which view it judged.
subject.viewcarries the raw
metadata;assurance.transportcarries view, adapter, truncated, risk, and a
reason.certificate showprints one line:
transport compacted (risk high), adapter claude-code. require_native_view. A contract can require that a pass rest on a native
or restored view. A pass built on a summary escalates with
transport required: verifier saw a compacted view. This is the same shape as
require_measured: a property the decision must have, not a footnote.
Evidence
- 761 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- The audit demo reports
transport native (risk low), adapter claude-code. - A synthetic compacted trace reports high risk and escalates under
require_native_view; a native trace passes. - The repository's own production gate passes before publishing.
Known limits
- Detection is shallow: it sees explicit compaction markers and the adapter's
own provenance. It cannot prove that an imported transcript is complete. restoredis a declaration by the adapter; it is only as good as the
provenance restored.- The gate is opt-in. Start with the report, turn the gate on where it matters.
- This does not recover lost evidence. It tells you the evidence is thin.
- No external user yet. P1 remains three external repositories, one published
defect the tests missed, and one external contract.
Upgrade
pip install --upgrade assaystone==0.37.0For the GitHub Action, pin yellowsand1/assaystone@v0.37.0.
v0.36.0
v0.36.0 — The task is an artifact
Released 2026-11-27.
A contract says what "acceptable" means for a task type. The requirements of a
particular task usually live in a prompt and disappear with it. This release
makes them a checked artifact.
Highlights
- Task specs.
.assaystone/spec.jsonlists obligations with deterministic
evidence rules: a changed path, a file that contains a string, a path that
must not change, a file that must exist. Each obligation can beallorany,
carries a severity, and says what to do when it cannot be decided. check --specandverify --spec. The obligations compile into criteria
withsource: "evidence"and run with the contract. No model, no natural
language parsing, fully offline.- Coverage in the certificate.
assurance.specreports satisfied, violated,
and unknown obligations plus a coverage ratio;certificate showprints
spec 3/3 obligations met. The spec digest is in the contract block, so a
different checklist is a different decision. spec.schema.jsonjoins the protocol schemas.protocol --schemas DIR
now writes contract, verifier, verdict, reliability, and spec schemas.- Pre-final uses the same contract, so a spec is checked before the agent
stops when agateis configured.
Evidence
- 756 tests, 5 skipped; ruff clean; CI on Python 3.10–3.13.
- A spec with a missing migration fails the check; the same spec without it
passes and the certificate reports3/3. - The wheel ships the spec schema and the reliability profile; a clean venv
install runs the full path offline. - The repository's own production gate passes before publishing.
Known limits
- The spec does not parse natural language. A free-form ticket becomes checkable
only when a person or a planning agent writes the obligations down. - Globs use
fnmatch;*crosses/. Be explicit. pathandabsentlook at changed paths;containsandexistsalso read
the baseline when nothing changed.- It can check that a migration exists. It cannot check that the migration is
correct; that is a contract check. - No external user yet. P1 remains three external repositories, one published
defect the tests missed, and one external contract.
Upgrade
pip install --upgrade assaystone==0.36.0For the GitHub Action, pin yellowsand1/assaystone@v0.36.0.