Draft normative document. Subject to breaking change before the first release.
ThreadMesh defines coordination semantics between addressable tasks. It does not prescribe a network transport.
The draft is executable but incomplete. Schemas and fixtures cover envelopes, capabilities, dispositions, grants, summaries, audit events, adapter submission receipts, and selected state transitions. The remaining milestone and review gates are summarized in the project status.
A conforming implementation provides:
- stable task identities;
- an advertised capability document;
- explicit task relationships or authorization grants;
- message envelopes with provenance and expiry;
- idempotent delivery;
- receiver dispositions;
- freshness checks for
steerandinterrupt; - an audit trail for state-changing requests;
- explicit unsupported behavior.
Informational. A receiver MAY display or store it without making it model-visible. It MUST NOT change the active objective merely by being delivered.
Advisory. A receiver MUST retain the right to accept, reject, defer, or mark it stale. Peer coordination defaults to this intent.
State-changing. A receiver MUST verify authorization and freshness before submitting it to an active run. Delivery alone is not adapter submission.
Cancellation request. A receiver MUST verify elevated authority and report whether cancellation succeeded, failed, or was only requested. It MUST NOT be downgraded to ordinary prompt text.
npm test validates schema compilation, 55 positive/negative fixture cases,
7 transition cases, an authenticated serialized JSON-RPC path, a restart-safe
local event stream and redacting provenance inspector, crash-safe
submission reconciliation, typed partial interruption, real Ed25519
attestation verification against a pinned conformance trust anchor, and two
mock harness profiles. It does not yet validate production network
authentication, trust-store operations, or real-product cross-harness behavior.