Rural Mail Digital Helper icon Tyson Berry-Wogan

Project Case Study · Offline-Capable Progressive Web App

Rural Mail Digital Helper

A free, installable Progressive Web App (PWA) designed and built by Tyson Berry-Wogan for rural letter carriers. It combines saved USPS-NRLCA contract and RRECS answers, a searchable document excerpt library, browser-local printable working drafts on PS Form 8191 and RRECS evaluation dispute Form 1, and offline USGS/OpenStreetMap route mapping.

Open Rural Mail Digital Helper Watch the 3-Minute Walkthrough Demo Back to Portfolio Home

The User Problem

Rural letter carriers checking contract provisions, preparing for steward discussions, or reviewing route stops under the Rural Route Evaluated Compensation System (RRECS) face three recurring obstacles:

1. Finding Cited Contract & RRECS Answers

Questions about Step 1 grievance deadlines, relief-day pay, second trips, coverage factor, and the Rural Route Evaluation Dispute Process (RREDP) span the NRLCA National Agreement, Memoranda of Understanding (MOUs), and USPS manuals. Carriers need fast, plain-language lookups tied to specific document titles, page numbers, and dates.

2. Drafting Grievance & Dispute Forms Privately

Preparing a Step 1 grievance working draft (PS Form 8191) or an RRECS evaluation dispute draft (Form 1) for a union steward involves sensitive employee details (names, 8-digit Employee ID Numbers, route numbers, and incident narratives) that need to stay in the carrier’s browser rather than being sent to a server, and long statements need continuation pages rather than being silently clipped inside small PDF form boxes.

3. Mapping Stops & Working Offline on Rural Routes

Rural delivery routes often cross areas with weak or absent mobile coverage. Carriers planning Mailbox, Park point, and Front door locations need a route mapper that saves stops locally in the browser, links related stops, exports portable map files without creating an account, and downloads public-domain map tiles for offline reference.

What the Product Does (Demonstrated Capabilities)

Rural Mail Digital Helper organizes four integrated workspaces inside an installable, offline-capable Progressive Web App:

1. Saved Contract & RRECS Q&A (`#ask`)

  • Checks saved answers on rural-carrier work, pay, RRECS evaluations, coverage factor, second trips, relief-day rules, and Step 1 timelines with source citations.
  • Supported unanswered public questions can be queued via `/rural-mail-digital-assistant/engine/ask` without generating in engine-open, scheduling up to six read-only cache refreshes 30 seconds apart.
  • When the engine reports `answer_status: "needs_material"`, the page states that the question is kept on file while looking for supporting material, with no set wait time and no queue promise.
  • Displays turnaround estimates only from verified completed samples in `flash-turnaround.json` (verified within the last 7 days, deduplicated by `evidence_sha256`), falling back to 7-day `healthz.cache_turnaround` statistics when at least five samples exist and showing an explicit no-estimate message rather than an invented wait time when fewer than five samples exist.

2. Searchable Document Excerpt Library (`#library`)

  • Searches excerpts across the NRLCA National Agreement, MOUs, RREDP guides, and postal manuals by topic, article, or form number.
  • Includes quick topic starters for Article 15 grievance procedure, PS Form 8191, Rural Route Evaluation Dispute Process (RREDP), and Article 31 requests for information.
  • Returns quoted excerpts alongside their source document titles, page numbers, and dates (excerpts only, not full-document downloads).

3. Browser-Local Printable Form Drafts (`#tools`)

  • Issue Questionnaire & Working Draft: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
  • Authentic PS Form 8191 Draft (March 2007 — EIN Edition): Uses locally vendored `pdf-lib`, `@pdf-lib/fontkit`, and `DejaVuSans.ttf` (`ps8191.js`) to fill the authentic blank AcroForm entirely in the browser. Enforces explicit bounds (100,000 characters per entry; 400,000 across the draft), carries overflow onto labelled continuation pages on whole Unicode code-point boundaries, validates Item 1b EIN as 8 digits or blank, checks glyph coverage against embedded DejaVu (Latin, Greek, Cyrillic, accents, and typographic punctuation), and immediately detaches the PDF blob if any field changes.
  • Recreated RRECS Evaluation Dispute Form 1 Draft (October 2026): Fills a recreated vector PDF layout (`rrecs-form1.js`) in the browser, preserving leading zeros on plain-text phone, installation, finance-number, and ZIP fields, with independent checkboxes for Office Time, Route Time, and Street Volume Time.

