Skip to content

Commit 8dc22ca

Browse files
rvdbreemenclaude
andcommitted
chore(release): v0.30.1 (bump-version Python rewrite)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent b32b297 commit 8dc22ca

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "adr-kit",
1111
"source": "./",
12-
"version": "0.30.0",
12+
"version": "0.30.1",
1313
"description": "Drop-in ADR toolkit: /adr-kit:init (one-shot bootstrap + audit + hook), pre-commit verification via bin/adr-judge (declarative Enforcement blocks + opt-in Claude Sonnet LLM judge since v0.17), on-demand /adr-kit:adr and /adr-kit:judge, ADR Guardian (SessionStart staleness detection, v0.18+), CI composite action for PR-level enforcement and pre-commit framework support (v0.19+).",
1414
"homepage": "https://github.com/rvdbreemen/adr-kit",
1515
"license": "MIT"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "adr-kit",
33
"description": "Architecture Decision Record toolkit for AI coding agents. Four modes: /adr-kit:init for one-shot project bootstrap; pre-commit verification via bin/adr-judge (declarative Enforcement blocks plus Claude Sonnet LLM judge, opt-in since v0.17); on-demand /adr-kit:adr authoring and /adr-kit:judge resolution; and the ADR Guardian (v0.18): a SessionStart staleness detector with two-tier cadence (drift daily, LLM bi-weekly) and mix-by-finding-type in-session responses.",
4-
"version": "0.30.0",
4+
"version": "0.30.1",
55
"author": {
66
"name": "Robert van den Breemen",
77
"url": "https://github.com/rvdbreemen"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to `adr-kit` are documented in this file. The format follows
44

55
## [Unreleased]
66

7+
## [0.30.1] - 2026-06-13
8+
79
### Fixed
810

911
- **`bin/bump-version` rewritten in pure stdlib Python (was bash).** The bash version shelled out to `python3` for each file edit. On Windows the `python3` command resolves to the Microsoft Store alias, which routes through the Python Install Manager; that launcher scans argv for a script file and dispatches on THAT file's shebang. Step 4 passed the bash-shebanged `templates/githooks/pre-commit` as an argument, so the launcher warned `shebang 'bash' ... treated as an arbitrary command` and executed bash instead of python, which crashed with cygheap fork errors during the v0.27.0 through v0.29.0 releases (stamps were applied by hand each time; the lockstep tests caught nothing missed). The rewrite spawns no child processes at all, so there is nothing for a launcher to misroute; it also needs no Git Bash, resolves the repo root from its own location (worktree-safe), and matches every other bin in this repo. Same CLI, same output, same exit codes. Invoke as `bin/bump-version X.Y.Z` (or `python bin/bump-version X.Y.Z` on Windows). 8 tests in `tests/test_bump_version.py`, including a structural guard that the script never gains a child-process call.

templates/cc-settings/guardian-hook-entry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"_comment": "ADR Guardian SessionStart hook entry for .claude/settings.json",
33
"_note": "Add this entry under hooks.SessionStart[0].hooks[] in the project's .claude/settings.json.",
44
"_remove_marker": "adr-guardian-session-start",
5-
"_wrapper_version": "0.30.0",
5+
"_wrapper_version": "0.30.1",
66
"type": "command",
77
"command": "ADR_KIT=$(ls -d ~/.claude/plugins/cache/rvdbreemen-adr-kit/adr-kit/*/ 2>/dev/null | sort -V | tail -1) && [ -n \"$ADR_KIT\" ] && _PY=$(command -v python3 || command -v python || command -v py) && [ -n \"$_PY\" ] && \"$_PY\" \"$ADR_KIT/bin/adr-guardian\" check 2>/dev/null || true",
88
"timeout": 10,

templates/githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ set -e
4747
# freezes at install time. adr-guardian compares this stamp against the
4848
# installed plugin version and nudges /adr-kit:upgrade when the wrapper lags.
4949
# Maintained by bin/bump-version; do not edit by hand.
50-
ADR_KIT_WRAPPER_VERSION="0.30.0"
50+
ADR_KIT_WRAPPER_VERSION="0.30.1"
5151

5252
if [ "${ADR_KIT_HOOK_DISABLE:-0}" = "1" ]; then
5353
echo "[adr-kit] hook disabled for this commit (ADR_KIT_HOOK_DISABLE=1)" >&2

0 commit comments

Comments
 (0)