Skip to content

Add blog post on tracking Canadian legislation with Git and LEGISinfo - #4

Merged
mlhamel merged 1 commit into
mainfrom
post/standardizing-civic-apis-with-protobuf-and-connectrpc
Aug 25, 2026
Merged

Add blog post on tracking Canadian legislation with Git and LEGISinfo#4
mlhamel merged 1 commit into
mainfrom
post/standardizing-civic-apis-with-protobuf-and-connectrpc

Conversation

@mlhamel

@mlhamel mlhamel commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a new technical article to the blog: "Law as Code: Tracking Canadian Parliamentary Bills with Git and LEGISinfo" (content/blog/tracking-canadian-legislation-with-git/index.md).

This post introduces the concept and architecture behind civican/legisinfo,
which transforms open data from the Parliament of Canada into a version-controlled Git repository where every commit is authored by the Member of Parliament or Senator responsible for each stage and iteration of a bill.


Type of Change

  • 📝 New Blog Post (technical article or deep dive)
  • ✏️ Content Update (edits to existing posts, About page, or metadata)
  • 🎨 UI / Styling (CSS, themes, typography, or layout improvements)
  • 🛠️ Infrastructure / Tooling (GitHub Actions, Makefile, Zola config, or scripts)
  • 🐛 Bug Fix (broken links, rendering glitches, or syntax errors)

Key Highlights & Topics Covered

  • Law as Versioned Source Code:
    • Mapping the legislative lifecycle (First Reading → Second Reading → Committee Amendments → Third Reading → Royal
      Assent) directly onto Git commits with normalized Markdown text (bill_text.md).
  • Politicians as Git Commit Authors:
    • Programmatically setting commit authors to MPs and Senators with their official parliamentary emails and exact
      legislative event timestamps.
  • git diff for Democratic Transparency:
    • Real-world diff analysis of Bill C-11 demonstrating how clauses, exceptions, and deletions ([*Deleted*]) can be
      identified in seconds.
  • Civic Analytics with Standard Developer Tooling:
    • Using git log --author, git blame, and GitHub's visual diffing UI to audit statutory changes without
      specialized legal software.
  • Cross-Referencing with Lobbying Data:
    • Correlating bill revisions in civican/legisinfo with lobbyist communications in civican/lobbycanada via
      civican-schemas and ConnectRPC.

Related Links & References


Verification & Checklist

  • zola build completes with zero errors and zero broken links.
  • Code snippets have valid syntax highlighting identifiers (python, proto, yaml, bash, rust, etc.).
  • Markdown frontmatter is valid (title, date, description, taxonomies.tags).
  • Tested locally via zola serve across desktop and mobile viewports.

@mlhamel
mlhamel merged commit a13beb5 into main Aug 25, 2026
1 check passed
@mlhamel
mlhamel deleted the post/standardizing-civic-apis-with-protobuf-and-connectrpc branch August 25, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant