Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Search lists herdr-core's workspaces now, but only classic herdr opens a terminal from the phone, so the button failed there. The Spaces screen already left it out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…i with -F Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…once per chat Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Windows hands the command to Git's bash on a line cut at 8191 characters (each double quote counting twice), and a cut command fails whole. A machine with more agents than fit gets its search in more than one command, run one after another, so no chat is skipped. The process table is read once per command even when PowerShell gives nothing back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
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.
The chat of a Claude Code agent in herdr-core now shows on a Windows PC (Git Bash under OpenSSH), and the chat search finds words in it. It said "No transcript for this agent".
Builds on #111 (search reading herdr-core's agents); its commits are the first ones here until that one is merged.
What changes
TranscriptFollower.FIND, the lookup the chat and the chat search share: herdr-core reports the pane's pid, which on Windows is the shell's (powershell.exe), withclaude.exeunder it. Git Bash has nopgrepand doesn't see Windows processes, so on Windows (uname -sMINGW, MSYS or CYGWIN) onepowershell.execall lists every process and its parent and awk walks down from the pid (children and grandchildren, each pid once, as Windows reuses pids). The table is read once per search command, not once per chat. Linux and macOS keeppgrep -P.ChatSearch: Git Bash's grep (3.0) aborts on-iwith-F, so when grep fails (status above 1) awk matches the lines instead.ChatSearch.commands: Windows hands the command to Bash on a line cut at 8191 characters (each"counts twice), and a cut command fails whole. A machine with more agents than fit gets more than one command, run one after another; nothing is skipped on any machine.Checks
TranscriptWindowsTest(runs anywhere: it fakesunameandpowershell.exe): a child and a grandchild, no session file, CRLF output, processes outside the pane, a stale parent id, the grep fallback, one process-table read for a search, and that a search of 300 chats is split into commands that each fit../gradlew -p core test: 620 tests. I ran them on Windows, where 52 tests already fail on main (Java's quoting ofsh -c, the Microsoft Store'spython3); the same ones fail here and no others. Linux CI is the real check../gradlew :app:testDebugUnitTest: 93 tests; the 13 that fail on main on Windows (file renames,RoutesTest) fail here too, no others.Codex's transcripts on Windows (found through open file handles on Linux and macOS) are out of scope.
🤖 Generated with Claude Code