1.1 KiB
1.1 KiB
MEMORY AGENT RULES
TRIGGERS — ALWAYS CHECK
- ON session_start: read_graph OR search_nodes()
- ON significant_change: create_entities OR add_observations
- ON file_operation: log to memory if architecture/config/decision
KEY FORMAT
- PREFIX:
lazybear/ - KEY:
lazybear/<type>/<n>(ex: lazybear/bug/auth-fail) - ONE_TYPE_PER_ENTITY: true
ALLOWED TYPES
- architecture | mcp_tool | decision | bug | config | task_log
MACHINE-FIRST PRINCIPLES
- ALWAYS use memory for project context, architecture, and decisions
- READ graph before coding or making assumptions
- Don't duplicate observations
- Update memory when state changes significantly
SCHEMA
lazybear/{architecture|mcp_tool|decision|bug|config|task_log}/{entity-name}
READING PRIORITY
- Check graph before coding
- Search nodes for existing context
- Don't duplicate observations
WRITING TRIGGERS
- Architecture: create
architectureentity - New MCP tools: create
mcp_toolentity - Major decisions: create
decisionentity - Config updates: create
configentity - Completed tasks: create/update
task_logentity