Skip to content

Commit 64f7f76

Browse files
MrFlounderclaude
andcommitted
feat(review): prompt for summary after Claude exits
When a review session ends (Claude exits), user is prompted for an optional summary that gets saved to the session. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 764e202 commit 64f7f76

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/crabcode

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7190,6 +7190,14 @@ EOF
71907190
session_update "$name" "last_accessed" "$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
71917191
cd "$(pwd)"
71927192
claude --dangerously-skip-permissions --chrome "$session_dir/context.md"
7193+
7194+
# Prompt for summary after Claude exits
7195+
echo ""
7196+
read -p "Review summary (optional): " summary
7197+
if [ -n "$summary" ]; then
7198+
session_update "$name" "summary" "$summary"
7199+
success "Summary saved"
7200+
fi
71937201
fi
71947202
}
71957203

@@ -7251,6 +7259,14 @@ EOF
72517259
session_update "$name" "last_accessed" "$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
72527260
cd "$(pwd)"
72537261
claude --dangerously-skip-permissions --chrome "$session_dir/context.md"
7262+
7263+
# Prompt for summary after Claude exits
7264+
echo ""
7265+
read -p "Review summary (optional): " summary
7266+
if [ -n "$summary" ]; then
7267+
session_update "$name" "summary" "$summary"
7268+
success "Summary saved"
7269+
fi
72547270
}
72557271

72567272
# Handle review commands

0 commit comments

Comments
 (0)