v13.5.4

lewish/asciiflowv13.5.4Jun 10, 2026by thedotmack

AI Summary

Resolves a ~98.5% telemetry gap in geolocation by correcting the PostHog SDK configuration to allow ingest-side GeoIP lookups.

Key Highlights

  • Client now passes `disableGeoip: false` to PostHog for location derivation.
  • Raw IP addresses are still never stored or attached to events.
  • Coarse location (country/region/city) is derived transiently at ingestion.
  • Telemetry documentation and consent screens updated to disclose location usage.

New Features

  • Fixed PostHog GeoIP integration.
  • Expanded location telemetry disclosure.

Full Release Notes

## Fixed

- **Telemetry geolocation: closed the ~98.5% "unknown location" gap.** The posthog-node SDK assumes server deployments and stamps `$geoip_disable: true` on every event by default. claude-mem's worker runs on the user's own machine, so this needlessly suppressed PostHog's ingest-side GeoIP on all worker events (`worker_started`, `session_compressed`, `context_injected`, …). The client now passes `disableGeoip: false`, letting PostHog derive coarse location (country / region / city) at ingestion — from the request IP, which is then discarded. CLI events (`install_*`) were already unaffected.

## Privacy

- No change to the IP promise: raw IP addresses are still **never attached to events by the client and never stored** — the sender IP is used transiently at ingest for the coarse-location lookup, then discarded.
- The telemetry docs (https://docs.claude-mem.ai/telemetry) and the `npx claude-mem telemetry enable` consent screen now disclose the ingest-derived coarse location.

## Tests

- New regression test asserts the PostHog client is constructed with `disableGeoip: false` (telemetry suite now 58 tests, all passing).

šŸ¤– Generated with [Claude Code](https://claude.com/claude-code)