# feat\(server\): webhook filters fan out over arrays with a \[\] path wildcard · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/a50cd989aee06ed0762e26027eadf35933eb52ac)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: a50cd989aee06ed0762e26027eadf35933eb52ac

Requested commit: a50cd989aee06ed0762e26027eadf35933eb52ac

Commit: a50cd989aee06ed0762e26027eadf35933eb52ac

Tree: b3b65d6586a5c63e8405a3bfabd29a7b578765d8

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
feat(server): webhook filters fan out over arrays with a [] path wildcard

A filter path segment ending in [] resolves to the list of every element's
value, so a task can run only when, say, an issue carries a given label:
{path: 'body.issue.labels[].name', op: 'equals', value: 'needs more info'}.
equals, in and startsWith match when any element does, notEquals only when
none equals the value, exists when the list is not empty. Placeholders
accept the same syntax and render the list.

Before this, filters could only compare scalars and arrays satisfied
exists alone, so a GitHub issue_comment hook had to wake the bound thread
on every comment in the repository and let the agent discard the rest.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

```

## Parents

- [49e97d48f9742ba4c5ab79efc618fbf9066523ec](https://git.cafe/pingdotgg/t3code/commit/49e97d48f9742ba4c5ab79efc618fbf9066523ec?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/a50cd989aee06ed0762e26027eadf35933eb52ac?format=markdown)
