MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / label

Method label

atomic-agent/src/provenance/types.rs:118–136  ·  view source on GitHub ↗

Short label for display and logging.

(&self)

Source from the content-addressed store, hash-verified

116
117 /// Short label for display and logging.
118 pub fn label(&self) -> &'static str {
119 match self {
120 NodeKind::Goal => "goal",
121 NodeKind::Exploration => "exploration",
122 NodeKind::Decision => "decision",
123 NodeKind::Commitment => "commitment",
124 NodeKind::Verification => "verification",
125 NodeKind::Execution => "execution",
126 NodeKind::HumanGate => "human_gate",
127 NodeKind::PatchProposal => "patch_proposal",
128 NodeKind::Error => "error",
129 NodeKind::Todo => "todo",
130 NodeKind::TodoStatusChange => "todo_status_change",
131 NodeKind::PhaseTransition => "phase_transition",
132 NodeKind::Lesson => "lesson",
133 NodeKind::LlmResponse => "llm_response",
134 NodeKind::HumanGateResolution => "human_gate_resolution",
135 }
136 }
137}
138
139impl fmt::Display for NodeKind {

Callers 3

fmtMethod · 0.45

Calls

no outgoing calls

Tested by 2