supermemory/apps
MaheshtheDev 2e0043dbe4 docs: add Container Tags concept page (#1098)
## What & why

The Mintlify docs app didn't have a dedicated page explaining **container tags** — the core concept used everywhere in the Supermemory API. Container tags were only mentioned in passing inside `concepts/filtering.mdx`, so there was no single place a developer could go to understand what they are and how they behave.

This PR adds a `Container Tags` concept page, derived from how the `mono` API actually implements them.

## What the page covers

- **The isolation/namespacing model** — each container tag maps to its own vector namespace (`memoryNamespace` / `chunkNamespace` in `apps/api/src/services/vectordb/namespace.ts`), so retrieval never leaks across tags.
- **Auto-creation** — adding a memory with a new tag auto-creates the backing `space` (upsert on `(container_tag, org_id)`).
- **Naming rules** — `≤ 100` chars, pattern `^[a-zA-Z0-9_:-]+$`, taken straight from `containerTagValidator` in `packages/validation/api.ts`. Notes the colon for hierarchical tags.
- **`containerTag` (current) vs `containerTags` (deprecated array)** — matches the deprecation in the validation schemas and the `/v4` API.
- **Lifecycle usage** — add / search / list / update / delete.
- **Access control** — API key scopes + member container-tag restrictions, and the `403` behavior enforced by `containerTagGate` / `containerTagGuard` (`apps/api/src/lib/auth/container-tag-guard.ts`).
- **Per-container settings** — `name` and `entityContext`, plus merge, from `ContainerTagSettingsSchema`.
- **Recommended naming conventions** — user / project / agent / hierarchical patterns.

## Changes

- Add `apps/docs/concepts/container-tags.mdx`
- Register the page in `apps/docs/docs.json` under the **Concepts** group (before `concepts/filtering`)

## Notes

- Opened as a **draft** for review.
- Validated `docs.json` remains well-formed JSON.
- The existing `concepts/filtering.mdx` is cross-linked rather than duplicated — it keeps the filter-combination examples; this page focuses on the concept itself.

https://claude.ai/code/session_01Xwp8sDZrsQr5mmuRu5TYvX

---
_Generated by [Claude Code](https://claude.ai/code/session_01Xwp8sDZrsQr5mmuRu5TYvX)_
2026-06-11 23:10:52 +00:00
..
browser-extension fix(extension): resolve sign-in loop and stale spaces (#1016) 2026-05-30 16:38:10 +00:00
docs docs: add Container Tags concept page (#1098) 2026-06-11 23:10:52 +00:00
mcp test(mcp): add deployed-server e2e suite (#1057) 2026-06-07 04:30:17 +00:00
memory-graph-playground Improve memory graph (#973) 2026-06-05 15:48:41 -07:00
raycast-extension feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
web feat(shortcuts): merge use-case modal with shortcut actions (#1091) 2026-06-11 00:33:21 +00:00