Skip to content

fix: add --no-session-persistence to Claude commit generation - #1454

Merged
max-sixty merged 2 commits into
mainfrom
commit
Mar 11, 2026
Merged

max-sixty merged 2 commits into
mainfrom
commit

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Without this flag, claude -p saves the commit generation conversation to session history. When the user later runs claude --continue, it resumes that ephemeral commit session instead of their previous working session.

This was written by Claude Code on behalf of @max-sixty

Prevents the commit generation conversation from polluting `claude --continue`,
which would resume the ephemeral commit session instead of the user's previous
working session.

Co-Authored-By: Claude <[email protected]>

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same Claude command in Taskfile.yaml (LLM benchmark task) is missing --no-session-persistence. Happy to push a fix commit if you'd like.

Missed instance caught by auto-reviewer.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit 9b77ab2 into main Mar 11, 2026
22 checks passed
@max-sixty
max-sixty deleted the commit branch March 11, 2026 23:20
@max-sixty

Copy link
Copy Markdown
Owner Author

The same Claude command in Taskfile.yaml (LLM benchmark task) is missing --no-session-persistence. Happy to push a fix commit if you'd like.

yes please

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Looks like this was already included in the PR diff — the Taskfile.yaml change at line 388 added --no-session-persistence to the benchmark command. All good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants