project_info
Identify the stable project identity and its memory namespaces before saving or loading context. Prevents misidentified project storage by returning the exact key and source to show the user.
Instructions
Resolve the stable identity of the current project and the namespaces its memories live in.
When to use: before every context_save and context_load, and any time the user asks which project or bucket their memories are going to.
ALWAYS call this before context_save or context_load, and ALWAYS show the
user the returned key and source — a misidentified project is the one
failure the user can catch instantly, and cannot catch at all if hidden.
If warn is non-null the identity is NOT stable across machines; relay it verbatim.
Returns: { key, source, display_name, warn, ctx_namespace, code_namespace, home_namespace }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path of the project directory. Defaults to the server process cwd. |