Skip to main content

Module plane_feature_guard

Module plane_feature_guard 

Source
Expand description

Classifier & Symbolic Feature-Bag Plane Guard (Packet IDF-05 — F6 §§1–16).

Enforces strict plane separation (Who, Claim, SpatiotemporalHandle, Instrument, Policy) and closed KeyRoleTag validation before any feature vector or symbolic binding bag reaches a classifier, GNN, or policy engine.

§Zero-Heap Guarantee

All types and validators operate over borrowed slices (&str, &[TaggedFeature]) without heap allocation.

Structs§

TaggedFeature
A single feature descriptor inside a classifier or symbolic-binding feature bag.

Enums§

FeatureGuardError
Deterministic fail-closed errors emitted by validate_feature_bag.
KeyRoleTag
Closed 7-variant key-role enumeration (F2 §12 / F6 §7). Any unrecognised role string MUST fail closed to FeatureGuardError::HeldUnknownKeyRole.
PlaneTag
Top-level ontological plane tag for every feature in a symbolic/classifier bag.

Functions§

validate_feature_bag
Validate a slice of TaggedFeature descriptors in zero-heap fashion.