What self-correcting means
Gun Laws corrects itself, which means that when an official source it watches changes in a way that affects a page, the system rewrites that page, checks the new text and puts it live.
Every day the system watches the official sources of each state, among them the legislatures, the courts, new bills and the agencies. Each site has a set of required sources, and while a change on one of them is still open, the site no longer counts as current, and it counts as current again only once the change has been handled. An AI agent rewrites the affected passages from the official text. Before the edit goes live, the system checks the laws it cites against the mirror and the legislatures' own sites, by code, the same way the Content Engine does. It then applies the edit once in a test run that is rolled back, and after the release it confirms the new text on the live page.
Each state is also brought up to date in a round of its own, and every round writes what it learned into the instructions for the next one, so the system improves from state to state.
Six sites run on one codebase
The six state sites run on one shared codebase and differ only in their configuration, so a fix to the code reaches every state with one release. Every command declares which states it runs on, and every change to content is locked to its own state, so a fix for Massachusetts cannot touch a California page that has the same address. A finding that also concerns another state goes into a shared register, and that state does not count as done until the finding is handled there.
The sources are watched on a schedule
Monitors run every day and check each source on its own schedule. They watch the legislatures' sites and the agency pages, new firearms opinions in the courts each site follows and the dockets of the cases the pages cite, both through CourtListener, new firearms bills through LegiScan, and for Massachusetts the roster of approved guns and the licensing pages of the cities and towns, from which the list of where to apply is kept. A change on a source becomes a change event, and noise such as a reordered docket is filtered out in code. Twice a day a scheduled review by an AI agent works through the open events and rewrites the passage of a page that a change affects.
The mirror is refreshed from the official files
The state laws in the mirror are refreshed every day from the legislatures' own files, one file per section of law, so a section whose text changed shows up as a difference against the copy before. Court opinions and agency documents are added to the mirror when a page needs them. The roster of approved guns in Massachusetts comes from the mirror alone, and a new edition is accepted only when every line of the official PDF's roster is matched, with none left unmatched.
Every text that states the law is reviewed
The claims of every article are recorded in a ledger, and every other text that states the law, such as the FAQ, the glossary, the search descriptions and the cards for ballot measures, is recorded with a fingerprint of its reviewed wording. When such a text changes, or new legal wording appears in the page code, the check fails until the text has been read against the official law. The gate exists because a check of the FAQ found answers that had drifted from the law while every check on the articles passed.
A change ships only through the release
Every edit to an article ships as a database migration that applies only where the old text still stands exactly as expected. The release checks the wording, checks that every section of law the new text cites is in the mirror, and for Massachusetts also on the Legislature's site, applies the migration once in a test run that is rolled back, and then deploys it to all six sites. After the release the new text is confirmed on the live page. A state counts as current only when every page is covered by the ledger, no change event of a required source is open, and every required source was checked successfully on schedule.
One ruling, from the monitor to the page
When the Massachusetts Appeals Court ruled that a conviction for carrying a loaded firearm requires knowing it was loaded, the monitor recorded the new opinion as a change event. The opinion was read and added to the mirror, and the passage of the vehicle carry page on that offence was rewritten from the statute and the ruling, with two new sources. The edit passed the checks and the test run, went out to all six sites with one release, and the new text was confirmed on the live page.