LexLint for government software

Some duties bind a public body, some bind the company that sells to it, and some bind the body but are met in its software. LexLint asks one question so every finding says whose it is.

One question

When you declare your app, LexLint asks whether it is government software. The answer is yours to give, and LexLint never infers it from your code.

Your answerWho it describesFor example
A public body runs itAn agency, a city, a court or a school district, running its own softwareA police department's own records system
It is sold to public bodiesA company whose customers include public bodiesA company selling a report-writing tool to police
BothA public body that also builds for othersA state technology office that builds for counties
NeitherAlmost everything elseA consumer app

# lexlint.yml

profile:

activities: [generates_content]

jurisdictions: [us/ca]

public_sector: [supplier]

The answer is saved beside your activities and places. Until someone gives it, LexLint reports every duty as it did before it asked.

Whose duty it is

LexLint routes each duty, not each law, and every finding says whose it is.

The finding saysIt meansWhere it goes
yoursYou owe itYour work list
customer dutyYour public-sector customer owes it, and meets it through your softwareIts own product lane
elsewhereSomeone else owes itKept for context, never as work

A customer duty is not your legal obligation, but it is usually a change to your product. It is often the work that wins or loses the contract.

An example: AI in police reports

Law Enforcement AI Report Disclosure Act (SB 524), US-California: since . Here is where each of its 7 duties lands for three teams that lint the same app.

DutyPoliceVendorAnyone else
Keep a policy on AI-drafted reportsyourselsewhereelsewhere
Name each AI program usedyourscustomer dutyelsewhere
Say on the report that AI wrote ityourscustomer dutyelsewhere
Officer signs that it was reviewedyourscustomer dutyelsewhere
Keep the first AI draftyourscustomer dutyelsewhere
Keep an audit trail of AI useyourscustomer dutyelsewhere
Do not reuse the agency's dataelsewhereyourselsewhere

The vendor has 1 duty of its own and 5 its product has to support. The police department has 6 duties.

Law for particular public functions

LexLint holds 188 laws that bind only public bodies, and 31 more with duties that do. Some of them, by the function they govern:

As of . since in force from , in 14 months not yet in force proposed

LawIn forcePublic bodyVendor
Police
Law Enforcement AI Report Disclosure Act (SB 524)US-California since 6 yours 1 yours, 5 customer duties
AI Act, Article 5 (prohibited AI practices)European Union since 8 yours 7 yours, 1 customer duty
AI Act, Article 26(10) (post-remote biometric identification authorisation)European Union from , in 14 months 7 yours 6 customer duties
R (Bridges) v Chief Constable of South Wales Police, Automated Facial Recognition by PoliceUnited Kingdom since 1 yours context only
Courts
CNJ Resolution No. 615/2025, AI Governance in the Brazilian JudiciaryBrazil since 6 yours 4 customer duties
Supreme Court of Justice AI Guidelines for the JudiciaryParaguay from a date not yet set 4 yours 3 customer duties
Bill on AI Use in the Judicial Function (Proyecto de Ley Reformatoria al Código Orgánico de la Función Judicial)Ecuador proposed 1 yours 1 yours
Schools
Ohio Revised Code § 3301.24, School Artificial Intelligence Policy RequirementUS-Ohio since 2 yours context only
Student Data Privacy Act, biometric data collection consentUS-Kansas from a date not yet set 2 yours 2 customer duties
Procurement
Executive Order N-5-26: Responsible AI ProcurementUS-California since 4 yours 1 yours
OMB Memorandum M-26-04, Increasing Public Trust in AI Through Unbiased AI PrinciplesUnited States since 1 yours context only
Benefits and other decisions about people
Treasury Board of Canada Secretariat, Directive on Automated Decision-MakingCanada since 6 yours 4 customer duties
Legislative Oversight of Automated Decision-making in Government (LOADinG) ActUS-New York since 5 yours 2 customer duties

Which function your software serves In development

Next, LexLint will ask which public function your software serves. A police records vendor then sees police law, and not school rules.

The government's own rules In development

Much of the law that matters to government software is about government itself: public records, open meetings, website accessibility, oversight and budgets. UnGovr researches that law at law.ungovr.org.

For software a public body runs or buys, LexLint will read the parts of that law that software has to meet. Each finding will link to its law.ungovr.org page.

Start

Run /lexlint in Claude Code or Codex, and answer the government question when it asks.

Install LexLint