Skip to content

ID: service-worker offline / local-first web app — design and first slice #13918

Backlog

Description

@dezren39

ID: service-worker offline / local-first web app — design and first slice

Programme: ID programme (#13240); Code Book merged priority list item 23 (primary book: ID; cross-link: PM — the PM console is the other web surface needing the same pattern). Filed by the CODE-BOOK coordinator (#13905) because census B found this Drew seed had no owning issue — it existed only as a directive (2026-11-23 ~18:43 CST).

The item

Drew's seed, in his framing: "Figuring out how to use the service worker for offline capabilities so that the web app can be local first." Paired with the IndexedDB local-caching item (merged list item 21, which has owners in the #9082/#10213 line) — this issue owns the service-worker half: offline capability and local-first behaviour for ID's web app surfaces.

First slice (design, to the house sufficiency standard)

  • Which web surfaces are in scope first (ID web app; the PM console as the second surface — coordinate, don't duplicate).
  • Service-worker strategy: what is cached (app shell, static assets, API responses), cache versioning/invalidation, and what happens on reconnect (sync semantics against the ID store layer — relate to the store abstraction, merged list item 16).
  • The offline contract: what a user can do fully offline (read, draft, queue writes?), what is explicitly online-only, and how conflicts surface.
  • Acceptance criteria per slice, rollout, and verification (an offline test pass in a real browser).

Record

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T00:52:36Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. added a commit that references this issue on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions