Host authority
Creator code owns rules, scores, UI, turns, votes, story behavior and declared project settings. Manifest capabilities are requests. GenesisHostPolicy supplies independent host grants and ceilings; a manifest cannot raise them.
The deployment owns authentication and actor admission, content policy, storage access, resource admission, billing, wallet state and verified purchases. GenesisHostServices exposes authorization and action-moderation hooks. GenesisMeteringAdapter describes authoritative viewer admission/release integration. A host calls these from its own viewer infrastructure, not from controller-provided times. Sequencer's shared hourly gem pool, split across active authenticated viewers, stays in its private host adapter.
GenesisCommerceAdapter describes registered offers and verified platform receipts. No controller defines prices, adds gems or asserts that a purchase succeeded. Sequencer's managed integration supplies host-owned catalogs, confirmation, wallet reservation, receipts, delivery settlement and refunds. Interfaces use Genesis.commerce.offers() and Genesis.commerce.purchase(offerId,input); controllers grant benefits on the host-only purchase.completed event. Catalogs and prices remain outside portable projects. The portable runner has no wallet or checkout implementation, and managed editor previews simulate purchases.
Keep required billing, exit and reconnect controls outside creator iframes. Filter participant-private state and omit server state from view broadcasts. Public metadata and configuration are not secret storage. Diagnostics are restricted to authors/operators.
Continuous video needs a separate record of observed physical state. Accepted controller state can already contain queued selections, damage or a new location. Idle footage follows the last observed shot instead. Each action's follow-up footage uses that action's immutable outcome, excluding later queued actions. Image readiness, command acceptance, controller timeouts and failed jobs do not establish playback. Advance the physical record on observed playback or an authorized playback-completion barrier, handle duplicate and late callbacks, and reset it with the stream. Future image forecasts remain independent of this record. The managed Worldstreams adapter implements this separation for battle scenes; the portable local runner does not provide the managed stream's persistent projection.
The local runner binds loopback, issues actor tokens, checks same-origin writes, and rejects unsupported file paths. It deliberately supports simulated actor switching for authoring. Replace this with your own authenticated routes before exposing a host to the internet.