modify_task - close a task. Arguments:
id - the ID of the task to closestate - set to 'in_progress' to start the task, 'completed' to finish it, 'verified' to assert that it was successful, 'abandoned' to give up on it permanently, or open to stop working on it for now.