docs: byte-identical collapse edge + dated-prompt workaround - #11
Merged
Conversation
…rompts Collapse is exact byte-identical matching (deliberately — fuzzy matching would risk merging distinct facts and hiding evidence). A recurring automation prompt that interpolates a date/run-number produces near-identical turns that slip through. Document the capture-time fix (prune --turns-containing on the stable prefix; ignore-markers.txt when the prompt heads its own sessions) and that there is no ongoing per-turn skip yet. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NnaQwZUSDRbVUNh8fsdksD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the collapse limitation a reviewer flagged:
recallcollapses only byte-identical hits, so a cron/automation prompt that interpolates a date or run number produces near-identical turns that aren't collapsed.We keep collapse exact on purpose — fuzzy/normalised matching would risk merging genuinely distinct facts (
port 8443vsport 9000) into one and hiding real evidence. So this documents the capture-time fix instead:prune --turns-containingon the stable prefix (which matches every dated variant), andignore-markers.txtfor prompts that head their own sessions. Also notes the current gap — no ongoing per-turn skip for a recurring prompt embedded mid-session — and adds a quick-reference row.Docs-only.
🤖 Generated with Claude Code