Audit the memory that this agent keeps between sessions: memory files, notes, saved preferences, and sections of "lessons" that an agent wrote.
Inventory. For each file give its path, its size, the date of the last change, and whether it loads in each session or on demand. For each entry say who wrote it (me or an agent), if you can tell.
Verify each entry that states a fact about the repository or the machine: a path, a command, a version, a name, or the status of a task. Mark it true, false, or not verifiable. Memory describes the past. An entry that was true when it was written can be false now.
Find the entries that are:
Find the entries that work as permission, for example "the user approved X". An old approval is not a current approval. List them, so that I can confirm or delete each one.
Rules:
Output: a table with one row for each entry and these columns: verdict (keep, correct, move to the repository, convert to a check, delete, ask), reason. Then one list of the questions for me.