feat(local): deepen local search evidence#22
Merged
Conversation
iannuttall
marked this pull request as ready for review
July 22, 2026 20:09
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.
Summary\n\n- retain typed local-pack listing evidence from bounded live result snapshots\n- add deterministic local organic competitor and listing summaries\n- add optional Google Analytics geography context joined only by retained landing-page path\n- keep Search Console as the first-party demand source and label every external source separately\n- keep the report on the existing discover, describe, and generic run surface\n- document the combined evidence flow across the README, website, router skill, report guidance, and agent rules\n\n## Evidence and safety\n\n- exact market, language, device, cache, cost, row caps, invalid rows, and partial states remain visible\n- Analytics geography is joined only to retained landing pages and is never assigned to a Search Console query\n- local listings and recurring domains remain observations until classified or verified\n- all provider work, report lists, structured output, storage, and network acquisition are bounded\n- no credentials, provider payloads, or private site data are included\n\n## Verification\n\n- full build, typecheck, test, and lint gates pass\n- 1,030 core tests and 163 CLI tests pass\n- 71 report evals and one router skill validate\n- 50,000-row local-search resource case: 189 ms, 30.1 MiB RSS growth, 75,933-byte output\n- live Search Console corpus pass across 29 connected properties\n- live Google Analytics evidence confirmed exact page joins, 10,000-row cap provenance, missing-path handling, and unchanged first-party findings\n- live DataForSEO local result pass confirmed local packs, recurring domains, exact market/device evidence, charged cost, zero-cost cache reuse, and deterministic output\n- packed seo@0.2.26 installs and runs outside the workspace in three clean environments\n- dependency audit and repository secret scan pass