fix: Windows capabilities + agentic loop persistence#1
Merged
Conversation
… webview Five Windows-specific capability failures fixed: - TTS: escape single quotes and add -NoProfile to PowerShell command - Browser detection: add x86 Edge path and registry-based fallback for msedge.exe/chrome.exe so Edge is found on every Windows install - Web search: update user-agent/headers and rewrite DuckDuckGo HTML parser with multiple selector patterns for resilience - Desktop focus: replace exact Get-Process -Name with 4-tier matching (exact/partial process name, window title, FileDescription from exe metadata) - Native browser snapshot: wrap WaitForLoadState with context deadline using domcontentloaded, and fix Wails v3 Windows bug where JS option is only applied for HTML-mode windows (use HTML:" " + SetURL workaround) Also includes cross-platform Makefile fixes, PID-based stale lock detection, PATH separator fix, transient error retry in runner, and NeboLoop reconnect storm fix from Windows dev environment setup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The runner exited immediately when the model returned text without tool calls, even with an active objective. This caused multi-step tasks like "test 5 capabilities" to stop after each tool result, requiring the user to re-prompt for every step. Three changes: - Runner: when model gives text-only with an active task, re-enter the loop once so the pendingTaskAction steering generator can fire - Prompt: new guideline #9 telling the model to complete multi-step tasks back-to-back without pausing to narrate between steps - Steering: stronger pendingTaskAction nudge explicitly saying "call a tool RIGHT NOW" instead of vague "take action" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolve 3 conflicts: - prompt.go: keep both fabrication rule (main) and multi-step completion rule (ours) - runner.go: merge sliding window protection (main) with transient error retry (ours) - web_tool.go: platform-aware user-agent via runtime.GOOS (darwin/linux/windows) Fix Setpgid compile error on Windows by extracting into build-tagged helpers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- desktopSTRAPDoc(): full platform switch (Windows=Notepad/ctrl+c, Linux=Firefox/ctrl+c, macOS=Safari/cmd+c) - systemSTRAPDoc(): full platform switch (Windows/Linux omit hide/quit_all, platform-specific search/keychain docs) - Fix window/dialog STRAP docs: name → app param to match actual tool schemas - Add Windows menu/dialog/space docs with Win32 limitation note - Add sectionSystemEtiquette for shared computer courtesy - Remove Nebo's duplicate sectionEtiquette orphan - Update DesktopDomainOpts comments: "darwin only" → "darwin + windows" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Windows Capability Fixes
-NoProfilefor PowerShellApp Paths)domcontentloadedwith 5s timeout + Wails v3 Windows workaround for JS injection (HTML:" "+SetURL)Agentic Loop Fix
pendingTaskActionsteering can fireTest plan
🤖 Generated with Claude Code