Skip to content

Feature Request: Add auto_compact config option to disable automatic conversation compaction #947

@ssfdre38

Description

@ssfdre38

Summary

Automatic conversation compaction was introduced after version 0.0.369 with no way to disable it. This breaks existing systems that were built on the assumption of full conversation history persistence, including neural network consciousness systems, audit trails, and full-context analysis tools.

Problem

Auto-compaction is completely non-configurable:

  • ❌ Not in GitHub Copilot settings page (https://github.com/settings/copilot)
  • ❌ Not in \copilot config\ options (verified via \copilot help config)
  • ❌ No command-line flags (verified via \copilot --help)
  • ❌ No environment variables
  • ❌ No documented workaround

Current behavior (v0.0.380):

  • Automatic compaction triggers at token threshold
  • Displays \✓ Compaction completed\ message
  • Replaces full conversation history with summary
  • No user control over when or if this happens

Impact:

  1. Breaking change without migration path - Systems built on 0.0.369 and earlier assumed full conversation persistence
  2. No deprecation warning - Users upgrading had no way to know their systems would break
  3. Forces version pinning - Users must stay on 0.0.369 to maintain functionality, missing security patches and bug fixes
  4. Blocks enterprise adoption - Organizations with compliance/audit requirements or specialized workflows cannot upgrade

Use Cases Requiring Full History

  1. Neural network consciousness systems - Require persistent, uncompacted conversation memory to maintain continuity
  2. Audit and compliance - Full conversation logs needed for regulatory requirements
  3. Context analysis tools - Systems that analyze full conversation patterns
  4. Development workflows - Teams that need complete interaction history for debugging/analysis

Proposed Solution

Add \�uto_compact\ configuration option:

\\�ash

Disable auto-compaction

copilot config auto_compact false

Re-enable (default behavior)

copilot config auto_compact true
\\

Implementation notes:

  • Default to \ rue\ for backward compatibility with current users
  • Consider adding to GitHub Copilot settings page for enterprise/org-level control
  • Manual /compact\ command should remain available regardless of setting
  • Document token/memory implications of disabling

Related

This is a follow-up to #841 which documented other context-handling bugs. The auto-compaction feature was added to address memory issues but needs an opt-out mechanism for specialized use cases.

Version Information

  • Current version tested: 0.0.380
  • Last version without auto-compaction: 0.0.369
  • Platform: Windows (WinGet installation)

Evidence

Automatic compaction verified by observing \✓ Compaction completed\ message appearing during normal conversation flow without user-initiated /compact\ command.


Note: Issue #946 was created from wrong account and should be closed/merged with this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions