packages/runtime-diagnostics

September 4, 2026 · View on GitHub

English | 中文

Summary

The runtime-diagnostics group provides runtime self-checking for DeepSeek Harness compositions: one package, invariants, runs package-owned checks that verify each package's durable event and data relationships while the composition is live. A violation surfaces as an error attributed to the package that owns the relationship; a global switch and package-name filters control which checks run. Use this group's package when a composition should verify its own runtime contracts as part of normal operation.

Table of Contents


Packages

PackageRolectx key
invariantsRuns package-owned runtime checks and reports each failure by owning packageregisters on ctx.invariants


Dev Note

Working context for maintainers — click to expand

None.