Skip to content

Add an opt-in sandboxed Mac Store preview with a local host - #119

Merged
BunsDev merged 5 commits into
mainfrom
store-preview
Oct 5, 2026
Merged

BunsDev merged 5 commits into
mainfrom
store-preview

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Scope: opt-in development preview

Val approved landing this preview after implementation verification. This is a separate sandboxed MAS client and an explicitly started local host; it is not a Mac App Store or macOS TestFlight release. Normal desktop startup leaves the host disabled.

Implementation

  • Reuse the existing React workspace, official identity and Jev palette in a separate MAS client.
  • Add a dedicated loopback HTTPS host over the existing desktop handlers, with explicit native consent, single-use invitations, pinned TLS identity, hashed per-client grants and revocation. Phone credentials cannot authorize desktop commands.
  • Keep credentials in the client main process with OS encryption, reconnect automatically, preserve drafts during outages and use Store-owned updates.
  • Keep all real coding turns and terminals owned by the host's existing CLI engine.

Verification at 62604124bea3e526d4a827dae28cd67877164a62

  • Build/typecheck passed; 291 unit tests passed, including browser-origin/Host/grant/protocol boundaries and in-flight revocation.
  • Full desktop E2E: 100 passed; one existing iPhone test timed out at Close context after all functional assertions passed. Its unchanged isolated rerun passed in 6.2 seconds. All five website E2E tests passed. No assertions or timeouts were weakened.
  • Developer ID signed host and Electron MAS client both passed strict deep signature verification; 48 packaged code files matched the tested build. The running client was confirmed sandboxed.
  • Native signed smoke test passed explicit consent/pairing, real OS-encrypted saved access, a scripted approval/edit and diff, a host terminal command, automatic recovery with the draft preserved after an abrupt host restart, client relaunch and revocation that removes saved credentials.
  • The scripted smoke test used an isolated project and no live model. It does not prove live Claude/Codex access or the entire parity matrix.

Remaining distribution gates

  • Full parity and account/real CLI acceptance, fresh-user, sleep/wake and upgrade checks.
  • Graceful host shutdown acceptance: during the abrupt-restart test, SIGTERM closed the listener but left the host process running, so the isolated test host was force-stopped. This is recorded as a limitation, not a fixed shutdown bug.
  • App Review viability for a host-dependent client, distinct macOS App Store Connect record/provisioning, distribution package and verified macOS TestFlight processing/installation.

Evidence and remaining acceptance are tracked in docs/mac-store-preview-plan.md, docs/mac-app-store.md and apps/store-desktop/README.md. Published v0.0.7 and iPhone build 4 are unchanged.

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 5, 2026 11:19pm UTC

Request Review

@BunsDev BunsDev changed the title Draft: sandboxed Mac Store preview with a separate local host Add an opt-in sandboxed Mac Store preview with a local host Oct 5, 2026
@BunsDev
BunsDev marked this pull request as ready for review October 5, 2026 21:42
@BunsDev
BunsDev merged commit 6a81083 into main Oct 5, 2026
5 checks passed
@BunsDev
BunsDev deleted the store-preview branch October 7, 2026 05:59
BunsDev added a commit that referenced this pull request Oct 18, 2026
Val decided on #290. Gate 2 asked for the production host transport and the
sandboxed mas shell to be built. Both landed in #119. The Store also has defined
behavior for an absent, stopped, restarted, disconnected, revoked or outdated
host, with typed recovery for a changed host from #166. The readiness matrix
records that signed acceptance of those cases is partial, so the gate now says
so and links it.

Coven-Harness: Claude Code / claude-opus-5-5
BunsDev added a commit that referenced this pull request Oct 18, 2026
…emented (#296)

* Fold the Local Mac Store section into the Store In flight entry

Val decided on #290. status.md's closing "Local Mac Store development preview
(unreleased)" section repeated the Store entry. Its Store facts now sit in that
entry:
- the development preview (#119);
- recovery pausing on certificate and protocol failures (#166);
- graceful host shutdown and the full parity matrix, added as open items.

The section moves unchanged to a "Status summary" at the end of the October 11
Store recovery review, with links re-based to docs/reviews/. Its third
paragraph, CLI sign-in detection in the shared connection settings, shipped
with #119 in v0.0.8 and stays only in that copy.

The Accepted bullet no longer cites edf52fc for the recovery changes, since #166
introduced them.

Coven-Harness: Claude Code / claude-opus-5-5

* Mark mac-app-store gate 2 as implemented, acceptance open

Val decided on #290. Gate 2 asked for the production host transport and the
sandboxed mas shell to be built. Both landed in #119. The Store also has defined
behavior for an absent, stopped, restarted, disconnected, revoked or outdated
host, with typed recovery for a changed host from #166. The readiness matrix
records that signed acceptance of those cases is partial, so the gate now says
so and links it.

Coven-Harness: Claude Code / claude-opus-5-5

This branch was successfully deployed

1 active deployment
Preview — 7513459f Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant