Repository navigation
insights: the memory verdict for Claude Code's own memory folder is decided by code, not by the reader - #46
Merged
Conversation
…ecided by code, not by the reader When every memory store a project's reader could see is Claude Code's built-in folder, the verdict is not shown with its reason, whatever the reader said; a memory quote may not come from that folder. Kit-Commit: 4d80a1dc4f101b861cf2f08ee8f3bb3cd040effd Kit-Only: plugins/insights
Merged
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.
Before and after:
~/.claude/projects/<project>/memory) was the AI reader's word. Code already kept that folder from counting, so the page never read it as memory shown, but the word itself varied: the same folder was judged "shown", "partly" and "not shown" by different readers, and between two runs. A project with a store of its own could also have its memory quote taken from that built-in folder.Limits: a project with no memory store at all still shows the reader's word; code already keeps it from counting.
Test:
cd plugins/insights/scripts/v15/engine/variants/views && uv run --no-project python -m unittest test_view_built test_view_mylevel test_counts(OK)The sources this repository is published from have tests for a built-in-only project with each reader answer, an own store beside the built-in folder, the other parts' quotes, and the brief; they pass and are not shipped here.
One change. I did not edit a version, a
CHANGELOG.md,marketplace.jsonorkit.json.Nothing personal: no names, no paths from my machine, no output of my own scan, no secrets.
No version change: nothing reaches members until a release.