@xyo-network/xl1-statement-graph-engine-actor
v0.5.3
Published
Actor-host extraction surface and local sequencing adapters for the XYO Statement Graph engine.
Keywords
Readme
@xyo-network/xl1-statement-graph-engine-actor
Actor-runtime and local sequencing adapters for
@xyo-network/xl1-statement-graph-engine.
The extracted actor-side composition now provides two real local clock backings, a serialized replay controller, a canonical local runner, and locator-backed lifecycle hosts:
MemorySequenceClockkeeps one totally ordered, instantly finalized log in process.ArchivistSequenceClockpersists a tamper-evident chain of transaction/slot pairs in any XYOReadWriteArchivist. Every transaction envelope pins the Statement Graph fold version; missing or older markers fail loudly and require a deliberate log rebuild rather than silently replaying old state.StatementGraphReplayControllertraverses finalized positions, verifies bodies through the canonical SDK, applies them through the neutral engine, and exposes a backing-neutral canonical viewer.LocalStatementGraphRunnershares the SDK's prepared-batch invariants, verifies body retention before append, and materializes each appended batch synchronously through the replay controller. Its dataHash-addressed local backing rejects Claim events carrying$...client metadata; those require an XL1 same-block root-hash carrier.StatementGraphViewerActorandStatementGraphRunnerActorresolve direct clock/body-store seams or derive both from a caller-bound archivist, replay on start, prove readiness, and register the canonical viewer/runner services.
The trusted, unsigned Bound Witness envelope now includes
statement_fold_version. This is an intentional fold-4 persistence break:
pre-fold-4 transaction identities change, and old durable logs fail with an
explicit rebuild error instead of silently replaying subject-less Claims under
new semantics. The host keeps the xl1.statement.* locator monikers, while
Edge-specific schemas and vocabulary remain outside this package.
License
LGPL-3.0-only © XY Labs / XYO Foundation
