diff --git a/.claude/projects/-Users-gb-Projects-bDS2/memory/feedback_targeted_debugging.md b/.claude/projects/-Users-gb-Projects-bDS2/memory/feedback_targeted_debugging.md new file mode 100644 index 0000000..f49e578 --- /dev/null +++ b/.claude/projects/-Users-gb-Projects-bDS2/memory/feedback_targeted_debugging.md @@ -0,0 +1,11 @@ +--- +name: Debug targeted, don't brute-force +description: When investigating flaky tests, analyze the code and fix — don't brute-force with repeated full suite runs +type: feedback +--- + +If you already know which test is failing and why, fix it. Don't waste time running the full suite 20 times hoping to capture output. + +**Why:** It's slow, wasteful, and avoids thinking. Analyze the code, understand the race, fix it. + +**How to apply:** When a test fails, read the test, understand what it does, identify the root cause, and fix it. Only re-run to verify the fix, not to gather more data you already have. diff --git a/tmp/BDS.TOCTOU.FileSystemTest/test-read_template_file-2-protocol-uses-atomic-read-reads-existing-template-0fbdd3d0/footer.liquid b/tmp/BDS.TOCTOU.FileSystemTest/test-read_template_file-2-protocol-uses-atomic-read-reads-existing-template-0fbdd3d0/footer.liquid new file mode 100644 index 0000000..588ad7e --- /dev/null +++ b/tmp/BDS.TOCTOU.FileSystemTest/test-read_template_file-2-protocol-uses-atomic-read-reads-existing-template-0fbdd3d0/footer.liquid @@ -0,0 +1 @@ +FOOTER \ No newline at end of file diff --git a/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-falls-through-to-next-root-path-when-first-is-missing-ac96bedd/b/partial.liquid b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-falls-through-to-next-root-path-when-first-is-missing-ac96bedd/b/partial.liquid new file mode 100644 index 0000000..398c808 --- /dev/null +++ b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-falls-through-to-next-root-path-when-first-is-missing-ac96bedd/b/partial.liquid @@ -0,0 +1 @@ +FROM B \ No newline at end of file diff --git a/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/a/shared.liquid b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/a/shared.liquid new file mode 100644 index 0000000..5022730 --- /dev/null +++ b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/a/shared.liquid @@ -0,0 +1 @@ +FROM A \ No newline at end of file diff --git a/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/b/shared.liquid b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/b/shared.liquid new file mode 100644 index 0000000..398c808 --- /dev/null +++ b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-first-root-path-wins-when-both-have-the-template-69386ef3/b/shared.liquid @@ -0,0 +1 @@ +FROM B \ No newline at end of file diff --git a/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-reads-file-atomically-without-separate-existence-check-8a97013f/header.liquid b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-reads-file-atomically-without-separate-existence-check-8a97013f/header.liquid new file mode 100644 index 0000000..d157ffa --- /dev/null +++ b/tmp/BDS.TOCTOU.FileSystemTest/test-try_read-2-eliminates-TOCTOU-race-reads-file-atomically-without-separate-existence-check-8a97013f/header.liquid @@ -0,0 +1 @@ +HEADER CONTENT \ No newline at end of file