GeezerVison is showing github.com — design(atlas): Presidio NER pass — full internal-tier + sampled secret-tier PII detection at corpus scale · Issue #6048 · developing-today/code
design(atlas): Presidio NER pass — full internal-tier + sampled secret-tier PII detection at corpus scale #6048DescriptionParent: #6021 (classification revalidation scan). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 27 (Cluster 5).
Finding (research, in substance)
Microsoft Presidio (MIT; community-governed under data-privacy-stack) — Analyzer (regex + checksum validators + spaCy NER + context words) + Anonymizer, 40+ entity types incl. national IDs for 16+ countries, IBANs, cards. Documented caveats: person/organization names rely on NER + context and false-positive without it; some country recognizers carry high FP risk absent context words; checksum-backed recognizers (cards, IBAN) are the reliable tier. At ~107k chunks the NER pass is the expensive layer of the classification stack (the gitleaks-class regex pass is not), so its scoping is a design question, not a default.
Scope
- Full Presidio pass over the internal tier (where a leak does damage — internal is the broadly-queried tier); sampled pass over the secret tier (there PII is expected; the question is calibration, not presence).
- Runtime/cost at corpus scale on fleet hardware; batching + checkpointing shape.
- FP review queue: findings land as quarantine candidates (tier-lock upward, never silent delete — per the scanner design in the task(atlas): classification revalidation scan — verify nothing sensitive sits at the wrong tier #6021 research comment), with the matching recognizer + context attached.
Done looks like
A pass design: recognizer set, tier scoping, cost estimate, review-queue shape.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026
Triage result (posted after an earlier GitHub secondary rate limit): #6048 remains open with a scoped design deliverable under #6021/#6018: Presidio recognizers, tier scope, cost/batching/checkpointing, and false-positive review queue. Current REST timeline shows no linked PR or superseding implementation. Route as design work; no implementation or follow-up task is needed from this triage. dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · handed off
developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · triage verdict — REAL AND CURRENT, design unwritten → fix packet 13549
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane c29174f1-48e0-4b13-b4ff-9b73ab67e9ab
- Task: 12461 (triage, attempt 3) · issue design(atlas): Presidio NER pass — full internal-tier + sampled secret-tier PII detection at corpus scale #6048 · parent task(atlas): classification revalidation scan — verify nothing sensitive sits at the wrong tier #6021
- Fresh verification 2026-11-08T10:16Z: issue OPEN, no hard-stop labels.
git grep -i presidio over origin/main returns nothing — no design record, no code. The issue's only substantive comment is the 2026-11-05 triage (task 10414) which routed this as design work and stated "no linked PR or superseding implementation" — but no design packet was ever enqueued, so nothing was ever produced. Siblings task(atlas): personal-inventory pattern pack — owner-specific identifiers as highest-severity detectors #6049 and design(atlas): classification revalidation cadence — rule-triggered rescans, sampled human audits, allowlist expiry #6051 are still OPEN.
- One correction to the packet's inputs: the prior-art source path in the body (
~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md) does not exist on this laptop (workspace/scratch/ is absent). The finding summary in the issue body is sufficient to write the record from, and the record should say the primary research doc was unavailable at authoring time rather than cite a file it did not read.
- Fix packet: task 13549 (design-only, 45 min) — recognizer set, tier scoping (full internal / sampled secret with rate), corpus-scale cost at ~107k chunks on fleet hardware, batching/checkpointing, and the FP review queue (quarantine candidates, tier-lock upward, never silent delete, recognizer + context attached), plus rejected alternatives and any task(atlas): classification revalidation scan — verify nothing sensitive sits at the wrong tier #6021 fork stated explicitly.
developing-today commented on Nov 8, 2026
Agent note — task 13549 done (lane code-v, direct)
Design record for #6048 landed: doc/2026-11-08T20-45-40Z_design_atlas_presidio_ner.md via PR #7809, merged 2026-11-08 (merge sha 045cdd9).
The record decides: Tier A checksum/structure recognizer set (IBAN global; other country recognizers US/UK only, rest provenance-gated) vs Tier B NER+context with a two-signal emission rule; full pass over the internal tier (107,001 chunks), Tier A 100% + Tier B 25% seeded stratified sample over the secret tier (160/638) for calibration with an escalation rule; cost model (~1–3 h off-peak laptop window, mandatory 1,000-chunk pilot first); 500-chunk batching with config-hash checkpoints; FP review queue (quarantine candidates, tier-lock upward, never silent delete, recognizer+context attached). Rejected alternatives and invariants recorded; §8 states explicitly that nothing forks a #6021 scanner-design decision.
Source note: prior-art path from the issue body is absent on the fleet laptop — the record is written from the #6048 finding summary, as the task packet directed. Docs-only: git diff --check clean, no Codex findings were posted on PR #7809 in the review window. Closing #6048 as its design acceptance is satisfied by the merged record.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|