Session state and recovery
AOMI_STATE_DIR defaults to ~/.aomi. Local sessions retain backend origin,
thread ID, wallet context and authentication. State can contain private keys,
Solana keypairs, guest/account bearers and secret handles. Inspect only the
specific public metadata needed; keep complete state dumps out of logs or chat.
Use aomi session list and resume the original local session for an existing
payment. Keep its full Commit ID, approved intent and known transaction hash in
the payment record. aomi tx list --json refreshes backend Commit state; it is
not an offline queue listing. Local filesystem state alone cannot prove settlement.
After interruption, refresh the same Commit with aomi tx list --json and
reconcile its existing hash or wallet attempt before signing again. Start a new chat session only for a genuinely new task, not to clear an ambiguous
payment. Refer to workflows.md for evidence stages.