Initialize project context
initialize_project_contextAutomatically detects and registers the current project at session start, then returns a project briefing and agent protocol. If unfinished work exists, prompts the user once to continue where they left off.
Instructions
Call this FIRST, automatically, at the start of EVERY chat/session — without the user asking. Detects the current project (via git remote, .agent-memory.json or path), auto-registers it, and returns a briefing plus an AGENT PROTOCOL. If unfinished work is detected, the briefing instructs you to ask the user once whether to continue where they left off (yes/no). All memory bookkeeping (save_memory, create_handoff, finish_session) must happen silently in the background — never ask the user to run memory commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Optional focus topic to bias memory selection. | |
| agentId | No | Identifier of the calling agent/client, e.g. "cursor", "vscode", "claude-cli". | |
| workspacePath | No | Workspace directory of the project. Defaults to the server working directory. |