enhancement: Budget scouts: City, Dane County, MMSD and State sources, cross-checked before a draft
Back to our planProblem
In plain words: budgets, borrowing plans and school referenda are announced in long PDFs and meeting agendas. Agents should read the official ones, cross-check each number in a second official source, and draft a post with the numbers and their sources. The owner wants this done by many agents.
Summary of the owner's request (2026-11-02, Claude conversation, text): many agents should visit several official websites and resources to verify the facts and cross-reference them.
Today (checked):
- Current sources.
sources.yamlhas Legistar meetings and matters (API), City news, the District 16 blog, public information meetings, Dane County press, WisDOT, Parks events and local media. None covers budgets, the capital plan, MMSD or the State. - Where budget data is (checked 2026-11-02, official):
- City of Madison:
- capital budget and capital improvement plan as PDFs, per agency (for example
2026CapEx-Parks.pdf) - local property tax levies as a yearly PDF
- the operating budget on ClearGov
- an ArcGIS open data portal (
data-cityofmadison.opendata.arcgis.com) - no budget API found
- capital budget and capital improvement plan as PDFs, per agency (for example
- Traffic Engineering: a yearly Traffic Signal Priority List report (PDF).
- Wisconsin Department of Revenue: "Final Statement of Taxes" and "Statement of Assessment" reports, for 2025 posted 2026-05-28. Their format wasn't checked.
- MMSD: budget news and the 2024 referenda page.
- Dane County: budget press releases.
- City of Madison:
- Where the runner works. It runs on the owner's machine, and cloud sessions can't reach many sources (#390).
Proposed fix
Add sources to sources.yaml, each checked by hand for robots.txt and format, as sources.md requires:
- the City capital budget and levy PDFs
- the Traffic Signal Priority List report
- the Department of Revenue Statement of Taxes
- MMSD budget and referenda pages
- Dane County budget releases
- Legistar matters whose title contains "budget", "capital" or "levy" (the existing API)
Cadence. Yearly and seasonal (September to December, the budget season), not daily. Use cadence in the registry.
A "money facts" path in verify:
- each number from a PDF is quoted with its page
- the second source is looked up (01)
- a failed cross-check goes to review with both quotes
Reading PDFs. The model stage reads them directly. If the runner needs text extraction in code, use a maintained library (for example Mozilla's pdfjs-dist) after the package checks in security.md. Decide that in the PR.
Drafts. The scouts draft posts (submitSuggestion) with Key facts and Chart blocks (after 03 and 04), and name any project they touch.
Native first, one line per step:
- Native: the existing pipeline, registry, verify stage and Legistar API parser.
- Official plugins: not relevant.
- Open source: a PDF text library only if the model stage alone isn't enough (decide in the PR).
- Our code: registry entries, parsers for the two or three HTML pages, verify steps, evals.
Follow each share of the bill from proposed to adopted
Summary of the owner's direction (2026-11-13, Claude session, voice): follow each taxing body's share of the coming bill (the City, the county, the school district and the others on it) from proposed to adopted, so the site's tax content changes when a stage does.
- Track a stage per body and tax year: proposed, adopted, rate certified, bills mailed. Each stage has its date and official source, cross-checked as above.
- A stage change becomes an update suggestion for the stored tax year (#594) and for each post that states that body's figures, never a direct edit.
- Sources: each body's own meeting records (the City's Legistar API is registered; the county's own Legistar is not yet) and the State's statement of taxes listed above. Newsletters about budgets arrive through #1166.
Acceptance criteria
- Not done: The new sources are in
sources.yamlwithlastChecked,robotsandresult. - Not done: The verify evals include a capital budget line confirmed by a second source, a number with only one source (to review), and a budget year confused with a bill year (refused).
- Not done: On the owner's machine, a dry run on the 2026 Parks capital budget routes one item with its two sources. The run line is quoted on this issue (it can't be checked from a cloud session).
- Not done: A dry run records each body's current stage for the coming tax year with its date and source, and a stage change produces an update suggestion naming the stored tax year and the posts it affects.
Files likely touched
intelligence/sources.yaml, intelligence/sources.md, intelligence/prompts/, intelligence/schemas/, intelligence/evals/, intelligence/runner/lib/
Must not touch
src/
Area
tooling
Priority
medium
Generated by Claude Code, opens in a new tab