You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: /compact currently uses a fixed prompt, so users cannot steer summarization (e.g., “code only”, “avoid personal info”). Claude Code supports /compact , and we have the same need.
Problem: Manual /compact calls can’t accept a hint, so the summary may not fit the scenario. Automatic compaction should keep the default behavior.
Proposal:
Let /compact accept an optional hint /compact and pass it through to SimpleCompaction.
In SimpleCompaction, append User instruction: after the default prompts.COMPACT; if no hint is provided, keep current behavior.
Update help text and add a test covering custom instruction injection.
Impact: Defaults unchanged; only user-invoked /compact with a hint alters the compaction prompt.
Validation: Add/adjust tests; manual check with /compact summarize code only to see the summary change.
What feature would you like to see?
Description
Additional information
No response