Skip to content

[minion] Filter injected system-reminder messages from session transcripts#15

Open
jcleira wants to merge 1 commit intomainfrom
minion/filter-system-reminder-messages-from-transcripts
Open

[minion] Filter injected system-reminder messages from session transcripts#15
jcleira wants to merge 1 commit intomainfrom
minion/filter-system-reminder-messages-from-transcripts

Conversation

@jcleira
Copy link
Member

@jcleira jcleira commented Mar 18, 2026

Objective

When parsing AI agent session transcripts (Claude Code or others), detect and filter out messages that consist entirely of <system-reminder>...</system-reminder> content injected with the user role by tooling. For mixed messages, strip the system-reminder tags and preserve the real user content. These injected messages should not be counted as user prompts in attribution or checkpoint metadata.

Why

Tools that augment Claude Code sessions inject system-reminder blocks as user-role messages. Without filtering, these inflate user prompt counts and pollute checkpoint attribution data, misrepresenting what the human actually typed.


Automated PR by partio-io/minions · Task: filter-system-reminder-messages-from-transcripts

Created by an unattended coding agent. Please review carefully.

Automated by partio-io/minions (task: filter-system-reminder-messages-from-transcripts)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant