Public declaration syntax from forge-rs/harness-runtime/src/planes/context.rs Original source SHA-256: 0cedde4816776d414e266e0367e8c78e4102ef04771caf499c2e8b1e39bdd285 Function bodies and constant values are omitted. This is not the complete implementation. Source line 15 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct ContextRequest { /// Tenant scope from `[context].scope`. pub scope: ContextScope, /// The task text the frame is packed around. pub task: String, /// Hard cap for the packed frame, from `[context].frame_budget_tokens`. pub frame_budget_tokens: u64 } Source line 26 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct ContextFrame { /// The packed frame content delivered to the inference plane. pub packed: String, /// Actual frame size in tokens. The runtime rejects the frame when /// this exceeds the declared cap (ยง5.6). pub tokens: u64 } Source line 36 #[async_trait] pub trait ContextPlane: Plane { /// Pack the governed context frame for one run. async fn pack_frame(&self, request: ContextRequest) -> Result; }