Composer stucks on absolute paths

I’ve been experimenting with Composer and noticed that it is unable to complete requested task.

Initial prompt: Create Vitest unit tests that cover scenarios described in function description. Create it in root directory, under path “/tests/password-checker.spec.ts”

The part about “root directory” and absolute path was added on purpose - apparently it is indeed trying to create files in root directory on my file system, instead of project root.

Changing it to relative path fixed the issue. My recommendation would be to sanitize paths in a way they start from project root by default.