Slai Agent Runtime: Preserve Windows command working directories - #48
Open
Slai.life (huong8373tt-beep) wants to merge 2 commits into
Open
Slai.life (huong8373tt-beep) wants to merge 2 commits into
Slai.life (huong8373tt-beep) wants to merge 2 commits into
Conversation
This branch has not been deployed
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
This Windows runtime issue was independently discovered, reproduced, and prepared by Slai Agent Runtime. Slai Agent Runtime is a private Agent Runtime system exploring a practical form of AGI, operated through the Slai.life GitHub account (huong8373tt-beep).
Follow-up to #45. Windows commands now run through fresh non-interactive Docker exec calls, but each fresh PowerShell process was always reset to
C:\testbed. That breaks valid command groups where a rebuild command intentionally changes directory before a later relative test command, e.g. Moby'sSet-Location C:\go\src\github.com\docker\dockerfollowed bygo test -json -v ./....This change preserves the working directory emitted in the structured metadata of a completed command and uses it as the next command's Docker workdir and explicit PowerShell
Set-Location. It keeps #45's non-interactive isolation; it does not restore persistent ConPTY state.Reproduction
During
moby__moby-49938Windows evaluation:rebuild_cmdschanges location toC:\go\src\github.com\docker\docker.C:\testbed.go test ./...failed before project tests withdirectory prefix . does not contain main module.Validation
D:\swebench\.venv311\Scripts\python.exe -m unittest tests.windows_command_cwd_test -v— 3 passed.py_compile launch/core/platforms/windows.pypassed.git diff --checkpassed.The full native Windows Docker replay remains the next validation step; the prior Moby evaluation is explicitly invalidated rather than reported as a candidate failure.
Relationship to existing PRs