Problem (one or two sentences)
The issue is that (before and after ctx compress) we get an annoying loss of Env-Ctx (even after we told abhout it).
For example:
Initially (or after compressing) on VSCODE+Win11+PwrShell7, Roo (or the API) mostly attempts Linux commands like as default:
'''
ls -la chm2md/learning/ | grep -E ".py$" | wc -l && echo "--- Files in chm2md/learning/ ---" && ls -la chm2md/learning/.py | awk '{print $9}' | sort
'''
But it should use, in my case (Win11 + PwrShell7) the equivalent command of:
'''
PowerShell(Get-ChildItem -Path chm2md/learning/ -File | Where-Object {$_.Extension -eq ".py"}).Count; Write-Output "--- Files in chm2md/learning/ ---"; Get-ChildItem chm2md/learning/.py | Select-Object -ExpandProperty Name | Sort-Object
'''
or similar.
Context (who is affected and when)
We all.
Desired behavior (conceptual, not technical)
PreFlight, gathering Env, tell Roo or connected API what Env we have, then should remember Env and respect it even throu different sessions, till we say otherwise or Env changes.
Constraints / preferences (optional)
No response
Request checklist
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response