| Distinct-text floor | Five-record cohort against a five-copy duplicate flood | public_topics and aggregate_cells release check at k = 5 | The genuine cohort surfaces one public topic while the duplicate flood surfaces zero public topics, because the floor counts distinct normalized text. | The floor counts distinct text rather than identities, so it blocks exact-duplicate flooding without proving anonymity. |
| Read-only SQL guard | Seven adversarial statements: writes, private-table reads, sensitive columns, sqlite_master, and randomblob | SQLite parsed-statement authorizer under a query_only pragma | The authorizer admits the public views and denies all seven boundary-crossing statements: writes, private reads, sensitive columns, internal schema, and unapproved functions. | The guard governs SQLite query paths only, so application logic layered above them stays outside its reach. |
| Redaction at rest | Free-text notes carrying emails, phone numbers, and unicode look-alikes | NFKC-normalized pattern redaction applied before truncation | Redaction runs before truncation and strips emails, phones, links, handles, addresses, and ZIP-like runs, including full-width look-alike characters. | Pattern redaction catches common identifiers and stops short of parsing every self-identifying sentence. |
| Tamper-evident audit | A SHA-256 hash-chained log under a row edit and a tail deletion | verify_chain with an externally pinned head and row count | Chain verification catches a mutated row on its own and catches a clipped tail once the caller pins the expected head and count. | Pinning depends on a trusted prior observation of the head and count. |
| Portable public extract | A published extract database built after ingesting PII-bearing records | Extract-schema inspection for private tables and residual identifiers | The extract carries only public_topics, aggregate_cells, and meta, omitting private base tables, audit rows, and row-level text. | Structural omission falls short of semantic anonymity for an arbitrary dataset. |
|---|