Skip to content

Releases: nizos/tdd-guard

TDD Guard v1.6.8

02 May 18:04
v1.6.8
fbce289

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix Claude Code slash commands like /clear being 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

v1.6.7...v1.6.8

TDD Guard v1.6.7

02 May 09:13
v1.6.7
2c82daa

Choose a tag to compare

What's Changed

Bug Fixes

  • Ignore ERB templates by default by @zerone0x (#165) - Thank you for your first contribution!

Plugin

  • Add Minitest reporter support to the setup skill (plugin v1.3.0)

Full Changelog

v1.6.6...v1.6.7

TDD Guard v1.6.6

01 May 11:40
v1.6.6
5b2e7ac

Choose a tag to compare

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

v1.6.5...v1.6.6

TDD Guard v1.6.5

23 Apr 20:07
v1.6.5
fefd7b8

Choose a tag to compare

What's Changed

Security

Full Changelog

v1.6.4...v1.6.5

TDD Guard v1.6.4

22 Apr 18:37
v1.6.4
e143575

Choose a tag to compare

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_DIR arrives in POSIX form (/c/src/project) while process.cwd() is Windows form (c:\src\project), and the mismatched path styles failed the project-directory check.

Full Changelog

v1.6.3...v1.6.4

TDD Guard v1.6.3

19 Apr 18:54
v1.6.3
457c1f9

Choose a tag to compare

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

v1.6.2...v1.6.3

TDD Guard v1.6.2

19 Apr 17:10
v1.6.2
41fed0d

Choose a tag to compare

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

v1.6.1...v1.6.2

TDD Guard v1.6.1

19 Apr 16:49
v1.6.1
ac698fe

Choose a tag to compare

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

v1.6.0...v1.6.1

TDD Guard v1.6.0

19 Apr 11:05
v1.6.0
9f79549

Choose a tag to compare

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

v1.5.1...v1.6.0

TDD Guard v1.5.1

18 Apr 20:51
v1.5.1
5148b9d

Choose a tag to compare

Bug Fixes

  • Pinned @anthropic-ai/claude-agent-sdk below 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).

Full Changelog

v1.5.0...v1.5.1