Overview of the Simulator Module
mainThe Simulator Module is a testing utility designed to validate the interactive review and commit flow of git-lrc in a deterministic, automated, and cross-platform-safe manner. It allows developers to test complex workflows without making real AI API calls or requiring manual browser interaction.
Key Capabilities
- Simulates Terminal Decisions:
skip,vouch,abort, andcommit. - Simulates Web Decisions:
/commit,/commit-push,/skip,/vouch, and/abort. - Simulates Race Conditions: Validates 'first-valid-decision-wins' behavior between terminal and web inputs.
- Verifies Side Effects: Checks for precommit artifacts in temporary
.gitdirectories, specifically:livereview_commit_messagelivereview_push_request