{"found":true,"collection":"patterns","library_url":"https://www.grokbotdb.com/library/pat.three-memory-layers","generated":"2026-09-06T05:32:11Z","citation":["Quote the record id and its source_url (or provenance if there is no URL).","Include last_verified or observed_at when present. Do not present an old date as current.","If tier is community and confidence is low, say so. Do not launder it into a fact.","If the database does not hold the answer, say that. Do not invent Grok Bot product claims.","Contradictions are data: when conflicts_with is present, report both records rather than picking a favourite.","Deprecated and removed records stay visible. They are history, not current guidance."],"record":{"id":"pat.three-memory-layers","name":"Know which memory layer a fact belongs to","category":"architecture","problem":"Facts get written into a conversation that ends, or into one Bot that cannot share them.","technique":"Route durable company and routing facts to the user layer (shared knowledge), role and learned preference to the agent layer (the description), and project decisions and board state to files under /workspace.","why_it_works":"Each layer has a different scope and lifetime, and the wrong layer means the fact is either lost or re-paid for.","when_to_use":"Every time you tell a Bot something you will need again.","manual_ref":"1.5","evidence":"documented","related":["pat.user-layer-routing-facts","pat.state-on-disk","pat.memory-is-a-profile-file"],"confidence":"high","first_seen":"2026-09-03","last_verified":"2026-09-03"}}