Skip to content
SprecherEast
Issue 255

enhancement: Recurring neighborhood intelligence agents for verified, actionable updates

Back to our plan
Open
enhancementcmstoolingpriority: high

Type

enhancement

Problem

The site's product vision and news/events epic (#161) explain what residents should see, but no issue defines how trustworthy, useful, up-to-date neighborhood information will be discovered continually. The owner wants this to be a top website priority, not just an occasional content-writing task.

Today there is no documented, repeatable agent workflow that tracks what it last checked, identifies important new information, distinguishes Sprecher East, Madison, WI from similarly named places, verifies sources/locations, and turns findings into actionable suggestions for an editor.

Summary of the owner's direction (2026-10-22, conversation): agents should keep track of what they ran, search websites/RSS feeds, verify neighborhood relevance and addresses, and above all find things that are highly useful for residents of different ages, HOA/association leaders, and volunteers. The outcome is a neighborhood people feel informed about, participate in, and want to live in.

Goal / resident value

Create a recurring neighborhood opportunity and information discovery workflow. Its output answers: What matters to Sprecher East residents, why should they care, what can they do, where/when, and how reliable is the information?

Examples of high-value categories:

  • Local events, family/youth activities, parks, schools, classes, senior-friendly programming.
  • City/Dane County decisions, road works, public safety notices, civic meetings and projects with a demonstrable effect on residents.
  • Volunteer openings, ways to organize block activities, accessible/inclusive community-building and neighborhood improvement ideas.
  • Resources, deadlines, grants, outreach opportunities and services that local residents or association volunteers can realistically use.
  • Corrections and updates to existing site content, including expired or cancelled events and outdated links.

A geographically outside event or citywide program can qualify if it clearly serves Sprecher East residents; a matching name or nearby-sounding location alone cannot.

Proposed design (staged, not five expensive LLMs running constantly)

