mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-11 03:37:56 +00:00
## Stack context This is the second PR in the V5 documentation stack, on top of the versioned API reference. ## What and why Add an agent-oriented V3/V4 to V5 migration guide covering document ingestion and updates, content management, search, profiles, forgetting, namespaces, organization settings, typed filters, and rollout verification. Shared snippets keep the comprehensive guide and focused topic pages consistent. ```mermaid flowchart LR Legacy[Legacy integration inventory] --> Mapping[Domain migration guidance] Mapping --> V5[V5 requests and response readers] V5 --> Verify[Side-by-side verification and rollout] ``` ## Validation - Verified all 11 migration navigation entries resolve to authored pages. - Verified all imports across 23 migration and snippet files resolve. - `git diff --check` passed. - Mintlify build validation passed against the local generated V5 OpenAPI snapshot. ## Impact Documentation only. The guide explicitly covers changed defaults, removed operations, partial failures, namespace isolation, and rollback-oriented side-by-side testing.
13 lines
890 B
Text
13 lines
890 B
Text
## Agent migration prompt
|
|
|
|
```text
|
|
Migrate this repository from Supermemory V3/V4 to V5. Start with a checklist of every legacy call site. Follow the linked domain guides, use one explicit namespace per request, preserve changed defaults explicitly during rollout, update response readers, and add side-by-side contract tests. Do not add /v5 to application routes or rewrite unchanged connector routes. Report operations with no V5 replacement instead of inventing substitutes.
|
|
```
|
|
|
|
## Operations without a direct replacement
|
|
|
|
- Direct memory creation and version updates: ingest or replace a source document instead.
|
|
- Organization bucket suggestion and organization reset: not part of the V5 public surface.
|
|
- Connector routes that still use `/v3`: unchanged; do not rewrite them.
|
|
|
|
Use `/v5/reference` for the stable V5 reference. `/reference` always points to the latest public version.
|