Commit 926e59e
committed
fix(validate_marketplace_counts): use exclude parameter in all counter strategies
All four counter strategies (_count_agent_md, _count_commands,
_count_hooks, _count_skill_dirs) now properly use the exclude parameter
passed from the strategy interface. Previously they accepted the
parameter but ignored it, which violated the uniform interface contract.
- _count_agent_md: Now filters out excluded filenames
- _count_commands: Now uses passed exclude set (defaults to CLAUDE.md)
- _count_hooks: Now passes exclude to _walk_files instead of empty set
- _count_skill_dirs: Now filters out excluded directory names1 parent 19353b5 commit 926e59e
1 file changed
Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | | - | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
| 88 | + | |
83 | 89 | | |
84 | | - | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
89 | | - | |
| 96 | + | |
| 97 | + | |
90 | 98 | | |
91 | 99 | | |
92 | 100 | | |
93 | | - | |
94 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
95 | 104 | | |
96 | 105 | | |
97 | 106 | | |
| |||
0 commit comments