4. Interactive Offline Route Mapper (`#map`)

  • Lazy-loads locally vendored Leaflet 1.9.4 with four base layers: Street (OpenStreetMap), Satellite (USGS National Map imagery with labels), Aerial (USGS imagery-only orthoimagery), and Topo (USGS National Map).
  • Places color-coded Mailbox (`#15803d`), Park point (`#7c3aed`), and Front door (`#eab308`) pins with optional user names (up to 140 UTF-16 code units, keeping leading zeros such as `007`), undo last placement, and click-to-undo mode.
  • Connect Mode: Links a mailbox, a park point, and a front door in order with an optional verbatim box number (up to 40 characters), computing geodesic (haversine) straight-line distance estimates and displaying a proximity advisory when a mailbox is under 5 feet (`1.523999 m`) from another stop.
  • Offline USGS Tile Packs & Portable Files: Downloads USGS Satellite or Topo tile packs (up to 6,000 tiles, zoom ≤ 16) into Cache Storage (`helper-tiles-v1`) with parallel fetch, retry, cancel/sweep cleanup, and dateline (`±180°`) wrapping. Checkpoints working maps (`nrlca_route_map_working_session_v1`), saves named routes in `localStorage`, records foreground-only GPS location trails, and exports/imports strict `nrlca-map/v1` and `nrlca-map/v2` portable JSON files plus GeoJSON and print summaries.

Tyson’s Role

Tyson Berry-Wogan conceived, designed, and built Rural Mail Digital Helper (`/rural-mail-digital-helper/`) and its companion three-minute interactive walkthrough demo (`/nrlca-demo/`).

Application Screenshots & Visual Assets

The images below are the existing raster visual assets committed in the repository for Rural Mail Digital Helper: the walkthrough interface capture (`/posters/nrlca-demo.webp`) and the standard and maskable Progressive Web App icons (`/rural-mail-digital-helper/icons/icon-512.png` and `/rural-mail-digital-helper/icons/maskable-512.png`), which depict the three connected stop types used in the route mapper.

Limitations, Setup, Privacy & Platforms

Rural Mail Digital Helper enforces strict legal, technical, and privacy boundaries so carriers and stewards understand what the tool does and does not do:

Not an Official Union or USPS System Rural Mail Digital Helper is an independent educational and planning aid—not a source of truth—and must not be cited as one. Always verify current contract documents and speak with a union steward before filing deadlines.
Working Drafts Only (Never Signed or Filed Here) Preparing or printing a worksheet, PS Form 8191 draft, or RRECS Evaluation Dispute Form 1 draft produces a working draft for steward review only; it is never signed, filed, or submitted here. Management statements, timeliness assessments, dispositions, and signature lines are intentionally left blank. The October 2026 RRECS Form 1 is a recreated vector layout, not an official USPS original.
Browser-Local Forms & Route Storage Form entries run in the browser: they are not sent anywhere, not logged, and not saved by the site. Unsaved route pins stay in the current page; working map checkpoints (`nrlca_route_map_working_session_v1`), named saved routes (`nrlca_route_map_saved_routes_v1`), and downloaded offline tile packs (`helper-tiles-v1`) are stored only in that browser profile on that device (up to 500 pins, 500 connections, and a 4 MiB checkpoint JSON cap) and are not uploaded or synced. No user account is created, anyone using the same browser profile may be able to see saved local storage, and clearing browser site data removes local routes.
Map Layers, Tile Policy & Straight-Line Distance The map uses OpenStreetMap and USGS National Map tiles—not the official USPS Digital Point Mapping (DPM) map—and its Mailbox, Park point, and Front door pins are personal planning labels, not official DPM symbols or RRECS measurements. Drawn lines and Connect distances are straight-line geodesic estimates, not road-snapped mileage, delivery time, or RRECS credit. Per the OpenStreetMap Foundation tile usage policy, OSM Street tiles are never prefetched or bulk-downloaded; offline packs cache only public-domain USGS Satellite or Topo tiles (to zoom 16, capped at 6,000 tiles per route).
Foreground Location Recording Only Location permission is requested only when the user clicks Use my location or Start location recording. Trail recording runs only while the page is visible (up to 10,000 recorded fixes/segments); hiding the tab, switching apps, locking the screen, or a provider gap over 30 seconds pauses recording and marks a segment break. Browser and phone GPS positions are approximate.
Platforms, Offline Scope & Android Test Build Runs on desktop and mobile browsers (Web, iOS, Android) and installs as an offline-capable PWA. Saved routes, pins, Connect links, and local draft forms work offline once cached; asking new questions, searching the document library, and viewing undownloaded map areas require a network connection. Interactive helper features require JavaScript enabled. The Route Map section also offers a signed Android test APK (`RuralMailDigitalHelper-Android-1.0.1-native-20261016-debug.apk`, 58.4 MiB, Android 8.0+, with SHA-256 checksum), explicitly labelled as an October 16 test candidate—not a Play Store release or the newer marker-guard source—where phone compatibility, saved-map recovery, and background/locked-screen GPS still require device verification.

Next Action — Open the Helper or Watch the Walkthrough

Launch Rural Mail Digital Helper directly in your browser (or install it to your home screen), jump to a specific tool, or watch the three-minute interactive walkthrough demo: