feat: FERPA audit skill — static + Postgres read-time detection (#129)#134
Merged
Conversation
Add .claude/skills/ferpa-audit with SKILL.md, regulatory citation index, static (TypeScript) and Postgres (Python) layers, root ferpa-config.yaml, runbook, /ferpa-audit command, and scripts/ferpa-audit.sh orchestrator. Layer A flags execute-sql vs analyze enforcement, syntex fetch path, console logging, RBAC gaps, and AI transparency drift; Layer B adds RLS, small-N, and schema snapshot when DB is available. Dated reports are gitignored; dashboard package.json gains yaml for config parsing. Co-authored-by: Cursor <cursoragent@cursor.com>
Extract shared regulation strings and helpers, dedupe findings logic, split db-audit render/merge paths; behavior and 19 Layer A findings unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships the repo-local FERPA audit skill from #129: Layer A (TypeScript static scan) + Layer B (Postgres audit + markdown report), CIO/legal-oriented findings with citations from
.claude/skills/ferpa-audit/references/regulatory-citations.md.What’s included
.claude/skills/ferpa-audit/— SKILL.md, regulatory citations,static-audit.ts,db-audit.py.claude/commands/ferpa-audit.md—/ferpa-auditslash commandferpa-config.yaml(root),docs/ferpa-audit-runbook.md,scripts/ferpa-audit.shyamlfor config parsingdocs/ferpa-audit-YYYY-MM-DD.mdgitignoredRegression / acceptance (Layer A)
/api/execute-sqlvs/api/analyzeFERPA SELECT guard (test: enforce FERPA exclusions in NLQ-generated SQL (Student_GUID never appears in SELECT) #127)schools.syntex-ai.compath viaquery-executor/config(feat: deployment-hardening flag to forceuseDirectDB = trueend-to-end (eliminate schools.syntex-ai.com data flow) #126)console.logof query plan/results onapp/query/page.tsxcontent/ai-transparency.ts(feat: AI transparency page — model inventory, data flow, and provider disclosure #108)How to verify
(Use
venv+ DB env for Layer B;--skip-dbdocumented in runbook.)Closes #129
Made with Cursor