iiRecord
Agentic AI Atlas · pi-mono coding-agent branch + cumulative summarization
compaction-policy:pi-coding-agenta5c.ai
II.
CompactionPolicy overview

compaction-policy:pi-coding-agent

Reference · live

pi-mono coding-agent branch + cumulative summarization overview

pi-mono compacts long sessions by extracting file operations from messages and previous compaction entries (CompactionDetails.readFiles / modifiedFiles) so subsequent turns retain awareness of which files were read and modified. Branch summaries (createBranchSummaryMessage) preserve forked context paths separately from the cumulative compaction summary (createCompactionSummaryMessage). Drives a smaller summarizer model via SUMMARIZATION_SYSTEM_PROMPT in completeSimple().

CompactionPolicyOutgoing · 0Incoming · 1

Attributes

displayName
pi-mono coding-agent branch + cumulative summarization
strategy
branch-summarization
trigger
token-threshold
preserveRecentTurns
4
preserveFileOperations
true
description
pi-mono compacts long sessions by extracting file operations from messages and previous compaction entries (CompactionDetails.readFiles / modifiedFiles) so subsequent turns retain awareness of which files were read and modified. Branch summaries (createBranchSummaryMessage) preserve forked context paths separately from the cumulative compaction summary (createCompactionSummaryMessage). Drives a smaller summarizer model via SUMMARIZATION_SYSTEM_PROMPT in completeSimple().

Outgoing edges

None.

Incoming edges

compaction_policy_applied_by1