Repository navigation
Releases
Apex verify 0.2.8
- Stop hook with Gemini CLI: a retry after a block was not checked. Gemini CLI calls the hook again with an empty prompt, so the hook had no task and stayed silent once the agent changed anything. It now keeps the session's task. Found by the experiment below.
- New measurement (
benchmark/results/false-alarms-real-libraries): three attempts to cut the generated checks' false alarms on real libraries; none beat the unchanged tool, so none ships. Of the blocks counted as false alarms, about 7 in 10 are changes that really miss the task text. Two runs of the same code disagree on 25 of 200 verdicts. - New measurement (
benchmark/results/hook-fix-or-game): 120 real Gemini CLI sessions, with and without the hook. No blocked agent was seen gaming the check it was shown (0 of 12), which is too few to rule gaming out. 4 of 12 fixed the bug after the block. Two agents broke a correct change after a false block. End results with and without the hook (23 against 18 of 40) are within noise.
Apex verify 0.2.7
- GitHub Action: the release-bundle download announced in 0.2.6 never ran, because GitHub does not reliably set
GITHUB_ACTION_REFinside a composite action; the Action kept building from source (which works, about 7 seconds). The ref is now passed in explicitly, and this repository's own workflow runs the released Action so the path stays tested.
Apex verify 0.2.6
The starter issues, each with a test.
- Package managers: a project with a
pnpm-lock.yaml,yarn.lockorbun.lockhas its tests run by that tool when it is installed (npm otherwise). - Missing install: when a project declares dependencies and has no
node_modules, the report says so, instead of only showing tests that fail to start. - Cheating scan: skip markers of JUnit (
@Disabled,@Ignore), RSpec (pending,skip,xit) and xUnit/NUnit (Skip = "...",[Ignore]); and a new finding,assertions_weakened, when an existing test keeps its name but a strict assertion becomes a loose one or is wrapped in an emptytry. - Token counts: the report shows how many tokens the checker model used (
usagein JSON). .apex-verify.json: shared settings (provider,model,testCommand,timeout,lockTests), read from the base commit so a change cannot edit its own rules. Flags win; an unknown key is an error.- GitHub Action: on a release tag (
@v1,@vX.Y.Z) the Action downloads that release's built bundle instead of building from source on every run; any other ref, or a failed download, still builds.
Apex verify 0.2.5
Closes the items left open by the two review rounds.
- Without a sandbox, a test that modifies the project's installed dependencies (
node_modules) now makes the changenot ready, with a note to reinstall. With a sandbox it was already read-only. - A generated Python check that holds a code fence inside a triple-quoted string is no longer cut short.
- Windows: a test on the Windows runner proves arguments with
&,^,%, parentheses, pipes and quotes reach the program unchanged inside the sandbox. - README: a real pull request comment, pasted as the tool wrote it.
- The smaller repository announced in 0.2.3 ships now. A publishing mistake left the removal of unreachable engine code, and the scan for private information that runs with it, out of 0.2.3 and 0.2.4. Those trees were scanned afterwards and contained nothing private; the publishing script now stops if either step did not run.
Corrected benchmark numbers are in 0.2.4's notes and in benchmark/results/real-projects. Use the Action as uses: apex-engine-dev/apex-verify@v1.
Apex verify 0.2.4
A correction to our published results, and the fixes behind it.
- We were wrong about real libraries. A bug kept Apex verify from running the tests of a project with a
package.jsontest script, no declared dependencies and nonode_modules(all 23 real-library benchmark tasks). So the "tests alone stopped none of the wrong changes" result was false. Fixed and re-measured: the projects' own tests block 80 of 107 wrong changes (75%); the full gate blocks 97 (91%) and wrongly blocks 21 of 93 right ones (23%). The README, the chart andbenchmark/results/real-projectsare corrected; the withdrawn rows are kept there. - 0.2.3, the second review round:
--diffcould still write outside the scratch copy (Index:/context diffs,node_modules), a change could rewrite the tool's copy of the original code, three kinds of regression were missed, and a pull request titled--versioncould pass the Action. All fixed, each with a test. - Sandbox: the real project's
node_modulesis read-only for tests, and on macOS dotfiles in the home folder are no longer readable. - Grouped
--help, a coloured verdict at a terminal, a complete workflow file in the README, and a much smaller repository (engine code the CLI never reaches is no longer published).
Use the Action as uses: apex-engine-dev/apex-verify@v1. Full list: CHANGELOG.md.
Apex verify 0.2.3
Second review round (on the 0.2.1 fixes themselves) and a first-run polish. Upgrade recommended.
--diffcould still write outside the scratch copy throughIndex:/context diffs and into the realnode_modules: diffs are now applied withgit applyonly.- A change could rewrite the tool's copy of the original code and hide a regression: the copy is fingerprinted.
- Missed regressions fixed: a test newly broken inside an already-failing suite, a test command that now runs nothing, a type check that passed before and fails now.
- The Action could be passed by a pull request titled
--version: a missing report now fails the job. - The stop hook verifies work the agent committed during the session.
- Grouped
--help, a coloured verdict at a terminal, a demo footer that works, a complete workflow file in the README andexamples/workflows/. - The repository no longer carries engine code that
apex verifynever reaches (about 7,200 lines down to about 3,000); behaviour is unchanged.
Full list: CHANGELOG.md.
Apex verify 0.2.2
The GitHub Action is now listed on the GitHub Marketplace as Apex verify: AI change checker (the plain name was taken), with a shorter description. No code changes since 0.2.1 (the security release: a malicious --diff could write outside the scratch copy, forged cached checks, secrets reaching the model, and more; see the 0.2.1 notes).
Use it as uses: apex-engine-dev/apex-verify@v1. A crash or setup error now fails the job by default. The Claude Code plugin is pinned to this release.
Apex verify 0.2.1
Security and robustness release from a full code review (four independent reviewers; every finding was reproduced before it was fixed, and each fix has a test). Upgrade recommended.
- A malicious
--diffcould write outside the scratch copy (for example into~/.zshrc) before any sandbox ran. Diff paths are now checked and--unsafe-pathsis gone. - Forged cached checks: cache and hook state moved to
~/.apex-verify/(mode 700, not writable by the test sandbox); cached drafts are validated. - Secrets: git-ignored files are no longer part of the change; secret-looking files are never offered to the checker; key- and token-shaped strings are redacted from everything sent to a model; the type check now runs in the sandbox with a scrubbed environment.
- Signed reports: the signature covers the whole report and
--check-reportrequires the key you trust. - GitHub Action: a crash or setup error now fails the job by default (it used to pass); a task starting with
--is handled; only the bot's own comment is updated. - Stop hook: odd file names no longer hide changes; the 3-block limit really holds per session; the Claude Code plugin is pinned to this release.
- Engine and CLI fixes: a quadratic regex on blank-line output,
.gitattributes export-ignore, source folders called build/target/coverage, symlink containment, TAP/pytest/go parsing, cheat-scan false flags, model timeouts, Ctrl-C cleanup.
Full list: CHANGELOG.md. The Action is used as apex-engine-dev/apex-verify@v1 (the v1 tag now points here).
Apex verify 0.2.0
Jest, Vitest, Rust and Go checks; Windows AppContainer sandbox; Gemini CLI and Claude Code hooks tested in real sessions; badge (JSON and SVG); --lock-tests and signed reports; --demo; real-library benchmark (200 changes). See CHANGELOG.md.