Conversation
My Grid is built on the facility registry and the registry floor is 400 MW,
so around forty states have no tracked campus. For Maryland the live page
shows two empty cards ("No tracked facilities", "Rate data connects soon")
and then roughly 1,300px of nothing. The page is blank for most readers
because almost nothing on it is about their state.
Adds a keyless per-state news card between "Your grid" and "Being built".
Google News RSS, one query per state, no key and no scheduled job.
This also covers the legislative half of the ask. Grid legislation is
reported as news, so one source does both. Live feeds returned "Baltimore
County Council To Vote On Extending Data Center Moratorium", "Tarrant
lawmaker plans Texas data center transparency legislation", and "Vermont
regulators finalize 5.5% rate increase for Green Mountain Power customers".
Structured bill records are deferred: OpenStates v3 needs a key, and its
bulk dump is 10 GB of Postgres a month stale.
Two filters, both earned from real feeds rather than guessed:
- Relevance. Virginia returned "September Releases - Governor of Virginia",
a press index with no grid content.
- Locality. Vermont returned a story about utility bills in Arizona. A
headline naming a different state and not this one is dropped; one naming
no state is kept, because the genuinely local ones read "Baltimore County
Council ..." and never say the state. State matching is longest-name-first
so "West Virginia" is not read as "Virginia", and Washington DC is not
read as Washington state.
The module writes nothing to server/data, so unlike the news scanner a bad
match costs one wrong headline for an hour, not a corrupted file.
28 new tests, fixtures taken from live feeds including every case that must
be dropped. Design note in docs/superpowers/specs/.
Not verified: the card has not been seen rendered in a browser. The data
path, filters and route are covered by tests and checked against live feeds.
Claude-Session: https://claude.ai/code/session_016kmPCuF8Fs4byBLXK7CaKM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
My Grid is built on the facility registry, and the registry floor is 400 MW. Around forty states have no tracked campus. Here is the live page for Maryland, full height:
Two of four cards are empty states and then the page stops. It reads blank because almost nothing on it is about the reader's state.
What this adds
A keyless per-state news card between "Your grid" and "Being built". Google News RSS, one query per state. No API key, no scheduled job, no writes to
server/data.It also covers the legislature half of the ask. Grid legislation is reported as news, so one source does both. Real results from live feeds on 2026-09-22:
Legislature and PUC both land, in the week they happen, including in small states.
Two filters, both earned from real feeds
State matching is longest-name-first with matched spans blanked, so "West Virginia" is not read as "Virginia". "Washington, D.C." is not read as Washington state.
Why not structured bill records
Recorded so it is not re-litigated:
Worth revisiting now that you can see how much of the gap news already closes.
Verification
Typecheck clean, 518/518 tests pass (28 new), production build clean. Fixtures are real titles from live feeds, including every case that must be dropped. No test touches the network.
Not verified: the card has not been seen rendered in a browser. The background dev server was reaped for memory pressure mid-session with an instruction not to restart it unasked, so I verified the data path, filters and route instead of the pixels. Worth a look before merge.
Separately, and worth more than this PR
EIA_API_KEYis not set in Replit.gridtilt.com/api/physical/retail-ratesreturns{"configured":false}, so the rates card is empty for every state in production right now. Setting that one secret fixes a second dead card with no code.Still open
🤖 Generated with Claude Code
https://claude.ai/code/session_016kmPCuF8Fs4byBLXK7CaKM