From 08cf61808b9221ad98fc43f294a22b7b72242814 Mon Sep 17 00:00:00 2001 From: azmym Date: Mon, 22 Jun 2026 15:28:22 +0200 Subject: [PATCH] chore(release): v0.6.1 Bump plugin.json to 0.6.1 and move the done-claim diff fix from [Unreleased] into a dated [0.6.1] CHANGELOG section so the tag-triggered release workflow can verify the version and extract release notes. --- .claude-plugin/plugin.json | 2 +- CHANGELOG.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 0a774a2..187e667 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "gemini-plugin", "displayName": "Gemini Plugin", - "version": "0.6.0", + "version": "0.6.1", "description": "Wraps gemini-mcp into a Claude Code plugin so Gemini acts as a second opinion: validator/challenger/researcher/summarizer/reviewer subagents, auto-trigger hooks, and 9 task-oriented skills.", "author": { "name": "azmym" }, "homepage": "https://github.com/azmym/gemini-plugin", diff --git a/CHANGELOG.md b/CHANGELOG.md index b76d7ae..aa68b4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to gemini-plugin are documented here. The format follows [Ke ## [Unreleased] +## [0.6.1] - 2026-06-22 + +### Fixed + +- **Done-claim validation received empty or misleading diff evidence.** `stop-done-claim.sh` summarized the work with `git diff --stat HEAD~1`, which produced nothing usable in four common cases: an unborn HEAD (the first commit not yet made), a root commit (no parent, so `HEAD~1` errors out), a multi-commit task (only the most recent commit was shown, hiding the rest of the work), and uncommitted changes (`HEAD~1` ignores the working tree entirely). In each case the gemini-validator was handed weak evidence to audit the "done" claim against. Fixed by adding `build_diff_summary()` to `hooks/lib/common.sh`: it shows staged work on an unborn HEAD, uncommitted changes against HEAD, and the whole branch since it forked from the default branch (detected as `origin/main`, `main`, or `master`), falling back to `HEAD~1` and then the single commit when no fork point exists. + ## [0.6.0] - 2026-06-02 ### Added