Backtracking Through Agent Memory – Adventures with LLMs, Prolog and DeepClause | Dark Hacker News