pub fn cmd_memory_context(beans_dir: &Path, json: bool) -> Result<()>Expand description
Output memory context for session-start injection.
When bn context is called without a bean ID, it returns relevant memories:
- WARNINGS — stale facts, past failures (never truncated)
- WORKING ON — claimed beans with attempt history
- RELEVANT FACTS — scored by path overlap, dependencies
- RECENT WORK — closed beans from last 7 days