@leadbay/mcp 0.32.6 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog — @leadbay/mcp
2
2
 
3
+ ## 0.33.0 — 2026-09-01
4
+
5
+ Agent memory is removed (product#3996). The three `leadbay_agent_memory_*`
6
+ tools, `packages/core/src/agent-memory/`, the `agent-memory://summary`
7
+ resource, the `_meta.agent_memory` decoration and the `AGENT_MEMORY` server
8
+ instruction are all deleted.
9
+
10
+ **Why it goes rather than gets fixed.** The store was written when the MCP ran
11
+ on the user's own machine and no host had memory of its own. Both premises are
12
+ dead. Claude Cowork projects carry persistent memory into their scheduled
13
+ tasks, Claude chat memory shipped to all plans, ChatGPT has memory plus remote
14
+ connectors, and Codex reads the user's own file. Meanwhile the hosted server
15
+ writes to a container layer that Argo replaces on every image build, so ours
16
+ was strictly worse than the host's on the surface where it mattered most.
17
+
18
+ **Measured before deciding.** PostHog `mcp tool called`, tools matching
19
+ `%memory%`, 120 days, whole fleet: **121 captures, 30 recalls, 13 users.**
20
+ 79 of the 121 captures came from one hosted IP and stop on 2026-07-29. August
21
+ was 11 captures and 3 recalls. The feature wrote four times more than it was
22
+ read and almost nothing read it twice.
23
+
24
+ **What replaces it.** Reading that user's verbatim `triggered_by` sentences
25
+ rather than a summary of them, the largest group by far was targeting — *"je
26
+ vise en priorité les entreprises qui ont plus de 100 voitures dans leur parc"*,
27
+ *"les transporteurs ne sont pas forcément de bons prospects sauf ceux qui font
28
+ du last mile delivery"*. Stored as notes those changed one conversation. The
29
+ new `headers/durable-preferences` snippet, included by the seven prompts that
30
+ carried the memory preamble, routes them to `leadbay_refine_prompt` instead,
31
+ where they mutate `computing_intelligence` and change what the product finds
32
+ for the whole organization. A rejected lead goes to a dislike.
33
+
34
+ - `withAgentMemoryMeta` is unwrapped from nine composites. It called
35
+ `resolveMe()` on every invocation, so each of those tools loses a round-trip.
36
+ - `LEADBAY_AGENT_MEMORY`, `EV_AGENT_MEMORY_*` and the three
37
+ `captureAgentMemory*` telemetry methods are gone. Historical events stay in
38
+ PostHog; nothing new is emitted.
39
+ - `assembler.ts` no longer injects a memory pointer into routed tool
40
+ descriptions, and `memory_protocol` is removed from the frontmatter schema.
41
+ - Deliberately NOT landed: `agent-memory/durability.ts`, a boot-time warning
42
+ for an ephemeral memory root written while this was still going to be fixed
43
+ with a volume. With nothing writing to disk the condition it detects can no
44
+ longer occur, so it is not a safety net, it is dead code.
45
+
3
46
  ## 0.32.6 — 2026-09-01
4
47
 
5
48
  The 401 auto-retry is GET-only — replaying a write could double-execute a
package/README.md CHANGED
@@ -22,26 +22,18 @@ A Model Context Protocol server that lets Claude Desktop, Cursor, Claude Code, a
22
22
 
23
23
  > **Upgrading?** See [CHANGELOG](../../CHANGELOG.md) and [MIGRATION.md](./MIGRATION.md) for version-specific behavior changes. Key callout: composite write tools are **ON by default** since 0.3.0 — set `LEADBAY_MCP_WRITE=0` to restore read-only behavior.
24
24
 
25
- ## Agent memory
26
-
27
- Leadbay MCP keeps a local, per-account agent memory at
28
- `~/.leadbay/memory/{account_id}/`. It stores append-only JSONL learnings
29
- about user taste signals such as preferred sectors, regions, deal size,
30
- communication style, and qualification rules.
31
-
32
- The memory tools are always exposed:
33
-
34
- - `leadbay_agent_memory_recall` reads the consolidated top signals.
35
- - `leadbay_agent_memory_capture` appends a new learning after the user reveals
36
- a material preference.
37
- - `leadbay_agent_memory_review` lists entries and gates retractions or org
38
- promotion through user confirmation.
39
-
40
- The main leads-touching tools (`leadbay_account_status`,
41
- `leadbay_pull_leads`, `leadbay_pull_followups`,
42
- `leadbay_prepare_outreach`, `leadbay_research_lead_by_id`) also attach
43
- `_meta.agent_memory.summary` automatically. Set `LEADBAY_AGENT_MEMORY=off`
44
- to suppress this ambient metadata.
25
+ ## What Leadbay remembers
26
+
27
+ Leadbay stores nothing about how you like to work. Your assistant already does
28
+ that Claude, ChatGPT and Codex each keep their own memory of your tone,
29
+ naming and habits, and it survives across conversations without us.
30
+
31
+ What Leadbay stores is what changes **who it finds for you**. When you tell the
32
+ agent something about your market ("I target fleets over 100 vehicles",
33
+ "carriers are a bad fit unless they do last-mile"), it calls
34
+ `leadbay_refine_prompt`, and that reshapes your recommendations for your whole
35
+ organization in the web app too, on every refresh. A lead you reject is
36
+ recorded as a dislike, which feeds the recommender the same way.
45
37
 
46
38
  ## 1. Install
47
39