Add Windows agent surface install script#2
Open
DanielZ818 wants to merge 2 commits into
Open
Conversation
- rename the tracked spotifyvis backup file to remove the accidental newline suffix - keep the empty backup file content unchanged while making the path safe for Windows Git operations
- add a PowerShell wrapper that applies this repo globally with chezmoi - bootstrap chezmoi installation and config when needed on Windows - add dry-run, UAC elevation flow, and Windows-specific symlink guidance - document the workflow in the agent surface plan and smoke tests
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 / Why This Matters
This branch fixes a Windows-hostile tracked filename and then adds a Windows-first script for globally applying this repo's agent surface through
chezmoi.Without the filename cleanup, Windows Git operations against the repo can fail on the newline-containing
spotifyvisbackup path. With that fixed, the new PowerShell wrapper gives Windows users a documented way to install/apply the repo-managed agent surface, bootstrapchezmoiif needed, and dry-run or elevate the apply flow when symlink-managed targets require it.What Changed
spotifyvisbackup file to remove the accidental newline suffix while keeping the empty file content unchanged.scripts/executable_install-agent-surface.ps1as a Windows PowerShell wrapper that:chezmoisource directorychezmoion demand with-InstallChezmoichezmoiconfig from the tracked template-DryRunviachezmoi -S <repo> apply -n -vdocs/smoke-tests.mdwith a reusable Windows smoke check for the new install/apply flow.plans/windows install agent surface script plan.mdto document the final process and script contract.How To Smoke Test
powershell -NoProfile -File .\scripts\executable_install-agent-surface.ps1 -DryRunchezmoisource and runs the equivalent of:chezmoi -S <repo> apply -n -vchezmoiis missing, rerun with:powershell -NoProfile -File .\scripts\executable_install-agent-surface.ps1 -InstallChezmoisuperpowerssymlink target, enable Windows Developer Mode or otherwise grant symlink privileges, then rerun.Tests Written / Verification Run
Automated tests written or updated:
Commands run:
git status --shortgit branch --show-currentgit remote -vgit merge-base HEAD origin/mastergit log --oneline origin/master..HEADgit diff --stat origin/master...HEADgit diff --name-only origin/master...HEADgit diff origin/master...HEAD -- docs/smoke-tests.md scripts/executable_install-agent-surface.ps1 "plans/windows install agent surface script plan.md"git diff origin/master...HEAD -- dot_config/fish/spotifyvis.bakchezmoiinstall/bootstrap behavior, and Windows symlink/UAC edge cases during developmentCommands not run:
Known failing suites or unrelated failures:
Follow-Up / Next Steps
Reviewer Focus / What To Look For
chezmoibootstrap, UAC relaunch, and symlink-permission messaging.Risks, Caveats, Known Failures, And Rollback
chezmoiusage from a repo checkout.superpowerstarget.UI Screenshots / Live Links