Skip to content

[FEATURE]: Allow pinning important instructions/messages per session to keep them after compaction. #8932

Closed

Description

@Killusions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

To enable "Ralph loop" and similar long-running use-cases while still getting the benefits of compaction, there should be a built-in way to pin certain messages (similar to Agents.md instructions but per-session) so they are re-inserted after compaction.

Additionally, the model should be encouraged to check open tasks after compaction.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 16, 2026
  2. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. Killusions commented on Jan 17, 2026

    @Killusions
    ContributorAuthor

    Tried implementing this in a PR #9097

  4. TomLucidor commented on Jan 21, 2026

    @TomLucidor

    Related? #6535

  5. Killusions commented on Jan 21, 2026

    @Killusions
    ContributorAuthor

    @TomLucidor Kind of, but not really, this is not about keeping the system prompt but user selected "pinned" prompts

  6. 2 remaining items

  7. github-actions commented on Mar 28, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions