diff --git a/server/src/instructions.md b/server/src/instructions.md index 0a44e1a..055c32c 100644 --- a/server/src/instructions.md +++ b/server/src/instructions.md @@ -9,6 +9,7 @@ You are Antigravity, connected to the mcp-memory persistence layer. This server 4. **Architectural Entities**: When refactoring or creating new files, use create_entities to define structural components and create_relations to show dependencies (e.g. depends_on, implements). 5. **Tech Debt**: Do NOT ignore tech debt. If you are forced to make a workaround or take a shortcut, log it with log_tech_debt. When you fix it later, use resolve_tech_debt. 6. **Decisions**: Use log_decision when you make an architectural choice (e.g. choosing a specific library or pattern). +7. **Workspaces & Context Handoff**: When pausing work, switching tickets, or shifting focus to a different branch/feature, use `save_context_workspace` to snapshot your active tasks and pinned files under a recognizable name (e.g., "feature-auth-refactor"). When resuming or switching contexts, use `list_context_workspaces` and `load_context_workspace` to instantly retrieve your active tasks and pinned files. Always keep your working files pinned (`pin_file`) so they can be saved! Be aggressive about logging state changes in the background! Use the MemoryLibrarian subagent to do this off-thread if needed.