{"id":51475376,"url":"https://github.com/asmuelle/statutory","last_synced_at":"2026-07-06T20:30:34.233Z","repository":{"id":366007757,"uuid":"1266480226","full_name":"asmuelle/statutory","owner":"asmuelle","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-19T20:15:39.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T22:09:32.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asmuelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-11T16:51:25.000Z","updated_at":"2026-06-19T20:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asmuelle/statutory","commit_stats":null,"previous_names":["asmuelle/statutory"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/asmuelle/statutory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fstatutory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fstatutory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fstatutory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fstatutory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asmuelle","download_url":"https://codeload.github.com/asmuelle/statutory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuelle%2Fstatutory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35205739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-06T20:30:33.721Z","updated_at":"2026-07-06T20:30:34.218Z","avatar_url":"https://github.com/asmuelle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Statutory\n\n[![CI](https://github.com/asmuelle/statutory/actions/workflows/ci.yml/badge.svg)](https://github.com/asmuelle/statutory/actions/workflows/ci.yml)\n\n\u003e An UpToDate for solo professionals: a living rulebook of the exact statutes, agency rules, and rates that govern your practice — by state and specialty — with deltas pushed when something you rely on changes, plus a ready-to-send client-alert draft that turns the subscription into billable output.\n\n**Category:** LLM wiki / auto-research (living documents + delta alerts, à la Karpathy) · \n\n## Concept\n\nAn UpToDate for solo professionals: a living rulebook of the exact statutes, agency rules, and rates that govern your practice — by state and specialty — with deltas pushed when something you rely on changes, plus a ready-to-send client-alert draft that turns the subscription into billable output.\n\n## Target User\n\nSolo and small-firm employment lawyers, CPAs and tax preparers, HR consultants, real-estate brokers — licensed professionals who already personally pay for currency (CLE ~$480/yr, Westlaw $78-400/mo, UpToDate $579/yr) and for whom one missed regulatory change is a malpractice event. Distinct buyer from RegDelta's compliance teams: the individual professional pays from their own pocket because the output is billable.\n\n## Auto-Research Mechanic (the living document + delta engine)\n\nOnboarding builds a practice profile (jurisdictions, practice areas, client types); the agent assembles a living 'your rules' wiki — each section a topic ('CA meal-break rules', 'IRS reasonable-comp guidance for S-corps') pinned to primary sources via the Federal Register API, state register feeds, agency RSS, and CourtListener. Daily diff monitoring of those feeds; cheap-model triage maps each change to affected sections; frontier synthesis writes the delta with effective dates: 'effective July 1 the exempt-salary threshold rises to $X; affects 3 sections of your rulebook; client-alert draft attached.' Every section versioned with effective-date history and exact statute/rule citations, span-verified — no paraphrase drift. The practice-profile-to-rules mapping improves with every user confirmation and correction.\n\n## Product Surface\n\nWeb app for the living rulebook plus email and Slack delta alerts (solo pros live in inbox), with Word/PDF export of client-alert drafts — the artifact that converts the subscription into billable client communication.\n\n## Why Now (2026 timing)\n\n14,000+ regulatory updates/year against a $1.1B RCM market priced enterprise-only; the demand research calls licensed professionals the clearest underserved currency-buyers — they already prove WTP via CLE, Westlaw, and UpToDate subscriptions; primary government feeds are open and crawl-friendly, immune to the 2026 publisher-blocking wall.\n\n## Proposed Monetization\n\n$39/mo per seat per jurisdiction-bundle ($468/yr — precisely the CLE/UpToDate-proven price point), $89/mo small-firm tier (3 seats, shared rulebook), additional jurisdictions $15/mo. One billable client alert or one avoided missed-update covers a year.\n\n## Competition \u0026 Gap\n\nWestlaw/Lexis (pull-based search, no personalized living digest), Thomson Reuters Regulatory Intelligence and Compliance.ai (enterprise, no self-serve), free agency newsletters (unscoped firehose), generic ChatGPT (cannot guarantee statute-level citation fidelity or effective-date tracking — and professionals cannot bill on unverifiable output).\n\n## Claimed Moat\n\n(1) Per-jurisdiction primary-source plumbing — fifty state registers and hundreds of agency feeds — is unglamorous accumulation no horizontal replicates for a feature. (2) The practice-profile-to-rules mapping is per-user state that compounds with corrections. (3) The trust bar is binary in this market — cite the exact section with effective date or be professionally unusable — and generic deep research demonstrably fails it (29-86% citation mutation). (4) Client-alert drafts tie the product to the professional's revenue, not just their reading.\n\n---\n\n## Comparables\n\n- Westlaw (Thomson Reuters): $78-381/mo flat rates; Classic single-state $132.80/mo, Edge from $194.40/mo — pull-based search, no personalized change push\n- UpToDate (Wolters Kluwer): $579/yr individual clinician subscription, group tiers for 2-19 seats — the proven 'living reference' model Statutory clones\n- CCH AnswerConnect (Wolters Kluwer): solo tier $1,498/yr via CPA.com; Essentials $755, Federal $1,510, Federal Pro $4,500/yr\n- Thomson Reuters Checkpoint Edge: $3,000-5,000/user/yr, typically bundled with other TR products\n- Paxton AI: $199/mo Professional, up to $500/mo Individual plans, self-serve, explicitly targeting solo and small law firms\n- Compliance.ai / enterprise AI regtech: ~$15,000-25,000/user/yr multi-year contracts, BFSI-focused, no self-serve tier\n- SixFifty: auto-updating state-specific HR/employment policies with law-change alerts; quote-based pricing by employee count and states — closest functional analog in the employment vertical\n- Regulatory change management software market overall: $1.2-2.5B (2023-24), 12-16% CAGR, projected $3.4-8.9B by early 2030s\n\n## Adversarial Review — strongest case AGAINST (verdict: weakened)\n\nThe pitch survives the attack it prepared for (frontier labs) and loses the attacks it ignored. (1) WRONG VILLAIN: ChatGPT scheduled tasks + deep-research-with-trusted-source-restriction and Perplexity scheduled searches already exist as $20/mo features, but they are a casual substitute, not the threat — the real killers are the vertical incumbents the deck omits. Mitratech Mineral already monitors 3,000+ federal/state law changes with tailored proactive alerts for SMBs and distributes through payroll providers, insurers, and CPA firms; SixFifty already does 'laws changed, here are your auto-updated documents' for the employment/HR wedge — that IS the living-rulebook-plus-billable-artifact loop, shipped, with Wilson Sonsini's brand behind it. Thomson Reuters Checkpoint Edge and Westlaw's statute-change/KeyCite alerts also falsify the claim that incumbents are 'pull-based search with no personalized digest.' The moat claims are mostly imagined: practice-profile mapping is rebuildable in a weekend of onboarding questions (SixFifty's questionnaire does exactly this), and 'no horizontal will do 50-state plumbing' is true but irrelevant when three funded verticals already did it. The only real moat candidates are state-register plumbing depth and distribution — and the candidate has neither yet, while incumbents own the channels (bar associations, payroll/insurance resellers) that make solo-pro CAC survivable. (2) TRUST IS STRUCTURALLY UNWINNABLE AS PITCHED: the product's stated bar is binary ('cite exactly or be professionally unusable') and its core promise is completeness ('one missed change is a malpractice event'). Span-verification can guarantee a quoted sentence exists; it cannot guarantee you didn't MISS a change (coverage is unprovable — local ordinances, case law reinterpreting statutes like Brinker on CA meal breaks, IRS notices, sub-regulatory guidance), and it cannot guarantee the synthesized EFFECT of an amendment is right. Stanford RegLab found 33% hallucination in Westlaw AI and ~17% in Lexis+ AI — tools sitting on the canonical corpus with citation grounding. The fix is an attorney-editor review layer (the actual UpToDate model — thousands of paid physician editors), which a small team can only afford for a narrow jurisdiction set, shrinking the TAM the pricing math depends on. A missed signal here doesn't just churn the user; one publicized miss destroys the category promise, and 'not legal advice, verify everything' disclaimers (required to manage liability and UPL exposure for the non-lawyer segments) directly negate the reason to pay. (3) DATA ACCESS is the one front that holds: Federal Register API, eCFR, GovInfo, CourtListener are free and open; no paywall/Cloudflare problem. But ~half of state registers are weekly PDF dumps with no feeds, so '50 states' is an 18-month parsing grind, not a launch feature — expect to ship federal + 8-12 states and quietly under-deliver the headline promise. (4) CHURN: delta cadence in a single jurisdiction-specialty is lumpy; a solo tax preparer in a quiet state gets months of 'nothing relevant changed' against a $39 charge, and tax pros are seasonal. The billable-client-alert hook is the best retention idea in the deck, but SixFifty already monetizes it. Net: not killed — WTP is proven, COGS is genuinely low, and generic deep research truly cannot be billed against — but the wedge is contested by incumbents with distribution, and the completeness liability means the product must either hire editors (UpToDate cost structure) or soften the promise (commodity newsletter).\n\n## Tech Stack \u0026 Unit Economics\n\nSOURCES: Federal Register API + eCFR XML (free, excellent diffability), GovInfo, Regulations.gov API, OpenStates API for state legislation, CourtListener/RECAP (free) for case law, agency RSS; state registers via Playwright scrapers + PDF pipeline (marker/Textract/Reducto-class) since ~25 states publish PDF-only weekly bulletins. CHANGE DETECTION: stable section-hash diffing of eCFR/statute XML; PDF registers parsed then diffed against stored canonical text — never re-summarize from scratch. TRIAGE: Haiku 4.5 / Gemini Flash-class model maps each detected change against user practice profiles (jurisdiction × topic taxonomy), ~$0.001/change-user pair. SYNTHESIS: Sonnet 4.6-class writes deltas with hard span-verification (every quoted span must string-match retrieved source text; effective dates extracted by model + regex cross-check; publication blocked on any verification failure and routed to human queue). KEY ECONOMIC TRICK: deltas are authored once per jurisdiction-topic and fanned out to all subscribed users — synthesis cost is shared, not per-user. HUMAN LAYER (non-optional for this trust bar): staff-attorney review queue over every published delta; ~1-2 reviewers covers federal + 10 states in one vertical. ORCHESTRATION: Temporal or SQS+workers for scheduled crawls (daily federal, weekly state registers); Postgres + pgvector for versioned rulebook sections with effective-date history. SURFACE: Next.js web app, Postmark/Resend email, Slack webhooks, docx-templater for client-alert exports. UNIT ECONOMICS: shared crawl/parse infra ~$1-3k/mo; per-user inference (profile-scoped triage + fan-out share of synthesis + initial rulebook build amortized) ~$3-8/user/mo against $39/mo → 80%+ gross margin on COGS alone. The real cost is fixed editorial: ~$25-40k/mo for attorney reviewers at federal+10-state coverage → breakeven ~900-1,200 seats; viable economics at 3k+ seats, but CAC to solo professionals (bar-association sponsorships, CPA-society channels, content SEO) is the binding constraint, not inference cost.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuelle%2Fstatutory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmuelle%2Fstatutory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuelle%2Fstatutory/lists"}