arXiv:2610.12033cs.ROOct 2026

Manuscript Offprint

arXiv:2610.12033

Traceable World State: A Provenance-Aware State Representation and Deterministic Replay Framework for Robotic Systems

Zoe Li

Zoe Li

Independent Researcher

Seattle, WA, USA

zoeli4@siggraph.org

Abstract—Robotic systems operating over extended tasks must maintain a world state assembled from observations that arrive at different times, carry different confidence levels, and may later be revised. Conventional scene representations commonly emphasize the latest estimated state, making it difficult to determine where a fact came from, reproduce an earlier decision context, or detect corruption in a recorded execution.

This paper presents Traceable World State (TWS), a middleware-neutral semantic representation and reference runtime for provenance-aware robot world state. A TWSsnapshot represents entities, relations, observations, confidence, and revision metadata. Validated update operations transform snapshots without mutating their inputs. Ordered updates can be replayed deterministically, while a canonical SHA-256 hash chain makes stored event logs tamper-evident.

We evaluate the prototype through schema and semantic conformance tests, complete manipulation-state lifecycles, deterministic replay, and targeted fault injection. The current implementation passes 38 tests on Python 3.10, 3.12, and 3.14. The evaluation detects corrupted updates, broken hash links, sequence discontinuities, world mismatches, revision discontinuities, and malformed records. The results support TWSas a compact foundation for reproducible robotic state-management experiments, while leaving middleware integration, multi-writer coordination, and trusted external checkpoints to future work. Across a deterministic sample of ten public BEHAVIOR-1K task definitions, TWSimported 153 entities and 146 relations, and all generated snapshots passed runtime and command-line validation. On 103 public NVIDIA Unitree G1 simulated trajectories containing 78,369 source frames, TWSachieved exact terminal-state replay in 103/103 episodes and detected all 412 injected record corruptions with 1.72% storage overhead over Plain JSONL.

Index Terms—robotic systems, semantic state, provenance, middleware-neutral frameworks, deterministic replay, event logs, reproducibility

I. INTRODUCTION

A robot rarely receives a complete and perfectly consistent description of its environment. Instead, its world state is assembled incrementally from cameras, force sensors, learned perception models, task interfaces, and prior state. Observations may be delayed, uncertain, contradicted, or reinterpreted. These conditions are particularly important in long-horizon manipulation, where a failure may occur many state transitions after the observation that caused it.

Many robot systems expose a convenient current-state interface, but the latest state alone is insufficient for answering questions such as: Which observation supported this relation? What confidence was assigned when a planner selected an action? Which update changed an object identity? Can the state used in a failed run be reproduced? Was a stored execution log modified after collection?

Existing knowledge-processing systems provide rich semantic reasoning [1], [2], while semantic mapping and scene-graph research structures spatial and object-level knowledge [5], [6]. Robot middleware provides communication and execution infrastructure [11]. These capabilities are valuable, but they do not by themselves define a compact, middleware-independent contract for traceable state transitions and verifiable replay.

We introduce Traceable World State (TWS), a semantic data model and reference runtime designed around explicit provenance, immutable updates, revision continuity, and deterministic replay. TWSis not a planner, perception system, or control framework. It is a boundary between these components: producers publish evidence-backed updates, and consumers receive validated snapshots with an auditable history.

The scope is a middleware-neutral state-management framework and reference runtime. Humanoid tasks provide application cases rather than a hardware requirement. The evaluation tests representation, transition semantics, replay integrity, and computational overhead; it does not establish perception accuracy or closed-loop task performance.

The contribution is the state-update contract that connects evidence references, semantic invariants, revision continuity, and replay. JSON Schema validation and SHA-256 hashing are established components used to implement that contract, rather than new algorithms introduced here.

The contributions of this work are:

• A versioned semantic representation for entities, relations, observations, confidence, provenance, and world revisions.

• A deterministic update engine with explicit invariants for identity, references, operation payloads, and revision continuity.

• A tamper-evident JSON Lines event-log format based on canonical serialization and a SHA-256 hash chain.

• A reproducible conformance and fault-injection evaluation covering complete state lifecycles and invalid-log conditions.

The implementation intentionally avoids dependencies on ROS, a specific simulator, or robot hardware. This permits its use as a portable experiment artifact and as a future interoperability layer for humanoid systems.