description: "The runtime-diagnostics group map: package-owned runtime invariant checks for live compositions, for users and maintainers navigating the group."
English | 中文
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.
| Package | Role | ctx key |
|---|---|---|
invariants |
Runs package-owned runtime checks and reports each failure by owning package | registers on ctx.invariants |
./invariant companion rule every package follows.