Spaces:
Running
Running
|
Download plugins/_memory/AGENTS.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_memory/AGENTS.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/plugins/_memory/AGENTS.md
-
curl -L -o AGENTS.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_memory/AGENTS.md
1.81 kB
| # Memory Plugin DOX | |
| ## Purpose | |
| - Own persistent memory, knowledge import, vector indexing, and memory management UI. | |
| ## Ownership | |
| - `helpers/memory.py` owns FAISS store loading, embedding metadata, and knowledge preload. | |
| - `helpers/knowledge_import.py` and `helpers/memory_consolidation.py` own import and consolidation behavior. | |
| - `tools/` owns memory save/load/delete/forget and behavior adjustment tools. | |
| - `api/` and `webui/` own memory dashboard and knowledge reindex/import flows. | |
| - `prompts/`, `default_config.yaml`, and `plugin.yaml` own memory and behavior-tool prompts, defaults, and metadata. | |
| ## Local Contracts | |
| - Keep memory scoped by configured subdirectory/context. | |
| - Preserve embedding metadata needed to rebuild indexes safely. | |
| - Delayed recall results must survive `LoopData` replacement, stay scoped to the originating memory/profile/project, and be consumed once by the next prompt; do not persist live task objects into chat JSON. | |
| - `memory_load` accepts numeric `threshold` and `limit` values as native numbers or numeric strings and coerces them before vector search. | |
| - Grouped tool-prompt declarations must start with `arg` or `args` so native Responses models receive every memory tool. | |
| - Auto-recall embeds each prepared query once and reuses that vector for the memory and solution filters; manual `memory_load` keeps the ordinary text-query path. | |
| - Avoid storing transient action-history noise as durable memory. | |
| ## Work Guidance | |
| - Keep dashboard metadata JSON-safe without changing shared API serialization. | |
| - Coordinate tool, prompt, and consolidation changes so saved memories remain useful and bounded. | |
| ## Verification | |
| - Smoke-test save, recall, delete, dashboard search/update, and knowledge import/reindex after changes. | |
| ## Child DOX Index | |
| No child DOX files. | |