Rural Mail Digital Helper 圖示 Tyson Berry-Wogan

專案案例研究 · 具備離線功能的漸進式網頁應用

Rural Mail Digital Helper

一款由 Tyson Berry-Wogan 為鄉村郵遞員設計打造的免費、可安裝漸進式網頁應用(PWA)。結合了已儲存的 USPS-NRLCA 合約與 RRECS 解答、可搜尋的文件摘錄庫、瀏覽器本機的 PS 表格 8191 與 RRECS 評估爭議表格 1 可列印工作草稿,以及離線 USGS/OpenStreetMap 路線地圖繪製功能。

開啟 Rural Mail Digital Helper 觀看 3 分鐘逐步解說展示 返回作品集首頁

使用者問題

鄉村郵遞員在查詢合約條款、準備與工會代表討論,或根據鄉村路線評估薪資系統(RRECS)檢視路線停靠站時,面臨三個常見阻礙:

1. 尋找引用的合約與 RRECS 解答

關於步驟 1 申訴截止期限、輪休日薪資、二次投遞、覆蓋率係數及鄉村路線評估爭議程序(RREDP)的問題涵蓋 NRLCA 全國協議、瞭解備忘錄(MOU)及 USPS 手冊。郵遞員需要快速、通俗易懂且連結到特定文件標題、頁碼和日期的查詢功能。

2. 私密草擬申訴與爭議表單

為工會代表準備步驟 1 申訴工作草稿(PS 表格 8191)或 RRECS 評估爭議草稿(表格 1)涉及敏感員工資料(姓名、8 位數員工編號、路線號碼和事件描述),這些資料需保留在郵遞員的瀏覽器中而非傳送至伺服器,且長篇陳述需要接續頁,而不是在小尺寸 PDF 表格欄位中被無提示截斷。

3. 標記停靠點與鄉村路線離線作業

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

產品功能(實證功能)

Rural Mail Digital Helper 在可安裝且具離線功能的漸進式網頁應用中整合了四個工作區:

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

  • 檢查有關鄉村郵遞員工作、薪資、RRECS 評估、覆蓋率係數、二次投遞、輪休日規則以及步驟 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 指南及郵政手冊中的摘錄。
  • 包含第 15 條申訴程序、PS 表格 8191、鄉村路線評估爭議程序(RREDP)以及第 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 表格 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 評估爭議表格 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)、 衛星站 (帶有標籤的 USGS 國家地圖空照圖)、 空照圖 (USGS 純空照正射影像),以及 地形圖 (USGS 國家地圖)。
  • 標註顏色編碼的 郵箱 (`#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 表格 8191 草稿或 RRECS 評估爭議表格 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 國家地圖圖磚——非 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 分鐘互動逐步解說展示: