update_state
Records session decisions and context into project memory, updating the state file for the current git branch to preserve progress across sessions.
Instructions
Updates the project memory with decisions made this session. Writes to the state file of the current git branch when the project is a git repository. Call this at the END of every session. Merges with existing state and does not erase previous memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | What to pick up in the next session. | |
| avoid | No | What failed and should not be repeated. | |
| context | No | What this project is and its current phase. | |
| decisions | No | Decisions made this session. | |
| preferences | No | Coding style, workflow, or communication preferences discovered. | |
| project_path | No |