# Require that completion was declared before proceedingtracker.require_completion("researcher", 0)# If not declared, raises CompletionNotDeclaredError
from splinter.coordination.execution import CompletionNotDeclaredErrortry: tracker.require_completion("researcher", 0)except CompletionNotDeclaredError as e: print(f"Agent '{e.agent_id}' did not declare completion for step {e.step}")