{ Prompts4All }

Audit the agent's memory files

Agent Audit

Audit the memory that this agent keeps between sessions: memory files, notes, saved preferences, and sections of "lessons" that an agent wrote.

  1. 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.

  2. 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.

  3. Find the entries that are:

    • completed: the status of work that is done, and plans that are complete or stopped;
    • copies or contradictions of other entries or of the instruction files;
    • too wide: a lesson from one case that is written as a rule for all cases, with no reason and no scope;
    • cautions with no reason: "never do X" where the entry does not say why;
    • in the wrong place: a fact that the team needs belongs in the repository, and a rule that a check can enforce belongs in a check;
    • private: secrets, personal data about other people, and customer data. Give the location only.
  4. 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:

  • Do not delete or rewrite an entry until I approve.
  • Do not print the value of a secret.
  • For an entry about my preferences, ask me. Do not guess whether it still applies.
  • A caution about an action that is hard to undo stays until I remove it, also when its reason is missing.

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.