Mirrors the #1160 installed-layout tests for the flat source layout (<repo>/commands/gsd-<stem>.md, no commands/gsd/ subdir). Covers stem extraction (strip gsd- prefix), requires parsing via shared parseRequires, companion _calls_agents_ key parity, _resolveManifest flat-branch detection, precedence (flat-empty falls through to installed), and a generative-parity assertion that the flat loader and nested loader produce identical stem sets for the real command tree. Expected RED against unfixed capability-state.cts (_resolveManifest has no flat branch; _loadFlatCommandsGsdManifest not exported).
88 KiB
88 KiB