From 42f7d64e11869b830596a6ea3687166b3fde6edb Mon Sep 17 00:00:00 2001 From: vreshch Date: Wed, 18 Nov 2026 00:13:57 +0100 Subject: [PATCH] docs: remove em dashes from CLAUDE.md Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- CLAUDE.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5f35918..abdfe97 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,21 +1,21 @@ -# @agentage/server-memory — CLAUDE.md +# @agentage/server-memory - CLAUDE.md The stdio **MCP server** for agentage Memory: exposes local vaults as the frozen 6 -`memory__*` tools. Deliberately **tiny** — just the MCP definition. All memory logic +`memory__*` tools. Deliberately **tiny** - just the MCP definition. All memory logic (backends, git, search, routing) lives in `@agentage/memory-core`; don't add it here. ## Layout (src/) -- `server/memory-tools.schema.ts` + `.mcpc.json` — the **frozen 6-tool contract** (Zod source + CI snapshot). -- `server/register-tools.ts` — wires the schema to memory-core's router. -- `server/render-markdown.ts` — the text channel renderer (pure; list=outline, read=raw doc). -- `server/create-memory-server.ts` — `createMemoryServer(registry, opts)`, transport-agnostic. -- `server/local-server.ts` — `loadLocalServer()` (reads `~/.agentage/vaults.json`). -- `bin/server-memory.ts` — ~15-line stdio entry. +- `server/memory-tools.schema.ts` + `.mcpc.json` - the **frozen 6-tool contract** (Zod source + CI snapshot). +- `server/register-tools.ts` - wires the schema to memory-core's router. +- `server/render-markdown.ts` - the text channel renderer (pure; list=outline, read=raw doc). +- `server/create-memory-server.ts` - `createMemoryServer(registry, opts)`, transport-agnostic. +- `server/local-server.ts` - `loadLocalServer()` (reads `~/.agentage/vaults.json`). +- `bin/server-memory.ts` - ~15-line stdio entry. ## Rules - The 6-tool `memory__*` contract is **frozen**. Schema + `.mcpc.json` must stay in sync. -- `.mcpc.json` is a CI snapshot (`z.toJSONSchema`, draft-2020-12) — it disagrees with the live `tools/list` (SDK, draft-07). **Verify contract claims against a dumped live `tools/list`, never the snapshot** — snapshot-only checks go false-green. -- Descriptions flow to BOTH serializers — the safe cross-model lever (the model routes on the description, not just the schema). +- `.mcpc.json` is a CI snapshot (`z.toJSONSchema`, draft-2020-12) - it disagrees with the live `tools/list` (SDK, draft-07). **Verify contract claims against a dumped live `tools/list`, never the snapshot** - snapshot-only checks go false-green. +- Descriptions flow to BOTH serializers - the safe cross-model lever (the model routes on the description, not just the schema). - Transport-agnostic by design: `createMemoryServer` takes any transport; the bin here wires stdio. Keep it that way. - `@agentage/memory-core` is a normal npm dependency (`^0.5.0`); all memory logic stays there.