Files
supabase/apps/studio/lib
Drew McLellanandPamela Chia 6a305cd311 docs(skills): treat user-defined names as sensitive in telemetry-standards (#53963)
## Problem

The `telemetry-standards` skill only says not to track PII. It doesn't
cover other identifiers from a user's project, such as schema or table
names. Those are customer data and outside our privacy policy, but
nothing told contributors or reviewers to avoid them. The skill also
pointed at existing `schema_name` and `table_name` properties as
conventions to match, which invites copying them. This came up in
#53955, where schema names were masked because they weren't needed.

## Solution

Updates `.agents/skills/telemetry-standards/SKILL.md`:

- New Privacy section requiring that schema, table, column, function,
bucket, policy, project and branch names be masked or omitted, along
with other user-defined names, SQL and free text, and extra IDs. It
notes that `useTrack` already attaches the project ref and org slug.
- Recommends counts, enums, booleans or action categories instead of raw
names, and typing new properties as string-literal unions rather than
plain `string`.
- Short masked vs unmasked example.
- Reviewers now flag this as a required change (new rule 6), and the
verification checklist has matching items.
- The Property Standards note now says to match casing only and not copy
existing `schema_name` or `table_name` properties.
- The event definition template uses a literal union instead of
`string`, so it no longer contradicts the rule.

## How to verify

Read the diff of `.agents/skills/telemetry-standards/SKILL.md`. Each
identifier listed in FE-5207 appears in the Privacy section and in
review rule 6. No code changes.

Fixes FE-5207

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2026-11-25 14:31:32 +00:00
..
…
…