docs(windows): expand windows.md with kernel bootstrap, env inheritance, lock cleanup - #962
Open
abdulazizFarhan wants to merge 1 commit into
Open
docs(windows): expand windows.md with kernel bootstrap, env inheritance, lock cleanup#962abdulazizFarhan wants to merge 1 commit into
abdulazizFarhan wants to merge 1 commit into
Conversation
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.
Expands
packages/coding-agent/docs/windows.mdwith the IPython kernel bootstrap workflow for Windows.Added sections:
tyroanddillcalled out as the easy ones to miss (Prime Agent's bootstrap only reports the first missing group per run).setxwrites a user-level var, but PowerShell does NOT auto-inherit user-level vars into the process env (cmddoes). The wrapper must explicitly copy them via[System.Environment]::SetEnvironmentVariable($name, $value, 'Process'). This is the most common silent failure for PowerShell-launchedprime-agentsessions.session-leases/*.lockcleanup.proper-lockfileuses directories as locks on Windows. If the previousprime-agentwas killed, the.lockdirectory blocks the next resume withEPERM: rename *.lock.candidate-XXX → *.lock. Wrapper should clear locks whoseowner.jsonPID is no longer running.Why docs-only: the kernel path fix itself is already in PR #825 (
fix/windows-console-flicker). This PR makes the existing workaround discoverable and documents the PowerShell + lock gotchas that bit me during setup. Closes the documentation gap for #660.Note
Expand Windows documentation with kernel bootstrap, env inheritance, and lock cleanup
Adds several new sections to windows.md covering the full Windows setup and troubleshooting workflow:
prime-agent, addressing env inheritance gaps on Windows*.lockdirectories whose owning PID no longer exists.bootstrap-versionMacroscope summarized f366c91.