Warn when current GPS outruns server-confirmed route results - #215
Conversation
Keep GPS proximity, server-confirmed results, and unresolved gaps as independent evidence so Kitchener-style event loss is visible without implying delivery completion. Constraint: Preserve the deployed independent-Pill UI and Shopify source-data read-only boundary. Rejected: Treat GPS proximity as stop completion | GPS is location evidence only. Confidence: high Scope-risk: narrow Directive: Keep the next unresolved stop free of mismatch warnings and require server result evidence. Tested: focused tracking 41/41; full Shopify 613/613; lint; build; typecheck; public URL guard; diff check Not-tested: live production GPS traffic and physical driver workflow
|
Implementation verification is complete for head
Independent code-reviewer and architecture review remain required before merge. This implementation lane has not approved, merged, or deployed the PR. |
Constraint: Server operationalState owns proximity, freshness, and terminal result counts. Rejected: Recalculate proximity or result Pills in Shopify | duplicates Route Ops policy and misstates missing evidence. Confidence: high Scope-risk: narrow Directive: Preserve Device-to-server Gap semantics and suppress alerts when server evidence is incomplete. Tested: focused 55/55; full Shopify 616/616; lint; build; typecheck; public URL guard; Shopify component validation; diff check Not-tested: DOM-rendered accessibility because the node:test harness has no JSX/DOM renderer; live production GPS traffic
|
HOLD remediation is now on exact head
Fresh local evidence: focused 55/55; full Shopify 616/616; build, typecheck, lint, public URL guard, Polaris component validator, diff check, and control-plane preflight all pass. Accessibility test gap: this repository node:test harness has no JSX transform or DOM renderer. The closest available contract asserts No merge or deployment was performed. |
Closes #212
Change control: EVNSolution/clever-change-control#265
Outcome
operationalState: in-progress lifecycle, fresh/reliable position, server-evaluated proximity threshold, nearest stop sequence, and authoritative server progressGap unknownKitchener regression
The 1/11 server-results versus GPS-near-Stop-11 case renders canonical evidence including:
Alert warningGPS freshGPS Stop 11 nearbyServer 1/11Gap unknownwhen Device evidence is absentSync unknownThe warning states that at least nine earlier planned stops have no result and that GPS proximity does not confirm delivery.
Verification
git diff --check: passThe current
node:testharness has no JSX transform or DOM renderer. Accessibility is therefore covered by the closest available source contract forrole="alert", the warning banner heading, the evidence group label, and canonical Pill wiring; no new test dependency was added.Release boundary
This PR is source-only. It does not merge or deploy.