Skip to content

Design and prototype a consistent offline documentation snapshot contract #89

Open

Description

@LunaStev

Roadmap: #76

Problem

The public API provides locale lists and individual documents, with no atomic offline-package contract. A client downloading multiple files across a server redeploy can otherwise mix revisions.

Scope

Specify and prototype a public documentation snapshot/export contract: stable revision identity, a manifest of paths/locales and content digests, retrieval consistency, size limits, and a clear response when a referenced snapshot is no longer available. Reuse embedded documentation; do not invent document bodies.

Done

  • Define how one manifest binds all files to a single published revision.
  • Specify translation/English fallback membership and Wave/Whale separation.
  • Demonstrate interrupted downloads, changed deployment revisions, removed paths, and corrupt content using a synthetic fixture/prototype.
  • Define retention, cache validation, and bounded generation costs; compare an export artifact with live API retrieval.
  • Produce the wire-format decision and small follow-up implementation tasks before shipping a new endpoint.

Start: wavedoc/, internal/document/repository.go, internal/web/handler/documents.go. This issue owns the consistency protocol; device cache implementation is a separate roadmap task.

Prerequisites: #77, #78.

Activity

  1. added
    enhancement
    help wanted
    needs testing
    android
    difficulty: expert
    on Sep 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

    androiddifficulty: expertenhancementhelp wantedneeds testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions