Repository navigation
Assertiva 0.7.2 — Environments, Gradle, provider CI runs and test effectiveness
M3 stays in progress (ROADMAP.md).
Security and evidence integrity
- Consent paths are compared exactly: case is folded only on Windows; relative roots in the consent file are refused. Files reached through a linked directory are listed as the link, never as project files; links to agent tools are reported as tooling, not as a product risk. The report states the read-only scope that was measured.
- JUnit XML keeps its provenance (file digest, imported vs executed), the reported times (root and suite) apart from the sum of case durations, and marks declaration identity UNKNOWN when a parameterized case is reported only by its display name. Coverage records whether it was measured or ingested and separates product code from test files.
- Provider CI runs (
--ci-run FILE, fromgh run viewor GitLab's API) are compared with the audited revision: only the same SHA on a clean tree is EXTERNAL_VERIFIED. - Each audit carries an execution manifest: revision, runtime, what ran, inputs and withheld variables.
- GitLab CI: local includes (globs, nesting, cycles, missing and outside-the-repository files), defaults,
extendsand!referenceare resolved; equivalent steps are matched. - Command output is written to files, not pipes, so a server that outlives its command cannot hang a run. Output is kept as a bounded tail unless the caller parses it (Gradle's task list was being cut).
Environments and services
audit --execute --provision, orprovision = truefor the project in<ASSERTIVA_HOME>/consent.toml: a run workspace outside the project with a virtual environment (a compatible installed interpreter, from the py launcher, PATH, uv, pyenv or python.org installs; interpreters are never downloaded),npm ci --ignore-scripts, a Temurin JDK and a Gradle distribution (sha256-verified; the project's wrapper jar never runs). Each step is reported with its downloads and divergences; what cannot be prepared (an Android SDK, an incompatible runtime with the versions probed) is BLOCKED, never failed.- An installed JDK is used only when it is the build's declared toolchain and can run Gradle (17+); otherwise the declared Temurin is provisioned. On Windows, a PostgreSQL cluster started by an administrator lives in a fresh directory under the user's temp, since initdb's restricted token cannot read owner-only directories. Both found by the first Windows CI runs.
- On a machine whose application-control policy blocks newly downloaded native libraries (seen here with a database driver), the run is BLOCKED with the import error, never failed or passed.
- Run workspaces are leased by their run (an OS file lock): a live run's workspace is never removed, whatever its age; one left by a killed run is. Archives extract safely and under long Windows paths.
- Disposable PostgreSQL: a new cluster with a generated password on a free local port (installed binaries or a portable build from Maven Central), verified before tests connect by its pid file, a SCRAM-SHA-256 login in which the server proves it holds this run's password, and the data directory and port the authenticated server reports. The caller's own
DATABASE_URLstays withheld.
Gradle: Java, Kotlin/JVM, Android local tests, Kotlin Multiplatform
- A Gradle adapter runs the build's test tasks in the disposable copy with JUnit XML per task and JaCoCo/Kover the build already applies. Modules and plugins are read through version-catalog aliases and convention plugins of included builds, with a layout fallback; Gradle's own task list confirms the tasks before running (Android debug unit tests of every flavor, the JVM targets of multiplatform modules,
test). Other variants and custom test tasks are listed as AVAILABLE; instrumented Android tests and non-JVM targets as NOT_RUN with the host they need; Android local tests without an SDK as BLOCKED. - unittest/Django: test classes from
django.testandrest_framework.testare recognized.
Test effectiveness (all languages)
- Every audit reads the tests into one model � oracles, doubles, boundaries crossed or simulated, surfaces, smells, declared level � with extractors for Python (syntax tree), JavaScript/TypeScript and Kotlin/Java (lexical; limits stated). One set of rules nominates candidates: false greens, weak oracles, fidelity mismatches, redundancy and smells, each with what the evidence shows, why it may be weak, what would settle it and its basis. They are findings for the agent to confirm or reject (per test), never verdicts, never a score; the HTML shows them as "inferred, not confirmed".
- With a mutation report that names killing tests, per-test exclusive detection is shown, and improve fails a retirement that removes the only detector of a known mutant; a retirement without that evidence is not proven.
- Fixture projects inside test directories (
tests/fixtures,testdata,__fixtures__) are inputs of the tests, not tests of the project: found by the self-audit, which counted seeded defects. - Calibrated against the same defects written in Python, JavaScript and Kotlin, and against negatives that must not be nominated (timeout tests that sleep, conditionals whose
elsechecks, helpers, inheritance, callbacks, awaited rejections, cleanup infinally).
Skill and evaluation
- SKILL.md points the agent to the effectiveness candidates as leads to confirm or reject against the code, to consented provisioning, and forbids retiring tests on similarity; a not-run check is neither failed nor untested.
- Six agent-led evaluation cases (rejecting a candidate the code disproves, targeted evidence, evidence not worth its cost, simple vs shallow tests, no removal on similarity, fidelity across languages): run 1 4/6 PASS; after a reference fix, the candidate case passes; after SKILL.md's evidence ladder (exists, selected, executed, outcome, proven), the not-run-on-device case passes (run 3) � earlier failures kept in evals/results/2026-10-09-effectiveness.
CI
- New jobs:
services(provisioning, PostgreSQL),gradle(Gradle, Kotlin, Android with the runner's SDK) andwindows(fast, integration and artifact suites, and the real provisioning, PostgreSQL and Gradle paths on Windows).
Investigated
- A CP6 suite failure in
test_installed_artifact_contextwas not intermittent: it re-runs the narrative-template contract inside an installed wheel, so one untranslated engine sentence fails both tests. Reproduced deterministically by injecting one sentence (both fail) and removing it (both pass).
Not done
- Semantic evaluation is thin: one passing run of the not-run case after the fix (it failed twice before), no transfer check in another ecosystem, no re-run of the other five new cases or of the earlier agent-led cases after the SKILL.md change.
- Interpreter downloads; Android instrumented tests, iOS/JS/Native targets; .NET, Go, Rust, PHP.
Release commit 8de5a24, qualified by the full suite (819 passed, 12 skipped), CI on Linux and Windows and the runtime self-qualification on that SHA.