The ParallelFollowupResponse JSON schema was 10,743 chars with strict
constraints, causing LLM structured output validation failures after long
multi-agent sessions. Reduced to 4,561 chars (58% reduction) by removing
unused fields and relaxing unnecessary constraints.
- Remove unused fields: analysis_summary, commits_analyzed, files_changed,
comment_analyses, agent_agreement, source_agent, related_to_previous,
evidence (deprecated), end_line, and CommentAnalysis model
- Relax constraints: remove min_length validators, make line_range optional,
change verification_method from Literal to str with default
- Update prompts to match simplified schema
- Fix flaky test_allows_normal_commit by adding monkeypatch.chdir for git
isolation during pre-commit hook execution
Co-authored-by: Claude Opus 4.6 <[email protected]>