One orchestrated pipeline with clear responsibilities, implemented as stages/tools or separate agents only when that adds value:

  1. Scout / source monitor: Maintain an approved source registry (official city/county sources, relevant community calendars, RSS, public meeting agendas and trusted organizations). Fetch on a configurable recurring schedule, honor rate limits/terms, persist per-source cursors/ETags/last success, collect source URLs, dates and content hashes. Avoid broad uncontrolled scraping.
  2. Location + fact verifier: First resolve the actual location, jurisdiction and intended audience from primary sources, with full street address and municipality where applicable. Require independent corroboration for ambiguous locations, venues, date/time, cancelled status, and claims. Geographic checks use a documented Sprecher East service/coverage definition plus an explicitly justified wider catchment; don't confuse similarly named streets, subdivisions, organizations or neighborhoods. Unknown is flagged, never guessed.
  3. Resident-value curator: Score candidates for evidence quality, freshness, local relevance, timeliness and actionable value. Record who benefits (families/kids, older adults, residents generally, volunteers/association leaders), why it matters and what the resident can do next. Prevent noise, repetitive generic announcements and partisan promotion. Include worthwhile, not-just-geographically-local opportunities.
  4. Editorial draft: Produce a short, friendly, accessible summary, exact date/time with timezone where known, verified location/address, one clear action or opportunity, official links, and a brief "why this matters to Sprecher East" rationale. Provide evidence/confidence and missing details to editors, not made-up specifics.
  5. Human-controlled publishing / maintenance: Put proposals into an editor digest initially. Later integrate with the draft-only CMS review queue (#123): suggest/approve/reject, source provenance, deduplication and explicit editor publication. Detect changes to existing published events/news and propose edits or cancellations for approval. Never auto-publish.

Orchestration and cost controls

  • Configure a cadence (start with a daily pilot, adjustable by owner); each run stores start/end, source list, source versions/cursors, candidates, selected/rejected items with reasons, errors, cost/tokens, and next-run state. Retry safely, support resuming after failure, and don't re-propose the same content.
  • Make stages independently testable and auditable. Prefer deterministic retrieval, geocoding/metadata, deduplication and rules first; use LLM reasoning for genuine ambiguity and editorial quality.
  • Default to a cost-effective medium reasoning effort for routine triage; escalate difficult or conflicting location/evidence judgments to high only when warranted. Set per-run cost/time limits, source caps and a fallback digest if source fetches fail.
  • Keep the orchestration/runtime choice open (OpenAI tooling, OpenClaw or another practical runner). Investigate deployment and operating cost before choosing. An agent framework itself is not a requirement.
  • Treat fetched webpages, RSS and PDFs as untrusted content, not instructions. Never execute source-supplied commands, access private resident data, or give the runner automatic GitHub/production publishing privileges. Store credentials outside the public repository.
  • Respect the repo's issue → PR → independent review → checks → deploy workflow. No direct production server edits.

Delivery plan

  1. Source and geography pilot: Define/approve coverage rules and 5–10 trustworthy starting feeds. Test at least 20 cases, including similarly named wrong places, citywide-but-useful programs, missing addresses, duplicate events and cancellations.
  2. Dry-run agent: Implement scheduled incremental discovery, run history, evidence-based scoring, location verification and a reviewable digest, without CMS write access. Evaluate false positives/false negatives and editor effort.
  3. Review queue integration (depends on #123): Submit only draft suggestions through a least-privilege integration, after the CMS contract and access tests exist.
  4. Improvement loop: Editors mark useful/not useful/incorrect/out-of-area; review precision, coverage, stale items, operating costs, and source health. Tune approved sources and rules without loosening verification.

Acceptance criteria

  • Not done: A written source allowlist, coverage/catchment definition and clear "Sprecher East relevance" decision policy reviewed by the owner.
  • Not done: Recurring pilot runs automatically; survives restart, records status and per-source cursor; run history and cost are inspectable.
  • Not done: Every candidate contains original source link, retrieval time, claimed location/date, independent location check where needed, benefit to residents, suggested action and reason accepted/rejected.
  • Not done: Tests prove that similarly named but unrelated places/events are rejected or flagged; citywide opportunities with a justified resident benefit can be accepted.
  • Not done: A rerun doesn't repost duplicates; changes/cancellations to known events are detected and routed as updates.
  • Not done: At least 20 real candidate findings sampled and reviewed by a human, with false-positive rate, actionable-value rate and recurring cost recorded before CMS integration.
  • Not done: Unverified facts are flagged for review and never invented; missing locations/dates are not silently filled in.
  • Not done: Content is visible to editors as a digest/drafts only; publishing requires an authorized human. CMS ingestion is blocked until #123 is implemented.
  • Not done: Failure, source errors and prompt-injection attempts cannot publish content, alter the site's code, or leak secrets.
  • Not done: Documentation identifies the owner/operator, cadence, sources, review workflow, rollback/disable procedure and budget limits.

Relationship to existing work

  • Parent epic: #161 (news, events and civic information)
  • Editorial CMS dependency: #123; this issue does not change #123's separate CMS-only scope.
  • Resident participation: #162 (Get involved)
  • Product vision: docs/product/vision.md (from #165); later PR updates should reflect this priority, without bypassing project policy.
  • Display and filters: #122.

Area

cms, tooling

Priority

priority: high (owner-designated strategic website priority; schedule implementation alongside essential website fixes)


Recorded from the owner's request on 2026-10-22. This issue specifies the work; no agent or scheduler is deployed by creating it.


Existing source research to reuse (discovered 2026-10-22)

Do not rebuild this source inventory from scratch. Earlier research and agent/editorial instructions already exist:

Required validation before coding: Several entries are web pages, not confirmed RSS endpoints; obtain working feed/API URLs and verify allowed collection. The guideline currently says District 17 in places while the current official alder district serving the area is District 16; correct via a reviewed PR. School assignment lists differ across old documents; confirm per address. Keep source credentials/private social strategy out of this public repo.

This remains a human-reviewed, daily dry-run source discovery and verification pipeline, not unattended publishing.

Near-term backlog scheduling — owner request 2026-10-22

The owner asked to fit this work into the earliest practical sprint. Do not attempt to deliver this entire large issue in one PR. The first two small slices are now filed as high-priority tasks in Milestone 1 — Ready for neighbors (Nov 30, 2026):

  1. #271 — First pick for Ready: validate old RSS/API/government/library sources, produce a reviewed approved feed registry, estimate M (1–2 days). Discovery-only, no external blocker. Target week starting Oct 26 after urgent production/security work.
  2. #272 — Next after prerequisites: daily incremental read-only collector with run log, estimate L (up to 3 days); blocked by #271 and #141 (Payload jobs scheduling). Don't mark Ready until those are complete; a manual dry-run may precede scheduled production operation.

For the agent managing GitHub Project #2: add the actual GitHub sub-issue relationship for #271 and #272 under epic #161, add formal blocked by links to #272, set board Size/Sprint, and move #271 to Ready if no conflicting work/PR. Cloud connection can update issues/milestones but can't edit the project-board status/parent/dependency fields. Give these tasks high priority without interrupting emergency bug/security work. Keep #255 as the scope/acceptance umbrella, not one large ready-for-PR task.

Related existing #270: native Payload jobs first, established parsers/plugins before custom orchestration. Later phases (social APIs, smarter memory, editor queue) remain backlog until the pilot proves useful.

See it on GitHub, opens in a new tab