READMESource: main@cb2c8f60
dsh-lattice-protocol
Versioned canonical schemas, types, validators, and contract-test fixtures for DSH Lattice V1.
Scope
This package defines the normative data contract for DSH Lattice:
- Canonical types for
Project,Run,Room,Agent,Task,Assignment,Message,Result,Artifact, andSessionLink. - Events, deterministic result/error envelopes, adapter manifests, capabilities, and session modes.
- JSON Schema export and runtime validators.
- RFC 2119 invariants and reusable contract-test fixtures.
Usage
import {
projectSchema,
runSchema,
DEFAULT_RUN_TIMEOUT_MS,
makeIdempotencyKey,
} from "dsh-lattice-protocol";
const parsed = projectSchema.safeParse(rawProject);
No comments yet. Be the first to write one.