Releases: nizos/tdd-guard
TDD Guard v1.6.8
What's Changed
Bug Fixes
- Fix Claude Code slash commands like
/clearbeing silently swallowed when TDD Guard is active. The CLI's no-op response was being misread by Claude Code's hook protocol as a "consume the prompt" decision. Fixed by @danielj (#167) - thank you for your first contribution!
Documentation
- Inline demo gif on the README so visitors see TDD Guard in action immediately
Full Changelog
TDD Guard v1.6.7
What's Changed
Bug Fixes
Plugin
- Add Minitest reporter support to the setup skill (plugin v1.3.0)
Full Changelog
TDD Guard v1.6.6
What's Changed
Bug Fixes
- Resolved an issue where validation sessions polluted .claude dir history. The SDK is now invoked with a new configuration that does not result in any session persistence for validations. Closes #88.
- Resolved an issue where the data directory could be doubled (.claude/.claude/tdd-guard/data) when the resolved base directory already ended in .claude/. Refs #164.
Improvements
- Removed a local workaround that stripped the CLAUDECODE environment variable from validation queries, now that the upstream SDK handles this internally.
- Tightened the isolation contract of validation queries so that no project settings or CLAUDE.md files are loaded for them, and so that the non-interactive validation child denies any unexpected permission prompts instead of hanging on them. Also replaced a deprecated thinking-disabled option with the current one.
Security
- Resolved a moderate-severity advisory (GHSA-p7fg-763f-g4gf) by bumping the underlying Anthropic SDK to ^0.92.0. Broadened the dependency override so the same fix applies to the copy of the SDK pulled in transitively through the Jest reporter.
Full Changelog
TDD Guard v1.6.5
What's Changed
Security
- Resolved npm audit vulnerabilities in the uuid chain (GHSA-w5hq-g745-h8pq).
Full Changelog
TDD Guard v1.6.4
What's Changed
Bug Fixes
- Fixed TDD Guard on Windows under the Claude Code VS Code extension. All hooks previously crashed on startup because
CLAUDE_PROJECT_DIRarrives in POSIX form (/c/src/project) whileprocess.cwd()is Windows form (c:\src\project), and the mismatched path styles failed the project-directory check.
Full Changelog
TDD Guard v1.6.3
Bug Fixes
- Restored the unconditional allowance for adding pure type declarations, interfaces, and constants during refactor — v1.6.2 accidentally narrowed this and caused type-only edits to be blocked as premature implementation.
- Extended the refactor-during-green exception to Edit and MultiEdit operations. Previously only Write and Overwrite carried the explicit signal, so legitimate Edit-based refactors (e.g. moving type declarations between files) were being blocked.
Using Custom Instructions?
If you've customised the validation rules in .claude/tdd-guard/data/instructions.md, your file won't pick up all the new improvements automatically. Back up or delete it, then start a new Claude Code session to regenerate the latest defaults (you can re-apply your customizations on top). See Updating to Latest Defaults.
Full Changelog
TDD Guard v1.6.2
Bug Fixes
- Closed a gap from v1.6.1: moving an inline function into its own module (wrappers, adapters, formatters covered by existing tests) is now recognised as extraction during green and no longer blocked as premature implementation.
Using Custom Instructions?
If you've customised the validation rules in .claude/tdd-guard/data/instructions.md, your file won't pick up all the improvements automatically. Back up or delete it, then start a new Claude Code session to regenerate the latest defaults (you can re-apply your customizations on top). See Updating to Latest Defaults.
Full Changelog
TDD Guard v1.6.1
Bug Fixes
- Unblocked a common refactor workflow the validator was rejecting: pulling existing types, constants, or helpers into a shared or focused module. Extraction refactors during green are now recognised consistently across Write, Edit, and Overwrite — whether the destination is an existing file or a new file.
Using Custom Instructions?
If you've customised the validation rules in .claude/tdd-guard/data/instructions.md, your file won't pick up all the new improvements automatically. Back up or delete it, then start a new Claude Code session to regenerate the latest defaults (you can re-apply your customizations on top). See Updating to Latest Defaults.
Full Changelog
TDD Guard v1.6.0
New Features
- Fewer false blocks during TDD work. The validator now recognises two common patterns it previously blocked:
- Adjusting an implementation's signature so a test can actually run to its assertion
- Tidying existing tests (rename, combine, split, extract setup) alongside adding one new test
Improvements
- Works consistently across languages — JavaScript, TypeScript, Ruby, Python, Go, Rust, and others — not just the ones TDD Guard was originally tuned for.
Using Custom Instructions?
If you've customised the validation rules in .claude/tdd-guard/data/instructions.md, your file won't pick up all the improvements automatically. Back up or delete it, then start a new Claude Code session to regenerate the latest defaults (you can re-apply your customizations on top). See Updating to Latest Defaults for the full flow.
Full Changelog
TDD Guard v1.5.1
Bug Fixes
- Pinned
@anthropic-ai/claude-agent-sdkbelow 0.2.113 as a temporary workaround for an upstream native-binary resolver bug on Linux glibc hosts.
Security
- Closed a TOCTOU race in file content reading (CodeQL
js/file-system-race).