docs: fix drift in Recall Operations - #293
Draft
jack-arturo wants to merge 1 commit into
Draft
Conversation
- Correct the recency sub-score formula: it decays from the memory timestamp over SEARCH_RECENCY_WINDOW_DAYS, not from last_accessed, and the curve is configurable via SEARCH_RECENCY_CURVE. - Fix the score-component count in the sorting section (10, not 9). - Correct the documented match_type values to the identifiers the service actually emits. Verified against verygoodplugins/automem@8ff266e. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PYmEKU7ZV1BJaB4XWmBHov
jack-arturo
marked this pull request as draft
August 10, 2026 23:07
Deploying automem-website with
|
| Latest commit: |
08f59c7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://947f8a89.automem-website.pages.dev |
| Branch Preview URL: | https://docs-audit-reference-api-rec-9zhv.automem-website.pages.dev |
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.
Automated docs-accuracy audit of
reference/api/recall-operations. Every fix below is anchored to a permalink in the code it describes.max(0, 1 - (age_days / 180)), "6-month linear decay based on time since last access"_compute_recency_score()is called withmemory.get("timestamp")— creation time, notlast_accessed. The window isSEARCH_RECENCY_WINDOW_DAYS(default180) and the curve is selectable viaSEARCH_RECENCY_CURVE(lineardefault,expavailable)SEARCH_RECENCY_WINDOW_DAYS, say it measures fromtimestamp, and mention theexpcurvevector,keyword,metadata,exact,importance,confidence,recency,tag,relation,relevance) — and this page already says "10 scoring components" in its intro and lists 10 in the weight table9→10match_typeis one ofsemantic,keyword,tag,relation,entityvector,keyword,trending,metadata,tag,relation,entity_expansion,priority_id,state_replacement. Neithersemanticnorentityis ever produced"match_type": "semantic"vectorsemantic→vectorVerified against: verygoodplugins/automem@8ff266e
Verified against: verygoodplugins/mcp-automem@2816beb
Claims re-checked this pass and found accurate (no edit made):
RECALL_MAX_LIMIT=100;tag_matchserver defaultprefix; sidecar slot reservationmax(1, min(limit, 10)); the vector over-fetch formula and itsRECALL_VECTOR_OVERFETCH=4/RECALL_VECTOR_FETCH_CAP=200defaults;RECALL_RELATION_LIMIT=5;RECALL_EXPANSION_LIMIT=25;RECALL_RECENCY_BIASshippingoff; all tenSEARCH_WEIGHT_*defaults; the keyword scoring points (2 content / 1 tag, +2 / +1 phrase) andORDER BY score DESC, m.importance DESC, m.timestamp DESC; the MCP three-branch routing insrc/automem-client.tsincluding enumeration-mode rejection of ranked-only params;recall_memoryannotatedreadOnlyHint: true/idempotentHint: true; MCPlimit1–200 default 5,expansion_limit1–500 default 25,relation_limit1–200 default 5; and thesrc/recall-memory.tsbudgeting constants (400-char preview, max 3 relation stubs, 100-char relation summaries, 18,000-token default budget).Questions
automemlinks to0720da2andmcp-automemlinks to538721c. Those are still valid permalinks, so I left them alone rather than bumping them to the SHAs above — but if the convention is that the callout should track the most recently audited SHA, it needs a refresh. Same question for the sentence "At automem@0720da2 this exclusion applies to ranked recall only", which is deliberately SHA-qualified.expand_respect_tags, even though the expansion response example below it returnsrespect_tags. The parameter is real (recall.py#L1634), so this reads as an omission rather than an error — adding a row felt like new documentation rather than a drift fix, so I left it out.Unverified
Follow-ups
None — all proven discrepancies on this page are fixed here (4, under the 5-fix cap).
Generated by Claude Code