Rural Mail Digital Helper 图标 Tyson Berry-Wogan

项目案例研究 · 支持离线使用的渐进式 Web 应用 (PWA)

Rural Mail Digital Helper

由 Tyson Berry-Wogan 专为乡村邮递员设计并构建的免费、可安装渐进式 Web 应用 (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 在一个可安装、支持离线的渐进式 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 全国协议、谅解备忘录、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), Satellite (含标注的 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 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(或添加到主屏幕),跳转至特定工具,或观看三分钟交互式演示: