Skip to content

zfifteen/peakguard

Repository files navigation

PeakGuard

Interactive web app for the Palindromic Square Cliff.

PeakGuard is a local-first PWA for exploring when squaring a number in base 2..36 preserves palindromic structure and when carry propagation breaks the mirror. It combines exact and preview computation, carry animation, gallery examples, export and share tools, and local project persistence in one self-contained app.

No backend. No telemetry. Works offline after assets are cached.

PeakGuard home

Highlights

  • Exact and preview square computation for custom roots and canonical repunits
  • Convolution and carry visualizations, including a step-through animator
  • Guidance panel for viable sparse families vs finite-ceiling families
  • Local-only persistence with export to JSON, Markdown, SVG, PNG, and share URLs
  • Installable PWA with offline support

Quick Start

pnpm install
pnpm dev

Build the production bundle:

pnpm build
pnpm preview

Run the local verification set:

pnpm verify:local

Run the full release gate:

pnpm verify

Documentation

Core Claim

For repunits in bases b >= 3, the last palindromic repunit square occurs at length n = b - 1. At n = b, the central convolution coefficient reaches the radix, carry propagation begins, and the palindromic structure breaks. Base 2 is the special case: 11_2^2 = 1001_2 is still palindromic, while 111_2^2 = 110001_2 is not.

PeakGuard turns that phase transition into an interactive workflow: build a root, inspect the raw coefficients, step through carries, and export the result.

Repository Notes

  • Product name: PeakGuard
  • Research theme: Palindromic Square Cliff
  • Stack: React, TypeScript, Vite, Dexie, Comlink, Playwright, Vitest
  • Generated build output and test evidence are intentionally not tracked

Releases

No releases published

Packages

 
 
 

Contributors