fix(test): allowlist plan-phase.md in prompt injection scan
plan-phase.md exceeds 50K chars after pattern mapper step addition. This is legitimate orchestration complexity, not prompt stuffing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,6 +53,7 @@ const ALLOWLIST = new Set([
|
|||||||
'get-shit-done/bin/lib/security.cjs', // The security module itself
|
'get-shit-done/bin/lib/security.cjs', // The security module itself
|
||||||
'get-shit-done/workflows/discuss-phase.md', // Large workflow (~50K) with power mode + i18n
|
'get-shit-done/workflows/discuss-phase.md', // Large workflow (~50K) with power mode + i18n
|
||||||
'get-shit-done/workflows/execute-phase.md', // Large orchestration workflow (~51K) with wave execution + code-review gate
|
'get-shit-done/workflows/execute-phase.md', // Large orchestration workflow (~51K) with wave execution + code-review gate
|
||||||
|
'get-shit-done/workflows/plan-phase.md', // Large orchestration workflow (~52K) with pattern mapper + TDD mode
|
||||||
'hooks/gsd-prompt-guard.js', // The prompt guard hook
|
'hooks/gsd-prompt-guard.js', // The prompt guard hook
|
||||||
'tests/security.test.cjs', // Security tests
|
'tests/security.test.cjs', // Security tests
|
||||||
'tests/prompt-injection-scan.test.cjs', // This file
|
'tests/prompt-injection-scan.test.cjs', // This file
|
||||||
|
|||||||
Reference in New Issue
Block a user