:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(agents): add feature usage tracking guidelines (#106646)
Adam Leith34ba8e522670
diff --git a/AGENTS.md b/AGENTS.mdindex 0ee8f91a3d05..1904bd57fbdb 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -255,6 +255,15 @@ For any text a person reads (UI labels, tooltips, empty/error states, notificati- Be direct and friendly: short sentences, consistent tone across surfaces.- Errors and empty states guide, don't dead-end: say what happened and the next action.+## Feature usage tracking++- **Every feature is tracked end to end.** A user's path through a feature, from entry to outcome, emits events that show whether people start it, finish it, and where they drop off.+- **Features adjacent to your work get tracking too.** A feature is adjacent when it shares a scene or a user flow with your change. When an adjacent feature has no tracking, add it in the same change.+- **Check usage of tracked adjacent features.** Run a subagent that queries each tracked adjacent feature's usage over the last 6 months.+ - Fewer than 100 interactions a week counts as low usage. Zero events in 6 months is the extreme case of low usage.+ - Before you act on low usage, confirm the tracking fires: trigger the feature locally and check that the events arrive. Missing events can mean broken tracking, not an unused feature.+ - Post each low-usage feature and its usage numbers in the platform UX Slack channel (Channel ID: `C08499A7REU`). The decision to keep or remove the feature is made there. Do not remove a feature before that decision.+## Agent automationWhen automating a convention, try these in order — only fall back to the next if the previous isn't suitable: