regulation-ledger

Open-source compliance management with adaptive forms, versioned regulatory templates and auditable evidence tracking.

Source code Technical specification

The problem

Companies face overwhelming regulatory forms that don't match their actual profile — wrong size, risk class or sector. The result is confusion, missed obligations and wasted effort. A five-person microbusiness and a five-hundred-person construction company do not have the same compliance obligations.

How it works

Company Profile {
  risk_class: "III"
  sector: "construction"     // CIIU code
  employees: 45
  jurisdiction: "CO"
}
  → Template: "large-enterprise-construction"
  → Forms: 18 relevant forms (from ~30 total registry)
  → Menu: only what applies

Core layers

Self-hosted by design. Compliance data stays on the host. The stack is plain PostgreSQL, Node.js and Vue — no proprietary SaaS, no telemetry, no closed schema language. Everything can be exported as plain JSON, and a maintainer could rebuild the whole system from scratch because there is nothing to license beyond MPL-2.0.

Transparency

The technical specification and documentation were drafted with AI assistance before this project adopted a written policy on generative AI; that assistance is disclosed in the repository README. New code and documentation are written by hand.

License

MPL-2.0 — permits commercial use, modification and redistribution. Modifications to MPL-licensed files remain open.