Also, a word to the wise:
The reality of running recent Chinese open weight models is that they are all overtuned for successfully completing tasks. I can ask Qwen3.8 Flash Next to grep for regexes that use PHP-specific features that might be problematic to port to Rust. But instead of just grepping, Qwen3.8 FN will spend 30,000 tokens writing a Rust test harness, exhaustively check every regex, consult a bunch of docs, and write me a 2 page report. Q3.8 FN is deeply convinced that it's going to get extra credit for doing more than it is asked. (To be fair, it's a prototype release.)
But if your sandboxing isn't set up to handle some whacky weirdness, then you can't even trust Claude or ChatGPT. Which is important—the big vendors often do provide sandboxing or command filtering in their harnesses, but some popular local harnesses like Pi.dev are intended to rely on external sandboxing tools.
Is it actually possible to find regexes that use PHP-specific features using grep alone?
I noticed similar behavior too across various different models. So I started asking it to create implementation plan documentation for everything, even for a small fix. I review the plan, clarify and update it very carefully before allowing it to proceed. I haven't had this type of unnecessary "extra credit" efforts since then.