GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(phase-14): shells v1 slice 1 — PWA offline read model + catch-up in the browser shell (#6296) · Issue #10927 · developing-today/code

id(phase-14): shells v1 slice 1 — PWA offline read model + catch-up in the browser shell (#6296) #10927

New issue
Copy link
New issue
Copy link
Done
Done
id(phase-14): shells v1 slice 1 — PWA offline read model + catch-up in the browser shell (#6296)#10927
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-platformEpic: id-platform - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/lowNice to have; do when convenientqueue/queuedHas a queued queue taskstatus:in-review

Description

@dezren39
dezren39
opened on Nov 17, 2026
Issue body actions

Scope

Implement the mobile web/PWA shell's offline read model from the record: journal-snapshot offline read (offline = reader, not writer), a snapshot store, reconnect by last-applied journal sequence with re-snapshot on divergence, and push as a re-sync hint via an F12.5 capability provider. Done = the slice's conformance run plus behavioral checks for the join / view screens / chat / offline-read / reconnect workflow, per the record's gate.

Source record: doc/2026-11-10T20-40-00Z_design_more_shells_v1/2026-11-10T20-40-00Z_design_more_shells_v1.md (merged via PR #8243), §"Follow-on slices". Parent design issue: #6296. Core topic: #6279. Plan of record: #6312.

Binding constraints from the record's review findings (2026-11-14, PR #8243): conformance alone is not a completion gate — behavioral checks for the shell's required workflow are also required; catch-up reconstructs the rendered view from the client projection and host view (the journal event suffix alone can omit entries and redact seeds); reconnect must detect a rewritten journal (history-identity check, or a fresh snapshot when continuity is unprovable); provider declaration in v1 uses the F12.4 registry/manifest out of band.

Sequencing stop rule from the record: F12.10 scheduling/quotas #1067 is still open and binds the hosted side. Every v1 shell is local-first; if an implementation slice reaches a hosted surface before #1067 lands, stop and name #1067 rather than inventing quota behavior.

Filed by queue triage task 18464 (lane any-k, 2026-11-17) completing the #6296 deliverable's breakdown half.

Refs #10931

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/lowNice to have; do when convenient
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

    @developing-today
    developing-todayBot
    on Nov 17, 2026 – with developing.today
    Contributor
    More actions

    CODE-3932

  3. dezren39
    added
    epic/id-platformEpic: id-platform - all issues of this effort carry it
    design/id-phase-14Design: id-phase-14 - all issues of this effort carry it
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 17, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 17, 2026
  5. dezren39
    removed their assignment
    on Nov 20, 2026
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Pickup — xaltha (fleet seat), via fleet agent next shortlist rung. Claim-check done: no assignees, no open PR references this issue, only comment is the filing bot's tracker link.

    Criteria state against origin/main 9794191 (evidence: pkgs/id/web/src/world.ts):

    • Snapshot store: NOT present — no persistence in the browser shell; all session state is in-memory.
    • Journal-snapshot offline read: NOT present — a reload renders nothing without a live socket.
    • Reconnect by last-applied sequence: PARTIAL — in-memory cursor is sent as the join frame's after (world.ts connect()), but it does not survive a reload because there is no store.
    • Re-snapshot on divergence / history-identity check: NOT present shell-side — the snapshot frame carries world_id + current_sequence only.
    • Push as re-sync hint (F12.5 provider): not in this slice (record's follow-on 4).
    • Conformance + behavioral gate: behavioral checks land per slice.

    This slice: the snapshot store + offline read restore. After this PR, loading the world page with a stored snapshot and no connection renders the stored world (participants, view, records) read-only with an offline status, a join after reload resumes from the stored sequence instead of 0, and cd pkgs/id/web && bun run test shows the new behavioral tests passing. Refs #10927 (partial slice).

  7. dezren39
    added a commit that references this issue on Nov 23, 2026

    feat(id): PWA snapshot store + offline read restore in the browser shell

    e836c39
  8. developing-today
    added
    status:in-review
    on Nov 23, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — slice 1 landed as PR #12814 (OPEN, branch xaltha/10927-pwa-snapshot-store, commit e836c39, Refs #10927).

    What landed: the snapshot store + offline read restore for the browser shell.

    • New pkgs/id/web/src/world-snapshot-store.ts: per host+world store of {world_id, last applied sequence, participants, rendered view, view revision, records}, validated on load with the frame validators' shape discipline; storage failures swallowed (best-effort).
    • world.ts writes through on snapshot/event/view/completed-records frames and restores on page load and on world switch: the world renders fully offline (participants, view, records) with an "Offline — saved snapshot" read-only status, and the join after a reload presents the stored sequence as after instead of restarting at 0.

    Evidence (sandbox, bun/vitest): new world-offline.test.ts 5/5 (store round-trip + rejection, write-through, offline render after reload, reader-not-writer offline, resume-after-reload); the 2 behavioral tests fail on origin/main for the right reason and the write-through mutation is caught; full web suite 871 passed / 9 skipped / 0 failed; typecheck clean; suite-registry check has no complaint for the new test file.

    Criteria after this slice:

    • Snapshot store: DONE (pending merge).
    • Journal-snapshot offline read: DONE (pending merge).
    • Reconnect by last-applied sequence: DONE across reloads (pending merge); in-session reconnect already existed.
    • Re-snapshot on divergence / history-identity check: OPEN — the snapshot frame carries no history identity today, so this needs host/contract support first.
    • Push as re-sync hint (F12.5 provider): OPEN — the record's follow-on slice 4.
    • Conformance run: OPEN.

    Next slice, in the same form: after a host/contract change gives the snapshot a history identity, cd pkgs/id/web && bun run test shows the shell discarding a stored snapshot whose identity mismatches the host's and taking a fresh snapshot instead of resuming.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Refs #10931. The browser shell's recorded session (this issue's slice 1) is one of the two remaining sessions blocking the shell-suite close-out on #10931. Once it lands, add its session path to pkgs/id/contract/shell-suite.v1.json.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Refs #10930 — the client.notify hint executor slice landed via PR #13837 (merged d31455b): NotifyExecutor + notify_needs_resync live in id-native-shell's ProviderAdapter. The remaining notify-then-resync behavioral wiring builds on this issue's catch-up seam when it lands.

  12. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #12814 from developing-today/xaltha/10927-pwa-snap…

    3ca74e5
  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — triaged, task 22051 (lane any-n, 2026-11-24)

    • Verdict: partially resolved, no new packet routed (recorded exception). Slice-1 implementation merged via PR feat(id): PWA snapshot store + offline read restore in the browser shell (#10927 slice 1) #12814 (MERGED): snapshot store + offline read restore + reconnect-by-stored-sequence in the browser shell, with world-offline.test.ts 5/5 and full web suite green at merge time.
    • Remainder and where it lives: (a) browser session path in pkgs/id/contract/shell-suite.v1.json is still null — that registration belongs to the shell-suite close-out id(phase-14): shells v1 slice 5 — conformance-suite packaging for v1 shells (#6296) #10931 (OPEN, status:in-review), which has live coverage: suite PR id(phase-14): package the v1 shell conformance suite (#10931) #12937 MERGED 2026-11-23 plus queued triage task 22942 filed today; a packet here would duplicate it. (b) History-identity re-snapshot slice is OPEN but blocked on host/contract support (snapshot frame carries no history identity) with no tracking issue for the host side — routing an implementation packet now would strand it; it belongs behind the host/contract change or the id(phase-14): shells v1 slice 5 — conformance-suite packaging for v1 shells (#6296) #10931 close-out.
    • Fresh verification: id(phase-14): shells v1 slice 1 — PWA offline read model + catch-up in the browser shell (#6296) #10927 OPEN (status:in-review kind/feature priority/low queue/queued app/id epic/id-platform design/id-phase-14 epic/id-program); only queue item is this triage task; no open PR references the issue.
    • Tracking: Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158 (coverage reconciliation pass 2).
  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage — agent-next-21-local, queue task 24338 (2026-11-26; verified against origin/main 5ea4cc6).

    Verdict: still live; routed to slice task 24504.

    • PR feat(id): PWA snapshot store + offline read restore in the browser shell (#10927 slice 1) #12814 merged the browser offline snapshot store and offline read restore.
    • PR feat(id): record the browser shell's session in the shell conformance suite #15418 merged the recorded browser session. The current shell-suite.v1.json records browser and hardware sessions, and id(phase-14): shells v1 slice 5 — conformance-suite packaging for v1 shells (#6296) #10931 is closed after the suite close-out.
    • The remaining continuity check is not covered by the current browser resume test: world-snapshot-store.ts persists world id and sequence but no journal history identity; world.ts retains resume_token only in the in-memory screen resume unit. That token supports a retained screen patch baseline, but the browser test does not prove a reload detects a rewritten journal with overlapping sequence numbers.
    • Slice task #24504 is queued for local host/contract plus browser continuity identity or an authoritative fresh-snapshot path, with a regression for rewritten-history divergence. It does not include push wiring (id(phase-14): shells v1 slice 4 — notification capability provider (F12.5) for the mobile shell (#6296) #10930) or hosted/quota behavior (id: F12.10 fair scheduling and per-account quotas #1067).

    Issue remains open. queue/queued matches the new live queue task. No test suite was run for this read-only triage; evidence is the current main source, contract manifest, and merged PRs above.

  15. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Progress — task 24504, branch code-i/24504-history-identity (commit d17e4a7fb31). Chosen conservative path: no durable journal identity exists, so a restored offline snapshot or any disconnected reconnect now asks for a fresh authoritative snapshot and omits the stale screen resume token; a live continuous socket still processes its event stream normally. The host also requires a snapshot for cursors ahead of the current journal. Added regression coverage for rewritten history with overlapping sequence numbers and for continuous live events after the fresh snapshot. Focused Fleet browser and Rust runs are in progress: dezren39/fleet#45912138390 and dezren39/fleet#45912137630. No hosted surface touched.

  16. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Task 24504 implementation is now in draft PR #15812: #15812. The offline-reload oracle was red before the change (run dezren39/fleet#45911772962 observed stale after: 5); after the change, the focused browser files passed 20/20 on the branch (run #45912138390). I merged current main into the branch and am rerunning browser/typecheck plus the host guard and v1 shell-suite together on that merged head (#45913176409 and #45913176922 are still running). Chosen safety behavior is conservative: without a durable history identity, reconnect requests an authoritative snapshot/full view; live events continue normally after that point. No hosted surface or quota behavior touched.

  17. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    Task 24504 verification complete; PR #15812 is ready for review: #15812. On the merged branch, Fleet run #45913176409 passed the focused browser tests plus TypeScript typecheck, and run #45913176922 passed the ahead-cursor host test and v1 shell-suite command. Suite output: terminal 5 frames PASS; browser 19 frames PASS (recorded session); native 7, hardware 6, TUI 11; 5/5 shells passed. The failing-first offline-reload test observed the old after: 5 behavior before the fix. The browser now requests a fresh authoritative snapshot after offline restore/disconnect; live stream processing continues after the snapshot. No hosted surface or quota behavior touched.

  18. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Closing as implemented — 2337-I (queue task 25593)

    Task 25593's park condition was "after PR #15812 merges, reassess remaining acceptance". PR #15812 has merged, and on fresh re-verification every criterion in this issue's scope is now landed:

    • Snapshot store + journal-snapshot offline read + reconnect by last-applied sequence: PR feat(id): PWA snapshot store + offline read restore in the browser shell (#10927 slice 1) #12814 MERGED 2026-11-24 (merge 3ca74e5) — snapshot store, offline read restore, resume-from-stored-sequence, world-offline.test.ts 5/5 at merge.
    • Re-snapshot on divergence: PR fix(id): re-snapshot browser after reconnect gaps #15812 MERGED 2026-11-27T05:08:56Z (merge a0b627b) — the record's allowed alternative shape: no durable history identity exists, so a restored/disconnected shell requests a fresh authoritative snapshot (rewritten-history regression with overlapping sequences; failing-first oracle observed stale after: 5 pre-fix). Verification re-read by this lane via gh api: dezren39/fleet runs 45913176409 (focused browser tests + typecheck) and 45913176922 (ahead-cursor host test + v1 shell-suite, 5/5 shells) both completed/success on head 805d4fb4.
    • Push as re-sync hint (F12.5 provider): the designated follow-on slice id(phase-14): shells v1 slice 4 — notification capability provider (F12.5) for the mobile shell (#6296) #10930 is CLOSED as COMPLETED (2026-11-27T01:57Z) — registry/conformance feat(id-caps): register client.notify provider for the mobile shell (#10930) #12891, executor feat(id-native-shell): client.notify executor + notify-then-resync check (#10930) #13837, PWA notify-then-resync wiring id(web): resync from client.notify hints #15104, all merged.
    • Stop rule id: F12.10 fair scheduling and per-account quotas #1067: not triggered — every slice here is local-first (pkgs/id/web / local host); no hosted surface or quota behavior was touched, per the slice notes on this issue. id: F12.10 fair scheduling and per-account quotas #1067 remains open on its own track and does not gate this local slice.
    • Conformance + behavioral gate: v1 shell-suite 5/5 shells passed in run 45913176922; id(phase-14): shells v1 slice 5 — conformance-suite packaging for v1 shells (#6296) #10931 shell-suite close-out is CLOSED.

    fleet queue verify-disposition for #10927 with PRs #12814/#15812/#15104 returned merged_verified. Closing this issue as completed; queue task 25593 completes with that disposition.

  19. dezren39
    closed this as completedon Nov 27, 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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-platformEpic: id-platform - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/lowNice to have; do when convenientqueue/queuedHas a queued queue taskstatus:in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.