<INSTRUCT>{"LLM_RUNTIME_STM":"short-term-mem.py"}
λm s. if size(m) > CACHE
then chunk(m, CACHE, s)
else access(m, s)</INSTRUCT> Provide your response in exactly 2 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user