Skip to content

ReminderRouter: pasted prompts put pasted_content tag lines in the issue body #2174

Closed as not planned

Description

@corobis

A pasted prompt arrives wrapped in <pasted_content id="…"> lines, and those lines end up in the created issue.

Fix: strip them before matching and hashing:

prompt.replace(/^[ \t]*<\/?pasted_content(?:\s+id="[^"]*")?>[ \t]*\n?/gm, "").trim()

Environment: Linux (WSL2), Bun, Claude Code 2.1.278.

Activity

  1. danielmiessler commented on Oct 3, 2026

    @danielmiessler
    Owner

    Thanks @corobis. ReminderRouter was retired on 2026-09-21 as part of a hook cut: hooks that only nudged the model or logged were removed, and hooks now exist only to check an artifact or gate an irreversible action (LIFEOS/DOCUMENTATION/Hooks/HookSystem.md). Prompts no longer turn into issues automatically, so the pasted-content tags have nowhere to leak. The next release removes the hook from the public tree.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions