Skip to content

Assertiva v1.0.0 — Evidence-Grounded Test Assurance

Choose a tag to compare

@Soturine Soturine released this 13 Nov 21:04
· 65 commits to main since this release
d4d8d49

Released on 2026-11-13 as a GitHub Release, with wheel, sdist and SHA256SUMS.txt. It is not published on PyPI.
Python 3.11 or newer. The only runtime dependency is PyYAML.

Assertiva is an agent-led test-assurance tool: a Skill that investigates what a project's tests really prove, and a
deterministic engine that collects, runs (in disposable copies), normalizes and reports evidence. 1.0.0 is a release
about the quality of that evidence. It makes clear which code a run tested, with which runner, at which revision,
with what scope and result, and what was imported rather than executed.

Highlights

  • Code identity for every Python runner. pytest, unittest and Django runs record where the project's modules were
    imported from (SOURCE_TREE, INSTALLED_ARTIFACT, MISMATCH or UNKNOWN), observed inside the test process.
  • Installed-artifact qualification that proves itself. Tests run against the built wheel with the project's own
    runner (pytest or unittest), and a green run counts only when every project module it loaded came from the
    installed artifact.
  • Mutation testing with honest scope. --mutate-tests works under unittest. An empty selection, or one that cannot
    be loaded, stops the run at the selection stage (MUTATION_RUN_NOT_COMPLETED); it is never a passing baseline. The
    baseline's own test count is recorded.
  • Imported results stay imported. Results read from JUnit, CTRF or Allure files are counted as imported_* and
    reported as IMPORTED_TEST_RESULTS_FAILING, never as executions by Assertiva.
  • CI parity per check. Each local check is COVERED, POSSIBLY_COVERED (with the traceable chain through
    package.json scripts and repository scripts) or NOT_OBSERVED. An unrelated opaque CI step never lowers a gap.
  • Opt-in CI gate. assertiva audit --fail-on test-failure|not-passing|imported-failure|artifact|high-findings|findings
    exits 1 and writes its decision to the report's gate field. Without it, exit codes are unchanged.
  • Safer diagnostics. Collection causes are classified and sanitized (credentials, token shapes, e-mail addresses,
    absolute paths) before they are bounded. A failed cleanup is declared with its real cause, without exporting the
    temporary path.
  • Conservative unittest detection for projects that declare no runner, and FILTERED_LOOP_ASSERTION for
    assertions behind a filter over loop cases.

Observable report changes

imported_* metrics; the new codes IMPORTED_TEST_RESULTS_FAILING, MUTATION_RUN_NOT_COMPLETED and
LOCAL_CHECK_POSSIBLY_RUN_BY_CI_SCRIPT; per-check CI states; unittest/Django identity; the optional gate field; the
inferred unittest runner. Details and what to change: docs/MIGRATION_V1.md.

Install

Download the wheel from the GitHub Release, check it against SHA256SUMS.txt, then:

python -m pip install assertiva-1.0.0-py3-none-any.whl
assertiva --version        # assertiva 1.0.0
assertiva audit path/to/project

The Skill is SKILL.md and references/ in this repository. Put or link that directory where your agent loads
skills; installing it changes no configuration.

Verification

  • The code was qualified at 874eeab34ee07c9d36882577458f688b2dd9d8bd by the full CI dispatch, 8 of 8 jobs:
    validate with the integration and artifact suites (ASSERTIVA_REQUIRE_JS, ASSERTIVA_REQUIRE_DJANGO,
    ASSERTIVA_REQUIRE_MUTATION), Windows, Python 3.11, browser, JVM, Gradle/Android, services, and the runtime
    self-qualification. The release commit only changes the version and documentation. The CI of the merge commit on
    main and of the tag are linked in the GitHub Release.
  • Fail-before/pass-after tests for every fixed defect: V1_REMEDIATION.
  • Dogfood, v0.10.1 against the candidate, in a confined container (no network, read-only sources), on public projects
    at fixed SHAs. Two are owner projects, VozNativa 3fb4163 and the Randomizer fccc561; two are independent, tomli
    43a86ad and idna d357725. See V1_DOGFOOD.

Known limitations

  • Agent-led evaluation: 8 cases, single runs, with agent and judge from the same model family (Haiku 5.5 and
    Sonnet 5.5), so this is not an independent qualification. Judge verdicts: 6 PASS, 2 REVIEW, 0 FAIL.
    FISCAL_TEMPORAL_ORACLE_FALSE_GREEN stays REVIEW. AGENT_PROFILE_MOVE_UNDO_FALSE_GREEN does not meet its frozen
    pass condition in the operator's reading. The owner accepted both as documented limitations of this release
    (V1_AGENT_EVALS).
  • Tests against an installed wheel can fail because a project's tests read the source tree. The report shows FAIL,
    and recognizing such tests automatically is deferred.
  • The static --dependencies inventory does not flag undeclared imports. Only the --execute artifact qualification
    checks that closure.
  • There is no native executor for .NET, Go, Rust, PHP, Ruby or Lua (portable results only), and no PIT through
    Gradle. The deferred items are listed in ROADMAP.

Release evidence

  • Tag v1.0.0 (annotated, object 7dcd15ece64bc1241ad2aa56d68884332ebeca85) → commit
    d4d8d49201ce0461cbc180798344f2518c2901f0, the merge commit of PR #9
    (PRs #6, #7 and #8 are part of it, with their original commits).
  • CI of that commit on main: run 43504400005. The
    seven jobs that run on push (validate, Windows, Python 3.11, browser, java, Gradle/Android, services) succeeded; the
    runtime self-qualification runs only on dispatch and tags.
  • CI of the tag: run 43506657383 was still in
    progress when this release was published
    , by the owner's decision not to wait for it. At that time java, Python
    3.11, Gradle/Android, browser and services had succeeded, validate and Windows were running, and the runtime
    self-qualification had not started. Its outcome is on the run page. The same code had passed the full dispatch,
    including the self-qualification, at 874eeab.
  • Built from git archive of the tag (LF, as committed) in an isolated build environment. Metadata checked (name,
    version 1.0.0, Python >=3.11, PyYAML>=6.0, Apache-2.0, the assertiva entry point). Each artifact was installed
    into its own clean venv outside the checkout, and an audit was run from it: assertiva --version gave 1.0.0; a
    native PASS plus an imported JUnit with a failure gave IMPORTED_TEST_RESULTS_FAILING (not NATIVE_TESTS_FAILING),
    and --fail-on imported-failure exited 1.
  • No byte-for-byte reproducibility is claimed. The checksums prove the integrity of these assets:
8c7d0c0846f4a20384847d4c922eb83b8938b8141ef99302396fba988ce1f44a  assertiva-1.0.0-py3-none-any.whl
4187cc6f29a626d534965f939867a0e3eaed847c937bc97fe0499bd67e30d696  assertiva-1.0.0.tar.gz