Skip to content

docs(context): compare compaction strategies and boundaries - #253

Closed
627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-190-compaction-comparison
Closed

627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-190-compaction-comparison

Conversation

@627150795

Copy link
Copy Markdown
Contributor

Problem

OpenPI needs a fixed, evidence-aware comparison of Pi, Codex, Hermes, Grok, Claude, Gemini, OpenCode, and provider compaction so future changes do not conflate summary compaction, deterministic pruning, prompt caching, checkpoint/rewind, or artifact projection.

Value

This records the ownership, trigger, cut, persistence, cache, failure, and security tradeoffs for each fixed implementation and gives OpenPI a small prioritized recommendation without copying a second compressor or provider-private protocol.

Approach

Added a fixed-version comparison document and linked it from the design index. The document distinguishes source facts, official behavior, observation, inference, and unknowns; keeps Pi as the Session owner; and limits future work to upstream hardening, evidence, and benchmarks.

Validation

  • git diff --cached --check
  • bun run lint
  • bun run typecheck

Impact

Documentation-only; no compaction, cache, provider, Session, artifact, or runtime behavior changes.

Fixes #190

@tt-a1i

tt-a1i commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Thank you for preserving this research. We are closing this PR as a source record for the Context and model invocation consolidation tracked in #277. This is not a finding that the content is wrong. The current queue contains overlapping contracts from one stale base, so we will extract only settled facts, recommendations, and unknowns into at most one successor record, citing this PR explicitly. Please do not spend time rebasing this branch.

@tt-a1i tt-a1i closed this Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(context): compare compaction across Pi, Codex, Hermes, Grok, Claude, Gemini, and OpenCode

2 participants