From 25eb2f53bffac76a7af19742979fddb962f80a18 Mon Sep 17 00:00:00 2001 From: Coden Date: Mon, 22 Jun 2026 18:39:50 +0900 Subject: [PATCH] Ship Bash hook safety fix as 0.4.13 Publish the merged Bash rewrite hook safety fix as a new patch because npm versions are immutable and the distributed CLI binary changed. Constraint: npm cannot republish @ictechgy/context-guard@0.4.12. Rejected: Publish without a version bump | the registry already contains 0.4.12 and release workflow requires tag/version alignment. Confidence: high Scope-risk: narrow Directive: Keep package.json, plugin.json, marketplace metadata, and CHANGELOG synchronized for every publishable version. Tested: python3 scripts/sync_plugin_copies.py --check; python3 scripts/prepublish_check.py; python3 scripts/release_smoke.py; npm publish --dry-run --access public --tag latest; npm view @ictechgy/context-guard@0.4.13 returned E404 before publish. Not-tested: GitHub Actions trusted-publishing workflow before the v0.4.13 release is created. --- .claude-plugin/marketplace.json | 2 +- CHANGELOG.md | 5 +++++ package.json | 2 +- plugins/context-guard/.claude-plugin/plugin.json | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 9ccb4cd..5147918 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -67,7 +67,7 @@ "gated-experiments", "future-roadmap" ], - "version": "0.4.12" + "version": "0.4.13" } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 7180601..7199ca5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes for the ContextGuard plugin are documented here. ## [Unreleased] +## [0.4.13] - 2026-06-22 + +- Kept the Bash rewrite hook stdout JSON-parseable while routing sanitizer-worthy read-only pipelines through `context-guard-sanitize-output`. +- Preserved fail-closed handling for side-effecting shell operators, redirections, here-strings, `tee`, network commands, environment-prefixed filters, and file-reading/writing filter options. + ## [0.4.12] - 2026-06-22 - Published the post-merge README, Korean README, and GitHub Pages copy polish into the npm/package metadata so package consumers see the same setup, packaging, helper-trust, and conservative savings-claim guidance as the product site. diff --git a/package.json b/package.json index b47aced..7a02cec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ictechgy/context-guard", - "version": "0.4.12", + "version": "0.4.13", "description": "ContextGuard CLI helpers for keeping AI coding agent context focused and local-first.", "license": "Apache-2.0", "homepage": "https://github.com/ictechgy/context-guard#readme", diff --git a/plugins/context-guard/.claude-plugin/plugin.json b/plugins/context-guard/.claude-plugin/plugin.json index 7045c14..629044e 100644 --- a/plugins/context-guard/.claude-plugin/plugin.json +++ b/plugins/context-guard/.claude-plugin/plugin.json @@ -37,5 +37,5 @@ "gated-experiments", "future-roadmap" ], - "version": "0.4.12" + "version": "0.4.13" }