# Fix agent rules files for remote project by loading via buffer \(\#29440\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cfb7a3072484e05d330bd42cf4a3b3e25445d6d0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cfb7a3072484e05d330bd42cf4a3b3e25445d6d0

Requested commit: cfb7a3072484e05d330bd42cf4a3b3e25445d6d0

Commit: cfb7a3072484e05d330bd42cf4a3b3e25445d6d0

Tree: 011eb9c460d242ac34b84d233d7dbc1024f27d25

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix agent rules files for remote project by loading via buffer (#29440)

When using the agent with a project shared by a collaborator, rules file
loading didn't work as it was trying to read from the client's
filesystem

Release Notes:

- Fixed rules file loading when using the agent with a project shared by
a collaborator.
```

## Parents

- [7623fce4b4369a34e0aa17ad589b68d5d0dfbd5e](https://git.cafe/gitcafe/zed/commit/7623fce4b4369a34e0aa17ad589b68d5d0dfbd5e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cfb7a3072484e05d330bd42cf4a3b3e25445d6d0?format=markdown)
