Skip to content

feat(dialogue): load bound authored Guide stories - #300

Draft
lusu007 wants to merge 15 commits into
mainfrom
feat/dialogue-host-registration
Draft

lusu007 wants to merge 15 commits into
mainfrom
feat/dialogue-host-registration

Conversation

@lusu007

@lusu007 lusu007 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Guide Story files can now supply the graph and translations used by the actual Lobby dialogue owner. A complete authored map starts only when its captured catalogue, explicit NPC binding and deployment-anchored finite Guide host agree; invalid Story content or a mismatched host prevents that Story map becoming ready. Maps without authored sidecars retain compiled Guide/Stage behavior, including dialogue-only denial for a legacy configured host mismatch.

The operator exports the host profile first with --dialogue-host-contract grounds:lobby-guide; authors then pin that exact profile and copy its host snapshot into the map sidecars. Story IDs select content independently of the finite provider contract. Metadata export cannot start sessions. The eight-field E1 envelope, schema-1 private binding and five independent artifact generation pins are unchanged.

Startup captures bounded immutable Story files and revalidates the definitions against the actual installed menu registrations and runtime generation before opening admission. Sessions use graph-scoped locales and the graph default, preserve progress during live language changes, and bind to the original local connection. Original queued menu futures are cancelled after abort, disconnect or instance movement; completion delivery returns through the host scheduler without service/owner lock inversion. Existing Guide voice assets and volume are preserved.

Configured admission retains strict artifact/ZIP/provenance checks, Linux opened-JAR inode/digest verification and a closed startup gate. Configure both GROUNDS_DIALOGUE_DISTRIBUTION and GROUNDS_DIALOGUE_BINDING_SHA256; configured verification requires Linux /proc, the standard application classloader and an executable kept read-only and unmodified for the JVM lifetime.

Validation at 33205a92c38a39953e659cc76f97b89e9251d32a (Java Build, Docker Build and CLA green):

  • Required escalated Java25 test, spotlessApply and serial build passed; normal suite: 315 tests, zero failures/errors, six existing licensed-fixture skips. Python builder tools: 40 tests passed.
  • Fresh private source build: all 315 tests passed with zero skips, accepting all 15 licensed models and the unchanged Stage qualification scene.
  • Thirteen isolated final-JAR authored cases passed: Message/choices with two independent local players, immediate Action, immediate End, declared fr-CA, escaped literal text, plus rejection of profile/speaker/provider/translation/primary-ID/anchor mismatches and unsupported placeholders in translations or optional speaker labels. The graph-scoped resolver and owner cleanup are checked against actual composed content.
  • Twelve built-in final-JAR controls passed, including unconfigured compatibility, actual installed-service provenance, changed scene/profile/content, foreign catalog, closed gates and atomic executable-path replacement.
  • Module readiness denial, live locale refresh without resetting progress, same-UUID reconnect and deferred menu UI cancellation on abort/disconnect/world movement are covered by the lifecycle/session suite. Final-JAR subprocess proof covers composition and gates, not full LobbyModule installation or native-client behavior.
  • Independent task reviews approved; whole-increment review found text substitution, language-less locale fallback and legacy multi-NPC Stage export defects, corrected with regressions; scoped fix review confirms all findings addressed with no new breakage. Existing Java25 native-access warning noise remains a tooling follow-up.

This is the first authored Guide runtime slice. It does not activate Maps Story runtime availability, attest Story transport/image compatibility, deploy, release or change live map/pack/flag pins. Final-JAR probes exercise composition, local players and admission without a native client or listener; full native-client and upload-to-target qualification remain separate.

E1 companions remain Drafts. Buildsystem and Portal depend on the Maps API: service-maps #121, buildsystem #47, grounds-portal #631.

@lusu007 lusu007 changed the title feat(dialogue): share host providers across runtime and profile feat(dialogue): export bound private host profiles Nov 24, 2026
@lusu007 lusu007 changed the title feat(dialogue): export bound private host profiles feat(dialogue): verify bound lobby host profiles at startup Nov 25, 2026
@lusu007 lusu007 changed the title feat(dialogue): verify bound lobby host profiles at startup feat(dialogue): load bound authored Guide stories Nov 25, 2026
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