# Fix user rules ignored by agent \(\#29754\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 50ec26c16363861850e2aa2f8abc5ad721436c24

Requested commit: 50ec26c16363861850e2aa2f8abc5ad721436c24

Commit: 50ec26c16363861850e2aa2f8abc5ad721436c24

Tree: af7b623e975f7006905d71994166562c135bbae6

Author: Jonathan LEI

Committer: GitHub

## Message

```
Fix user rules ignored by agent (#29754)

Closes #29753

The template contains an error: `has_default_user_rules` is always
undefined and should be `has_user_rules` instead.

Release Notes:

- Fixed default user rules ignored during prompt building.
```

## Parents

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

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