Repository navigation
Releases
legends-geogrid v0.3.3
legends-geogrid v0.3.3
Highlights
- 100% Full Circular Radial Hexagonal Coverage: Removed water, river, and ocean pin clipping and coastline polygon map cutouts across the study planner, vector PDF report generator, and interactive Companion. Every radial hexagonal study now collects and renders 100% of pins inside the requested circle whenever DataForSEO returns data. Cosmetic avoid-zone overlays remain supported in Campaigns without omitting any pin.
- Unclipped 513-Pin South Philadelphia Starter Study: Backfilled all 55 previously omitted Delaware and Schuylkill river pins across
sandwich shop,hoagie, andcheesesteakat depth 30 (Standard Queue), bringing the bundled Cosmi's Deli starter study to 513 circular pins, 1,539 observations, 1,179 observed profiles, 149sandwich shop#1 leaders, and 412 contested PDF flip seams. All 8 newly revealed #1 winners were audited (258/258 audited, Pending 0, 15 corroborated discrepancies). - Regenerated Visuals and Pure Geometric Positioning: Rebuilt the 5-page vector-hex PDF report, map plates, all 7 interactive Companion showcase screenshots, and outlined SVG cards from the full 513-pin unclipped study, centered on pure radial hexagonal lattice geometry (39.5% fewer pins than an equivalent square grid for identical worst-case blind-spot accuracy, zero dead square corners, and 100% complete circular coverage).
Verification
- CI on
888deef: 6/6 jobs green (Ubuntu, macOS, Windows on Python 3.11 and 3.12) - Python test suite: 444 passed, 1 skipped
- Node test suite: 235 passed, 6 skipped
- Release hygiene check: PASS (0 issues)
- Release bundle built deterministically from the tagged commit (
git archive+ gzipmtime=0) and verified byte-identical across two independent builds
Install or Upgrade
cto-legends install legends-geogrid --apply
cto-legends handoff legends-geogridOr open the zero-cost South Philadelphia starter study directly:
python tools/study.py --openChecksums
See attached SHA256SUMS.txt for SHA-256 verification of the release archives.
legends-geogrid v0.3.2
legends-geogrid v0.3.2
Highlights
- Static Companion Shows a Real Street Map from
file://: A Companion opened straight from disk (python tools/study.py --open,cto-legends run legends-geogrid --open) now renders a real OpenFreeMap Dark street map on first load with zero keys and no server. The static runtime bundles MapLibre and starts its worker as a classic worker from a Blob URL (src/maplibre-worker-inline.js), so OpenFreeMap styles, tiles, glyphs and sprites load from the page'snullorigin. - No More "Access Blocked" Tiles: A
file://page sends no Referer, so it no longer requeststile.openstreetmap.organd lists only working OpenFreeMap backgrounds instead of disabled "(HTTP server only)" entries. - OpenFreeMap Dark Everywhere: OpenFreeMap Dark is now the default background over HTTP as well. OpenStreetMap stays selectable there and remains the rescue background. Without WebGL the map fails fast to its neutral dark background with every ranking overlay intact.
- Background Tab Safe Map Deadlines (
src/visible-timeout.js): Map load deadlines count only while the page is visible, so a Companion opened behind another tab no longer reports a healthy basemap as "Map loading timed out". - Hardened Basemap Switching: In-flight loads are cancelled on supersede and unload, Worker support is probed up front, and switch completion is guarded after destroy and for detached pending layers.
- Hermetic Regression Coverage: New Playwright test (
tests/test_companion_file_origin.py) opens the built Companion viafile://with the network mocked, plus visibility timer unit tests driven by mock timers so they hold on coarse Windows timer granularity.
Verification
- CI on
0c4dfc8: 6/6 jobs green (Ubuntu, macOS, Windows on Python 3.11 and 3.12) python -m pytest -W error: 444 passed, 1 skippednode --test: 235 passed, 6 skippedpython scripts/check_release.py: PASS (0issues)- Release bundle built deterministically from the tagged commit (
git archive+ gzipmtime=0) and verified byte-identical across two independent builds
Install or Upgrade
cto-legends install legends-geogrid --apply
cto-legends handoff legends-geogridOr run the zero-cost South Philadelphia starter study directly:
python tools/study.py --openChecksums
See attached SHA256SUMS.txt for SHA-256 verification of the release archives.
legends-geogrid v0.3.1
legends-geogrid v0.3.1
Highlights
- Inward-Only Cartographic Shapeburst Engine (
src/cartographic.js,src/rank-canvas.js,src/map-geometry.js): Locks the approved48 pxinward width,0.16max cumulative opacity,0.45xcontour border scale, andAll Contoursrendering across 30-layer Rank Topography and Local Leaders territory polygons with zero exterior bleed. - 200ms Smooth Cubic-Bezier Hover & Exact Tooltips: Adds
200 mscubic-bezier(0.22, 1, 0.36, 1)hover transitions for Local Leaders territories and Rank Topography master tiers, exact interpolated rank readouts at cursor, and Fortress Core dominance tier tooltips (Solid Interior,Stronghold,Fortress Core,Contested Edge) guarded behind strict clip/land/study-circle boundaries (pointAllowedAt,dominanceTierAtAllowed,rankAtPointAllowed, clip-guardedseamAt). - Tau-Coupled Relief & Focus Drape: Contracts inner relief thresholds and exposed-edge dominance scores continuously with contested-mode
tau, and applies a0.04background dim under draped focus topography so active contours stay crisp. - Refreshed Showcase & Studio Screenshots (
assets/*.webp): Regenerates all 7 README and Companion Studio WebP captures (hero-voronoi-territory.webp,hero-topography-hoagie.webp,companion-rankings.webp,companion-local-leaders.webpwith live Fortress Core hover,companion-campaigns.webp,companion-keyword-stuffing.webp, andcompanion-strategy-room.webp) directly from thev0.3.1runtime.
Verification
- CI on
272b294: 6/6 jobs green (Ubuntu, macOS, Windows on Python 3.11 and 3.12) - Python unittest: 443 tests OK on every job
pnpm test:viewer: 219 pass, 0 fail on every jobpython tools/geogrid_doctor.py --dataforseo --reports --basemapsandpython scripts/check_release.py: PASS (0issues)- Release bundle built deterministically from the tagged commit (
git archive+ gzipmtime=0) and verified byte-identical across two independent builds
Install or Upgrade
cto-legends install legends-geogrid --apply
cto-legends handoff legends-geogridOr run the zero-cost South Philadelphia starter study directly:
python tools/study.py --openChecksums
See attached SHA256SUMS.txt for SHA-256 verification of the release archives.
legends-geogrid v0.3.0
legends-geogrid v0.3.0
Highlights
- Cosmi's Deli South Philadelphia Starter Study & 5-Page Vector-Hex PDF: Ships a complete 6.0-mile, river-clipped 458-pin circular honeycomb study (
sandwich shop,hoagie,cheesesteak, 1,170 observed profiles), all 250#1winners audited (Pending 0), 4 grounded agent campaign plans, 5 avoid zones (including detached New Jersey landmass across the Delaware River and the Point Breeze / PES Refinery industrial tract), and a 5-page 30-layer marching-squares vector-hex PDF report opened viapython tools/study.py --openwith zero API keys and zero spend. - Honeycomb Cartography, 30-Layer Topography & Coastline Clipping: Continuous
hex_radiuscircular-lattice planning and refinement, 30-layer hypsometric rank topography with Google page index contours, head-to-head Local Leaders territories with contested-ground seams and fortress core relief, real-coastline polygon clipping with offshore wavefront extrapolation, and symlink/reparse refusal across all hex CLI entrypoints. - Map-to-Rail Auto-Scroll, Local Leaders Search & Interactive Strategy Room Avoid Zones: Clicking any territory, leader diamond, play/avoid marker, or flagged suspect pulls the matching row or card directly into view in the right rail; adds
#leader-searchand inlineClear focusin Local Leaders, clickableShow on maplinks on Strategy RoomWhere not to spendavoid cards,avoid=URL state restore, andEscapeclearing across all views. - Keyword Stuffing 3-Pane Signage Studio: Anchors naming checks on Google's real-world customer-facing test (permanent storefront signage, website branding, menus, and stationery), removes undocumented Street View RPC endpoints in favor of provider GBP storefront/logo photos, official keyless Google Maps Street View links, and optional official Street View Static API +
legends-jevoptical verification. - 7-Stage Deterministic GeoGrid Planner & Fixed 5-Slot Map Toolbar: Adds
python tools/study.py planwith advisory cost estimation, fail-closedBudgetCeilingErrorenforcement, SSRF-pinned website service extraction, 3-pin Google Maps competitive fingerprinting, Stage 4 demand hygiene, persistent zero-strobe tile pyramids, and optionallegends-gambitonboarding viapython tools/geogrid_doctor.py --via-gambit --json.
Verification
pnpm build(assets/companion-runtime.*,dist/,dist-viewer/)pnpm test:viewer: 203/203 PASSpytest -q: 442/442 PASSpython tools/geogrid_doctor.py: ALL OK (458 points, 3 queries)python scripts/check_release.py: PASS (0issues)
Install or Upgrade
cto-legends install legends-geogrid --apply
cto-legends handoff legends-geogridOr run the zero-cost South Philadelphia starter study directly:
python tools/study.py --openChecksums
See attached SHA256SUMS.txt for SHA-256 verification of the release archive.
legends-geogrid v0.2.11
legends-geogrid v0.2.11 (2026-11-22)
- Sync vendored
cto-legendsrouter skill pin (69ddc4f68faa) with LF normalization via.gitattributes. - Attach verified release package artifacts and
SHA256SUMS.txt.
v0.2.10
Outlined Legends Font r1 SVG card suite (assets/cards/r1/*.svg), evergreen README documentation, and collapsible cto-legends setup and CLI reference drawers.
v0.2.9: full per-point rankings in the viewer
Embeddable report viewer 0.2.9: every captured ranking
- Location tab: pick a point and see who ranks there. The top 20 are listed first, with a "Show all N" control when more were captured. The primary business is pinned at its actual rank when that is beyond 20 (for example 37).
- Competitors tab: every other business seen across the grid, with appearances, share of points and average rank, most frequent first. Select one to highlight where it ranks on the map.
- Competitors are identified by an opaque string key you choose, with a display name and optional rating, review count and category. Keys are never parsed or treated as listing ids.
- Scores stay anchored to the top 20 (
study.score_window, or precomputedlanes[].scores), so scans captured at different depths compare the same way. mount()on a full study now returns{ destroy(), selectPoint(tag) }.- Additive: studies that omit the new fields open exactly as in 0.2.8, and the local app is unchanged apart from the two new tabs.
- Docs:
docs/viewer-model.md(section "Full study with every ranking"),docs/geogrid-companion-v1.schema.json, and a depth-100 example inexamples/viewer-companion-depth100-fixture.json.
The asset geogrid-viewer-0.2.9.tgz holds the script, stylesheet, worker, docs, schemas and fixtures. Verify it with SHA256SUMS. No Content Security Policy change is needed since 0.2.8.
v0.2.8: embeddable report viewer
Embeddable report viewer
This release adds a standalone viewer you can drop into any page. It renders GeoGrid results as a rank pin map with scores, ring and quadrant zone statistics, a competitor table and the change since the previous scan.
Download
geogrid-viewer-0.2.8.tgz contains:
geogrid-viewer.js(one script, globalGeoGridViewer)geogrid-viewer.cssgeogrid-viewer-worker.js(map worker, serve it from your own origin)LICENSE,THIRD_PARTY_NOTICES.mddocs/VIEWER.md,docs/viewer-model.md,docs/geogrid-viewer-v1.schema.jsonexamples/viewer-lean-fixture.json
Verify the download against SHA256SUMS before you serve it.
Use
const viewer = GeoGridViewer.mount(element, model, {
capabilities: { perPointListings: false, profiles: false, nameReview: false, campaignResearch: false, strategyRoom: false },
defaultBasemap: 'ofm-dark',
workerUrl: '/geogrid-viewer-worker.js',
})
viewer.destroy()- The viewer reads no page globals and keeps every style rule under one root class.
- It runs under a strict Content Security Policy: no
eval, no inline script, nonew Function, and a same-origin worker. Required origins are listed indocs/VIEWER.md. - The default background is the OpenFreeMap dark vector style with attribution. It makes no request to
tile.openstreetmap.org. - An optional Google basemap is available only when you pass
googleSessionPath. If a Google request fails, the viewer returns to the default style and hides the Google options for the session. - Capability flags hide the per-point listings, profiles, name review, campaign research and strategy room panels. Anything switched off is hidden, and missing data never raises an error.
Models
geogrid-viewer/v1is a small model with the business, scan, rank points, scores, zones, aggregate competitors, an optional change summary and optional per-zone competitors. A JSON Schema and an example are included.- The existing
geogrid-companion/v1study also opens in the viewer.
Other changes
- The local app is unchanged. Every capability stays on there.
- A basemap that fails half-way no longer throws while it is being detached.
- 12 new tests build the viewer, scan the bundle, and mount it in jsdom. The Node suite is now 141 tests.
Build it yourself with pnpm build:viewer. Full changelog: https://github.com/avalonreset/legends-geogrid/blob/v0.2.8/CHANGELOG.md
legends-geogrid v0.2.7
legends-geogrid v0.2.7
Source commit: 2732e0a6bf1f66f9030732ffbeab4d4ee0ebd0ce
Highlights
- Web-Parity Strategy Reports (
tools/strategy_report.py,tools/report_basemaps.py,examples/starter-home-slice/report/*): Overhauls the built-in multi-query strategy report engine (report.html+ 21-page Letterreport.pdf) to match the interactive Web Companion:- 8-sided stop-sign octagon pins (
oct8), exact 30-stop rank palette (#1A9641..#4A040F) and rank-opacity curve (0.90..0.82), 45-degree rotated corner-blend diamonds ((1 - r) * 0.60), Rank-1 cyan halo + 8-corner sparkles (#00D4FF), circular boundary clipping, and non-overlapping mile markers. - Study-wide Local Leaders territory map (
leaders-map.png) with rounded orthogonal cluster boundaries (smoothTerritoryOutlinecorner fillets) andL01-L14diamond base badges. - OpenFreeMap
.osm-legendsdark raster filter basemap rendering and optional Google 2x Retina dark basemap tile acquisition (GOOGLE_DARK_STYLE,scaleFactor2x,highDpi: true), structuredvisibility at a glancecover table, territory-colored.leader-pillbadges, cleaned Website Brand extraction in Name Review, andcto-legendsfooter branding.
- 8-sided stop-sign octagon pins (
- 4-Lens Companion Intelligence (
tools/report_companion_intel.py): Adds dedicated 4-lens analytical synthesis across every strategy report. - Circular Sampling Geometry & Dependency Pin: Fixes false-positive
"irregular sampling geometry"warnings on circular geodesic lattices intools/sampling_review.pyand pinslegends-dataforseov0.1.11(434bd0f62d141d226226407a86e258a6ee4ba2df).
legends-geogrid v0.2.6
legends-geogrid v0.2.6
Source commit: 700058bb07b0df8b00995547bd9b1347265df91d
Highlights
- Battlefield Console DOM XSS Hardening (
[GG-01]): Escapes server-side<title>interpolation (html.escape) and wraps all client-side.innerHTMLinterpolations of business names, addresses, domains, categories, queries, and URLs inesc()withsafeExternalUrl()scheme validation (http:/https:only). - Outbound HTTP & DNS-Pinning SSRF Guards (
[GG-02]): Validates resolved DNS A/AAAA records against private, loopback, link-local, and IPv4-mapped IPv6 addresses intools/study.pyandtools/business_name_review.py, pins outbound connections to verified public IPs with_NoRedirectandProxyHandler({}), and disables redirects on Geoapify API-key requests intools/report_basemaps.py. - Windows Defender CFA-Safe Vault Root (
[GG-03]): Moves the default study vault root out of Windows Controlled Folder Access (~/Documents) to~/.legends-geogrid/vault/GeoGrid(overridable via--vaultorGEOGRID_VAULT_DIR). - Path Containment, ReportLab XML Safety & Cross-OS CI (
[GG-04..07]): Enforces symlink/junction refusal across study and report tools, validates hex colors before ReportLab XML<font color="...">interpolation, pinslegends-dataforseov0.1.10(cc706b4cd42a2dd14a75905ef138a61369e04317), addsmacos-latestto the CI matrix, and upgradesscripts/check_release.pyto the Gold Standard gate.