Studio 'e caso d''o pruggetto · Progressive Web App pronta p'allavorà offline
Rural Mail Digital Helper
Na Progressive Web App (PWA) bbona e a gratis, criata e sviluppata 'a Tyson Berry-Wogan pe 'e pustiere rurale. Mette 'nzieme risposte sarvate d''o cuntratto USPS-NRLCA e RRECS, n'archivio 'e bbrutte copie 'e documiente addò puté cercà, bozze lucale p''o browser stampabbele p''o modulo PS Form 8191 e 'o modulo 'e disputa valutazione RRECS Form 1, e mappe offline USGS/OpenStreetMap.
Pustiere rurale ca cuntrollano 'e reggole d''o cuntratto, priparano 'e discussiune c''o sindacalista o guardano 'e fermate c''o sistema 'e cumpensazzione valutata (RRECS) attruovano tre prubbleme cuntinue:
1. Ricerca 'e risposte cundatte cu citazziune e RRECS
E dumanne ncopp'ê scadenze d''o Passo 1, 'o compenso d''e juorne 'e riposo, 'e siconde viaggi, 'o fattore 'e cupyrtura e 'o prucesso 'e disputa valutazione percurze rurale (RREDP) tuccano ll'Accuordo Nazzionale NRLCA, 'e Memorandum (MOU) e 'e manuale USPS. 'E pustiere teneno besuogno 'e risposte 'mmediete, scritte 'n manera semplice e llegate a titule, paggene e date precese.
2. Scrittura riservata 'e module 'e reclamo e vertenza
Priparà na bozza 'e ricurzo p''o Passo 1 (PS Form 8191) o na bozza 'e disputa valutazione RRECS (Form 1) p''o delegato sindacale cuntene date riservate d''o faticatore (nomme, nummere 'e matricola a 8 cifre, nummere 'e percurzo e relazioni d''e fatte) ca hanna rumané int'ô browser d''o pustiere senza se mannà a nu server; 'mpluso, 'e dichiarazziune longhe teneno besuogno 'e fógli 'e cuntinuazzione pe nun se taglià dint'ê spazzi peccerille d''o PDF.
3. Mappatura d''e fermate e fatica offline ncopp'ê percurse rurale
E percurze rurale 'e spiciunamento spisso passano pe pposte addò 'o signale d''o cellulare nun piglia o è debole assaje. 'E pustiere c'hanna signalà Cassetta d''e lettere, Punto 'e fermata e Porta 'e casa teneno besuogno 'e na mappa ca sarva 'e fermate lucalmente int'ô browser, cullega 'e fermate parente, esporta 'e file d''a mappa senza besuogno 'e nu cunto e scarica 'e tassielle libbere d''a mappa pe ll'ausà offline.
Che ffà 'o prudotto (Capacità addimustrate)
Rural Mail Digital Helper urganizza quatto spazzie 'e fatico 'ntegrate dint'a na Progressive Web App 'nstallabbele e bbona pe faticà pure senza linea:
1. Saved Contract & RRECS Q&A (`#ask`)
Cuntrolla 'e risposte sarvate ncopp'ô fatico d''e pustiere rurale, stipendio, valutazziune RRECS, fattore 'e cupyrtura, siconde viaggi, reggole d''e juorne 'e riposo e scadenze p''o Passo 1 cu 'e ffonti mentuvate.
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.
Cerca scritte estratte int'all'Accuordo Nazzionale NRLCA, memorandum MOU, guide RREDP e manuale pustale pe tema, articulo o nummero 'e modulo.
Cunténe spunti 'e partenza pe 'e tematiche d''a prucedura 'e ricurzo Articulo 15, PS Form 8191, prucesso 'e disputa valutazione percurze rurale (RREDP) e richieste 'e 'mbormazziune Articulo 31.
Cunzegna 'e parte citate 'nzieme c''o titolo d''o documiento d'origgene, nummero 'e paggena e data (sulo passe scivete, nun scarica 'o documiento 'ntiero).
3. Browser-Local Printable Form Drafts (`#tools`)
Questionario d''o problema e bozza 'e fatico: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
Bozza bbona d''o modulo PS Form 8191 (Màrzo 2007 — Edizzione EIN): 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.
Bozza arricriata d''o modulo 'e disputa valutazione RRECS Form 1 (Ottovre 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`)
Carecaménto a rechiesta 'e Leaflet 1.9.4 'ncluso lucalmente cu quatto livielle 'e base: Strata (OpenStreetMap), Satellite (Immaggene USGS National Map cu etichette), Aerea (Ortoimmaggene USGS sulo immaggene), e Topografica (USGS National Map).
Puzizziona cu 'e culure Bucala d' 'e llettere (`#15803d`), Punto parcheggio (`#7c3aed`), and Porta d'entrata (`#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.
Modalità Connetti: 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.
Pruviste 'e tassielle USGS offline e file purtabbele: 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.
'O ruolo 'e Tyson
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/`).
Ingegneria PDF e tipografia int'ô client: 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`).
Design giuspažiale e schema purtabbele: 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.
Architettura atomica d''o Service Worker PWA: 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.
Screenshot 'e ll'applicazzione e risurse visuale
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.
Cattura d''a dimostrazzione — Risposta RRECS sarvata e citazziune d''e documiente
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.
Icona Progressive Web App — Fermate cunnesse d''o percurzo
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.
Icona mascherabbele p''a schermata prencepale — Risursa cu zona sicura pe Android e PWA
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.
Lemmete, 'mpustazziune, riservatezza e piattaforme
Rural Mail Digital Helper fa rispittà lemmete legali, tecnece e 'e riservatezza pe fà capì a pustiere e sindacaliste chello ca 'o strumento fa e chello ca nun fa:
Nun è nu sistema ufficiale d''o sindacato o 'e ll'USPS
Rural Mail Digital Helper è n'ajuto 'ndipendente pe studià e prugiettà—nun è na fonte 'e verità—e nun s'ha dda maje cità comme a cheste. Cuntrolla sempe 'e documiente d''o cuntratto aggiurnate e parla cu nu delegato sindacale primma d''e scadenze pe presentà 'e carte.
Sulo bozze 'e fatico (nun se firmano e nun se presentano ccà)
Priparà o stampà nu foglio 'e fatico, na bozza 'e PS Form 8191 o na bozza d''o modulo 'e disputa valutazione RRECS Form 1 ccrea na bozza 'e fatico sulo p''a revizione d''o delegato; nun vene maje firmato, archiviato o mannato 'a ccà. Dichiarazziune d''a direzzione, valutazziune 'e puntualità, despusizziune e linie 'e firma songo lassate vacante apposta. 'O Modulo 1 RRECS 'e ottovre 2026 è na ricrijazzione vetturiale, nun è n'origginale aufficiale USPS.
Module lucale p''o browser e sarvataggio percurze
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.
Livielle d''a mappa, reggole p''e tassielle e distanze 'n linea retta
A mappa ausa 'e tassielle 'e OpenStreetMap e USGS National Map—nun a mappa ufficiale USPS Digital Point Mapping (DPM)—e 'e spilli pe Cassetta, Punto 'e fermata e Porta 'e casa songo etichette pe se regolà, nun songo simmule ufficiali DPM o misure RRECS. 'E llinie tirate e 'e distanze 'Connetti' songo stime giodeteche 'n linea retta, nun songo mise ncopp'â strata, tiempo 'e cunsegna o credite RRECS. Secunno 'e reggole d''a OpenStreetMap Foundation pe ll'auso d''e tassielle, chille 'e OSM Street nun se scaricano maje tutte 'nzieme; 'e pacchette offline sarvano sulo tassielle libbere USGS Satellite o Topo (nzinu ô zoom 16, cu nu massimo 'e 6,000 tassielle pe percurzo).
Riggistrazzione pusizzione sulo 'n primmo piano
O permmesso p''a pusizzione s'addimanna sulo quanno ll'utente fa clic Ausa 'a pusizzione mia o Accummincia 'a riggistrazziune d''a pusizzione. 'A reggistrazzione d''o percorso funziona sulo quanno 'a paggena è visibbile (nzino a 10,000 puzizziune/stuezze reggistrate); annasconnere 'a scheda, cagnà app, bluccà 'o schermo o nu buco d''o provider 'e cchiù 'e 30 secunne mette 'n pausa 'a reggistrazzione e segna nu stacco. 'E puzizziune GPS d''o browser e d''o cellulare songo apprussimative.
Piattaforme, funziunamento offline e build 'e prova Android
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.
Azzione ca vene — Liegge ll'ajuto o guarda 'a demo
Arrefeccia Rural Mail Digital Helper derettamente int'ô browser tujo (o 'nstallala int'â schermata prencepale), passa a nu strumento specifico o guarda 'a demo 'ntirattiva 'e tre minute: