JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Architecture and workflow guide

Deciding when an AI assistant should clear its working memory

This guide explains how a plugin helps an AI assistant decide when to clear its working memory. It combines two simple questions to suggest the safest time to save space without losing important details.

Original by kunchenguidEvaluation

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits and license

“compact-adviser” by kunchenguid. Read the original source.

This expanded guide is an AI-narrated adaptation of the source’s essential explanation, examples and caveats, not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

License: MIT

MIT License

Copyright (c) 2026 kunchenguid

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Our summary

This guide explores a plugin that tells an AI assistant when to clear its working memory. People use it to find natural stopping points in a conversation. This prevents the software from running out of room or deleting important details while a task is still active.

The plugin uses Jev, an AI tool that chooses from options rather than writing an answer. It asks if the current task is finished and what kind of work is happening. The software combines these answers into a score to decide if clearing memory is a safe choice.

The required score changes based on how full the memory is, becoming less strict as space runs out. Custom instructions always start by only suggesting action until a person checks them. This setup is useful for people managing long sessions with an AI assistant across different programs.

Key takeaways

  1. Combine questions about task progress and work type instead of asking one vague question about clearing memory.
  2. Require higher certainty to clear memory when space is mostly empty, and relax it as space fills up.
  3. Keep custom instructions in a suggestion mode until you test them to prevent unwanted automatic actions.

The repository authors reported the behavior and measurements from their own tests. A reviewer inspected the code and instructions but did not run the software to confirm the results.

Repository README and documentation · Source reviewed

Read the original guide Opens the author’s site in a new tab.