get_state
Restore project context by retrieving saved decisions, preferences, and next steps, scoped to the active git branch with fallback to default or global memory.
Instructions
Returns the current project memory: decisions made, preferences established, things to avoid, and what to pick up next. State is scoped to the current git branch when the project is a git repository, falling back to the default branch state and then to the legacy flat state file. When user-wide global memory exists (written via update_state with scope 'global'), a deduplicated 'Global Memory' section is appended after the project state; project and branch entries always take precedence. Call this at the START of every session to restore context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | Absolute path to the project root. Defaults to current working directory. |