Data handling judgment

From event4u-app/agent-config · View interactive version

Data handling judgment is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when classifying data, setting retention, judging cross-border transfer, or shaping DSR workflow. Triggers on 'how long do we keep this', 'can this data go to the US'.

How to use this skill

Skill file

data-handling-judgment

When to use

Do NOT use as a regulatory-regime delta read (route to privacy-review (P6); this skill composes P6 for the regime floor), for contract-clause depth (route to contracts-cognition (P5)), or for data-loss-prevention tool administration / classifier-engine configuration.

Cognition cluster

Cross-wing handoff

Procedure

Step 0: Bind the regime floor and the segment

Read J1 regulatory-regime for the customer-segment in scope. Note which regime mandates a minimum retention (HIPAA medical records: typically 6+ years state-dependent; financial: SOX, regulatory varies) vs which mandates a maximum (GDPR storage-limitation; CCPA "necessary purpose"). Both floors and ceilings can apply simultaneously and create a window.

Step 1: Classify the data category

For each data category in scope, assign a classification tier and rationale:

  1. Public — already public or designed for publication; no confidentiality obligation.
  2. Internal — company-confidential, not subject-specific; protected by trade-secret / commercial logic.
  3. Pseudonymous — keyed to subject but not directly identifying; classification depends on re-identifiability (the GDPR test).
  4. PII — directly identifying; subject to regime baseline.
  5. Sensitive-PII — special-category (GDPR Art. 9), CCPA "sensitive personal information", financial-account, gov-ID.
  6. PHI / regulated — HIPAA PHI, payment-card data (PCI), or sector-specific (children = COPPA, biometrics = state laws).

Rationale per category cites what makes it that tier, not just the label. Mis-classification downward is the canonical risk.

Step 2: Set retention with explicit purpose binding

For each data category × processing purpose, name:

  1. Purpose — why we keep it (operational, analytical, legal-hold, contractual, regulatory-mandate).
  2. Retention — how long for that purpose; named in calendar units, not "as needed".
  3. End-state — at expiry: hard-delete, anonymise, aggregate-only, archive-with-access-restriction.
  4. Authority — what makes the chosen retention defensible (regime mandate, contract obligation, documented operational need).

Default "indefinite" retention is the failure mode. Every category needs an explicit end-state.

Step 3: Cross-border-transfer judgment

For each transfer hop where data crosses a regime boundary:

  1. Source regime vs destination regime — which subjects, which categories.
  2. Mechanism — adequacy decision, SCC (with which version), BCR, derogation. Schrems-II-level transfer-impact assessment for transfers to non-adequate jurisdictions.
  3. Government-access risk — destination jurisdiction's surveillance regime and the supplementary-measures shape (encryption with key-control, pseudonymisation before transfer, contractual challenge).
  4. Sub-processor chain — every onward transfer is itself a transfer; map two hops deep, not one.

A transfer without a named mechanism + supplementary measures (where required) = an unauthorised transfer.

Step 4: Data-subject-rights workflow shape

For each regime × right (access, deletion, portability, correction, objection, automated-decision-objection), name:

  1. Window — regime-mandated response time (GDPR: 1 month; CCPA: 45 days; HIPAA: 30 days for access).
  2. Owner — named human / role responsible (not "the team").
  3. Mechanism — how the subject submits, how identity is verified, how the response is delivered, how denials are reasoned.
  4. Edge cases — joint-controller scenarios, third-party data within a subject's record, deletion-vs-legal-hold conflicts.

DSR workflows that exist only as a generic support-inbox process fail under every regime. Force named owners and windows.

Step 5: Validate the data-handling read before emitting

Before producing the artifact, verify three things:

  1. Classification coverage — confirm every in-scope data category has a tier + cited rationale; un-rationalised tiers are guesses and must be re-run.
  2. Retention binding — assert every category × purpose has a calendar-unit retention + named end-state + cited authority; "as needed" entries fail.
  3. Transfer + DSR completeness — check every cross-border hop has a mechanism + supplementary-measures read; every applicable regime × right has a named owner + window. Gaps are surfaced, not smoothed.

All three must pass. If any fails, return to the failing step.

Step 6: Emit the data-handling-judgment artifact

Produce the data-handling-judgment note for the feature owner, ops lead, and counsel. The artifact operationalises the regime floor into policy that ops can implement and counsel can sign off.

Related Skills

WHEN to use this

WHEN NOT to use this

When the agent should load this

Output

  1. classification-map.md — every in-scope data category × tier + cited rationale.
  2. retention-policy.md — category × purpose × retention × end-state × authority.
  3. transfer-register.md — cross-border hops × mechanism × supplementary measures × sub-processor chain (two-deep).
  4. dsr-workflow.md — regime × right × window × owner × mechanism × edge cases.

Gotcha

Do NOT

Runnable example

Series-B SaaS with EU + US customer mix, adding a customer-success analytics integration.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.