[codex] Connect webhook deployment to coven-github#6
Merged
Conversation
Signed-off-by: Val Alexander <bunsthedev@gmail.com>
There was a problem hiding this comment.
Pull request overview
This PR connects this webhook deployment bundle more explicitly to the canonical OpenCoven/coven-github operating model by adding an operator-facing connection guide, a concrete example routing policy, and a regression test that exercises policy-based routing for labeled issues.
Changes:
- Add a checked-in example installation/repository policy (
config/example-policy.json) for routing a GitHub App installation+repo to a specific familiar. - Add operator documentation describing how to register the GitHub App (via
coven-github) and configure this deployment to use it. - Add a regression test that loads the example policy and verifies a labeled issue is routed into a queued familiar task; update README to reference the new artifacts.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/webhook-adapter.test.ts | Adds regression coverage that the example policy routes a labeled issue into a queued task with the configured familiar. |
| README.md | Documents the new example policy and the new coven-github connection guide. |
| docs/coven-github-connection.md | Adds an operator guide for wiring this deployment to the canonical OpenCoven/coven-github app manifest and runtime inputs. |
| config/example-policy.json | Introduces a concrete example policy that demonstrates installation+repo routing to a familiar. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+7
to
+12
| "enabled_triggers": [ | ||
| "issues.labeled", | ||
| "issue_comment.created", | ||
| "pull_request_review_comment.created" | ||
| ], | ||
| "trigger_labels": [ |
Comment on lines
+24
to
+31
| The manifest subscribes to the events this adapter can route: | ||
|
|
||
| - `issues` | ||
| - `issue_comment` | ||
| - `pull_request_review` | ||
| - `pull_request_review_comment` | ||
| - `check_suite` | ||
| - `check_run` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenCoven/coven-githubapp manifest and operating model.Verification
npm test— 12/12npm run buildgit diff --check