We Just Open-Sourced the Legal Blueprint of America’s Child Welfare System
2,142 decision nodes. 51 jurisdictions. Every step from report to outcome. Free forever.
There is no manual for what happens when Child Protective Services knocks on your door.
Not for the mother who has never broken a law in her life but answered the door on the wrong day. Not for the father who doesn’t know whether he’s required to let them inside. Not for the grandmother who is watching her grandchild disappear into a system she doesn’t understand and can’t afford to fight.
The law exists. It’s written in statutes. It’s been interpreted by courts. It’s been shaped by federal funding requirements that most families will never know about.
But it’s scattered across hundreds of state codes, thousands of court decisions, federal regulations, administrative rules, and agency policy manuals. No single resource has ever mapped the entire system in a way that a person — or a machine — can actually navigate.
Today, we’re changing that.
Project Milk Carton is releasing the US Child Welfare Decision Chain Dataset — the first open-source, structured, machine-readable legal knowledge graph of the entire child protective services system in the United States.
It covers all 50 states and the District of Columbia. It maps every decision point from the moment a report is made to the final outcome. And it’s free. Forever.
The repository is live now here!
What’s In It
The dataset contains 2,854 files organized across 2,142 decision nodes — 42 per jurisdiction.
Every node represents a specific point in the CPS process where a decision is made, an action is taken, or an outcome is determined. At every single one of those points, the dataset includes:
The statute that governs it — with the actual citation and a URL to the official text
The constitutional constraints — what the 4th and 14th Amendments require at this step
The burden of proof — what standard of evidence is required, and who bears it
The timeline — how long the agency has to act, and what happens if they miss the deadline
The consequences of a violation — specific legal remedies available (Section 1983 lawsuits, motions to dismiss, habeas corpus)
The funding incentives — where federal money flows at this decision point, and whether it creates incentives against keeping families together
What happens when CPS shows up — what authority they have to enter your home, what rights you have at that moment, and what you should and shouldn’t say
That last one matters more than most people realize.
The Two Axes
The dataset is built on two axes that intersect at every node.
The Vertical Axis: Who Governs
This is the hierarchy of legal authority — from the Constitution down to a caseworker’s desk.
U.S. CONSTITUTION: 4th Amendment: Child removal is a seizure. 14th Amendment: Family integrity is a fundamental right. Remedy: 42 U.S.C. § 1983.
FEDERAL STATUTES: CAPTA, ASFA, Title IV-E, ICWA, FFPSA. This is the floor. States cannot go below it. Consequence: Loss of federal funding.
STATE CONSTITUTION: May provide GREATER protection than federal floor. Example: Texas guarantees jury trial for TPR.
STATE STATUTES: The specific child welfare laws of each state.
ADMINISTRATIVE RULES: Agency regulations and standard operating procedures.
CASE LAW: Court decisions interpreting all of the above.
Every node in the dataset is anchored to this hierarchy. If a state procedure violates a constitutional constraint, the dataset flags it.
The Horizontal Axis: What Happens
This is the decision flow — the process a case follows from entry to exit.
REPORT → SCREEN → INVESTIGATE → ACT → OUTCOME → OVERSIGHT (with FAILURE branching to LAWSUIT)
Twelve ways a case enters the system. Six decision points. Six possible actions. Six outcomes. Six failure modes. Six oversight mechanisms. That’s 42 nodes per state, and we have all 51 jurisdictions.
Follow the Money
One of the most important features of this dataset is funding incentive tracking.
At every decision node, the schema tracks:
Whether Title IV-E reimbursement is triggered
The federal match rate
Whether adoption incentive payments apply
Which CFSR performance items are affected
Whether the funding structure creates a perverse incentive against family preservation
This matters because the child welfare system operates on federal funding. The federal government reimburses states for foster care placements. It pays bonuses for finalized adoptions. The financial architecture of the system creates measurable incentives at specific decision points.
We’re not making accusations. We’re showing the structure. The data speaks for itself.
Why Open Source
We’re a 501(c)(3) nonprofit. Our mission is child welfare transparency. Keeping this behind closed doors would contradict everything we stand for.
But there’s a practical reason too.
This dataset is incomplete. We know that. We’re being honest about it.
The federal baseline is done. All 51 state chains are populated with real statute citations. The constitutional plane is complete. But there are gaps:
49 of 51 state constitutional planes are empty templates. Only Texas and California are filled.
Case law needs expansion. We have CourtListener data for every state, but the nodes need more specific controlling cases.
Administrative rules vary wildly by state and are often buried in agency policy manuals.
We can’t fill these gaps alone. But the legal community can.
If you’re a law student, pick a state and fill in the constitutional template. One state is one pull request. Your contribution will be used by families, attorneys, and researchers across the country, and your name will be on it.
If you’re a family law attorney, add the controlling cases you know by heart. The ones that actually win motions.
If you’re a researcher, use the data. Build on it. Publish with it. The BibTeX citation is in the README.
The license is CC BY-SA 4.0 — use it for anything, including commercial purposes, as long as you credit Project Milk Carton and share any improvements under the same license.
Who This Is For
For families: This is the map of the system you’re in. Every right you have at every step. What the agency must do, what they can’t do, and what happens when they break the rules.
For attorneys: Structured cross-state comparison. If you practice in multiple jurisdictions, or if your client’s case touches an interstate compact, the data is already organized for side-by-side analysis.
For journalists: Follow the money. The funding incentive fields at each node show where federal dollars flow and where the structure creates pressure to remove children rather than preserve families.
For researchers: 2,142 nodes of structured data with provenance chains. Every claim traceable to a source URL. Ready for quantitative analysis.
For AI developers: The LEAF tool call hooks in the schema are designed for LLM integration. Build tools that reference real law instead of hallucinating it.
For legislators: See exactly how your state compares to every other state and the federal floor. Identify compliance gaps before the next CFSR review finds them for you.
What Comes Next
This release is the beginning, not the end.
We will continue populating the gaps — state constitutions, case law, administrative rules. Every update will be pushed to the public repository.
We are applying for grants to fund the next phase: connecting this static dataset to live data sources. Real-time AFCARS outcome data. Live legislative tracking from OpenStates. Automated case law updates from CourtListener.
And we will continue building ARIA — our AI system that traverses this dataset to answer questions, generate compliance reports, and help families understand their rights. ARIA reads from this dataset. She doesn’t guess. She cites.
The dataset is the foundation. Everything else builds on top of it.
Get Involved
Use it: https://github.com/SpartanAltsoba/child-welfare-decision-chains
Contribute: Pick a state, fill a gap, submit a pull request.
Share it: Send this to family law attorneys, law school clinics, child welfare researchers, and journalists.
Every family deserves to know their rights.
Every system deserves to be visible.
Every child deserves to be found.
Project Milk Carton — Shining light on the missing.




CPS overreach and how to counteract it is an astonishingly good use case for AI: the laws are often confusing, contradictory, opaque and heavily tilted away from families. Children without families make much easier trafficking victims: they've already been turned into a commodity via various government funding mechanisms, have no true advocates and can easily be disappeared. Beyond just citing case law though I wonder if judicial and investigator bias can be uncovered: there might be certain people in key nodes of power who always rule against families while others try their best in a corrupt system. Usually though it's about following the incentive structure...