hive-sh4re: trim HostRequest::SetParent rustdoc (#717 batch 6)

This commit is contained in:
iris 2026-05-31 16:08:50 +02:00 committed by mara
commit fe6f96397e

View file

@ -40,11 +40,10 @@ pub enum HostRequest {
Approve { id: i64 }, Approve { id: i64 },
/// Deny a pending request by id. /// Deny a pending request by id.
Deny { id: i64 }, Deny { id: i64 },
/// Move an agent in the topology tree (#486). Pass `new_parent = /// Move an agent in the topology tree. `new_parent = None`
/// None` to promote the agent to root, or `Some(name)` to set a /// promotes the agent to root, `Some(name)` sets a new parent.
/// new parent. Refuses cycles, unknown agents, and any attempt /// Validation rules + bind-mount caveat documented in
/// to reparent the manager (which is structurally root). /// `docs/agent-hierarchy.md::Current state`.
/// Pure topology-json edit today; bind-mount work follows in #361.
SetParent { SetParent {
child: String, child: String,
new_parent: Option<String>, new_parent: Option<String>,