Skip to content

Fix Qwen shell hook configuration - #71

Merged
bigboateng merged 2 commits into
mainfrom
fix/qwen-shell-hook-setup
Oct 13, 2026
Merged

bigboateng merged 2 commits into
mainfrom
fix/qwen-shell-hook-setup

Conversation

@bigboateng

@bigboateng bigboateng commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Change contract

When: A user copies the Qwen Code setup from the README or pitot init --host qwen.
Before: The ^Bash$ matcher does not select Qwen's run_shell_command tool. Native tests use a different matcher, so their passing result does not cover the documented setup.
After: The README, generated guidance and native fixture all use ^run_shell_command$, selecting the shell tool while excluding unrelated tools.

Boundaries preserved

  • Qwen's existing native payload decoder and compatibility aliases remain supported.
  • Setup prints user-level instructions without editing user configuration. Other agents retain their existing support and test coverage.

Evidence

Scenario or check Expected result Observed result
Pinned Qwen 0.25.1 selector controls Runtime shell matcher selects shell only 80 controls passed against the package's isolated selector and the actual setup outputs
Generated Qwen setup Valid shell-only command-hook snippet; no configuration writes Go regression passed
Native fixture setup on POSIX and Windows Same matcher as the README Owned configuration regression passed
Go suite, static checks, formatting Pass Passed
Maintenance suite Pass with current source-bound evidence 199 tests completed successfully; one existing skip
Fresh native capture Current source-bound allow, deny and session evidence Capture run passed: 33 agent cells and three runtime checks
PR CI All current checks pass 49 checks passed on 6915f54ab8c9; current report verifies 33 agent cells and three runtime results

Failure and recovery

Regenerate configuration using the corrected snippet. Reverting restores the previous snippets and fixture; capture evidence must continue to match the source it verifies.

Remaining limits

The selector controls isolate pinned package behavior; full native captures are separate evidence. pitot doctor --host qwen does not yet inspect effective Qwen configuration.

@github-actions

Copy link
Copy Markdown

Pitot coding-agent E2E

Intelligence Flow is the verification source; Pitot's public README carries the latest main status.

Agent Ubuntu macOS Windows Result Evidence
Claude ✅ Pass · real CLI 2.1.296 · native · binary-observed anthropic messages ✅ Pass · real CLI 2.1.296 · native · binary-observed anthropic messages ✅ Pass · real CLI 2.1.296 · native · binary-observed anthropic messages ✅ Passing All platforms are required
Cursor ✅ Pass · real CLI 2026.10.01-e373342 · native · binary-observed cursor connect proto ✅ Pass · real CLI 2026.10.01-e373342 · native · binary-observed cursor connect proto ✅ Pass · real CLI 2026.10.01-e373342 · native · binary-observed cursor connect proto ✅ Passing All platforms are required
Codex ✅ Pass · real CLI 0.162.1 · native · binary-observed openai responses ✅ Pass · real CLI 0.162.1 · native · binary-observed openai responses ✅ Pass · real CLI 0.162.1 · native · binary-observed openai responses ✅ Passing All platforms are required
Devin ✅ Pass · real CLI 3000.11.3 · native · binary-observed devin connect proto ✅ Pass · real CLI 3000.11.3 · native · binary-observed devin connect proto ✅ Pass · real CLI 3000.11.3 · native · binary-observed devin connect proto ✅ Passing All platforms are required
DeepSeek Harness ✅ Pass · real CLI 0.2.0-rc.2 · native · binary-observed openai chat ✅ Pass · real CLI 0.2.0-rc.2 · native · binary-observed openai chat ✅ Pass · real CLI 0.2.0-rc.2 · native · binary-observed openai chat ✅ Passing All platforms are required
GitHub Copilot CLI ✅ Pass · real CLI 1.0.95 · native · binary-observed openai chat ✅ Pass · real CLI 1.0.95 · native · binary-observed openai chat ✅ Pass · real CLI 1.0.95 · native · binary-observed openai chat ✅ Passing All platforms are required
Gemini ✅ Pass · real CLI 0.63.0 · native · binary-observed gemini generate content ✅ Pass · real CLI 0.63.0 · native · binary-observed gemini generate content ✅ Pass · real CLI 0.63.0 · native · binary-observed gemini generate content ✅ Passing All platforms are required
Kimi Code ✅ Pass · real CLI 2.1.1 · native · binary-observed openai chat ✅ Pass · real CLI 2.1.1 · native · binary-observed openai chat ✅ Pass · real CLI 2.1.1 · native · binary-observed openai chat ✅ Passing All platforms are required
OpenCode ✅ Pass · real CLI 2.0.27 · native · binary-observed openai responses ✅ Pass · real CLI 2.0.27 · native · binary-observed openai responses ✅ Pass · real CLI 2.0.27 · native · binary-observed openai responses ✅ Passing All platforms are required
Pi ✅ Pass · real CLI 1.1.0 · native · binary-observed openai chat ✅ Pass · real CLI 1.1.0 · native · binary-observed openai chat ✅ Pass · real CLI 1.1.0 · native · binary-observed openai chat ✅ Passing All platforms are required
Qwen Code ✅ Pass · real CLI 0.25.1 · native · binary-observed openai chat ✅ Pass · real CLI 0.25.1 · native · binary-observed openai chat ✅ Pass · real CLI 0.25.1 · native · binary-observed openai chat ✅ Passing All platforms are required

Runtime capabilities

Capability Ubuntu macOS Windows Result
pitot request ✅ Pass · real runtime allow/deny ✅ Pass · real runtime allow/deny ✅ Pass · real runtime allow/deny ✅ Passing

Source commit: 6915f54ab8c9

@bigboateng
bigboateng merged commit 9cf0966 into main Oct 13, 2026
49 checks passed
@bigboateng
bigboateng deleted the fix/qwen-shell-hook-setup branch October 13, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant