Hasty Briefsbeta

Bilingual

Every Law a Commit – US Law in GitHub

4 hours ago
  • #Git
  • #AI Development
  • #US Law
  • Spanish law was turned into a Git repository, inspiring the creation of a Git repository for US law in under two days.
  • The entire United States Code was parsed from official XML, transformed into structured Markdown, and committed to Git for easy browsing and versioning.
  • Git enables clean diffs for law changes, allowing users to see exact modifications and context, unlike traditional text directives.
  • Previous attempts at such repositories were abandoned; this project aims to be sustainable with structured metadata and cross-references.
  • The project was built using an autonomous software development pipeline called Dark Factory, with AI agents handling tasks and adversarial reviews catching real bugs.
  • Files are organized at the chapter level (~3,000 files) to balance context and performance, avoiding overly granular or massive files.
  • Future plans include ingesting historical snapshots back to 2013, tagging annual releases, and representing bills as pull requests for full legislative lifecycle tracking.
  • Law is likened to code, with bugs, features, dependencies, and version history, now enhanced with Git's diff capabilities for transparency.
  • The repositories (nickvido/us-code and nickvido/us-code-tools) are publicly available, with all development history visible and no cleanup of failures.