refactor(hive_mind): enhance documentation for clarity and consistency in terminology
This commit is contained in:
@@ -9,14 +9,15 @@ use serde::{Deserialize, Serialize};
|
||||
pub enum ScriptPrimitive {
|
||||
/// Run a single agent with the given prompt template.
|
||||
Agent(String),
|
||||
/// Run a single agent with an explicit node designation and
|
||||
/// Run a single Hive drone with an explicit node designation and
|
||||
/// tool-scope tier.
|
||||
///
|
||||
/// Used by the hive-mind pipeline, where a node's identity is its
|
||||
/// system-assigned designation (e.g. `"Node-0-1"`) paired with a
|
||||
/// bounded tool allowlist. `tool_scope` is one of `"read"`,
|
||||
/// `"write"`, `"full"` (see `app::subagent::division::tool_scope`);
|
||||
/// unrecognized values fall back to `"read"`.
|
||||
/// Used by the Hive's cognitive cycle pipeline, where a drone's
|
||||
/// identity is its system-assigned coordinate (e.g. `"Node-0-1"`)
|
||||
/// paired with a bounded tool allowlist. `tool_scope` is one of
|
||||
/// `"read"`, `"write"`, `"full"` (see
|
||||
/// `app::subagent::division::tool_scope`); unrecognized values fall
|
||||
/// back to `"read"`.
|
||||
ScopedAgent {
|
||||
prompt: String,
|
||||
node_id: String,
|
||||
|
||||
Reference in New Issue
Block a user