Skip to content

feat(account): reviewed v2 marketplace staging, owner-grant journal and offline recovery - #116

Merged
m1nsook merged 10 commits into
mainfrom
feat/v2-account-staging-and-owner-consent
Nov 9, 2026
Merged

m1nsook merged 10 commits into
mainfrom
feat/v2-account-staging-and-owner-consent

Conversation

@m1nsook

@m1nsook m1nsook commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Meaningful 1.0.0 milestone — connect #115's signed v2 artifact chain to Account Mode

This is a substantial end-to-end, non-executable v2 review/staging vertical rather than UI-only or signing-only scaffolding.

  • Private Account Mode v2 journal under the owner data root, separate from working v1 Markdown installations: immutable digest-addressed packages, cross-process locking, revision CAS, safe symlink/storage handling, bounded 100-event history, at most four reviewed versions per add-on, offline revoke/uninstall, signed active rollback, no automatic grants.
  • Independently reviewed /v2/registry discovery and real signed GitHub Release download through the existing DNS-pinned/TLS-verified downloader; verify each archive/source/bundle digest, framework compatibility and latest active registry status before staging.
  • Explicit owner approval bound to exact id/version/digest/requested permissions, reauthenticated against an active signed release and private bytes before saving; updates/rollbacks clear all prior grants. Grants are inert metadata and never enable execution.
  • Server-generated Account Mode GET/POST API uses existing owner authentication, same-origin/CSRF checks, JSON size quotas, generic error responses. No endpoint accepts raw source, arbitrary URL or server paths.
  • Native shadcn Account Mode marketplace panel to view v2 reviewed releases, author/reviewer, capabilities, digest, stage/update, approve/revoke permissions, rollback and uninstall. No third-party React imported. Also correct stale v1 UI statements about sidebar/search integration.
  • Typed nextguide/extensions/v2-site-manager exported from the one nextguide npm package, regression tests for revoked/expired/signed packages, malicious archives, private journal attacks, concurrency, denied grants, update/rollback, offline recovery and generated authenticated routes; v2 docs and explicit existing-route refresh instructions.

Important safety limits

The ngapi VPS backend is still v1-only until a private patch is prepared from its actual source. nextguide@0.0.1-alpha.2 also intentionally rejects >=1.0.0 add-on manifests. There is no executable enabled flag, no runtime linkage, no unsandboxed import or installer hook. Production v2 execution still depends on independent reviewer/build verification, cgroup sandbox hardening and Windows/browser isolation gates. No npm publish or VPS deployment is included.

Reuse existing CI for packaged consumer, App Router, Pages Router, Account Mode and GitHub Pages builds.

@github-actions github-actions Bot added area: account-mode Browser-managed Account Mode area: dependencies Dependencies or lockfile updates area: tests Local tests and release acceptance status: triage Awaiting initial review type: documentation Missing, confusing or outdated documentation labels Nov 9, 2026
@m1nsook
m1nsook merged commit b5240ca into main Nov 9, 2026
2 checks passed
@m1nsook
m1nsook deleted the feat/v2-account-staging-and-owner-consent branch November 9, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: account-mode Browser-managed Account Mode area: dependencies Dependencies or lockfile updates area: tests Local tests and release acceptance status: triage Awaiting initial review type: documentation Missing, confusing or outdated documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant