Skip to main content

cmd_close_failed

Function cmd_close_failed 

Source
pub fn cmd_close_failed(
    beans_dir: &Path,
    ids: Vec<String>,
    reason: Option<String>,
) -> Result<()>
Expand description

Mark an attempt as explicitly failed.

The bean stays open and the claim is released so another agent can retry. Records the failure in attempt_log for episodic memory.