Rural Mail Digital Helper 圖示 Tyson Berry-Wogan

專案案例研究 · 具離線功能嘅漸進式 Web 應用程式

Rural Mail Digital Helper

Tyson Berry-Wogan 專門為鄉村郵遞員設計與開發嘅免費、可安裝漸進式 Web 應用程式 (PWA)。佢整合咗已保存嘅 USPS-NRLCA 合約與 RRECS 答覆、可搜尋嘅文件摘錄庫、瀏覽器本機可列印嘅 PS Form 8191 與 RRECS 評估爭議 Form 1 工作草稿,以及離線 USGS/OpenStreetMap 路線地圖。

開啟 Rural Mail Digital Helper 觀看 3 分鐘導覽示範 轉到作品集首頁

使用者問題

鄉村郵遞員查閱合約條款、準備工會代表討論,或依據鄉村路線評估補償系統 (RRECS) 審查路線停靠點時,常面臨三個反覆出現嘅阻礙:

1. 尋找引用合約撈 RRECS 解答

關於 Step 1 申訴期限、調休薪資、第二趟運送、覆蓋係數同鄉村路線評估爭議程序 (RREDP) 嘅問題涵蓋 NRLCA 全國協議、瞭解備忘錄 (MOU) 同 USPS 手冊。郵遞員需要與特定文件標題、頁碼同日期相結合嘅快速、白話查詢。

2. 私密起草申訴撈爭議表單

為工會代表準備 Step 1 申訴工作草稿 (PS Form 8191) 或 RRECS 評估爭議草稿 (Form 1) 涉及敏感員工資料(姓名、8 位數員工編號、路線號碼同事件描述),必須保留喺郵遞員瀏覽器內而毋係傳送到伺服器,且長篇陳述需要接續頁面而毋係喺狹細嘅 PDF 表單框內被靜默裁切。

3. 在鄉村路線繪製站點地圖撈離線工作

鄉村投遞路線經常穿過行動網路訊號微弱或無訊號嘅區域。規劃信箱、停車點與前門位置嘅郵遞員需要一個能喺瀏覽器本機儲存停靠點、連結相關停靠點、無需建立帳號即可匯出可攜式地圖檔案,並下載公有領域地圖圖磚以供離線參考嘅路線繪製工具。

產品功能(已展示功能)

Rural Mail Digital Helper 喺可安裝、支援離線嘅漸進式 Web 應用程式內組織四個整合式工作區:

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

  • 檢查鄉村郵遞員工作、薪資、RRECS 評估、覆蓋係數、第二趟運送、調休規定與 Step 1 時限嘅已保存答覆,並附帶資料來源引用。
  • 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`)

  • 依主題、條款或表單號碼搜尋 NRLCA 全國協議、MOU、RREDP 指南同郵政手冊中嘅摘錄。
  • 包含 Article 15 申訴程序、PS Form 8191、鄉村路線評估爭議程序 (RREDP) 同 Article 31 資訊請求嘅快速主題導引。
  • 傳回引用摘錄及其來源文件標題、頁碼同日期(僅限摘錄,非完整文件下載)。

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

  • 問題問卷與工作草稿: Builds a steward preparation checklist and an escaped-text worksheet that can be printed or downloaded as `.txt` without clipping long entries.
  • 真實 PS Form 8191 草稿(2007 年 3 月 — 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.
  • 重製版 RRECS 評估爭議 Form 1 草稿(2026 年 10 月): 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`)

  • 延遲載入含四個底層嘅本機廠商 Leaflet 1.9.4: 街道 (OpenStreetMap), 衛星(Satellite) (含標籤嘅 USGS National Map 影像), 航空圖 (僅影像嘅 USGS 正射影像),以及 地形圖 (USGS National Map)。
  • 放置依顏色標記嘅 信箱 (`#15803d`), 停車點 (`#7c3aed`), and 前門 (`#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.
  • 連線模式: 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.
  • 離線 USGS 圖磚包與可攜式檔案: 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 嘅角色

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/`).

應用程式截圖與視覺資源

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.

限制、設定、隱私與平台

Rural Mail Digital Helper 執行嚴格嘅法律、技術與隱私邊界,讓郵遞員同工會代表了解該工具能做與不能做嘅事項:

非工會或 USPS 官方系統 Rural Mail Digital Helper 係獨立嘅教育與規劃輔助工具——毋係事實依據——且毋得將其作為依據引用。喺提交截止日期之前,務必核對最新合約文件並與工會代表討論。
僅限工作草稿(絕毋喺此處簽署或提交) 準備或列印工作表、PS Form 8191 草稿或 RRECS 評估爭議 Form 1 草稿會產生一個 僅供工會代表審查嘅工作草稿;絕毋會在此簽署、存檔或提交。管理聲明、及時性評估、處置結果撈簽名欄刻意留空。2026 年 10 月嘅 RRECS 表單 1 係重新繪製嘅向量版面配置,毋係官方 USPS 原始文件。
瀏覽器本機表單與路線儲存 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.
地圖圖層、圖磚政策與直線距離 該地圖使用 OpenStreetMap 與 USGS National Map 圖磚——毋係 USPS 官方數位點對應 (DPM) 地圖——其信箱、停車點同前門圖針係個人規劃標記,毋係官方 DPM 符號或 RRECS 測量值。繪製線條與連線距離係直線測地線估算值,毋係貼合道路嘅里程、投遞時間或 RRECS 額度。根據 OpenStreetMap 基金會圖磚使用政策,絕毋預先擷取或批次下載 OSM 街道圖磚;離線包僅快取公有領域 USGS 衛星或地形圖磚(縮放至 16,每條路線上限為 6,000 塊圖磚)。
僅限前景位置記錄 僅喺使用者點擊時請求位置權限 使用我嘅位置 或 開始記錄位置。軌跡記錄僅在頁面可見時執行(最多記錄 10,000 個定位點/路段);隱藏標籤頁、切換應用程式、鎖定螢幕或提供商間隔超過 30 秒會暫停記錄並標記分段。瀏覽器撈手機 GPS 位置為近似值。
平台、離線範圍與 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.

下一步操作 — 開啟小幫手或觀看導覽

直接喺瀏覽器啟動 Rural Mail Digital Helper(或安裝到主畫面)、前往特定工具,或觀看 3 分鐘互動導覽展示: