Projekt-Faalstudie · Offline-fähige Progressive Web App
Rural Mail Digital Helper
Ne fräie, installierbeere Progressive Web App (PWA), äntwoorpen un baud fon Tyson Berry-Wogan foar loundelke Bräifdreegere. Ju ferbint spiekjerde USPS-NRLCA-Ferdraachs- un RRECS-Oantwoude, ne truchsäikbeere Dokumänten-Uutsnitsammelenge, browser-lokoale printbeere Oarbeidskontwuurpe ap PS Form 8191 un RRECS-Bewäirdeengsstried-Form 1, un offline USGS/OpenStreetMap-Routen-Koarten.
Loundelke Bräifdreegere, do Ferdraachsbesteemengen wröigje, sik ap Besprekengen mäd Fertreedere foarberäide of Routenhooldesteeden unner dät Rural Route Evaluated Compensation System (RRECS) unnersäike, mäite tjo wierkeerende Hinnernisse:
1. Sitierde Ferdraachs- & RRECS-Oantwoude fiende
Froagen tou Stap-1-Kloagfriste, Äntlastengsdai-Ferteelinge, twäide Foarten, Däkkengsfaktor un dät Rural Route Evaluation Dispute Process (RREDP) uumfoatje dät NRLCA National Agreement, Memoranda of Understanding (MOUs) un USPS-Hondbouke. Dreegere bruuke gau, eenfach-sproakelk Nokieken ferbuunen mäd bestimde Dokumänt-Tittele, Sieden-Nummere un Doatums.
2. Klage- & Striedformuloare privoat äntwiese
Dät Foarberäiden fon n Stap-1-Kloag-Oarbeidsäntwurp (PS Form 8191) of n RRECS-Bewäirdeengsstried-Äntwurp (Form 1) foar n Gewerkskipsfertreeder änthaalt sensibele Meenoarbeider-Details (Noomen, 8-stellig Meenoarbeider-ID-Nummere, Routennummere un Foarfaalsbäskriewengen), do in dän Dreeger sin Browser blieuwe mouten insteede fon an n Server soand tou wäiden, un loange Ärkloarenge bruuke Foulgesieden insteede fon stilkens binnens bounds litje PDF-Formularfäildere outousnieden.
3. Haltesteedekoarten & Offline-Oarbaid ap loundelke Ruten
Loundelke Touställungsrouten gungt oafter truch Gestriche mäd swäkke of kien Mobilfunk-Oudäkkenge. Dreegere, do Mailbox, Park point un Front door Steeden ploonje, bruuke n Routenploaner, die Hooldesteeden lokoal in dän Browser spiekjert, ferwante Hooldesteeden ferbint, droagbeere Koartendoatäie sunner Konto-Iengjuchtenge exportiert un gemeenfräie Koartenkacheln foar offline Referenz deelloat.
Wät dät Produkt däd (Demonstrierde Fäiegaide)
Rural Mail Digital Helper organisieret fjouer integraterde Oarbeidsruume binnens ne installierbeere, offline-fähige Progressive Web App:
1. Saved Contract & RRECS Q&A (`#ask`)
Wröiget spiekjerde Oantwoude tou Loundelke-Dreeger-Oarbeid, Loon, RRECS-Bewäirdeengen, Däkkengsfaktor, twäide Foarten, Äntlastengs-Dai-Räägele un Stap-1-Tiedplone mäd Wällen-Sitoate.
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.
Säkt Uutsnitte truch dät NRLCA National Agreement, MOUs, RREDP-Laitfäddene un Posthondbouke ätter Themoa, Artikkel of Formularnummer.
Änthaalt gaue Themoa-Stäitere foar dät Artikkel-15-Kloagferfoaren, PS Form 8191, Rural Route Evaluation Dispute Process (RREDP) un Artikkel-31-Anfroagen foar Informatsjoonen.
Lääwert zitierde Uutsnitte bienääst do Tittele fon do Wällendokumänte, Siedennummere un Doatums (bloot Uutsnitte, neen Downloads fon fulboodige Dokumänte).
3. Browser-Local Printable Form Drafts (`#tools`)
Fäid-Froageboage & Oarbeidsäntwurp: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
Ächten PS Form 8191 Äntwurp (Meerte 2007 — EIN-Uutgoawe): 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.
Wierhäärstoalde RRECS Evaluation Dispute Form 1 Äntwurp (Oktoober 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`)
Leadt lokoal meelewerd Leaflet 1.9.4 ferspeeterd mäd fjouer Basisloagen: Sträite (OpenStreetMap), Satellit (USGS National Map Bielden mäd Beskräiwenge), Luchtbielde (USGS bloot-Bielden Orthofoto), un Topokoarte (USGS National Map).
Stäloatse faawencodierde Breefbust (`#15803d`), Parkierpunkt (`#7c3aed`), and Föärdoore (`#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.
Ferbiendengsmodus: 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-Kachelpakkete & droagbeere Doatäie: 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 sien Rulle
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/`).
Client-siedige PDF- & Typografie-Technik: Built `ps8191.js` and `rrecs-form1.js` to render printable working drafts on the March 2007 PS Form 8191 AcroForm and the recreated October 2026 RRECS Form 1 vector layout directly in the browser, with surrogate-safe Unicode code-point wrapping, pre-build glyph validation, continuation page layout, and SHA-256 vendor provenance verification (`vendor/ps8191/PROVENANCE.json`).
Georoamelk & droagbeer Schema-Design: Authored the `nrlca-map/v1` and `nrlca-map/v2` JSON Schema 2020-12 contracts and portable JavaScript codecs (`shared/map-portable-v1.js`, `shared/map-portable-v2.js`) shared between the web helper and native iOS/Android mapping parsers, including strict unknown-field refusal, dateline unwrapping, and non-destructive legacy route migration.
Atomare PWA Service-Worker-Architektur: Engineered the v6 atomic generation service worker (`rural-mail-digital-helper/sw.js`) that stages and validates the 30 `SHELL` entries—verifying MIME types, format magic signatures, and 22 pinned SHA-256 hashes—into a new immutable generation cache (`helper-shell-v6-g-<build>`) before updating the `__selected_generation__` pointer, without deleting the previously selected generation during publication so a failure at any promotion step keeps the old verified shell live and serving.
Applikatsjoons-Screenshots & visuelle Doatäie
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.
Uursichts-Apnoame — Spiekjerde RRECS-Oantwoud & Dokumänten-Sitoate
Interface capture (`/posters/nrlca-demo.webp`, 720×480) showing the Ask workspace returning a cached answer on the Rural Route Evaluation Dispute Process (RREDP) with document page citations and verification notices.
Progressive Web App Icoon — Ferbeene Routenhooldesteeden
Standard 512×512 PNG application icon (`/rural-mail-digital-helper/icons/icon-512.png`, SHA-256 pinned in `sw.js`) illustrating three linked route stops along a mapped path.
Maskierbeer Startbield-Icoon — Android & PWA Safe-Zone-Ressurse
Full-bleed 512×512 maskable icon (`/rural-mail-digital-helper/icons/maskable-512.png`, SHA-256 pinned in `sw.js`) referenced by `manifest.webmanifest` for adaptive mobile home-screen installation.
Rural Mail Digital Helper twingt strikte juristiske, tekniske un Privoatsphäre-Gränzen truch, sodät Dreegere un Fertreedere ferstounde, wät dät Reew däd un wät nit:
Kien amtelk Gewerkskips- of USPS-Systeem
Rural Mail Digital Helper is n uunouhongich Bildengs- un Plooengshälper—neen authentiske Welle—un duur nit as sukken zitierd wäide. Wröig aaltied akteele Ferdraachsdokumänte un baal mäd n Gewerkskipsfertreeder foar do Ienreekengsfriste.
Bloot Oarbeidsäntwuurpe (Hier noomiddages unnerskrieuwen of ienroat)
Dät Foarberäiden of Printe fon n Oarbeidsblääd, PS Form 8191-Äntwurp of RRECS Evaluation Dispute Form 1-Äntwurp moaket n Oarbeidsäntwurp bloot foar dän Gewerkskipsfertreeder tou Wröigjen; dät wäd hier nooit unnerskreewen, ienroat of ouseend. Ferwaltengsferkloarengen, Tiedbeloopstaksierengen, Verfäigenge un Unnerskräifstrieken blieuwe mäd Apsicht loos. Dät Oktober-2026-RRECS-Formuloar 1 is n wierhääld Vektor-Layout, naan amtelk USPS-Originoal.
Browser-lokoale Formulare & Routenspiekerenge
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.
Ju Koarte benutset OpenStreetMap- un USGS National Map-Kacheln—nit ju amtelke USPS Digital Point Mapping (DPM)-Koarte—un do Mailbox-, Park point- un Front door-Steekspitte sunt persöönelke Plooengslabels, neen amtelke DPM-Symbole of RRECS-Mäitengen. Teekende Lienjen un Ferbiendengs-Oustande sunt geodätiske Luftlaste-Schätzengen, neen ap Sträite fäästlaide Kilometertälenge, Touställengstied of RRECS-Krediet. Ätter ju Kachel-Benutsengs-Gjuchtlienje fon ju OpenStreetMap Foundation wäide OSM-Sträitenkacheln noomiddages foarou leeden of in Masse deelleeden; Offline-Pakkete spiekjere bloot gemeenfräie USGS Satellite- of Topo-Kacheln (bit Zoom 16, begränsed ap 6,000 Kacheln pro Route).
Bloot Foargruund-Standuurt-Apteekenge
Standuurt-Ferteelenge wäd bloot fräiged wan die Benutser klikt ap Mien Standort ferweende of Standuurt-Apteekenge startje. Paad-Apteekenge lapt bloot biesiel ju Siede sPlain is (bit tou 10,000 apteekende Fixe/Segmente); dät Ferstoppen fon dän Tab, dät Wikseljen fon Apps, dät Speerjen fon dän Billschirm of ne Provider-Pruuske fon moor as 30 Sekunnen pauseert ju Apteekenge un markiert n Segmentbreek. Browser- un Smartphone-GPS-Positsjoone sunt uungefeer.
Platfoarme, Offline-Umfong & 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.
Naiste Aksjoon — Eepne dän Hälper of kiek ju Uursicht
Start Rural Mail Digital Helper direkt in dien Browser (of installier dät ap dien Startbielde), spring tou n spezifisk Reew, of kiek ju tjo-minuutige interaktive Uursichts-Demo: