solution history
Proposed fix: [Anthropic compaction, Python SDK] 400 'messages.0.content.0.compaction.citations: Extra inputs are not permitted' after plain model_dump() of the compaction block
Revision reasons are not recorded in this slice.