Repository navigation
Releases
v0.3.0
Adds six synthetic cases for what a caller does after a non-idempotent send (an email) times out and the outcome is unknown, scored with the A1/A2/A3 labels (duplicated effect, missing committed effect, orphaned compensation).
- Four email timeout cases: confirmed not sent, confirmed sent, and no record with or without atomic key deduplication when the first attempt may arrive late.
- One rewrite pair: the agent rewrites failed code and proposes the same email under a fresh key. It separates matching by key, by content, and by a runtime-assigned step.
- New API:
email_timeout_cases(),rewrite_identity_cases(),retry_cases(),evaluate_retry(), and seven reference policies. - The CLI prints a second table, and
--jsonaddsretry_results. The existing commit-gate cases and JSON keys are unchanged.
pip install agent-commit-evals==0.3.0
python -m agent_commit_evals
Agent Commit Evals v0.2.0
Adds a pair that tests where a freshness token comes from. In both cases the
agent claims the current revision. In the invalid case the runtime served an
older revision, and approval was revoked afterward. A guard that trusts the
agent's claimed revision admits that unsafe commit. A guard that uses the
revision the runtime served blocks it.
GuardInputhas an optionalclaimed_revision, the revision the agent wrote
into its proposal. Existing fixtures claim the revision they were served, so
their results are unchanged.- New
claimed_revision_guard, a client-supplied If-Match check. - New
token_provenance_cases()andall_cases().paired_cases()still
returns the original four cases. - The demo now runs six cases and four guards. The README links the latest
arXiv version of each paper. - Install the attached wheel with
python -m pip install agent_commit_evals-0.2.0-py3-none-any.whl.
The provenance pair follows the comparison of agent-supplied and runtime-held
version tokens in ShiftGuard (arXiv:2609.29522v2).
Agent Commit Evals v0.1.0
First standalone release for evaluating agent commit gates on paired synthetic
state changes. The four fixtures cover approval revocation and a one-time
effect that has already been recorded.
- Compare an allow-all baseline, a whole-record revision guard, and a guard
that rechecks the action's declared conditions. - Report unsafe commits, unnecessary blocks, and safe completions. JSON
output includes the expected and actual decision for each fixture. - Run offline with Python 3.10 or later. Install the attached wheel with
python -m pip install agent_commit_evals-0.1.0-py3-none-any.whl.
The demo is adapted from the MIT-licensed VP-Control predicate check. The
fixtures test simulated decisions with authoritative commit-time state.