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.
Structs§
- Commit
Attempt Result - Outcome from a single commit attempt.
- Commit
Message Result - Result of commit message generation.
Functions§
- effective_
model_ budget_ bytes - generate_
commit_ message - Generate a commit message using a single agent attempt.
- model_
budget_ bytes_ for_ agent_ name - Get the maximum safe prompt size for a specific agent.
- run_
commit_ attempt - Run a single commit generation attempt with explicit agent and prompt.
- truncate_
diff_ to_ model_ budget