Resolve PostCommit's commit trees in a helper
Commit

With main's latest changes PostCommit crossed the maintainability-index limit.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com Entire-Checkpoint: 01M3CTY0DH9773GNN5KE3HQT6K
Checkpoints
Checkpoint 1