: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(storybook): correct the login exception in the flag skill (#119002)
posthog[bot]63c9d0ff123a
diff --git a/.agents/skills/setting-feature-flags-in-storybook/SKILL.md b/.agents/skills/setting-feature-flags-in-storybook/SKILL.mdindex 9e541e41baa3..acd83f579bc5 100644--- a/.agents/skills/setting-feature-flags-in-storybook/SKILL.md+++ b/.agents/skills/setting-feature-flags-in-storybook/SKILL.md@@ -66,9 +66,12 @@ renders the flag-OFF branch. The `featureFlags` parameter avoids this by writingthe always-merged baseline instead (below), so the empty callback can't clobber them.> Do **not** try to fix this by disabling posthog-js flags (e.g. `advanced_disable_feature_flags`).-> The app shell (`appLogic.showApp`) only renders once `receivedFeatureFlags` is true,+> The app shell (`appLogic.showApp`) normally waits until `receivedFeatureFlags` is true,> which is set by that same `onFeatureFlags` callback — suppress it and every> `Scenes-App/*` story stalls behind a 3s timeout and flakes.+> The login page is an intentional exception: with no user on `/login`, `showApp` renders+> without waiting for flags. Login stories still need the `featureFlags` parameter for+> deterministic flag state.## Under the hood (implementation detail — may drift)