Agent memory and secrets: what gets captured