Skip to main content

Module world

Module world 

Source
Expand description

Typed variable scope and persistent global store (ADR-0005).

The World is the interop bus between batches and engines: one typed scenario scope plus the persistent GlobalStore (.proef-state.json). Values are typed (mirroring hurl’s Value subset) because captures cross engine boundaries — stringly-typed round-trips would lose numbers and booleans.

Persistence note (core purity): GlobalStore::load / GlobalStore::save are the crate’s single sanctioned IO edge, invoked only by the orchestrating CLI — never from pipeline code. Writes are atomic (sibling temp file + rename) and the state file is created 0600 (TECH-SPEC §11).

Structs§

GlobalStore
The persistent global variable store (.proef-state.json, ADR-0005).
World
One typed variable scope per scenario, layered over the persistent global store.

Enums§

Value
A typed variable value (mirrors the hurl Value subset that crosses the seam).