ultron-harness 1.0.2

Durable task runtime: the Pi Durable scheduler and conversation runtime (submissions, generation, durable REPL cells, children, swarm state), the RLM task journal, the lane snapshot reducer and the effect gate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Built-in entry kinds (spec ยง8.1).

/// User input: `model` is `[UserMessage]`. Written by submissions.
pub const USER: &str = "ultron.user";
/// Provider result with any stop reason: `model` is `[AssistantMessage]`. Written by generation.
pub const ASSISTANT: &str = "ultron.assistant";
/// Positional prompt and tool change: `model` is `[SystemMessage]` with empty `content`.
pub const SYSTEM: &str = "ultron.system";
/// A cell result: `model` is `[ToolResultMessage]`, whose content ends with the rendered diagnostics; `data` holds the
/// structured diagnostics.
pub const TOOL_RESULT: &str = "ultron.tool-result";
/// Start of a new context: always `head: "self"`, with `model` absent or `[UserMessage]` carrying the handoff text.
pub const RESET: &str = "ultron.reset";
/// Compaction summary: `model` is `[UserMessage]` with the wrapped summary, `head` the first kept entry.
pub const COMPACTION: &str = "ultron.compaction";