Semantic cache and PII guardrails were already fully coded and tested
since Oct 6 (apps/relay/crates/relay-semantic-cache,
apps/relay/crates/relay-guardrails) and wired into gateway/src/router.rs,
but the production Relay image on railyard-box was built from a checkout
87 commits behind main (predating both features). Rebuilt and deployed
relay from current main, enabled RELAY_SEMANTIC_CACHE=memory and
RELAY_GUARDRAILS_JSON={"pii":"redact"} in /etc/products/relay.env, and
verified both live end-to-end with a real throwaway API key (a request
with a fake email got x-relay-guardrails: email=1; the identical repeat
got x-relay-cache: hit, similarity 1.0000).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The 2026-10-05 static parity recount still called A4 (native SDKs),
A22 (warehouse destinations) and A23 (CDP destinations/transforms)
PARTIAL, but the code that closes them landed on main the next day
(fba4dba7, 8cd06952, 0e611a19, b4612a4f, 41653aeb, aa25b536) and was
never folded back in. Add scripts/parity/wave-r.mjs on top of wave-q.mjs
(recount.mjs now merges waves, later wins) and regenerate
docs/parity/recount-2026-10-15.txt: analytics moves from 24/6/7 to
27/3/7 DONE/PARTIAL/MISSING. Verified before writing any of it: full
pnpm run test:all in apps/product-analytics (220 tests, 216 pass, 0
fail, 4 skipped for an uncached Chromium) and `swift test` in
packages/analytics-swift (6/6).
Add apps/product-analytics/docs/MIXPANEL-PARITY-CHECKLIST.md and
test/qy/mixpanel-compat.test.ts, which points the real `mixpanel` npm
client (not a mock) at this service. Findings: /track and /engage
($set/$set_once/$unset) are Mixpanel-compatible today; /groups is not
(the real SDK's $group_key/$group_id don't match this service's
$group_type/$group_key), the $add/$append/$union/$remove people ops are
accepted but silently dropped, there's no /import route, and a
non-verbose Mixpanel client treats this service's JSON response as a
failure. None of that ingestion-routing code is touched here; it's
scoped to docs and tests only.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>