From 47b1b599ceb5fe2b2962a327f637167093f90e78 Mon Sep 17 00:00:00 2001 From: lostmartian Date: Fri, 28 Aug 2026 13:11:57 +0530 Subject: [PATCH] chore(release): bump version to 0.4.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ src/agentdiff/__init__.py | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a31062b..e2ef8723 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,36 @@ All notable changes to **AgentDiff** (`agent-trajectory-diff`) are documented he The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2026-08-28 + +AgentDiff v0.4.0 — trace capture, Goodhart-resistant gating, and a full docs +site redesign. Highlights: capture traces directly from any callable with +`agentdiff record`, every report self-describes its gate provenance, threshold +changes are flagged in the PR comment, stale baselines warn on `--explain`, and +the website gains a technical `/features` deep dive, `/adapters`, `/action`, +`/compare`, and `/quickstart` pages. + +### Added +- **`record` subcommand** (#23): capture execution traces from any Python + callable (`agentdiff record my_agent:run --input '{...}' --out + traces/run.json`), making baseline capture a one-liner instead of + hand-instrumented serialization. +- **Gate provenance in every report** (#25): terminal, JSON, and PR report + formats self-describe the gate rules and their source, so a green check is + always auditable against the thresholds that produced it. +- **Threshold-change flagging** (#24): when gate values in `agentdiff.toml` + differ from the baseline commit, the PR comment says so — above the diff — + closing the Goodhart loop where thresholds drift to keep CI green. +- **Stale-baseline warning** (#26): `--explain` surfaces the baseline's age + past a configurable threshold, so re-recording is a deliberate act rather + than silent decay. +- Shell completion install instructions for bash/zsh/fish (#27). + +### Changed +- **Website redesign** (#28): new editorial `/features` page with engine and + metric diagrams, plus dedicated `/adapters`, `/action`, `/compare`, and + `/quickstart` pages; landing sections rebuilt under a `(site)` route group. + ## [0.3.0] - 2026-08-23 AgentDiff v0.3.0 — framework-native ingestion, suite-level gating, and diff --git a/src/agentdiff/__init__.py b/src/agentdiff/__init__.py index 279bc921..1b15493d 100644 --- a/src/agentdiff/__init__.py +++ b/src/agentdiff/__init__.py @@ -32,7 +32,7 @@ assert_no_regressions(report) """ -__version__ = "0.3.0" +__version__ = "0.4.0" from agentdiff.adapters import ( BaseAdapter,