Washington DC is now using the Open Law Library, a non-profit codification contractor to publish its laws in XML format on GitHub
Washington DC has made GitHub the authoritative digital source for DC laws. — Recently, I found a typo in the District of Columbia's legal code and corrected it using GitHub.
Context & Ripple Effects
Washington DC has handed codification to the non-profit Open Law Library, which now publishes the District's legal code as XML on GitHub — and designates the repository as the authoritative digital source of DC law. The arrangement means statutory text gets version control: changes are tracked, diffs are visible, and errors can be flagged and corrected through pull requests rather than buried errata notices.
The move lands mid-arc in a federal open-data push: the White House had already opened Code.gov in 2016 to showcase agency code repositories, and weeks after DC's switch Congress passed the Open Government Data Act, mandating that public information default to machine-readable formats. DC is an early municipal instance of exactly what that statute would require federally.
First-order effects
- DC's code becomes maintainable as data: the Open Law Library owns the update pipeline, and anyone — including the reporter who fixed a typo via GitHub — can propose corrections that leave an auditable trail.
- GitHub gains a new class of tenant: a government whose official legal record depends on the platform's availability.
Second-order effects
- Other states and municipalities evaluating codification contracts now have a working template — XML on a hosted platform instead of static printed codes — putting pressure on incumbent legal publishers whose value rests on proprietary formats.
- Delegating the authoritative record to a single commercial host makes GitHub's reliability a civic concern; an extended outage like its August incident would leave a jurisdiction's official law source unreachable.
Third-order effects
- If the pattern holds alongside the OPEN Government Data Act's machine-readable mandate, statutes become structured datasets that compliance software, search engines, and AI systems consume directly — shifting the legal-publishing industry from selling documents to maintaining canonical data feeds.
- It also normalizes private platforms and non-profit contractors as custodians of official government records, raising questions about accountability when the authoritative source sits outside government infrastructure.
The trend: Government codification is migrating from printed codes and PDFs to version-controlled, machine-readable repositories maintained by specialized non-profits, with Congress's open-by-default legislation accelerating the shift.