Rural Mail Digital Helper 图标 Tyson Berry-Wogan

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

Rural Mail Digital Helper

一款免费、可安装的渐进式 Web 应用 (PWA),由 Tyson Berry-Wogan 专为乡村邮递员设计开发。集成了预存的 USPS-NRLCA 合同与 RRECS 问答、可检索的文档摘录库、基于浏览器本地的 PS Form 8191 与 RRECS 评估争议 Form 1 可打印工作草稿,以及 USGS/OpenStreetMap 离线路线制图功能。

打开 Rural Mail Digital Helper 观看 3 分钟交互演示 返回作品集首页

用户痛点

乡村邮递员在查阅合同条款、准备工会代表沟通或根据乡村路线评估薪酬系统 (RRECS) 审查路线停靠点时,经常面临三个阻碍:

1. 查询引用的合同与 RRECS 解答

关于第 1 阶段申诉截止日期、调休日薪资、二次出班、覆盖系数以及乡村路线评估争议流程 (RREDP) 的问题跨越了 NRLCA 全国协议、谅解备忘录 (MOU) 和 USPS 手册。邮递员需要快速、通俗易懂并关联具体文档标题、页码及日期的查询支持。

2. 私密起草申诉与争议表单

为工会代表准备第 1 阶段申诉工作草稿 (PS Form 8191) 或 RRECS 评估争议草稿 (Form 1) 涉及敏感员工信息(姓名、8 位员工编号、路线编号和事件陈述),这些数据必须保留在邮递员浏览器本地而非上传服务器,且长陈述需生成续页,不能在狭小的 PDF 表单格内被静默截断。

3. 标记停靠点与乡村路线离线作业

乡村投递路线经常穿越移动信号微弱或完全无信号的区域。在规划邮箱 (Mailbox)、停车点 (Park point) 和正门 (Front door) 位置时,邮递员需要一款能在浏览器本地保存停靠点、关联相关站点、无需注册即可导出便携地图文件,并能下载公有领域地图瓦片以供离线参考的路线绘制工具。

产品功能(演示能力)

Rural Mail Digital Helper 在一款可安装、支持离线的渐进式 Web 应用中整合了四个集成工作区:

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 Form 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 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)、 卫星节点 (带标注的 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 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 国家地图瓦片——非 官方 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(或安装至主屏幕)、跳转至特定工具,或观看三分钟交互式演示: