feat: add tool parallelism & shell security deep-dives, update compression#32
Merged
Conversation
…ssion article
Three articles covering Claude Code vs Qwen Code architectural differences:
1. context-compression-deep-dive.md (updated, 556 lines)
- Rewrote Claude Code section with source-verified details: 3-layer compression,
MicroCompact cache_edits API, autocompact ~93% threshold, 9-section summary
prompt, post-compact 5-file restoration
- Rewrote Qwen Code section: 70% threshold, character-based split, XML snapshot
- Updated 闭源 section: Claude Code no longer has "仍未知" items
2. tool-parallelism-deep-dive.md (new, 315 lines)
- Claude Code: smart batching via isConcurrencySafe(), max 10 concurrent,
context modification queuing, StreamingToolExecutor, Bash error cascading
- Qwen Code: type-based split (Agent parallel, others sequential),
7-state tool machine, 5-level permission flow
3. shell-security-deep-dive.md (new, 373 lines)
- Claude Code: 25+ validators pipeline, 3 quote extraction variants,
tree-sitter AST for false positive elimination, 18 Zsh commands
- Qwen Code: AST-first read-only classification, 41 root commands,
52 git subcommands, PTY execution, minimum-scope permission rules
4 rounds of audit: markdown tables, line count verification, terminology.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
wenshao
added a commit
that referenced
this pull request
Apr 5, 2026
Closed PR #72 (qwen3.6-plus) — 22 of 26 items duplicated existing 183. Extracted 4 new items to p2-tools: - #31 /plan (plan mode) - #32 /rename (session rename) - #33 /upgrade (version upgrade + changelog) - #34 Plugin system (aggregated container for commands+skills+hooks+MCP) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
wenshao
added a commit
that referenced
this pull request
Apr 5, 2026
New items from second round of source code comparison: P0 (2 items): - #19: Environment variable sanitization (25+ patterns) - #20: Dangerous command blacklist (rm -rf, find -exec, git -c, etc.) P1 (4 items): - #21: Edit fuzzy matching with Levenshtein distance (10% tolerance) - #22: Omission placeholder detection (prevent "// ... rest") - #23: JIT context discovery for read/write/edit tools - #24: OS-level sandbox (Linux bwrap, macOS Seatbelt, Windows) P2 (6 items): - #25: Folder trust discovery (pre-execution scanning) - #26: Web fetch rate limiting + SSRF hardening - #27: Grep advanced parameters (include/exclude/names_only) - #28: Advanced vim operations (big words, find, replace, toggle) - #29: Footer customization dialog - #30: Write file LLM content correction P3 (2 items): - #31: OAuth flow refactoring (shared utils + RFC 9728) - #32: Conseca safety framework (context-aware policy) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Three comparison articles (795 new lines) covering Claude Code vs Qwen Code architectural differences:
1. context-compression-deep-dive.md (updated)
2. tool-parallelism-deep-dive.md (new, 315 lines)
3. shell-security-deep-dive.md (new, 373 lines)
Test plan
🤖 Generated with Claude Code