henryZhouLikeStudy/dsh-lattice-runtime

henryZhouLikeStudy★ 1TypeScript最后同步: 2026-08-14

在 GitHub 打开

DSH Lattice V1 runtime: event store, mailbox, session engine, state machines and security

README 摘要

dsh-lattice-runtime Runtime engine for DSH Lattice V1. Scope This package implements the runtime side of the DSH Lattice contract: - In-memory and durable JSONL append-only event stores with replay and atomic append semantics. - Task and Assignment state machines. - Central durable mailbox with direct/group/broadcast routing, offline outbox, dead-letter queue, TTL, ack, at-least-once delivery, and deterministic idempotent deduplication. - Adapter registry and required-vs-observed capability negotiation. - Session decision engine (auto/reuse/fork/new) with compatibility fingerprint, fail-loud forced reuse, and deterministic handoff bundles. - LatticeRuntime with utoRun , agentMessage , status , cancel , and recover . - Event projections and secret-safe structured errors. All external side effects are kept behind adapter interfaces; tests use fake adapters. Usage License Apache-2.0. See LICENSE and NOTICE.

在 GitHub 查看完整 README →
工具/开发dsh-pluginagent

分类