Add Windows prompt template library, apply, save, and detach workflow - #414
Merged
Merged
Conversation
coneilen
force-pushed
the
coneilen-microsoft-windows-template-parity
branch
3 times, most recently
from
September 22, 2026 19:25
dc11e24 to
32300e1
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: Colin Neilens <coneilen@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: Colin Neilens <coneilen@microsoft.com>
coneilen
force-pushed
the
coneilen-microsoft-windows-template-parity
branch
from
September 22, 2026 21:22
32300e1 to
7bfab82
Compare
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
Validation
RED:
git show a6ada6a:graphcode-windows/src/App.zig-> A saved per-user template forced the picker before Create or edit node, so the default New Loop flow did not reach the node form.GREEN:
zig-0.15.2\zig.exe test src\TemplateLibrary.zig-> 61 template library and imported form tests passed, including deterministic goal and timed draft prefill.GREEN:
zig-0.15.2\zig.exe build -Dwinghostty-dir=..\.graphcode-tools\providers\winghostty -Doptimize=ReleaseSafe-> Windows ReleaseSafe shell build passed.GREEN:
pwsh -NoProfile -File Tools\windows\uia-live-gate.ps1 -Shell graphcode-windows\zig-out\bin\graphcode-windows.exe-> New Loop opened Create or edit node, explicit Templates opened the picker, and Enter returned to the node form before the later local toolbar assertion.REGRESSION:
pwsh -NoProfile -File Tools\windows\Tests\WindowsShell.Tests.ps1 -ZigExecutable $env:GRAPHCODE_ZIG0152-> 97 Windows shell contract tests passed with the pinned Winghostty headers.REGRESSION:
pwsh -NoProfile -File Tools\windows\Tests\ValidationRunner.Tests.ps1-> validation runner passed.UI Automation regression resolved
The failed clean-runner
windows-shelljob established that the mandatory picker was this change's regression: its foreground diagnostics showedChoose a saved templatewhile the existing empty-global New Loop scenario waited forCreate or edit node. The shell remained alive and emitted UIA wait diagnostics; this was not the toolbar assertion or a shell crash.The fix follows macOS: New Loop always opens the node form, and a saved-template library is available only from that form's explicit
Templatesaction. The UIA scenario now proves the default form appears first, invokes the stable native Templates command, opensChoose a saved template, accepts with Enter, and returns to the form. The local interactive run next reaches the previously observed toolbar assertion, after the template workflow has completed; clean CI will revalidate that independent later gate.