v13.5.4

thedotmack/claude-memv13.5.4Jun 10, 2026by thedotmack

AI Summary

Fixed telemetry geolocation to derive coarse location (country/region/city) from request IP at PostHog ingest, closing the ~98.5% 'unknown location' gap. The client now passes disableGeoip: false to enable this, while maintaining the promise that raw IP addresses are never stored.

Key Highlights

  • Fixed PostHog SDK incorrectly disabling GeoIP for worker events by passing disableGeoip: false
  • Coarse location (country/region/city) now derived at ingest from request IP, then discarded
  • Raw IP addresses never attached to events or stored by the client
  • Updated telemetry docs and consent screen to disclose ingest-derived location
  • Added regression test to verify PostHog client configuration (58 tests passing)

New Features

  • Geolocation data for telemetry events (country, region, city derived from IP at PostHog ingest)

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)