Skip to content

docs: byte-identical collapse edge + dated-prompt workaround - #11

Merged
ericwalisko merged 1 commit into
mainfrom
ericwalisko/collapse-limitation-note
Sep 4, 2026
Merged

docs: byte-identical collapse edge + dated-prompt workaround#11
ericwalisko merged 1 commit into
mainfrom
ericwalisko/collapse-limitation-note

Conversation

@ericwalisko

Copy link
Copy Markdown
Owner

Documents the collapse limitation a reviewer flagged: recall collapses 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 8443 vs port 9000) into one and hiding real evidence. So this documents the capture-time fix instead: prune --turns-containing on the stable prefix (which matches every dated variant), and ignore-markers.txt for 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

…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
@ericwalisko
ericwalisko merged commit 54a89dc into main Sep 4, 2026
6 checks passed
@ericwalisko
ericwalisko deleted the ericwalisko/collapse-limitation-note branch September 4, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant