What the turn's recall found, cut to maxRecallTokens * 4 characters: written by beforeAgent (removed when it found nothing) and removed by afterAgent as the turn ends, so a thread at rest holds no entry. Its initial value means "nothing recalled", so a thread checkpointed before the middleware was added restores (design §4.29), and one checkpointed with it restores after it is removed. One key for every instance, registered only by an agent family with a SemanticMemoryMiddleware.
What the turn's recall found, cut to maxRecallTokens * 4 characters: written by beforeAgent (removed when it found nothing) and removed by afterAgent as the turn ends, so a thread at rest holds no entry. Its initial value means "nothing recalled", so a thread checkpointed before the middleware was added restores (design §4.29), and one checkpointed with it restores after it is removed. One key for every instance, registered only by an agent family with a SemanticMemoryMiddleware.