Short label for display and logging.
(&self)
| 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 | |
| 139 | impl fmt::Display for NodeKind { |
no outgoing calls