Skip to content

: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.

fix(wizard): make forbidden-file checkpoint exit-code unambiguous (#69095)

Rafael Audibert2b26eb4108e7
diff --git a/products/tasks/backend/prompts.py b/products/tasks/backend/prompts.py
index 497d22898e14..ce8dbdde0e8e 100644
--- a/products/tasks/backend/prompts.py
+++ b/products/tasks/backend/prompts.py
@@ -78,7 +78,8 @@ contains neither reference file:
```bash
git rev-parse --abbrev-ref HEAD # prints: posthog/instrumentation-<random-short-sha>
git show --stat HEAD # lists the wizard's files
-git show --stat HEAD | grep -E 'posthog-setup-report|posthog-events|wizard-output' # prints NOTHING
+git show --stat HEAD | grep -E 'posthog-setup-report|posthog-events|wizard-output' && echo "FAIL: forbidden files committed" || echo "OK: no forbidden files"
+# expected: OK: no forbidden files (the grep finding nothing is the pass case)
```
## Step 3 - Configure environment variables for production