-
Notifications
You must be signed in to change notification settings - Fork 384
feat(memory): Tests, docs, and examples for inject_memories #3018
Copy link
Copy link
Open
Labels
area/agentFor work that has to do with the general agent loop/agentic features of the appFor work that has to do with the general agent loop/agentic features of the apparea/configFor configuration parsing, YAML, environment variablesFor configuration parsing, YAML, environment variablesarea/ragFor work/issues that have to do with the RAG featuresFor work/issues that have to do with the RAG featuresarea/testingTest infrastructure, CI/CD, test runners, evaluationTest infrastructure, CI/CD, test runners, evaluation
Metadata
Metadata
Assignees
Labels
area/agentFor work that has to do with the general agent loop/agentic features of the appFor work that has to do with the general agent loop/agentic features of the apparea/configFor configuration parsing, YAML, environment variablesFor configuration parsing, YAML, environment variablesarea/ragFor work/issues that have to do with the RAG featuresFor work/issues that have to do with the RAG featuresarea/testingTest infrastructure, CI/CD, test runners, evaluationTest infrastructure, CI/CD, test runners, evaluation
Type
Fields
Give feedbackNo fields configured for Task.
Background
Sub-issue of #3011. Final polish — make sure
inject_memoriesis well-tested, documented, and discoverable via examples once the other sub-issues land.Scope
Tests
pkg/hooks/builtins/inject_memories_test.go:SearchMemoriescallmax_inject_memoriescap respectede2e/):inject_memories: true+ a few seeded memoriesgo test -race ./pkg/hooks/builtins/... ./pkg/runtime/...Docs
docs/— new section on proactive memory injection: what it does, how to enable it, when to chooselocalvsllmstrategyAGENTS.md— short note explaininginject_memoriesfor agents browsing the repoagent-schema.json— confirm descriptions render usefully in IDEs / YAML language serversExamples
examples/— sample agent YAML demonstratinginject_memories: truewith amemorytoolsetAcceptance Criteria
docker-agent runand demonstrably injects memories