pub enum HostCommand {
Cancel(CancelCommand),
ForceCompact(ForceCompactCommand),
UpdateTask(UpdateTaskCommand),
ApplyCapabilityPatch(ApplyCapabilityPatchCommand),
ApplyKnowledgeMutation(ApplyKnowledgeMutationCommand),
SeedKnowledge(SeedKnowledgeCommand),
ApplySkillActivation(ApplySkillActivationCommand),
ApplyPolicyPatch(ApplyPolicyPatchCommand),
UpdateDeadline(UpdateDeadlineCommand),
}Expand description
Live commands a host may issue against a running operation.
Two rules shape this union:
- No boot config through the control plane. Setup-only configuration travels once,
through
ConfigureOperation; a live command exists only where a real callsite proved a running operation must change. - Authority is explicit.
UpdateTaskhere is the host’s plan update. The model’supdate_taskis a P1 syscall whose causation the kernel derives from the provider effect (§7.6) — the two must not share a wire variant, because sharing one is exactly how the current ABI lost the ability to tell a host plan edit from a model tool call.
Variants§
Cancel(CancelCommand)
ForceCompact(ForceCompactCommand)
UpdateTask(UpdateTaskCommand)
ApplyCapabilityPatch(ApplyCapabilityPatchCommand)
ApplyKnowledgeMutation(ApplyKnowledgeMutationCommand)
SeedKnowledge(SeedKnowledgeCommand)
DEC-9: the host seeding entries into the knowledge partition. Named apart from the P1
syscall PageIn { handle_id } on purpose — the two are opposite directions and must never
share a name again.
ApplySkillActivation(ApplySkillActivationCommand)
§13.2 · skill activation/deactivation. Host-side only for deactivation: there is
deliberately no model-facing unload (it invites thrash), and the model’s activation is
the P1 ActivateSkill syscall, whose authority the kernel derives rather than accepts.
ApplyPolicyPatch(ApplyPolicyPatchCommand)
UpdateDeadline(UpdateDeadlineCommand)
Trait Implementations§
Source§impl Clone for HostCommand
impl Clone for HostCommand
Source§fn clone(&self) -> HostCommand
fn clone(&self) -> HostCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HostCommand
impl Debug for HostCommand
Source§impl<'de> Deserialize<'de> for HostCommand
impl<'de> Deserialize<'de> for HostCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HostCommand
impl PartialEq for HostCommand
Source§impl Serialize for HostCommand
impl Serialize for HostCommand
impl StructuralPartialEq for HostCommand
Auto Trait Implementations§
impl Freeze for HostCommand
impl RefUnwindSafe for HostCommand
impl Send for HostCommand
impl Sync for HostCommand
impl Unpin for HostCommand
impl UnsafeUnpin for HostCommand
impl UnwindSafe for HostCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more