Skip to content

id(phase-14): shells v1 slice 2 — first native shell (Linux desktop) on the shared frame layer (#6296) #10928

Open

Description

@dezren39

Scope

Implement the first native shell (Linux desktop) on the shared Rust frame layer with native presentation, per the record (written as input to F13.6, issue #788). Mobile-native is deferred to the v2 rung (#6297) with the reason stated in the record — not this slice. Done = the shell's capability statement recorded, its conformance run wired into the check, plus behavioral checks for its required workflow.

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.

Activity

  1. added
    kind/featureNew feature or capability request
    priority/lowNice to have; do when convenient
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    epic/id-platformEpic: id-platform - all issues of this effort carry it
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

    @developing-today
    Contributor
  3. added
    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. removed their assignment
    on Nov 20, 2026
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Pickup — xaltha (fleet seat), 2026-11-22.

    Claim check: issue OPEN, no assignees, no claims in comments, no open PR. Auditing the issue's Done against current main (9794191) before slicing:

    • Conformance run wired into the check — already landed. Suite id.native-shell.transcript in .github/test-suite-registry.json: nix flake check ./pkgs/id check test-native-shell runs cargo nextest -p id-native-shell (CI check_each / test-native-shell); tests/transcript.rs checks the recorded session against the F13.1 contract.
    • Behavioral checks — already landed with the F13.6 step-2 work in id-native-shell: tests/parity.rs (frame/presentation parity with the terminal shell) and tests/live_session.rs (one game through both the native loop and a terminal-style client, host journal as oracle).
    • Capability statement recorded — MISSING. No shell has a recorded capability statement in the contract's terms (frames sent / server frames presented / providers declared). This is the remaining Done element and the slice I am landing: a machine-readable statement for the Linux desktop native shell plus a test that pins it to the contract and to the code's actual builders, session fold, and provider adapter, so it cannot drift silently.

    Dependency judgment on slice 1 (#10927 / PR #12814): none — that slice is the browser shell's web snapshot store; this shell is the native Rust crate and stands alone. #1067 stop rule: not triggered — no hosted surface; the shell is local-first and the statement records it as such.

  6. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress — xaltha, 2026-11-22: PR #12884 (Closes #10928) is open.

    The slice records the shell's capability statement, the one Done element that was missing (audit of the other two is in the pickup note above and the PR body):

    • pkgs/id/crates/id-native-shell/capability-statement.json — sends (9 client kinds), presents (9 server kinds, error as session refusal), one declared provider (client.file.read), local-first posture, exclusions by name.
    • tests/capability_statement.rs — pins the statement to the contract and to the code's builders / session fold / provider adapter so the record cannot drift silently.
    • README "Capability statement" section.

    Verification (laptop, nix develop + fleet-build-lock, head 52158d2d8): cargo test -p id-native-shell 73 passed, 0 failed (capability_statement 4/4; lib 49; form_widgets 6; live_session 1; parity 3; provider_file_read_e2e 6; transcript 4); clippy --all-targets 0 errors; rustfmt clean; the new test is covered by the existing id.native-shell.transcript registry suite paths.

    What remains on the v1 shells record after this: follow-on slices 3 (ESP32 spike), 4 (notification provider), and 5 (conformance-suite packaging) are separate issues, not this one. Nothing remains on #10928 itself once #12884 merges.

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 task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions