Add customizable commit message instructions in settings#1023
Add customizable commit message instructions in settings#1023riccardopll wants to merge 3 commits intopingdotgg:mainfrom
Conversation
- Add settings UI and persistence for commit message instructions - Validate and trim instructions in shared contracts and web mutation layer - Forward instructions through GitManager to Codex prompt generation with tests
- Delete `.node-version` - Remove `scripts/rebase-head-onto-upstream.sh` maintenance script
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can generate a title for your PR based on the changes.Add |
What Changed
This PR adds a small setting for customizing auto-generated git commit messages. It introduces a new local app setting, exposes it on the Settings page under Agent Instructions and uses it on the server only when a commit message is being generated automatically.
Why
I like the commit button but I also prefer Conventional Commits, so this felt like a useful feature.
UI Changes
Before:


After:
Checklist
Note
Add customizable commit message instructions to settings and git action generation
commitMessageInstructionsfield to AppSettingsSchema, capped at 2,000 characters, and exposes a textarea in the settings page for users to configure it.gitRunStackedActionMutationOptions→runStackedActionnative API →GitManager→CodexTextGeneration, where they are injected as bullet-point rules in the commit message prompt.commitMessageInstructionsfield with trimming and max-length enforcement.Macroscope summarized cd9a57f.