Expand description
Per-attempt logging infrastructure for commit message generation.
This module provides detailed logging for each commit generation attempt, creating a clear audit trail for debugging parsing failures. Each attempt produces a unique numbered log file that captures:
- Prompt information
- Raw agent output
- All extraction attempts with reasons
- Validation results
- Final outcome
Log files are organized by session to prevent overwrites and allow comparison across multiple attempts.
Structs§
- Commit
Attempt Log - Per-attempt log for commit message generation.
- Commit
LogSession - Session tracker for commit generation logging.
- Extraction
Attempt - Represents an extraction attempt with its method and outcome.
- Parsing
Trace Log - Detailed parsing trace log for commit message extraction.
- Parsing
Trace Step - Represents a single step in the parsing trace log.
- Validation
Check - Represents a single validation check result.
Enums§
- Attempt
Outcome - Outcome of a commit generation attempt.