topmark.diagnostic.machine package index¶
topmark / diagnostic / machine
Machine-output helpers for diagnostics.
This package contains reusable diagnostic schemas and NDJSON shape builders used by multiple TopMark domains when emitting machine-readable formats.
Layers:
- schemas: Typed payload schemas for JSON envelopes (for example,
MachineDiagnosticEntryandMachineDiagnosticCounts). - shapes: NDJSON record builders that operate on internal
Diagnosticobjects and yield one record per diagnostic.
Notes
This package intentionally re-exports only the shared NDJSON shape helper
(iter_diagnostic_ndjson_records). Typed payload schemas remain available
from topmark.diagnostic.machine.schemas
so callers can be explicit about which layer they depend on.
See Also:
- topmark.core.machine: shared machine-readable output primitives
(keys/kinds/domains, envelopes/records, normalization, JSON/NDJSON serialization helpers).
Immediate children in this package¶
- topmark.diagnostic.machine.envelopes
- NDJSON envelope builders for diagnostic machine-readable output.
- topmark.diagnostic.machine.schemas
- Typed payload schemas for machine-readable diagnostics.