Skip to content

specs/worlds/reference.feature

Explanatory catalog examples; parser validation is not runtime execution.

Download original Gherkin

# SPDX-License-Identifier: Apache-2.0
@world_contract
Feature: Versioned world contract
  A world contract defines selection and evidence independently of geometry or consumer implementation.

  Scenario: A consumer selects a versioned world
    Given a world identifier and immutable content version
    When a consumer resolves the selected world through its world-content interface
    Then it uses the selected world declaration or reports it as unsupported
    And it does not silently substitute world content

  Scenario: A scenario author uses selected-fixture conventions
    Given a selected world with declared metric frame and placement conventions
    When a scenario author records a pose or probe request
    Then the request uses the selected world's declared frame and permitted region
    And an unsupported placement is reported clearly

  Scenario: A verifier evaluates selected-fixture evidence
    Given a selected world with declared geometry, surfaces, reset, and collision expectations
    When a verifier evaluates a consumer record
    Then it assesses the declared expectations and retained evidence
    And it keeps world conformance separate from system behavior

  Scenario: A reviewer inspects retained conformance results
    Given a completed world-conformance evaluation
    When a reviewer opens its result
    Then the result identifies the world, contract, consumer, and evidence digests
    And missing or unsupported evidence is reported clearly

  Scenario: A consumer meets an unsupported world feature
    Given a selected world that declares a feature the consumer cannot represent
    When the consumer loads the selected world
    Then it returns an unsupported result naming the feature
    And it does not drop or approximate the feature and report a pass