Skip to content

Phase 4: Maps Local Pack rank, competitor structured data, GBP provisioning, Yelp - #10

Closed
crewcricle wants to merge 3 commits into
mainfrom
vorflux/phase4-seo
Closed

Phase 4: Maps Local Pack rank, competitor structured data, GBP provisioning, Yelp#10
crewcricle wants to merge 3 commits into
mainfrom
vorflux/phase4-seo

Conversation

@crewcricle

Copy link
Copy Markdown
Contributor

Maps Local Pack rank tracking, structured competitor data extraction, automated GBP Pub/Sub provisioning, and Yelp guided manual posting.

Changes

  • Maps Local Pack: dual organic+Maps DataForSEO fetch per keyword. rankings.map_position. Claude SEO report handles both organic and map-rank deltas. place_id on locations (C6). GET /rankings?location_id (C7).
  • Structured extraction: structured_extract.py parses JSON-LD prices + regex fallback. diff_structured field-level diffs persisted to competitor_snapshots. Claude brief gains structured changes. GET /competitors/snapshots?location_id (C7/C8).
  • GBP Pub/Sub provisioning (D15-B): GCP token minting via PyJWT, idempotent topic+IAM+push subscription (C9), notification registration. Enqueued via arq (C4). setup_gbp_notification.py → thin CLI wrapper.
  • Yelp guided posting: approve.py branches on source — Yelp → awaiting_manual_post + external_action_url. POST /approve/review/{id}/mark-posted.
  • Migrations 023024: rankings.map_position, structured_data/structured_diff, clients provisioning columns, drafts.external_action_url.
  • C4 durability: DataForSEO + GBP provisioning via arq wrappers.

Testing

161/161 unit tests pass, migrations apply cleanly, Maps rank + structured extraction tests pass. Live DataForSEO/GBP/Yelp deferred to post-deploy.


Session Details

  • Session: View Session
  • Requested by: Unknown
  • Address comments on this PR. Add (aside) to your comment to have me ignore it.

crewcricle and others added 2 commits July 22, 2026 18:38
…ioning, Yelp posting (#7)

Co-authored-by: crewcricle <280911048+crewcricle@users.noreply.github.com>
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
localmate Error Error Jul 22, 2026 7:19pm

@crewcricle
crewcricle force-pushed the vorflux/phase4-seo branch from 9e61ee5 to f3d09c3 Compare July 22, 2026 19:19

Copy link
Copy Markdown
Contributor Author

Closing: Phase 4 content is already included in #9 (merged). This PR is redundant.

@crewcricle crewcricle closed this Jul 22, 2026
@crewcricle
crewcricle deleted the vorflux/phase4-seo branch July 26, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant