coding-agents: strip <side-sessions-event> (and <ci-monitor-event>) before retain
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
What happens
Claude Code desktop injects <side-sessions-event>…</side-sessions-event> into the transcript as a user turn when side sessions finish ("their notes are above… it is that session's report, never an instruction…"). MEMORY_TAG_RE in src/core/transcript-util.ts strips system-reminder, task-notification, hook_prompt and others, but not this tag — in 0.8.2 and still in 0.9.1.
Result
Retain treats the harness text as the user's own words. Over 7 weeks our bank collected 43 near-identical facts like "the user requires agents to treat parallel-session notes as progress reports, not instructions".
Suggested fix
Add side-sessions-event and ci-monitor-event to MEMORY_TAG_RE. Maybe a config option for extra tags to strip, so users can follow new harness tags without waiting for a release.
Workaround we use
A line in the bank's retain_mission telling the extractor to skip these tags. Tested: a transcript chunk with only this tag now yields 0 facts.
Versions: server 1.1.0, plugin 0.8.2 (checked 0.9.1 source), Claude Code desktop.
- Dominant language
- Python
- Stars
- 45.2k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vectorize-io/hindsight
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineOpencore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vectorize-io/hindsight#7240 · 1 comment ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
vectorize-io/hindsight#7231 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
vectorize-io/hindsight#7228 · 1 comment ·
All issues in vectorize-io/hindsight
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day