fix(skills): remove stale letta memory tokens from context-doctor ROOT_MEMORY.md - #4141
Draft
amelia-letta wants to merge 1 commit into
Draft
amelia-letta wants to merge 1 commit into
amelia-letta wants to merge 1 commit into
Conversation
…OOT_MEMORY.md The `letta memory tokens` command only scans `system/` (memfs-v1 layout) and returns 0 for memfs-v2 agents with root `MEMORY.md` layout. ROOT_MEMORY.md is loaded for memfs-v2 agents, so the command reference was stale. Replace with manual byte-count/4 estimation guidance. Co-Authored-By: Letta Code <noreply@letta.com>
3 tasks
Contributor
|
Fixed in #4147. The shared estimator now uses the existing MemFS format detection: v1 still counts |
This branch has not been deployed
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.
Builtin-skill-watch: context-doctor@2823362103cc-be7161d9305cdf63
Summary
letta memory tokensonly scanssystem/(memfs-v1 layout) and returns 0 for memfs-v2 agents with rootMEMORY.mdlayoutROOT_MEMORY.mdis the file loaded for memfs-v2 agents, so the command reference was staleTest plan
bun test src/agent/prompt-assets.test.ts— 23 pass, 0 failbun test src/tools/skill-tool.test.ts— 20 pass, 0 failbun run typecheck— 0 errors👾 Generated with Letta Code