DOC-6692 Agent memory use case#3466
Conversation
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
There are 4 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 15d32c9. Configure here.
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
❌ Jit Scanner failed - Our team is investigatingJit Scanner failed - Our team has been notified and is working to resolve the issue. Please contact support if you have any questions. 💡 Need to bypass this check? Comment |
| # Stop Hugo's filesystem watcher from opening fds for build artifacts | ||
| # and language-package directories that ship inside use-case demos but | ||
| # are never referenced from a page as a resource. Without these the | ||
| # Rust `target/` and PHP `vendor/` trees alone account for ~8,500 of | ||
| # the files under `content/`, which pushes the watcher past macOS's | ||
| # default `kern.maxfilesperproc` ceiling on `hugo serve`. | ||
| ignoreFiles = [ | ||
| "/vendor/", # composer / bundler deps | ||
| "/node_modules/", # npm deps | ||
| "/target/", # rust + maven build output | ||
| "/bin/", # .NET build output | ||
| "/obj/", # .NET intermediate output | ||
| "/__pycache__/", # Python bytecode cache | ||
| "/models/", # Hugot model cache | ||
| "/\\.transformers-cache/", # TransformersPHP cache | ||
| ] |
There was a problem hiding this comment.
Interesting. I've only seen the continuous rebuild problem a few times, so I don't know that this is a root cause. That said, I don't think it will hurt anything.
dwdougherty
left a comment
There was a problem hiding this comment.
I didn't review any code; just the page that describes the use case. LGTM.
|
Thanks @dwdougherty ! |

Note: the
ignoreFilesin the config might solve the Hugo continual rebuild problem but I can't confirm that (spurious watched files might explain the rebuilds too).Note
Low Risk
Documentation and local demo code only; Hugo config change is limited to ignoring build/cache paths and does not affect production site behavior.
Overview
Adds a new Agent memory develop use case: a hub page describing working memory (Hash), long-term recall (JSON + Search/HNSW with write-time dedup), and per-thread audit logs (Streams), plus links to language-specific walkthroughs.
Hugo gets
ignoreFilesfor demo trees (vendor/,node_modules/,target/,bin/,obj/,__pycache__,models/, transformers cache) sohugo servedoes not watch thousands of build/model files under use-case demos.Runnable demos land for .NET (NRedisStack, ONNX MiniLM embedder,
HttpListeneron :8093) and Go (go-redis, Hugot embedder,net/httpon :8090), each with sharedindex.htmlUI and endpoints (/turn,/state,/new_thread,/reset,/drop_memory). Implementation covers session TTL refresh via transactions,FT.SEARCHKNN + TAG filters, streamMAXLEN ~, and seed data for first-run recall.Reviewed by Cursor Bugbot for commit c32a92d. Bugbot is set up for automated code reviews on this repo. Configure here.