Files
PaperClipAI/doc/plans
DottaandClaude Opus 5.5 3293700448 docs(plans): Cloud sends analytics directly to PostHog (#22003)
## Thinking Path

> - Paperclip is the open source app people use to manage AI agents for
work
> - Paperclip Cloud is the hosted version, and it shares the product
telemetry path with self-hosted installs
> - Self-hosted telemetry goes through the Paperclip collector, which
anonymizes every identifier
> - Cloud needs real identifiers, page analytics, and session replay in
PostHog to find and fix bugs for specific users
> - This pull request adds the plan that moves Cloud to direct PostHog
delivery and keeps the self-hosted path unchanged
> - The benefit is one reviewed plan that the follow-up pull requests
implement

## Linked Issues or Issue Description

**What is the problem?**
The PostHog Product analytics and Web analytics pages show no data for
Paperclip Cloud. Only server events arrive, and they carry anonymized
install identifiers.

**What do you propose?**
Cloud sends events directly to PostHog with real identifiers.
Self-hosted installs keep the collector path. Existing Cloud stacks keep
their PostHog history through a precomputed legacy identifier.

**Why does it matter?**
The team can trace a bug from a specific user or workspace to events and
session replays.

## What Changed

- Add `doc/plans/2026-11-17-cloud-direct-posthog.md`.

## Verification

- Documentation only. No code changes.

## Risks

- Low risk. Documentation only.

## Model Used

- Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, with tool use.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:38:49 -06:00
..