Expand description
Commit message generation phase.
This module generates commit messages using a single agent attempt per reducer effect. All validation and retry decisions are handled by the reducer via events; this code does not implement fallback chains or in-session XSD retries.
Re-exports§
pub use diff_truncation::effective_model_budget_bytes;pub use diff_truncation::model_budget_bytes_for_agent_name;pub use diff_truncation::truncate_diff_to_model_budget;
Modules§
Structs§
- Commit
Attempt Result - Outcome from a single commit attempt.
- Commit
Message Result - Result of commit message generation.
Enums§
- Commit
Message Outcome - Outcome of commit message generation.
Functions§
- create_
session_ and_ get_ attempt_ number - generate_
commit_ message - Generate a commit message using a single agent attempt.
- generate_
commit_ message_ with_ chain - Generate a commit message with fallback chain support.
- run_
commit_ attempt - Run a single commit generation attempt with explicit agent and prompt.