Skip to content

feat: add firebender checkpoint support#917

Open
kevo1ution wants to merge 8 commits intogit-ai-project:mainfrom
kevo1ution:kevin/firebender-agent-support
Open

feat: add firebender checkpoint support#917
kevo1ution wants to merge 8 commits intogit-ai-project:mainfrom
kevo1ution:kevin/firebender-agent-support

Conversation

@kevo1ution
Copy link
Copy Markdown

@kevo1ution kevo1ution commented Apr 1, 2026

Summary

  • switch Firebender hook installation from legacy beforeSubmitPrompt / afterFileEdit wiring to preToolUse / postToolUse
  • checkpoint only Firebender's file-mutating tool events (Write, Edit, Delete, RenameSymbol, DeleteSymbol) using the current tool hook payload shape
  • keep legacy Firebender hook payloads as safe no-ops so existing users do not break before reinstalling hooks

Test plan

  • cargo fmt
  • cargo test firebender
  • cargo check

Closes #804

🤖 Generated with Firebender


Open with Devin

Support Firebender hook payloads and installer config so Firebender edits can be attributed correctly in git-ai and tested independently of the stale upstream PR.

🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
kevo1ution and others added 2 commits April 1, 2026 14:27
Use Firebender's preToolUse/postToolUse flow so the integration matches the current hook model maintainers requested, while keeping legacy hook payloads as safe no-ops for existing installs.

🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 1, 2026

CLA assistant check
All committers have signed the CLA.

kevo1ution and others added 5 commits April 1, 2026 15:55
🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
Ensure Firebender checkpoints capture edited files from apply_patch-style payloads and move preset coverage into the integration suite to match the repository's testing conventions.

🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
Explain that Firebender emits multiple real hook payload forms so the path extraction logic reads as intentional compatibility rather than speculative complexity.

🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
Normalize absolute Firebender hook paths relative to the repo so checkpoint filtering captures real edits, and cover the regression with integration tests. Also allow blank Firebender models to fall back to unknown to match observed hook behavior.

🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
🤖 Generated with [Firebender](https://firebender.com)

Co-Authored-By: Firebender <help@firebender.com>
@kevo1ution kevo1ution marked this pull request as ready for review April 2, 2026 04:50
@kevo1ution
Copy link
Copy Markdown
Author

kevo1ution commented Apr 2, 2026

@svarlamov this PR should address your comment at #804 (comment)

I also tested and verified this worked locally against the coding agent. In order to test, you can install intellij and the plugin at https://plugins.jetbrains.com/plugin/25224-firebender

Let me know if you see any issues here. Thanks!

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

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