persist_message runs right after every a2a security.audit call (inbound,
reply, and the a2a send tool) and still created
get_hermes_home()/a2a_conversations with a raw mkdir(parents=True), so a
session bound to a deleted or renamed profile recreated profiles/<name>.
It now goes through mkdir_under_hermes_home and, like audit, skips the
write. The test drives the real tools._send_task after a delete and a
rename.
The achievements _write_json no longer repeats the data-dir mkdir that
_data_file already did; that second mkdir could only rebuild a home
removed in between. Adds tests for the _data_dir standalone fallback,
for _write_json, and for the disk-cleanup _handle_slash liveness guard
(an unrelated FileNotFoundError on a live home still raises), and fixes
the _on_post_tool_call docstring.
Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com>