Skip to content

Desktop packaged journey: diagnose exact evidence mismatch and pass Mac/Linux #2105

Closed

Description

@integry

Objective

Make the complete packaged Connect journey pass on Linux x64, Linux ARM64, and Darwin x64 from transport epic head e31a4e66a6a304b1d1f41fa3ac7d1a22d7fd6117.

PR #2089 is merged into the transport epic. Its application pair and reprobe phases reach terminal READY on these three targets, but the outer harness replaces success with opaque packaged_connect.smoke_failed category journey-evidence and records: []. The previous poll-count correction was insufficient. This issue owns the shared evidence diagnosis and real correction only.

Requirements

  1. First replace the opaque aggregate with a bounded fixed-enum per-invariant failure code. It must reveal which invariant failed without emitting URLs, request bodies, tokens, credentials, paths, environment values, arbitrary errors, or unrestricted counts.
  2. Use the new evidence or a faithful local reproduction to identify the actual mismatch. Correct the implementation or expectation according to the intended protocol. Do not guess, skip the journey, weaken the proof, or merely accept a broader range.
  3. Preserve credentialless discovery and pairing bootstrap; authenticated REST must carry only the injected bearer and no renderer scope marker; Socket.IO must carry a fresh main-process bearer plus one matching rotating scope in both query and handshake auth.
  4. Preserve two-process scope rotation, exact public identity before first bearer, zero plaintext credential persistence, strict malformed/oversized/expiry/cancel coverage, one activation, and terminal pair plus reprobe dashboard/transport completion.
  5. Keep diagnostics capped and secret-scanned. Add direct regression tests for every new failure code and for the corrected invariant.
  6. No Windows runtime, package, signing, or installer work.

Gates

Run focused lifecycle/evidence tests, exact platform-safe Connect 86/86, native durability 120/120, client/UI/API auth tests, typechecks, diff and secret scans. Require fresh packaged Connect success on Linux x64, Linux ARM64, and Darwin x64. Darwin ARM64 is owned by a separate sibling issue, but shared changes must not regress it.

Run Ultrafix with goal 9 before merge and leave the generated PR open for independent audit.

Integration contract

Target 1953-epic-desktop-transport-api through the base-1953-epic-desktop-transport-api label. Never target main or 1950-epic-cross-platform-dsk. Do not merge the generated PR.

Part of #1950 and #1953. Blocking #2035 and final #1970.

Activity

  1. propr-dev commented on Sep 4, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2105/gpt-5.6-sol-desktop-packaged-journey--20260904-1325-1sq
    • Base Branch: 1953-epic-desktop-transport-api
    • Worktree: issue-2105-20260904-1325-gpt-5.6-sol-1sq

    🔍 Track Task Execution

  2. added a commit that references this issue on Sep 4, 2026
  3. integry commented on Sep 4, 2026

    @integry
    OwnerAuthor

    Implemented by #2107, merged into 1953-epic-desktop-transport-api (0a9484e). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.

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

    AIAI-donebugllm-codex-gpt56-sol

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions