Skip to content

Conversation

@vanpelt
Copy link
Collaborator

@vanpelt vanpelt commented Nov 18, 2025

No description provided.

@attiasr
Copy link

attiasr commented Nov 23, 2025

Checkpoints are also create when title changes:

if previousTitle != "" && previousTitle != newTitle {

686 -    // If we have a different title, commit the previous work
687 -    if previousTitle != "" && previousTitle != newTitle {
686 +    // If we have a different title, commit the previous work (only if checkpoints are enabled)
687 +    if previousTitle != "" && previousTitle != newTitle && git.IsCheckpointEnabled() {
688        logger.Debugf("🪧 Title change detected in %s: %q -> %q", m.workDir, previousTitle, newTitle)
689        m.commitPreviousWork(previousTitle)
690      }

if m.currentTitle != "" {

758 -    // Commit any pending work
759 -    if m.currentTitle != "" {
758 +    // Commit any pending work (only if checkpoints are enabled)
759 +    if m.currentTitle != "" && git.IsCheckpointEnabled() {
760        m.commitPreviousWork(m.currentTitle)
761      }
762    }

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.

3 participants