THE AGENT SIGNAL LAB

Try Qwen Code v0.29.0: verify the PR approval boundary

Run focused upstream regression tests for approval source binding and host-held verification records. Check that valid synthetic authority passes and unauthorized or stale evidence is refused.

30–45 minutes (reader-controlled)Hands-on guideChecked 29 November 2026
Download the Markdown guide

Edition: 29 November 2026. Status: SOURCE-REVIEWED / NOT EXECUTED.

Goal and benefit

A coding agent can write a plausible review without having permission to execute code. Qwen Code's November 28 release adds an explicit preflight for PR verification and checks authority bound to the execution context. Run the tagged upstream regression tests in a disposable environment, not an actual PR review. Measure whether expected allow and refuse cases are represented and pass. This does not test hosted broker failover or prove the absence of authorization bugs.

Prerequisites and cost

  • Disposable Linux VM or container with Git, Node.js 22 or newer, Corepack and sufficient space for the monorepo dependency install. Use a user without elevated privileges.
  • Free public source and package downloads; network/storage/compute are your own. No paid model, API key, cloud account or GitHub authentication is needed. If a disposable environment is unavailable, stop rather than use a credential-bearing workstation.
  • Do not mount SSH keys, home directories, Docker sockets or production repositories. Inspect the tagged package scripts and dependency lockfile before installation; package lifecycle scripts execute code. Restrict network after setup where possible. Do not run an agent session, /verify-pr, /autofix-pr or a real PR in this lab.

1. Pin the source

In the disposable environment, use a new scratch directory.

sh
git clone --depth 1 --branch v0.29.0 https://github.com/QwenLM/qwen-code.git qwen-approval-lab
cd qwen-approval-lab
git rev-parse --short HEAD
node --version
corepack --version
git status --short
node -p 'require("./package.json").packageManager'

Expected: release commit begins e67a8f7, Node >=22, clean checkout and pnpm 11.24.0 pin. If the commit differs, stop and verify the release. No credentials should be available to this environment.

2. Inspect before installing

sh
cat package.json
cat scripts/tests/vitest.config.ts
grep -nE 'executionApproval (source|host) binding' scripts/tests/verify-pr-{prepare,check}.test.js

Expected: the two named suites exist, and the configuration uses Node and a Corepack warm-up. Read those test groups and their fixtures; they simulate approval records. The source is not a guarantee that every possible external call is mocked. If the environment cannot restrict credentials or network, stop.

sh
corepack pnpm install --frozen-lockfile

Expected: dependencies install using the pinned lockfile. This may take time and disk space; do not upgrade or remove the lockfile to make it pass. No model service is needed. Disconnect external network after dependencies and the pinned package manager are cached.

3. Run targeted approval tests

sh
corepack pnpm exec vitest run --config scripts/tests/vitest.config.ts scripts/tests/verify-pr-prepare.test.js -t 'executionApproval source binding' > prepare.log 2>&1
rc=$?
cat prepare.log
printf 'prepare exit=%s\n' "$rc"

corepack pnpm exec vitest run --config scripts/tests/vitest.config.ts scripts/tests/verify-pr-check.test.js -t 'executionApproval host binding' > check.log 2>&1
rc=$?
cat check.log
printf 'check exit=%s\n' "$rc"

Expected: both selected groups run at least one test and exit zero if the regression cases pass. Nonmatching tests can be skipped by the filter; do not count them as passed. The actual counts, timing and verdicts are unknown until you execute the lab. Check the source names alongside the log; use the Vitest verbose reporter if the log does not identify individual cases.

4. Score the evidence

Give one point for each of the following verified passing cases, and zero for failure, skip, absent or not run:

CaseExpected behavior
Explicit local trust, own fork or same repositoryAccepted by preparation
Local trust for another forkRefused before creating artifacts
Maintainer lacks target write permissionRefused
Matching comment and local-trust recordsAccepted by checker
Missing host context or verified digestRefused
Tampered declaration or moved headRefused

Record score out of six, exact case names, both exit codes, commit, Node version, and skipped cases. Both groups must actually execute; a clean exit with no selected tests is inconclusive. A six-point result means only these regression assertions passed, not that a real PR is safe. Inspect assertions for meaningful error matching, not just length of an error list; the maintainer PR discussion includes examples of why this matters.

Troubleshooting and stop rules

  • Corepack missing: use an already provisioned compatible Node/Corepack environment; do not pay for tooling or use an unpinned global package manager.
  • Dependency install or corepack warm-up fails offline: mark setup blocked, not a failed security test. Allow only required public package downloads for setup and retry once.
  • Missing suite or tag mismatch: stop, confirm the release and record the mismatch. Do not substitute current main.
  • Test timeout: rerun once on a quiet disposable environment; record both outcomes and the default 90-second per-test timeout from the tagged config.
  • Any failed authorization case: preserve logs and do not enable automated PR execution based on this lab. Do not loosen the approval checks to achieve a pass.

Keep logs and the source commit as reproducible evidence. Do not publish any actual PR, make model calls or modify upstream. The hosted recovery and VM isolation features need separate integration evaluation.

Primary sources

Tested status: source review only, no dependency installation, regression run, real PR execution or model inference performed for Agent Signal.

Get Agent Signal in your inbox

A short daily briefing on AI models, coding agents and research, with a link to the full report and one practical experiment.

Subscribe free →

Confirm your email to subscribe. Unsubscribe at any time.