-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Hey nizos, super cool tool, thanks for it. I'm developing in both TypeScript and Rust - but Claude is having a really hard time with maintaining the "knowledge" of piping the test output into tdd-guard
(e.g. | tdd-guard-rust --project-root /Users/username/projects/my-app --passthrough
) because it seemingly forgets even though I've put it in my initial message, try to steer it to do so during generation, etc.
It eventually just devolves into using sed
/ echo
to replace code in the files to get around the hook's imposed limits.


I've also tried to do the same in TypeScript, and it seems to constantly "forget" to add the required reporter for Vitest, and then just devolves into the same state of using sed
/echo
.
Also, I'm trying to follow the docs that say to do this to disable tdd-guard
:
Simply type one of these commands in your Claude Code prompt:
tdd-guard on
- Enables TDD Guard enforcementtdd-guard off
- Disables TDD Guard enforcement
and Claude doesn't seem to be too happy about it or understand it:


Do you have any tips on how to enlighten Claude, and/or give it more "steering" so it knows how to provide the required information to the hook so that it passes? Also, how's best to temporarily disable the hook?
I thought maybe I was missing the instructions.md
(which I am in fact missing), but how do I go about having it get generated?:
