Skip to content

Commit 1580a47

Browse files
alexeyvclaude
andcommitted
fix(quick-dev): scope render/ whitelist to bmad-quick-dev
The previous INSTALL_ONLY_PATHS entry 'render/' was a blanket prefix that let every {project-root}/_bmad/render/... reference in any skill slip past validation. Narrow to 'render/bmad-quick-dev/' so only this skill's render buffer is whitelisted. Future skills adopting the stdout-dispatch renderer pattern add their own entries explicitly. Part of plan-quick-dev-python-config-hardening.md (F6). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 33b52f9 commit 1580a47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/validate-file-refs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function escapeTableCell(str) {
8080
}
8181

8282
// Path prefixes/patterns that only exist in installed structure, not in source
83-
const INSTALL_ONLY_PATHS = ['_config/', 'custom/', 'render/'];
83+
const INSTALL_ONLY_PATHS = ['_config/', 'custom/', 'render/bmad-quick-dev/'];
8484

8585
// Files that are generated at install time and don't exist in the source tree
8686
const INSTALL_GENERATED_FILES = ['config.yaml', 'config.user.yaml'];

0 commit comments

Comments
 (0)