Maintain a cross-referenced project knowledge wiki in docs/knowledgelib/: update topic files with durable decisions, constraints, and learnings from the session, and keep index.md and log.md current. Use when the user asks to save what was learned, update the project wiki or knowledge base, or invokes $mastermind-logger.