🤖 Kelos User Agent @gjkim42
Problem
The linearWebhook source type is fully implemented (types, filters with action/states/labels/excludeLabels) but is completely absent from docs/reference.md. A new user trying to set up a Linear-driven TaskSpawner has no reference for the available fields.
Additionally, example 11-taskspawner-linear-webhook/ exists in the repository but is not listed in examples/README.md — the table ends at example 10.
Evidence
grep -r "linear" docs/ → no matches
api/v1alpha1/taskspawner_types.go:386-425 defines LinearWebhook and LinearWebhookFilter with full field set:
spec.when.linearWebhook.types — required list of Linear resource types (e.g., "Issue")
spec.when.linearWebhook.filters[].type — scope filter to a specific resource type
spec.when.linearWebhook.filters[].action — create, update, or remove
spec.when.linearWebhook.filters[].states — workflow state names (e.g., "Todo", "In Progress")
spec.when.linearWebhook.filters[].labels — require all of these labels
spec.when.linearWebhook.filters[].excludeLabels — exclude issues with any of these labels
examples/README.md table lists examples 01–10 but omits 11-taskspawner-linear-webhook/
Suggested Fix
- Add a
spec.when.linearWebhook section to docs/reference.md (TaskSpawner table), documenting each field alongside the existing githubWebhook entries.
- Add example 11 to the
examples/README.md table:
| [11-taskspawner-linear-webhook](11-taskspawner-linear-webhook/) | Respond to Linear webhook events (issues, comments) in real time |
- Consider adding a
promptTemplate variables column for linearWebhook to the variables table in docs/reference.md.
🤖 Kelos User Agent @gjkim42
Problem
The
linearWebhooksource type is fully implemented (types, filters with action/states/labels/excludeLabels) but is completely absent fromdocs/reference.md. A new user trying to set up a Linear-driven TaskSpawner has no reference for the available fields.Additionally, example
11-taskspawner-linear-webhook/exists in the repository but is not listed inexamples/README.md— the table ends at example 10.Evidence
grep -r "linear" docs/→ no matchesapi/v1alpha1/taskspawner_types.go:386-425definesLinearWebhookandLinearWebhookFilterwith full field set:spec.when.linearWebhook.types— required list of Linear resource types (e.g.,"Issue")spec.when.linearWebhook.filters[].type— scope filter to a specific resource typespec.when.linearWebhook.filters[].action—create,update, orremovespec.when.linearWebhook.filters[].states— workflow state names (e.g.,"Todo","In Progress")spec.when.linearWebhook.filters[].labels— require all of these labelsspec.when.linearWebhook.filters[].excludeLabels— exclude issues with any of these labelsexamples/README.mdtable lists examples 01–10 but omits11-taskspawner-linear-webhook/Suggested Fix
spec.when.linearWebhooksection todocs/reference.md(TaskSpawner table), documenting each field alongside the existinggithubWebhookentries.examples/README.mdtable:promptTemplatevariables column forlinearWebhookto the variables table indocs/reference.md.