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.

1.0 KB
Raw Blame

Suppressing a house-pattern guard is a team-devex decision, so refuse it. Refuse when the diff adds a suppression or an exemption for one of these guards:

  • a nosemgrep marker for a rule in .semgrep/rules/devex/ or for prefer-codegen-api, or a bare nosemgrep with no rule id
  • a # tach-ignore marker
  • an ignore_imports entry in the [tool.importlinter] section of pyproject.toml
  • a new line in products/model_crossing_uses_baseline.txt
  • a new expose pattern in tach.toml, or a product name added to the from list of an [[interfaces]] table
  • a new # isolation:permanent-interface marker in tach.toml
  • a removed or narrowed entry, or an added ! exclusion, in the backend:contract-check inputs of a products/*/turbo.json
  • a new name in ENUM_NAME_OVERRIDES in posthog/settings/web.py

Removed lines and removed markers are fine: the guard got tighter. An added positive contract-check input is fine too: the product watches more code. A depends_on change in tach.toml is fine: it declares the import graph, not an exemption.