memory_remember
Write a durable memory into the caller's org.
fact / preference / note / outreach -> semantic pillar.
event -> episodic. procedure / skill -> rejected; use
memory_procedure_set / memory_skill_set.
Routed through the guarded ingestion pipeline (PII, injection
screening, near-dupe merge / contradiction supersede) under RLS.
When repo / github are given the memory is tagged
repo:<slug> / github:<owner>/<repo>. namespace= (or the
default from those args) is an org-allowlisted container — recall
with the same slug excludes other namespaces. paths= tags the
repo files the memory is about (memory_for_paths reads them).
Result includes org + bound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | fact, preference, event, note, or outreach (not procedure/skill) | note |
| repo | No | Workspace slug of the repo this memory belongs to (e.g. the slug used for memory_state). For code/repo-specific work, pass your current workspace slug so the memory is scoped to this repo (stored as a 'repo:<slug>' tag) and ranks higher when recalled from the same repo. Omit for cross-cutting memories. | |
| tags | No | Optional free-form tags | |
| agent | No | Override agent identity (defaults to bearer-token identity) | |
| paths | No | Repo-relative POSIX file paths this memory is about (e.g. ['src/foo.ts']). Each is stored as a 'path:<p>' tag so memory_for_paths finds it. Absolute paths and '..' escapes are rejected; backslashes and './' are normalized. | |
| github | No | GitHub repository as owner/repo (e.g. teamshared-ai/teamshared). Stored as a 'github:<owner>/<repo>' tag for cross-machine association; use with or instead of workspace repo= when the same GitHub repo is checked out at different paths. | |
| content | Yes | Free-form text to remember | |
| subject | No | Optional subject/entity this memory is about | |
| namespace | No | Org-allowlisted container (repo:owner/name, github:owner/repo, or project:name). Tags this write. Omitted: default from github= then repo=. Invalid slugs fail. First write creates the slug on the org allowlist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||