﻿# What Qwen Code’s GitHub repository filter can govern

Check event admission and tool authorization independently, and keep a record of why repository events were skipped.

Author: Retrivium team
Updated: 2026-11-09
Canonical URL: https://retrivium.ai/journal/news-qwen-code-github-event-filter-scope/
Language: en

The November 7 Qwen Code v0.27.0 release adds a GitHub channel repository filter, with allowlist and blocklist modes and timeline entries for skipped notifications. It gives operators control over which repository events enter a channel. Tool permissions still need their own check at the point of action.

## Choose a mode from the intended policy

For a channel tied to a small set of repositories, record the repositories expected to generate work. With a blocklist, name the excluded repositories and evaluate the effect of newly created ones. Store normalized repository identities as shown in the configuration. Include similarly named projects in different organizations in the test set.

## Inspect the skipped-event evidence

Send authorized sample events from matching and nonmatching repositories. Inspect the channel and timeline for the expected decision. Capture the relevant policy revision and the repository that the handler extracted. A missing chat message can also come from a delivery failure, so the skip record should remain distinguishable from a transport error.

## Protect the downstream action

A repository filter governs the incoming event. The worker might receive a request to act on another repository from the message body or a different entry point. Test a permitted event that points to a forbidden target and require the tool to reject it. Keep GitHub credentials scoped to the work they actually perform.

## Review changes to the filter

Change the configuration while a test event is queued and observe which rule version applies. Include a repository rename and a disabled integration to check operator diagnostics. For a production channel, measure false skips and unintended deliveries after rollout. A correct filter limits the work accepted by the channel while preserving a usable audit trail.

## Check replay after a configuration change

If the channel can retry an event, send the same delivery again after changing the filter. Confirm how the event is deduplicated and whether policy is evaluated again. Retain both outcomes when that distinction affects incident analysis.

## Primary sources

- [Qwen Code v0.27.0 release](https://github.com/QwenLM/qwen-code/releases/tag/v0.27.0)
- [Repository filter implementation](https://github.com/QwenLM/qwen-code/pull/16493)

## Related reading

- [Bind approval to the pending action that will actually resume](/journal/frontier-swarm-approval-argument-binding/)
- [Cline subagent approval covers its internal actions](/journal/guide-cline-subagent-approval-scope/)
