Repository navigation
Conversation
A running or halted run whose writer quit without finishing stayed on the status line forever, so a new session showed work it had no context for. Such a run now hides after 4 hours with no update, and shows (paused) after 1 hour instead of 6.
paceline kept one run per repository, so a new window showed whatever an earlier session left behind, and agents in several windows on the same repo overwrote each other's bar. - paceline-mcp writes .git/paceline/progress-<session>.json, using the CLAUDE_CODE_SESSION_ID that Claude Code sets for the processes it starts - the status line shows the run matching its payload's session_id, and falls back to the shared progress.json for writers outside Claude Code - starting a run removes other sessions' files not written for a day
The invalid-session case meant to try "a\b" with a backslash, but the file held a raw U+0008 control character, which staticcheck rejects.
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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
paceline-mcpwrites.git/paceline/progress-<session>.json, keyed by theCLAUDE_CODE_SESSION_IDthat Claude Code sets for processes it starts. Starting a run removes other sessions' files not written for a day.session_idin its payload. It falls back to the sharedprogress.jsonfor writers outside Claude Code.(paused)after 1 hour instead of 6.Test plan
go test ./....git/paceline/progress.jsonby hand and confirm a window with no run of its own shows it, and that it hides after 4 hours of silenceCLAUDE_CODE_SESSION_IDto MCP servers (verified for Bash, not yet for MCP). If it does not, writes fall back to the shared file.