Files
codebase-memory-mcp/tests
Martin Vogel 0286569e63 test(workspace): create the descendant on disk; write the grant via cbm_fopen
The Windows half of ws_approve_sensitive_matches_across_separator_styles
asserted the sensitive-root hint for <cache>/.ssh/cfg/sub without creating
that directory. Containment canonicalizes the candidate, which on Windows
opens it (CreateFileW, OPEN_EXISTING), so a missing descendant was reported
as outside the allowed root and the assertion failed on the Windows shard.
Create it the way its parent is created.

The grant file is now written through cbm_fopen, the wrapper every
repository or user path goes through, in binary mode.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-20 06:05:10 +02:00
..
2026-10-11 16:57:48 +02:00