You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non-git session dirs stamp repo as a quoted raw path — unmatchable by hash, fragile logfmt field #92
A session whose workspace is not a git repo stamps rows with the raw directory path as the identity key, and logfmt quoting makes it ambiguous when the path contains spaces:
The parser round-trips quoted values correctly (verified), so no data corruption — but naive field extraction (grep -o 'repo=[^ ]*', awk) breaks on the quoted form.
Non-git dirs can never be matched by a portable hash across machines/moves (by design for no-origin repos today), and the quoted form makes even path matching brittle.
Expected
Hash non-git directory keys too (e.g. sha1 of the resolved path) or otherwise guarantee the field is always a bare token; keep repoPath as the human-readable secondary.
Acceptance
Unit test: remember from a session dir containing a space -> row's repo= field matches /repo=[a-z0-9]+/ (or unquoted token), repoPath still the raw resolved path, visibility still works both ways.
Happy to take this one. The hash itself is a small change, but we'd want to include the Windows half of the guarantee in the same PR: directory-path keys need case-insensitive-filesystem normalization and separator/drive-letter handling (plus a story for 8.3 short-name aliases) before a hash is "matchable across machines" in this repo's terms — otherwise the bare-token fix moves the unmatchable-key problem onto Windows users instead of solving it. Acceptance test as written, plus the Windows variants. If that scope matches your intent, we'll branch it.
Activity
WhollyMindless commentedon Oct 25, 2026
Happy to take this one. The hash itself is a small change, but we'd want to include the Windows half of the guarantee in the same PR: directory-path keys need case-insensitive-filesystem normalization and separator/drive-letter handling (plus a story for 8.3 short-name aliases) before a hash is "matchable across machines" in this repo's terms — otherwise the bare-token fix moves the unmatchable-key problem onto Windows users instead of solving it. Acceptance test as written, plus the Windows variants. If that scope matches your intent, we'll branch it.
Merge pull request #101 from WhollyMindless/fix/repo-path-hash-key
abogartz-opencode-self-improvement commentedon Oct 25, 2026
🎉 This issue has been resolved in version 0.13.1 🎉
The release is available on:
Your semantic-release bot 📦🚀