- restructure _loadFlatCommandsGsdManifest try/catch to wrap read+parse+set together (mirrors loadSkillsManifest exactly), so a thrown parser degrades both keys to [] — closes the latent catch-scope parity drift [Nit-1] - add boundary test: gsd-.md (empty stem) skipped, gsd-x.md single-char stem kept (slice(4,-3) boundary) [Low-1] - add unreadable-file test (POSIX-gated): both keys degrade to [] [Low-2] - strengthen parity test to also compare requires + _calls_agents_ VALUES, not just the stem set [Nit-2] Both orthogonal reviews returned APPROVE with no Critical/High findings. Security review confirmed no new trust-boundary crossing, prototype-pollution immune (Map/Set throughout), and symlink/path-traversal surface identical to the pre-existing nested loader (not a regression).
91 KiB
91 KiB