Skip to content
pleach
Use casesEducation

FERPA / COPPA scope

What @pleach/compliance covers for FERPA and COPPA, which profile the educationAgent factory applies when you ask for those strings, and the controls your deployment provides.

This page is for the procurement conversation. Read it before signing a district agreement that names FERPA or COPPA as the governing framework.

TL;DR

The shipped @pleach/compliance profiles are "hipaa" | "gdpr" | "pci-dss" | "soc2". There is no ferpa or coppa profile. The educationAgent factory accepts ferpa, coppa and ferpa+coppa, and applies the gdpr bundle as the closest shipped analog. The runtime tag records the mapping and a warn-once notice prints to your console. This is not full FERPA or COPPA adequacy. What you provide separates your duties under the rules, your setup, and what Pleach doesn't cover yet.

What you get when you pass ferpa+coppa

  1. The student-safety scrubber runs on the user message before the runtime sees it. See Student safety for the patterns.
  2. The gdpr profile bundle runs on top. Today it is SsnUsScrubber plus CreditCardScrubber; see compliantChatbot config. It stands in because FERPA and COPPA both lean on data minimization and identifier redaction.
  3. A per-session cost-cap policy on the runtime (see Per-district tenant + cost-cap).
  4. An audit ledger, when you wire @pleach/compliance/audit. Scope it to districtId through tenantId for end-of-year retention review.
  5. Substitution transparency. The runtime tag carries requestedProfile and mappedProfile, so a district auditor can see at row level that gdpr ran because ferpa+coppa was requested.

What you provide

Pleach supplies evidence. The rest is one of three kinds of work.

Your duties under the rules

FERPA and COPPA place these on the school, the district or the operator, whatever software runs.

  • Educational-record retention policy (FERPA). Rules vary by state and district, so the schedule is yours.
  • Vendor data-processing addendums (FERPA). You author the DPA.
  • School-official designation (FERPA). That designation is contractual between you and the school.
  • Parental consent (COPPA). Your consumer-facing application is the consent boundary.
  • Under-13 age determination (COPPA). Your front door decides whether COPPA applies. Pleach treats every session the same.
  • Safe-harbor enrollment (COPPA). Joining a COPPA Safe Harbor program is yours.
  • Student Privacy Pledge. Signing it is yours.
  • Attestation reports. The audit ledger supplies hash-chained evidence. You author the report and own the validation.
  • Model-provider terms. Provider enterprise terms may not cover under-13 data. Choose a provider whose terms permit education workloads.

Setup

  • Parent-of-record gating. Your auth layer enforces the parent-of-record identity gate. The runtime tag records studentId. FERPA rights pass from the parent to the student at 18, or earlier when the student enrolls in a postsecondary institution, so the gate has to follow that change.
  • Ledger pruning. Prune the audit ledger on your policy's schedule.
  • Provider routing. Route education workloads to the provider you chose.

Not in Pleach yet

  • A FERPA or COPPA profile. The factory applies the gdpr bundle instead, as TL;DR explains.
  • Directory-information mediation. The scrubber redacts on identifier shape and has no per-student opt-out. Until one ships, wire a pre-ask() classifier or a custom Scrubber against your opt-out registry.

The profile-mapping notice

Constructing an educationAgent with a complianceProfile logs this once per process:

[educationAgent] requested compliance profile 'ferpa+coppa' is
not yet shipped — mapped to 'gdpr' (closest shipped analog). See
module JSDoc honest scope-limit.

To route it to your audit ledger instead of stderr, wrap the factory and rewrite console.warn for that construction call.

Composing your posture

  1. Pre-ask() moderation. Wire a moderation API or kid-safety classifier and reject the turn on a category flag.
  2. District-extended scrubber. Pass an extra array to createStudentSafetyScrubber (see Student safety) for SIS IDs, locker numbers, or IEP filenames.
  3. Scrubbing persisted events. educationAgent scrubs only the user message. To scrub every persisted event row too, compose a ComplianceRuntime directly, as compliantChatbot does, and pass host.modules.eventLogWriter.

Where to import

  • @pleach/recipes/education: the substitution map and notice.
  • @pleach/compliance: the ComplianceRuntime and shipped profile bundles.

See also