Skip to content

docs(j5): privacy page discloses the location PostHog derives from the IP - #824

Merged
Jacksondr5 merged 2 commits into
j5/mainfrom
j5/821-geoip-disclosure
Oct 31, 2026
Merged

Jacksondr5 merged 2 commits into
j5/mainfrom
j5/821-geoip-disclosure

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Problem

The privacy page said "IP addresses are not stored." That's true, but incomplete: when an event arrives, PostHog looks up an approximate location from the sending IP and stores it with the event. In the "J5 Code" project (645554) on 2026-10-31, 8,666 of the 8,675 events from the last day carried a city, 8,624 a postcode, and all of them coordinates. None carried $ip. Neither page mentioned the location. Closes #821.

What changed

Following Jackson's decision on #821 (disclose it, don't turn it off), both pages now say in plain words that PostHog derives an approximate location (country, region, city, postcode, coordinates) from the IP and stores it, and that the IP itself isn't stored:

  • apps/marketing/src/pages/privacy-policy.astro: the "IP addresses are not stored" sentence is rewritten.
  • docs/user/telemetry.md: the same fact is added to the paragraph on what events don't include.

Both pages say it's the IP of the machine running the J5 Code server, which is often your own computer. Only the server sends events to PostHog; the web, desktop and mobile clients never contact it. With the desktop app or a local install, that machine is the person's own computer. With a remote server, it's wherever that server runs.

The privacy page's "Last updated" date is already 2026-10-31, today: #816 set it this morning, so it doesn't move again.

UI changes

The privacy page's paragraph on IDs and IP addresses, captured from the marketing site's dev server at 1280×800, with origin/j5/main as the before and the PR head as the after. docs/user/telemetry.md is markdown, so it has no capture.

Before After
Privacy page: the paragraph on IDs and IP addresses Privacy page: the paragraph on IDs and IP addresses, before Privacy page: the paragraph on IDs and IP addresses, after

Checklist

Built by Claude Opus 5.5 in J5 Code (Claude Code harness), as the builder seat of a Crew.

🤖 Generated with Claude Code

…e IP

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Oct 31, 2026 8:23pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 41 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 50 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 5e45a79 and 3b2d870.

Files selected for processing: 2
  • apps/marketing/src/pages/privacy-policy.astro
  • docs/user/telemetry.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Jacksondr5 Jacksondr5 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combined review from the panel: Claude Opus 5.5 (lead) and GPT Sol 6.1, at c8a9e31d51.

The server-only claim holds

Only apps/server/src/telemetry/AnalyticsService.ts sends to PostHog. It POSTs batches straight to T3CODE_POSTHOG_HOST, which defaults to https://us.i.posthog.com, with no relay in between (register D27). Nothing in its batch payload sets $ip or $geoip_*. No web, desktop, mobile, client-runtime or marketing package or source has a PostHog SDK or any other analytics library. The only other mentions are dev scripts. PostHog's GeoIP falls back to the sending connection's IP (posthog-plugin-geoip), and it still enriches location when the IP is discarded (data storage docs). So "an approximate location from the IP of the machine running the server, and the IP itself is not stored" is accurate. "Last updated" correctly stays at 2026-10-31.

Suggestions

  1. Say whose machine that usually is. With the desktop app, or any server a person runs locally, "the machine running the J5 Code server" is their own computer, so the stored location is usually theirs. A privacy-page reader may not make that link. Suggest one clause, for example "…the machine running the J5 Code server (with the desktop app, your own computer)…". Also fix the PR body's "the location is the server's, not the device a person uses", which reads as more reassuring than it is in the common case. It is true that a remote client's location is never captured.
  2. Before/after captures of the privacy paragraph. The privacy page is a rendered page, and the checklist ticks "UI changes: none". The machine-wide rule asks for before and after images on any PR that changes UI, and gives no exemption for copy. Two cropped captures of the paragraph, one from the base and one from the head, on the evidence branch, would make that box honest. Otherwise the Captain should record that copy-only marketing changes are exempt.

No tests needed for prose. No other findings.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 effective changed lines (test files excluded in mixed PRs). labels Oct 31, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jacksondr5 added a commit that referenced this pull request Oct 31, 2026
@github-actions github-actions Bot added size:S 10-29 effective changed lines (test files excluded in mixed PRs). and removed size:XS 0-9 effective changed lines (test files excluded in mixed PRs). labels Oct 31, 2026
@Jacksondr5
Jacksondr5 merged commit 6e33883 into j5/main Oct 31, 2026
36 checks passed
@Jacksondr5
Jacksondr5 deleted the j5/821-geoip-disclosure branch October 31, 2026 21:32
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 3b2d8704 Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Privacy page: disclose the location PostHog derives from the IP

1 participant