Skip to content

Diagnostic Codes

SDKs that implement the validation and evaluation pipeline (see the SDK specification) produce structured diagnostics. The following warning codes are defined for v0.1. These are non-normative summaries; the SDK specification is authoritative.

CodeCondition
W-001oatf is not the first key in the document.
W-002A mode passes pattern validation but is not in the known modes registry. Likely typo.
W-003A protocol passes pattern validation but is not in the known protocols set. Likely typo.
W-004Template interpolation references an undefined extractor or an unresolvable message path.
W-005An indicator targets a protocol with no matching actor in the execution profile.
W-006A synthesize block is present. The synthesize feature is reserved for a future version; documents using it may not produce expected results.
W-007An indicator uses the semantic detection method, which is experimental and model-dependent. Cross-tool reproducibility is not guaranteed.

Authors encountering these warnings should review the flagged fields. W-002 and W-003 in particular catch common typos in mode and protocol strings (e.g., mpc_server instead of mcp_server).