How ReacherX remembers instructions and learns from work
Trace explicit instructions, workflow events, evaluated lessons, retrieval, and the limits of application memory.
There are two different reasons ReacherX might remember something: a user explicitly asked it to, or the system inferred a reusable lesson from work it observed.
Those sources should not have equal authority. A user's instruction to avoid meeting requests must not lose to a pattern that says meeting requests sometimes got replies.
This walkthrough follows v4 beta at commit 8ea2662. It describes application memory, not training new model weights.
Capture the user's instruction
Start with convex/agents/tools/rememberWorkspaceMemory.ts. The tool accepts structured information such as a stable memory key, instruction kind, summary, scope, and relevant channels. It resolves the workspace and optional prospect from thread context, then calls shared persistence and indexing code.