Activity logging now catches and logs errors without propagating them. This ensures activity logging failures never break primary operations. Updated return type to ActivityLog | null to indicate potential failure. Refs #339 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>