Physics-Inspired Relational Intelligence Architecture
PIRIA PIRIA

MVP runtime core. ORB graph state snapshotted, immutable events appended to WAL, hash-verified on boot. Single-node persistent cognitive graph with attention-bounded traversal.

src/orb.rs
ORB model and integrity semantics
→
src/clock.rs
HLC and vector clock utilities
→
src/traversal.rs
Attention-bounded graph traversal engine
→
src/entropy.rs
Entropy monitoring skeleton
→
src/runtime.rs
Single-node runtime wiring ORBs, events, traversal
→
src/storage.rs
JSON snapshot + JSONL event WAL persistence
→
src/crdt.rs
CRDT merge state skeleton
→
src/event.rs + error.rs
Event model, ORB event log, shared error types
→
  • Graph state snapshotted to .piria/graph_snapshot.json
  • Immutable events appended to .piria/events.jsonl
  • WAL events are hash-verified and reconstructed on boot
  • Runtime can create ORBs, add relations, update belief fields
  • Traverse the graph and observe entropy
CONFIDENTIAL BUILD v.01
RUNTIME_TELEMETRY [0x]
ORBS_ACTIVE —
EVENT_LOG_LEN —
ENTROPY_INDEX —
TRAVERSAL_DEPTH —
SNAPSHOT_SIZE —
CLOCK_DRIFT —
ORB_RELATION_MAP
LIVE_WAL_FEED
> Booting runtime...
> Mounting .piria/graph_snapshot.json
> Verifying WAL hashes...
> Hash check: PASS
> ORB graph loaded.
> Entropy baseline set.
>
ARCH_MODULES
  • Cargo.toml manifest
  • main.rs entrypoint
  • lib.rs core modules
  • orb.rs + clock.rs
  • event.rs + storage.rs
  • runtime.rs + traversal.rs
  • crdt.rs + entropy.rs