Skip to content

Releases

v0.44.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:22
adfbae3

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.parametrize rows. A literal parametrize("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 for loop 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.44.0.

v0.43.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 02:44
67ac2b4

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, so packages/app/tests/test_x.py could be deleted without
    a finding. It now walks the repository with pruning (node_modules,
    virtualenvs, build output) and protects every nested tests/, test/,
    testing/, spec/, __tests__/, and e2e/ 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 with expect(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 test exits 0 while a test is deleted; the check fails with
    removed 1 test(s). A same-count rewrite produces a note, and
    strict_rewrites escalates.
  • 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.43.0.

v0.42.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 02:26
10eac39

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.integrity counts test() / it() /
    specify() blocks and expect() / assert() calls in .js, .jsx, .ts,
    .tsx, .mjs, and .cjs files, 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_prints left the
    default contract: it flagged a print() 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, with bin/, 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.42.0.

v0.41.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 07:07
1443a04

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_lines left 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() in testing/ 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 keeps strict_rewrites.
  • tests.integrity continues 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.pass was 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.41.0.

v0.40.1

Choose a tag to compare

@github-actions github-actions released this 30 Nov 03:38
3eafc5c

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.1

No other changes. 788 tests, lint clean.

v0.40.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 03:25
87e0821

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.40 on pull_request
    needs no inputs. It resolves origin/<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.
  • init is a top-level command, so the default contract note points at
    something visible in --help.
  • Tested without GitHub. assaystone/action.py holds base resolution,
    comment rendering, and outputs; tests/test_action.py and
    tests/test_action_script.py cover 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-check CI 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 with comment: false.
  • The default checks are path-level for non-Python repositories.
  • The workspace copy excludes dependencies; a project may need a setup step
    before tests.pass can 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.40.0.

v0.39.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:26
7a27553

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

  • check with no contract. assaystone check no longer stops at an error.
    It uses a minimal, high-precision default and prints a note that init writes
    an editable one.
  • Real runner detection. pytest, unittest, npm / pnpm / yarn, go, cargo,
    maven, gradle. tests.pass is 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
    produce python -m unittest, so a benign JS change failed. It now runs
    npm test and 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. --certificate still 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_modules and virtualenvs; a project with
    dependencies may need a setup step before tests.pass can 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.39.0.

v0.38.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:01
23206e5

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 mutation family (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_edge family (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%)
    becomes 11/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.md and docs/reliability.md are 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: n is 1–2 per check. The corpus is a
    floor, not a population estimate.
  • diff.language_coverage remains 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.38.0.

v0.37.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:45
da49a20

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 records native, 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.view carries the raw
    metadata; assurance.transport carries view, adapter, truncated, risk, and a
    reason. certificate show prints 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.
  • restored is 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.37.0.

v0.36.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:23
66c297e

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.json lists 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 be all or any,
    carries a severity, and says what to do when it cannot be decided.
  • check --spec and verify --spec. The obligations compile into criteria
    with source: "evidence" and run with the contract. No model, no natural
    language parsing, fully offline.
  • Coverage in the certificate. assurance.spec reports satisfied, violated,
    and unknown obligations plus a coverage ratio; certificate show prints
    spec 3/3 obligations met. The spec digest is in the contract block, so a
    different checklist is a different decision.
  • spec.schema.json joins 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 a gate is 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 reports 3/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.
  • path and absent look at changed paths; contains and exists also 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.0

For the GitHub Action, pin yellowsand1/assaystone@v0.36.0.