Skip to content

feat(maps): validate dialogue content during map derivation - #121

Draft
lusu007 wants to merge 20 commits into
mainfrom
feat/e1-dialogue-validation
Draft

lusu007 wants to merge 20 commits into
mainfrom
feat/e1-dialogue-validation

Conversation

@lusu007

@lusu007 lusu007 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Map uploads currently do not attest dialogue files against the public validator and the selected Grounds host profile. This adds bounded Story discovery and validation to the existing derive worker, persists immutable per-attempt evidence, and exposes exact-version diagnostics.

Publication, fork and new pin boundaries enforce the same proof. Statically valid Story versions remain blocked with DIALOGUE_RUNTIME_UNAVAILABLE until the real runtime integration exists. The mandatory-validation flag stays off by default.

The branch incorporates main through 2201da87, including all six dependency updates, persisted Lobby dialogue scenes and plugin-lobby-scene-catalog:2.25.0 with action revision 4. Scene is 1.0.1; the public static Dialogue validators remain pinned to 0.1.0. Shared CI fixture connections now declare their existing close semantics explicitly; this independent repair passed full isolated qualification in #125. The Native verification flow keeps the API stopped during SQL-only operator fixtures and removes their synthetic rows before restarting background lighting. E1 Story proof and blocked-activation cases remain in the same packaged-image qualification.

Aggregate requalification on c5b0bfb013d29c1b4ca0269bc6b32edbb2c6c463: required Java 25 Gradle test, spotlessApply and build commands all passed without retries; both standalone and build test runs completed 687 tests with zero failures/errors/skips. Java, Docker, Native and CLA CI all passed, including packaged-image Story proof and blocked-activation contracts. The original E1 qualification also exercised the published Dialogue CLI with matching ContentPin. Independent reconciliation review found no consumer changes required: the Maps API projection is unchanged and Buildsystem/Portal fixtures remain byte-identical. The previously deferred minor SQL CHECK limitation for malformed manual JSON writes remains unchanged; typed writers and fail-closed reads are covered.

Rollout: fence/drain pre-E1 writers before V11, then introduce compatible readers/consumers and schema-2 scheduling. Prepare a checked pure-map version before enabling required new pins. No deployment, release or existing map/asset pin changes in this PR.

Approved plan and qualification details: https://grounds.atlassian.net/wiki/spaces/gkd/pages/328826882

Companion changes: buildsystem #47, grounds-portal #631.

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