claudify-agent 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -94,7 +94,9 @@ const TEST_FILE = /(\.(test|spec)\.[cm]?[jt]sx?$)|__tests__|_test\.go$|\.t\.sol$
|
|
|
94
94
|
|
|
95
95
|
// Only validate turns in which Claude edited files
|
|
96
96
|
const turn = loadCurrentTurn(input.transcript_path);
|
|
97
|
-
|
|
97
|
+
// Docs, specs and claudify's own files are not project code: editing them never breaks lint/tests
|
|
98
|
+
const NON_CODE = /(^|\/)(\.claude|spec|openspec|docs)\/|\.(md|mdx|txt|ya?ml)$/;
|
|
99
|
+
const changedFiles = (turn ? editedFiles(turn.toolUses) : []).filter(f => !NON_CODE.test(f));
|
|
98
100
|
|
|
99
101
|
if (changedFiles.length === 0) {
|
|
100
102
|
console.error("[Auto-Validate] No code changes detected, skipping validation");
|
package/package.json
CHANGED