﻿# Qwen Code gives a distinct session model one review after a fast-classifier timeout

Inject a fast-review timeout and test second-review allow, block, error and late response independently; a stalled classifier must not become implicit permission.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-qwen-auto-classifier-timeout-review/
Language: en

Qwen Code v0.27.4 adds a bounded session-model review after an AUTO fast-classifier deadline when the configured model identifiers differ. Released on November 15, the feature keeps allow, block and unavailable-review outcomes distinct. A timeout is an availability event; the second review must still apply the existing permission policy to the original action.

## Force the intended timeout boundary

Use two controlled model endpoints with distinct identifiers. Stall the fast reviewer past its deadline while the session reviewer returns a complete synthetic verdict. Record which reviewer ran and how often. An ordinary API error before the deadline is a different path, so include it as a control. The test should prove the timeout condition triggered the added review rather than a broader unconfigured retry mechanism.

## Every verdict needs an execution count

Return allow, block and unavailable-review outcomes in separate fixtures around one harmless pending tool. Count actual executions at the tool boundary. A successful review should resume the original action once; a block should not execute it; an unavailable result should retain the supported manual path. Looking only at the displayed review message cannot reveal duplicate tool dispatch or an action that started before permission settled.

## Cancellation must beat an expired answer

Cancel the parent while the second reviewer is waiting, then deliver a late allow verdict. Assert no tool launch and no revived session work. Repeat with a response arriving after the second review’s own deadline. These are timing-sensitive acceptance cases, so control the test clock and endpoint completion rather than relying on arbitrary sleeps. The result checks authority lifetime as well as whether the model produced an approval.

## Measure availability without weakening the policy

Compare manual interruptions, total review latency and incorrect decisions on the same action set. A recovered timeout can improve continuity while adding another model call. The release does not promise a universal interruption reduction or identical behavior on every platform; the PR’s local validation has stated scope. Keep policy correctness and availability outcomes separate so a faster continuation cannot hide an unauthorized action.

## Sources

- [Qwen Code v0.27.4 release notes](https://github.com/QwenLM/qwen-code/releases/tag/v0.27.4)
- [Qwen Code implementation and review #17146](https://github.com/QwenLM/qwen-code/pull/17146)

## Related reading

- [Subagent permissions: delegation does not add authority](/journal/frontier-space-subagent-permission-inheritance/)
- [Inspect sandbox boundaries: a configured container does not move Python tool wrappers](/journal/fg2-inspect-sandbox-tool-wrapper-host-execution/)
