Expand description
Scripted walks — the engine as its own conformance oracle.
A Script is a recorded path: start at a Locator, then step through named
veils. walk drives a real Navigator
(resolve → load → veilwalk, background fetch and all) through that script with a
renderer-free loader, and reports the worlds it actually landed in. That makes
it a deterministic, headless check that the engine navigates a corpus the way it
was authored — dogfooding Loom as the oracle, no GPU and no browser required.
use thread_engine::walk::{walk, Script, Step};
let script = Script {
start: "thread://nexus.pixygon.io/nexus".into(),
steps: vec![Step::ByLabel("The Forge".into())],
};
let outcome = walk("worlds", &script, 4000);
assert_eq!(outcome.visited, ["The Nexus", "The Forge"]);Structs§
- Script
- A recorded walk: where to start, then the veils to take.
- Walk
Outcome - What actually happened when the engine walked a
Script.
Enums§
Functions§
- walk
- Drive the engine through
scriptover the corpus atworlds_root, spending at mostmax_framesupdate ticks total. Returns where it landed.