Skip to content

docs: fix drift in Direct API vs MCP Tools#175

Merged
jack-arturo merged 1 commit into
mainfrom
docs/audit-direct-vs-mcp-20260612
Jun 12, 2026
Merged

docs: fix drift in Direct API vs MCP Tools#175
jack-arturo merged 1 commit into
mainfrom
docs/audit-direct-vs-mcp-20260612

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

Automated docs audit — 2026-06-12. Never-previously-reviewed page.

Claim Current state Fix
Source note SHAs at b81c63ae (both src/index.ts and server.json links) Current mcp-automem HEAD is 34fcfe2b Updated both permalinks to 34fcfe2b
update_memory metadata param: "Metadata (merged with existing)" PATCH /memory/:id uses replacement semantics — confirmed in PR #169; MCP tool passes through to the same endpoint Changed to "Metadata (replaces existing)"
tools array reference: "lines 178–620" At 34fcfe2b, tools array is lines 177–667 Updated
ListToolsRequestSchema handler: "lines 622–624" At 34fcfe2b, handler is at line 669 Updated
CallToolRequestSchema handler: "lines 626–783" At 34fcfe2b, handler is lines 671–826 Updated

Follow-ups (not fixed — exceed 5-fix cap):

  • Process Lifecycle table line ranges need full update at 34fcfe2b: Entry 1–57→1–52, Mode Detection 58–62→53–68, CLI Routing 63–118→88–157, Configuration 119–177→158–176, Server Setup 178–783→177–826, Main Loop 785–795→~828–834
  • installStdioErrorGuards() comment "lines 120–130" is now at L106

Verified against: mcp-automem@34fcfe2b7bdac6a99829c64cc74611e29af69a38


Generated by Claude Code

- Update source note SHAs b81c63ae → 34fcfe2b (both src/index.ts and
  server.json links were pointing to a stale commit)
- Fix update_memory metadata param description: "merged with existing"
  → "replaces existing" (PATCH /memory/:id uses replacement semantics,
  confirmed in PR #169; MCP tool passes through to the same endpoint)
- Fix tools array line reference: 178-620 → 177-667
- Fix ListToolsRequestSchema handler line reference: 622-624 → 669
- Fix CallToolRequestSchema handler line reference: 626-783 → 671-826

Follow-ups (not fixed here — exceed the 5-fix cap):
- Process Lifecycle table line ranges need full update at 34fcfe2b:
  Entry 1-57→1-52, Mode Detection 58-62→53-68, CLI Routing 63-118→88-157,
  Configuration 119-177→158-176, Server Setup 178-783→177-826,
  Main Loop 785-795→~828-834
- installStdioErrorGuards() "lines 120-130" is now at L106

Verified against: mcp-automem@34fcfe2b7bdac6a99829c64cc74611e29af69a38
Copilot AI review requested due to automatic review settings June 12, 2026 23:18
@jack-arturo jack-arturo enabled auto-merge June 12, 2026 23:18
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying automem-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: b06ebb3
Status: ✅  Deploy successful!
Preview URL: https://efa1eea4.automem-website.pages.dev
Branch Preview URL: https://docs-audit-direct-vs-mcp-202.automem-website.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the “Direct API vs MCP Tools” documentation to eliminate drift against the current mcp-automem implementation, keeping GitHub permalinks and referenced source line ranges accurate for readers.

Changes:

  • Updated mcp-automem source permalinks (src/index.ts, server.json) to commit 34fcfe2b….
  • Corrected update_memory metadata semantics wording to indicate replacement (not merge) behavior.
  • Refreshed referenced line ranges for the tools array and request-schema handlers to match the pinned commit.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| `tags` | array[string] | No | — | New tags (replaces existing) |
| `importance` | number | No | 0–1 | New importance score |
| `metadata` | object | No | — | Metadata (merged with existing) |
| `metadata` | object | No | — | Metadata (replaces existing) |

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. memory-operations.md line 533 has the same "merged with existing" wording and is already queued for correction in the open draft PR #169 (which fixes several issues on that page, including this one). Once #169 merges, both pages will agree on replacement semantics. No change needed here.


Generated by Claude Code

@jack-arturo jack-arturo added this pull request to the merge queue Jun 12, 2026
Merged via the queue into main with commit 09c0a12 Jun 12, 2026
5 checks passed
@jack-arturo jack-arturo deleted the docs/audit-direct-vs-mcp-20260612 branch June 12, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants