Skip to content

EN Developer Lab

Cavanshirpro edited this page Sep 20, 2026 · 2 revisions

Developer Lab — LeoMiniGames v0.7.0

Developer Lab is the local iteration path for RCC packages. It is designed to reduce the publish-install-test loop without turning local development files into trusted/native packages.

What it can inspect

The current v0.7 design can inspect package identity/version/API information, entry point, capabilities, mount mode, locale/save declarations and suspicious publisher/native requests before a local session is launched. Diagnostics carry package/source context so a malformed QML entry can be distinguished from a host failure.

Session-only import

A developer RCC is copied into a hashed session cache, re-hashed before mount and is not silently inserted into the normal installed-content database. A developer package must not shadow an installed/built-in package with the same ID. It does not automatically remount after restart.

Authentication boundary

The current compatible path validates scoped lmg_... developer credentials against the canonical developer endpoint. Raw credentials are used for the request and are not intentionally persisted by DeveloperManager into application settings/files. Authentication redirects are refused and responses are bounded.

A complete browser-to-native OAuth callback flow remains a separate backend integration concern; do not document a session credential fallback as if it were that full flow.

Trust restrictions

Developer-local manifest fields cannot elevate a package to Official/Verified/Native-L3. Local RCC network access is disabled. Native/L3 uses a separate reviewed trust path and exact artifact/provenance binding.

Recommended loop

  1. Build RCC from a clean package tree.
  2. Run static package/manifest validation.
  3. Import through Developer Lab and inspect reported ID/API/capabilities/mount.
  4. Launch and resolve QML diagnostics.
  5. Exercise save/lifecycle, language/theme switching, desktop/mobile input and optional audio/haptics behavior.
  6. Rebuild the RCC; do not rely on stale local resources.
  7. Only then use publisher/upload review flows.

Security interpretation

Developer Lab is a development convenience, not a bypass. The external QML engine is still a privilege-reduction boundary rather than a process sandbox; hostile or pathological QML can consume CPU/memory. Keep real untrusted-code threat models separate from ordinary package debugging.

Canonical sources: SECURITY.md, README.md and current DeveloperManager/external-runtime source.

Clone this wiki locally