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