Skip to content

Two standards-corpus guides: progressive web apps and offline-first applications - #178

Open
wschenk wants to merge 1 commit into
mainfrom
cursor/pwa-offline-first-guides-a87a
Open

Two standards-corpus guides: progressive web apps and offline-first applications#178
wschenk wants to merge 1 commit into
mainfrom
cursor/pwa-offline-first-guides-a87a

Conversation

@wschenk

@wschenk wschenk commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

No-ticket: true

Two guides distilled from this repository's full history — 210 commits, 19 ADRs, and the merged PR record — written for The-Focus-AI/standards best-practices/ and staged under docs/standards/ because agent tokens cannot push to that repository.

  • GDE-014-progressive-web-apps.md — installability (the maskable-only icon failure, pinning manifest id before Chrome strands a phantom install, root-layout service-worker registration, the in-app install button), the hand-rolled service worker (redirect-safe per-path precache, shell refresh on online visits so byte-identical sw.js deploys cannot strand phones, crawling cached HTML for /_next/static chunks, deep-link fallbacks), the "one bar is worse than offline" navigation cluster, media capture and geolocation on mobile web, the recurring min-width: auto layout trap, auth × PWA interactions, and the Playwright harness that made it all stick.

  • GDE-015-offline-first-applications.md — the local durable commit invariant, append-only history with a frozen processing basis, the five-state visible lifecycle, the serialized hydrate → recover → outbox sync cycle, idempotency key scoping, the retry-storm lessons (6,400-attempt jobs, ~19k requests per 40 minutes), device-owns-unsynced / server-owns-settled convergence, media retention and verified deletion, capability honesty (no gateway model reads audio; fakes never reach production), sync-schema migration guards, trash/purge as synced state machines, and verified staged-activation Offline Region packs.

Every claim cites the walking-thoughts commit, PR, or ADR that taught it. Both files pass the standards repository's own conformance tooling: node scripts/validate-documents.mjs (38 documents OK) and node scripts/render-standard.mjs (ok GDE-014 Guide under STD-007, ok GDE-015 Guide under STD-007, STD-008). 014/015 were the next free numbers on 2026-08-29; the README notes the copy-verbatim adoption path per STD-006 §3.9 and renumbering per §3.11 if the sequence moves.

Per STD-001 §3.14 these are guides, not standards: any binding clauses extracted from them into an STD are a person's call to ratify.

Open in Web Open in Cursor 

GDE-014 (progressive web apps) and GDE-015 (offline-first applications),
written for The-Focus-AI/standards best-practices/ in that repository's
guide format and validated against its renderer and document validator.
Every claim cites the walking-thoughts commit, PR, or ADR that taught it.

Drafted under docs/standards/ because agent tokens cannot push to the
standards repository; the README records the destination and the copy-
verbatim adoption path (STD-006 3.9).

Co-authored-by: Will Schenk <wschenk@gmail.com>
@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
walking-thoughts Ready Ready Preview Aug 29, 2026 5:20pm

Request Review

@wschenk
wschenk marked this pull request as ready for review August 29, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants