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
- The student-safety scrubber runs on the user message before the runtime sees it. See Student safety for the patterns.
- The
gdprprofile bundle runs on top. Today it isSsnUsScrubberplusCreditCardScrubber; seecompliantChatbotconfig. It stands in because FERPA and COPPA both lean on data minimization and identifier redaction. - A per-session cost-cap policy on the runtime (see Per-district tenant + cost-cap).
- An audit ledger, when you wire
@pleach/compliance/audit. Scope it todistrictIdthroughtenantIdfor end-of-year retention review. - Substitution transparency. The runtime tag carries
requestedProfileandmappedProfile, so a district auditor can see at row level thatgdprran becauseferpa+coppawas 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
gdprbundle 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 customScrubberagainst 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
- Pre-
ask()moderation. Wire a moderation API or kid-safety classifier and reject the turn on a category flag. - District-extended scrubber. Pass an
extraarray tocreateStudentSafetyScrubber(see Student safety) for SIS IDs, locker numbers, or IEP filenames. - Scrubbing persisted events.
educationAgentscrubs only the user message. To scrub every persisted event row too, compose aComplianceRuntimedirectly, ascompliantChatbotdoes, and passhost.modules.eventLogWriter.
Where to import
@pleach/recipes/education: the substitution map and notice.@pleach/compliance: theComplianceRuntimeand shipped profile bundles.
See also
- Education: the landing page.
- Student safety: the shipped scrubber.
- Per-district tenant + cost-cap: multi-tenant composition for districts.
compliantChatbot: the HIPAA / GDPR / PCI-DSS / SOC 2 sibling recipe.@pleach/compliance: the full compliance reference.- Audit ledger: hash-chained evidence for compliance review.
Student safety
The shipped student-safety scrubber from @pleach/compliance/education — what it redacts today, the composable KeyedRegexScrubber shape for district-specific extensions, and how to add per-category content moderation.
Per-district tenant + cost-cap
Composing educationAgent per-district with hard cost ceilings enforced at the gateway boundary via @pleach/gateway/swarm's CostCeilingMiddleware, plus audit ledger scoping by districtTenantId via @pleach/compliance/audit.