[PR #614] Skip Cursor payloads in Claude preset #608

Closed
opened 2026-03-02 04:14:06 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/614

State: closed
Merged: Yes


Summary

  • skip Cursor hook payloads inside the Claude preset before required field parsing
  • keep detection limited to cursor_version and Cursor transcript path shape
  • add regression tests so this guard stays in place

Validation

  • cargo fmt
  • cargo clippy
  • cargo test --test claude_code test_claude_preset_ignores_cursor_payload
  • cargo test --test agent_presets_comprehensive test_claude_cursor_detection
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/614 **State:** closed **Merged:** Yes --- ## Summary - skip Cursor hook payloads inside the Claude preset before required field parsing - keep detection limited to `cursor_version` and Cursor transcript path shape - add regression tests so this guard stays in place ## Validation - cargo fmt - cargo clippy - cargo test --test claude_code test_claude_preset_ignores_cursor_payload - cargo test --test agent_presets_comprehensive test_claude_cursor_detection
kerem 2026-03-02 04:14:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#608
No description provided.