Skip to main content

Crate tokmd_envelope

Crate tokmd_envelope 

Source
Expand description

§tokmd-envelope

Tier 0 (Cross-Fleet Contract)

Defines the SensorReport envelope and associated types for multi-sensor integration. External sensors depend on this crate without pulling in tokmd-specific analysis types.

§What belongs here

  • SensorReport (the cross-fleet envelope)
  • Verdict, Finding, FindingSeverity, FindingLocation
  • GateResults, GateItem, Artifact
  • Finding ID constants

§What does NOT belong here

  • tokmd-specific analysis types (use tokmd-analysis-types)
  • I/O operations or business logic

Modules§

findings
Finding ID registry for sensor outputs.

Structs§

Artifact
Artifact reference in the sensor report.
CapabilityStatus
Status of a capability for “No Green By Omission”.
Finding
A finding reported by the sensor.
FindingLocation
Source location for a finding.
GateItem
Individual gate item in the gates section.
GateResults
Evidence gate results section.
SensorReport
Sensor report envelope for multi-sensor integration.
ToolMeta
Tool identification for the sensor report.

Enums§

CapabilityState
State of a capability.
FindingSeverity
Severity level for findings.
Verdict
Overall verdict for the sensor report.

Constants§

SENSOR_REPORT_SCHEMA
Schema identifier for sensor report format. v1: Initial sensor report specification for multi-sensor integration.