Skip to content
Discussion options

You must be logged in to vote

With the config you pasted, the framework already allows D:/zxq/agent/QCodeTest. The refusal you quoted looks like it comes from the model, not from the filesystem layer.

In ROOTED mode, absolute paths are accepted when they fall under the project root, the workspace, or any extra roots. LocalFilesystemSpec.toFilesystem builds that list from exactly those three sources, so your .project(Path.of("D:/zxq/agent/QCodeTest")) is in the allow-list:

List<Path> policyRoots = new ArrayList<>();
policyRoots.add(effectiveProject);
pol…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zxqQing
Comment options

@stanleys12
Comment options

Answer selected by zxqQing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants