{
 "version": "v1",
 "date_fictive": "2026-03-10",
 "note": "Scénarios du test « en plusieurs étapes » de L'Atlas. Consignes en anglais (comme les outils). Contrôle automatique de l'état final : objectifs (tous = réussi, une partie = partiel) et gardes (une garde cassée = raté).",
 "scenarios": [
  {
   "id": "taches-1",
   "titre_fr": "Cocher une tâche retrouvée par son nom",
   "serveurs": [
    "taches"
   ],
   "consigne": "Mark my task 'Pay electricity bill' as done.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "search_tasks",
     "arguments": {
      "query": "electricity"
     }
    },
    {
     "outil": "complete_task",
     "arguments": {
      "task_id": "T-1"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-1/status",
     "valeur": "done"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 10
    },
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {
      "status": "done"
     },
     "n": 3
    }
   ]
  },
  {
   "id": "taches-2",
   "titre_fr": "Changer échéance et priorité",
   "serveurs": [
    "taches"
   ],
   "consigne": "Set the due date of the 'Update team wiki' task to 16 March 2026 and make it high priority.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "search_tasks",
     "arguments": {
      "query": "wiki"
     }
    },
    {
     "outil": "update_task",
     "arguments": {
      "task_id": "T-5",
      "due_date": "2026-03-16",
      "priority": "high"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-5/due_date",
     "valeur": "2026-03-16"
    },
    {
     "t": "egal",
     "chemin": "taches/tasks/T-5/priority",
     "valeur": "high"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 10
    }
   ]
  },
  {
   "id": "taches-3",
   "titre_fr": "Reporter les tâches en retard",
   "serveurs": [
    "taches"
   ],
   "consigne": "Look at my open tasks in the Work project. Any task whose due date is already past must be moved to tomorrow. Do not change the others.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "list_tasks",
     "arguments": {
      "project": "work",
      "status": "open"
     }
    },
    {
     "outil": "update_task",
     "arguments": {
      "task_id": "T-4",
      "due_date": "2026-03-11"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-4/due_date",
     "valeur": "2026-03-11"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-3/due_date",
     "valeur": "2026-03-13"
    },
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 10
    }
   ]
  },
  {
   "id": "taches-4",
   "titre_fr": "Créer une tâche puis en supprimer une autre",
   "serveurs": [
    "taches"
   ],
   "consigne": "Add a task 'Call the plumber' to my Home project, due 12 March 2026, high priority. Then delete the task about fixing the garden hose.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "create_task",
     "arguments": {
      "title": "Call the plumber",
      "project": "home",
      "due_date": "2026-03-12",
      "priority": "high"
     }
    },
    {
     "outil": "search_tasks",
     "arguments": {
      "query": "hose"
     }
    },
    {
     "outil": "delete_task",
     "arguments": {
      "task_id": "T-7"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "taches/tasks",
     "ou": {
      "title~": "plumber",
      "project": "home",
      "due_date": "2026-03-12",
      "priority": "high"
     }
    },
    {
     "t": "absent",
     "collection": "taches/tasks",
     "ou": {
      "title~": "hose"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 10
    }
   ]
  },
  {
   "id": "taches-5",
   "titre_fr": "Terminer toutes les tâches d’un projet",
   "serveurs": [
    "taches"
   ],
   "consigne": "Complete every open task in my Garden project.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "list_tasks",
     "arguments": {
      "project": "garden",
      "status": "open"
     }
    },
    {
     "outil": "complete_task",
     "arguments": {
      "task_id": "T-6"
     }
    },
    {
     "outil": "complete_task",
     "arguments": {
      "task_id": "T-7"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-6/status",
     "valeur": "done"
    },
    {
     "t": "egal",
     "chemin": "taches/tasks/T-7/status",
     "valeur": "done"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {
      "status": "done"
     },
     "n": 4
    },
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 10
    }
   ]
  },
  {
   "id": "boutique-1",
   "titre_fr": "Changer l’adresse de la bonne commande du bon client",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Paul Martin has moved. Change the shipping address of his order that has not shipped yet to 25 avenue Jean Jaurès, 69007 Lyon, France.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Paul Martin"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-101"
     }
    },
    {
     "outil": "update_shipping_address",
     "arguments": {
      "order_id": "O-1042",
      "street": "25 avenue Jean Jaurès",
      "city": "Lyon",
      "postal_code": "69007",
      "country": "France"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "contient",
     "chemin": "boutique/orders/O-1042/shipping_address/street",
     "valeur": "25 avenue Jean Jaur"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1042/shipping_address/postal_code",
     "valeur": "69007"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1046/shipping_address/street",
     "valeur": "2 place du Théâtre"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1041/shipping_address/street",
     "valeur": "4 rue Mercière"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1042/shipping_address/city",
     "valeur": "Lyon"
    }
   ]
  },
  {
   "id": "boutique-2",
   "titre_fr": "Retrouver une commande et dire où elle en est",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Find Ahmed Benali's most recent order and tell me its status and the city it is going to.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Ahmed Benali"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-104"
     }
    },
    {
     "outil": "get_order",
     "arguments": {
      "order_id": "O-1044"
     }
    }
   ],
   "reponse_ref": "Order O-1044 is shipped to Marseille.",
   "objectifs": [
    {
     "t": "reponse",
     "un_de": [
      [
       "shipped",
       "marseille"
      ]
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1044/status",
     "valeur": "shipped"
    }
   ]
  },
  {
   "id": "boutique-3",
   "titre_fr": "Annuler la commande en cours puis ajouter une note",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Cancel Emma Dubois's order that is still processing (reason: customer changed her mind), then add the internal note 'Customer called on 10 March' to that order.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Emma Dubois"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-105",
      "status": "processing"
     }
    },
    {
     "outil": "cancel_order",
     "arguments": {
      "order_id": "O-1045",
      "reason": "customer changed her mind"
     }
    },
    {
     "outil": "add_order_note",
     "arguments": {
      "order_id": "O-1045",
      "note": "Customer called on 10 March"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1045/status",
     "valeur": "cancelled"
    },
    {
     "t": "contient",
     "chemin": "boutique/orders/O-1045/notes",
     "valeur": "customer called"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1048/status",
     "valeur": "delivered"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1048/refunded",
     "valeur": 0
    }
   ]
  },
  {
   "id": "boutique-4",
   "titre_fr": "Ajouter un produit si le stock le permet",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Sofia Rossi wants to add two French presses to her order that is still processing. Do it if there is enough stock, then tell me the new order total.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Sofia"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-103"
     }
    },
    {
     "outil": "search_products",
     "arguments": {
      "query": "French press"
     }
    },
    {
     "outil": "add_item_to_order",
     "arguments": {
      "order_id": "O-1043",
      "product_id": "P-4",
      "quantity": 2
     }
    }
   ],
   "reponse_ref": "Done, the new total is 113 EUR.",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1043/total",
     "valeur": 113
    },
    {
     "t": "reponse",
     "un_de": [
      "113"
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/products/P-4/stock",
     "valeur": 10
    }
   ]
  },
  {
   "id": "boutique-5",
   "titre_fr": "Piège : produit en rupture",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Add one coffee grinder to Paul Garnier's open order.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Paul Garnier"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-106"
     }
    },
    {
     "outil": "search_products",
     "arguments": {
      "query": "coffee grinder"
     }
    }
   ],
   "reponse_ref": "The coffee grinder is out of stock, so I could not add it.",
   "objectifs": [
    {
     "t": "reponse",
     "un_de": [
      "stock",
      "available",
      "sold out"
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1046/total",
     "valeur": 9.5
    },
    {
     "t": "egal",
     "chemin": "boutique/products/P-3/stock",
     "valeur": 0
    }
   ]
  },
  {
   "id": "boutique-6",
   "titre_fr": "Rembourser la commande qui contient l’article cassé",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Emma Dubois's teapot arrived broken. Fully refund the order that contains the teapot, reason 'damaged in transit'.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Emma Dubois"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-105"
     }
    },
    {
     "outil": "get_order",
     "arguments": {
      "order_id": "O-1048"
     }
    },
    {
     "outil": "refund_order",
     "arguments": {
      "order_id": "O-1048",
      "reason": "damaged in transit"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1048/refunded",
     "valeur": 45
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1045/status",
     "valeur": "processing"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1045/refunded",
     "valeur": 0
    }
   ]
  },
  {
   "id": "boutique-7",
   "titre_fr": "Piège : commande déjà annulée",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Paula Mertens asks to change the delivery address of her order O-1047 to Rue Haute 5, 1000 Brussels, Belgium.",
   "etapes_ref": 1,
   "solution": [
    {
     "outil": "get_order",
     "arguments": {
      "order_id": "O-1047"
     }
    }
   ],
   "reponse_ref": "Order O-1047 is cancelled, its address cannot be changed.",
   "objectifs": [
    {
     "t": "reponse",
     "un_de": [
      "cancel"
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1047/shipping_address/street",
     "valeur": "Rue Neuve 30"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1047/status",
     "valeur": "cancelled"
    }
   ]
  },
  {
   "id": "boutique-8",
   "titre_fr": "Remboursement partiel et note",
   "serveurs": [
    "boutique"
   ],
   "consigne": "Paul Martin's delivered order had one chipped mug. Refund 12 EUR on that order (reason 'one mug chipped') and add the note 'Partial refund for 1 mug'.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "search_customers",
     "arguments": {
      "query": "Paul Martin"
     }
    },
    {
     "outil": "list_orders",
     "arguments": {
      "customer_id": "C-101",
      "status": "delivered"
     }
    },
    {
     "outil": "refund_order",
     "arguments": {
      "order_id": "O-1041",
      "amount": 12,
      "reason": "one mug chipped"
     }
    },
    {
     "outil": "add_order_note",
     "arguments": {
      "order_id": "O-1041",
      "note": "Partial refund for 1 mug"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1041/refunded",
     "valeur": 12
    },
    {
     "t": "contient",
     "chemin": "boutique/orders/O-1041/notes",
     "valeur": "partial refund"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1042/status",
     "valeur": "processing"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1048/refunded",
     "valeur": 0
    }
   ]
  },
  {
   "id": "agenda-1",
   "titre_fr": "Déplacer une réunion",
   "serveurs": [
    "agenda"
   ],
   "consigne": "Move tomorrow's Design critique to 15:00 the same day.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-11",
      "end_date": "2026-03-11"
     }
    },
    {
     "outil": "move_event",
     "arguments": {
      "event_id": "E-3",
      "new_start": "2026-03-11T15:00"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "agenda/events/E-3/start",
     "valeur": "2026-03-11T15:00"
    },
    {
     "t": "egal",
     "chemin": "agenda/events/E-3/end",
     "valeur": "2026-03-11T16:00"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "agenda-2",
   "titre_fr": "Trouver le premier créneau libre et inviter",
   "serveurs": [
    "agenda"
   ],
   "consigne": "Schedule a 30-minute 'Hiring sync' with Kenji Sato today, at the first free time after 14:00.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_contacts",
     "arguments": {
      "query": "Kenji"
     }
    },
    {
     "outil": "find_free_slots",
     "arguments": {
      "date": "2026-03-10",
      "duration_minutes": 30
     }
    },
    {
     "outil": "create_event",
     "arguments": {
      "title": "Hiring sync",
      "start": "2026-03-10T15:00",
      "duration_minutes": 30,
      "attendees": [
       "kenji.sato@example.com"
      ]
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "agenda/events",
     "ou": {
      "title~": "hiring",
      "start": "2026-03-10T15:00",
      "end": "2026-03-10T15:30"
     }
    },
    {
     "t": "trouve",
     "collection": "agenda/events",
     "ou": {
      "title~": "hiring",
      "attendees[]": "kenji.sato@example.com"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 9
    }
   ]
  },
  {
   "id": "agenda-3",
   "titre_fr": "Annuler et replanifier ailleurs",
   "serveurs": [
    "agenda"
   ],
   "consigne": "The Acme client call on Thursday is cancelled. Remove it from my calendar and book a 45-minute 'Acme follow-up' with Omar Haddad at the same time on Friday 13 March.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-12",
      "end_date": "2026-03-12"
     }
    },
    {
     "outil": "cancel_event",
     "arguments": {
      "event_id": "E-6"
     }
    },
    {
     "outil": "search_contacts",
     "arguments": {
      "query": "Omar"
     }
    },
    {
     "outil": "create_event",
     "arguments": {
      "title": "Acme follow-up",
      "start": "2026-03-13T15:00",
      "duration_minutes": 45,
      "attendees": [
       "omar.haddad@example.com"
      ]
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "absent",
     "collection": "agenda/events",
     "ou": {
      "title~": "client call"
     }
    },
    {
     "t": "trouve",
     "collection": "agenda/events",
     "ou": {
      "title~": "follow-up",
      "start": "2026-03-13T15:00",
      "end": "2026-03-13T15:45"
     }
    },
    {
     "t": "trouve",
     "collection": "agenda/events",
     "ou": {
      "title~": "follow-up",
      "attendees[]": "omar.haddad@example.com"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "agenda-4",
   "titre_fr": "Ajouter une personne à une réunion",
   "serveurs": [
    "agenda"
   ],
   "consigne": "Add Lena Weber to the sprint planning meeting.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_contacts",
     "arguments": {
      "query": "Lena"
     }
    },
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-09",
      "end_date": "2026-03-15"
     }
    },
    {
     "outil": "add_attendee",
     "arguments": {
      "event_id": "E-5",
      "email": "lena.weber@example.com"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "contient",
     "chemin": "agenda/events/E-5/attendees",
     "valeur": "lena.weber@example.com"
    }
   ],
   "gardes": [
    {
     "t": "contient",
     "chemin": "agenda/events/E-5/attendees",
     "valeur": "julie.moreau@example.com"
    },
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "agenda-5",
   "titre_fr": "Bloquer un créneau au plus tôt",
   "serveurs": [
    "agenda"
   ],
   "consigne": "On Thursday 12 March I need a 90-minute focus block called 'Write report', as early as possible in the day. Book it.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "find_free_slots",
     "arguments": {
      "date": "2026-03-12",
      "duration_minutes": 90
     }
    },
    {
     "outil": "create_event",
     "arguments": {
      "title": "Write report",
      "start": "2026-03-12T11:00",
      "duration_minutes": 90
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "agenda/events",
     "ou": {
      "title~": "report",
      "start": "2026-03-12T11:00",
      "end": "2026-03-12T12:30"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 9
    }
   ]
  },
  {
   "id": "agenda-6",
   "titre_fr": "Décaler au lendemain même heure",
   "serveurs": [
    "agenda"
   ],
   "consigne": "Move today's Budget review to the same time tomorrow.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-10",
      "end_date": "2026-03-10"
     }
    },
    {
     "outil": "move_event",
     "arguments": {
      "event_id": "E-2",
      "new_start": "2026-03-11T14:00"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "agenda/events/E-2/start",
     "valeur": "2026-03-11T14:00"
    },
    {
     "t": "egal",
     "chemin": "agenda/events/E-2/end",
     "valeur": "2026-03-11T15:00"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "croise-1",
   "titre_fr": "Agenda vers tâches : préparer les réunions",
   "serveurs": [
    "agenda",
    "taches"
   ],
   "consigne": "Look at my calendar for Thursday 12 March. For each meeting that includes Omar Haddad, create a task in my Work project titled 'Prepare: <meeting title>', due 11 March 2026.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-12",
      "end_date": "2026-03-12"
     }
    },
    {
     "outil": "create_task",
     "arguments": {
      "title": "Prepare: Client call - Acme",
      "project": "work",
      "due_date": "2026-03-11"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "taches/tasks",
     "ou": {
      "title~": [
       "prepare",
       "acme"
      ],
      "project": "work",
      "due_date": "2026-03-11"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 11
    },
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "croise-2",
   "titre_fr": "Rendez-vous pris : cocher et créer",
   "serveurs": [
    "agenda",
    "taches"
   ],
   "consigne": "I have booked the dentist (check my calendar for the date). Mark the task 'Book dentist appointment' as done and create a Home task 'Pay dentist' due on the day of the appointment.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "list_events",
     "arguments": {
      "start_date": "2026-03-10",
      "end_date": "2026-03-20"
     }
    },
    {
     "outil": "search_tasks",
     "arguments": {
      "query": "dentist"
     }
    },
    {
     "outil": "complete_task",
     "arguments": {
      "task_id": "T-2"
     }
    },
    {
     "outil": "create_task",
     "arguments": {
      "title": "Pay dentist",
      "project": "home",
      "due_date": "2026-03-13"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "taches/tasks/T-2/status",
     "valeur": "done"
    },
    {
     "t": "trouve",
     "collection": "taches/tasks",
     "ou": {
      "title~": "pay dentist",
      "project": "home",
      "due_date": "2026-03-13"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 11
    },
    {
     "t": "compte",
     "collection": "agenda/events",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "notes-1",
   "titre_fr": "Compléter une note sans l’écraser",
   "serveurs": [
    "notes"
   ],
   "consigne": "Add 'Klara and the Sun' to my list of books to read.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "search_notes",
     "arguments": {
      "query": "books"
     }
    },
    {
     "outil": "append_to_note",
     "arguments": {
      "note_id": "N-5",
      "text": "- Klara and the Sun"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "contient",
     "chemin": "notes/notes/N-5/content",
     "valeur": "Klara and the Sun"
    }
   ],
   "gardes": [
    {
     "t": "contient",
     "chemin": "notes/notes/N-5/content",
     "valeur": [
      "The Overstory",
      "Piranesi"
     ]
    },
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "notes-2",
   "titre_fr": "Ranger tout un dossier",
   "serveurs": [
    "notes"
   ],
   "consigne": "Move every note in my travel folder to the archive folder.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "list_notes",
     "arguments": {
      "folder": "travel"
     }
    },
    {
     "outil": "move_note",
     "arguments": {
      "note_id": "N-2",
      "folder": "archive"
     }
    },
    {
     "outil": "move_note",
     "arguments": {
      "note_id": "N-8",
      "folder": "archive"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "notes/notes/N-2/folder",
     "valeur": "archive"
    },
    {
     "t": "egal",
     "chemin": "notes/notes/N-8/folder",
     "valeur": "archive"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "notes/notes/N-1/folder",
     "valeur": "recipes"
    },
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "notes-3",
   "titre_fr": "Supprimer la bonne note",
   "serveurs": [
    "notes"
   ],
   "consigne": "Delete my note about the old Orion project.",
   "etapes_ref": 2,
   "solution": [
    {
     "outil": "search_notes",
     "arguments": {
      "query": "Orion"
     }
    },
    {
     "outil": "delete_note",
     "arguments": {
      "note_id": "N-6"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "absent",
     "collection": "notes/notes",
     "ou": {
      "id": "N-6"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 7
    }
   ]
  },
  {
   "id": "notes-4",
   "titre_fr": "Lire une recette et en faire une liste",
   "serveurs": [
    "notes"
   ],
   "consigne": "Create a note 'Shopping list' in my inbox folder containing the ingredients of my pancake recipe.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_notes",
     "arguments": {
      "query": "pancake"
     }
    },
    {
     "outil": "read_note",
     "arguments": {
      "note_id": "N-1"
     }
    },
    {
     "outil": "create_note",
     "arguments": {
      "title": "Shopping list",
      "folder": "inbox",
      "content": "flour, eggs, milk, salt"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "notes/notes",
     "ou": {
      "title~": "shopping",
      "folder": "inbox",
      "content~": [
       "flour",
       "egg",
       "milk"
      ]
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 9
    }
   ]
  },
  {
   "id": "notes-5",
   "titre_fr": "Lire une info puis ranger la note",
   "serveurs": [
    "notes"
   ],
   "consigne": "What is the guest wifi password? After telling me, move that note to the archive folder.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_notes",
     "arguments": {
      "query": "wifi"
     }
    },
    {
     "outil": "read_note",
     "arguments": {
      "note_id": "N-4"
     }
    },
    {
     "outil": "move_note",
     "arguments": {
      "note_id": "N-4",
      "folder": "archive"
     }
    }
   ],
   "reponse_ref": "The password is tulipe-2026. The note is now archived.",
   "objectifs": [
    {
     "t": "reponse",
     "un_de": [
      "tulipe-2026"
     ]
    },
    {
     "t": "egal",
     "chemin": "notes/notes/N-4/folder",
     "valeur": "archive"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "croise-3",
   "titre_fr": "Note de réunion vers tâche",
   "serveurs": [
    "notes",
    "taches"
   ],
   "consigne": "Read my meeting notes from 3 March and create a task in my Work project for the decision that was taken there.",
   "etapes_ref": 3,
   "solution": [
    {
     "outil": "search_notes",
     "arguments": {
      "query": "meeting"
     }
    },
    {
     "outil": "read_note",
     "arguments": {
      "note_id": "N-3"
     }
    },
    {
     "outil": "create_task",
     "arguments": {
      "title": "Migrate billing to the new provider",
      "project": "work",
      "due_date": "2026-04-01"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "trouve",
     "collection": "taches/tasks",
     "ou": {
      "title~": "billing",
      "project": "work"
     }
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "taches/tasks",
     "ou": {},
     "n": 11
    },
    {
     "t": "compte",
     "collection": "notes/notes",
     "ou": {},
     "n": 8
    }
   ]
  },
  {
   "id": "support-1",
   "titre_fr": "Répondre avec la base d’aide puis clore",
   "serveurs": [
    "support"
   ],
   "consigne": "Answer Emma Dubois's ticket about logging in, using the help center article, then mark the ticket as solved.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "list_tickets",
     "arguments": {
      "customer_email": "emma.dubois@example.com"
     }
    },
    {
     "outil": "search_help_articles",
     "arguments": {
      "query": "reset password"
     }
    },
    {
     "outil": "reply_to_ticket",
     "arguments": {
      "ticket_id": "K-202",
      "message": "Go to Settings > Security and click 'Reset password'. You will receive a link valid for 24 hours."
     }
    },
    {
     "outil": "set_ticket_status",
     "arguments": {
      "ticket_id": "K-202",
      "status": "solved"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-202/status",
     "valeur": "solved"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-202/messages/1/from",
     "valeur": "agent"
    },
    {
     "t": "contient",
     "chemin": "support/tickets/K-202/messages/1/text",
     "un_de": [
      "settings",
      "24 hours",
      "24h",
      "24 h"
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-206/status",
     "valeur": "open"
    }
   ]
  },
  {
   "id": "support-2",
   "titre_fr": "Prioriser et assigner à la bonne équipe",
   "serveurs": [
    "support"
   ],
   "consigne": "The ticket about being charged twice is urgent: set its priority to urgent and assign it to the agent of the billing team.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "list_tickets",
     "arguments": {
      "status": "open"
     }
    },
    {
     "outil": "list_agents",
     "arguments": {}
    },
    {
     "outil": "set_ticket_priority",
     "arguments": {
      "ticket_id": "K-204",
      "priority": "urgent"
     }
    },
    {
     "outil": "assign_ticket",
     "arguments": {
      "ticket_id": "K-204",
      "agent_id": "A-1"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-204/priority",
     "valeur": "urgent"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-204/assignee",
     "valeur": "A-1"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-203/priority",
     "valeur": "normal"
    },
    {
     "t": "compte",
     "collection": "support/tickets",
     "ou": {
      "priority": "urgent"
     },
     "n": 1
    }
   ]
  },
  {
   "id": "support-3",
   "titre_fr": "Assigner tous les tickets d’une cliente",
   "serveurs": [
    "support"
   ],
   "consigne": "Assign every open ticket from emma.dubois@example.com to Ines.",
   "etapes_ref": 4,
   "solution": [
    {
     "outil": "list_agents",
     "arguments": {}
    },
    {
     "outil": "list_tickets",
     "arguments": {
      "customer_email": "emma.dubois@example.com",
      "status": "open"
     }
    },
    {
     "outil": "assign_ticket",
     "arguments": {
      "ticket_id": "K-202",
      "agent_id": "A-3"
     }
    },
    {
     "outil": "assign_ticket",
     "arguments": {
      "ticket_id": "K-206",
      "agent_id": "A-3"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-202/assignee",
     "valeur": "A-3"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-206/assignee",
     "valeur": "A-3"
    }
   ],
   "gardes": [
    {
     "t": "compte",
     "collection": "support/tickets",
     "ou": {
      "assignee": "A-3"
     },
     "n": 2
    }
   ]
  },
  {
   "id": "croise-4",
   "titre_fr": "Ticket colis : vérifier la commande et répondre",
   "serveurs": [
    "support",
    "boutique"
   ],
   "consigne": "Ahmed Benali asks where his parcel is. Check his order status in the shop, answer his ticket with the delivery times from the help center, and set the ticket to pending.",
   "etapes_ref": 5,
   "solution": [
    {
     "outil": "list_tickets",
     "arguments": {
      "customer_email": "ahmed.benali@example.com"
     }
    },
    {
     "outil": "get_order",
     "arguments": {
      "order_id": "O-1044"
     }
    },
    {
     "outil": "search_help_articles",
     "arguments": {
      "query": "delivery times"
     }
    },
    {
     "outil": "reply_to_ticket",
     "arguments": {
      "ticket_id": "K-203",
      "message": "Your order O-1044 has shipped. Standard delivery takes 3 to 5 business days in France."
     }
    },
    {
     "outil": "set_ticket_status",
     "arguments": {
      "ticket_id": "K-203",
      "status": "pending"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "support/tickets/K-203/status",
     "valeur": "pending"
    },
    {
     "t": "contient",
     "chemin": "support/tickets/K-203/messages/1/text",
     "un_de": [
      "3 to 5",
      "3-5",
      "3–5",
      "three to five",
      "3 and 5"
     ]
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1044/status",
     "valeur": "shipped"
    }
   ]
  },
  {
   "id": "croise-5",
   "titre_fr": "Ticket adresse : boutique + réponse + assignation + clôture",
   "serveurs": [
    "support",
    "boutique"
   ],
   "consigne": "Handle Paul Martin's support ticket about his address: update the order's shipping address in the shop as he asks, reply to confirm, assign the ticket to the shipping team agent and mark it solved.",
   "etapes_ref": 7,
   "solution": [
    {
     "outil": "list_tickets",
     "arguments": {
      "customer_email": "paul.martin@example.com"
     }
    },
    {
     "outil": "get_ticket",
     "arguments": {
      "ticket_id": "K-201"
     }
    },
    {
     "outil": "update_shipping_address",
     "arguments": {
      "order_id": "O-1042",
      "street": "25 avenue Jean Jaurès",
      "city": "Lyon",
      "postal_code": "69007",
      "country": "France"
     }
    },
    {
     "outil": "reply_to_ticket",
     "arguments": {
      "ticket_id": "K-201",
      "message": "Done: order O-1042 will be shipped to 25 avenue Jean Jaurès, 69007 Lyon."
     }
    },
    {
     "outil": "list_agents",
     "arguments": {}
    },
    {
     "outil": "assign_ticket",
     "arguments": {
      "ticket_id": "K-201",
      "agent_id": "A-2"
     }
    },
    {
     "outil": "set_ticket_status",
     "arguments": {
      "ticket_id": "K-201",
      "status": "solved"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "contient",
     "chemin": "boutique/orders/O-1042/shipping_address/street",
     "valeur": "25 avenue Jean Jaur"
    },
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1042/shipping_address/postal_code",
     "valeur": "69007"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-201/messages/1/from",
     "valeur": "agent"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-201/assignee",
     "valeur": "A-2"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-201/status",
     "valeur": "solved"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1041/shipping_address/street",
     "valeur": "4 rue Mercière"
    }
   ]
  },
  {
   "id": "croise-6",
   "titre_fr": "Ticket casse : rembourser, répondre, clore",
   "serveurs": [
    "support",
    "boutique"
   ],
   "consigne": "Handle Emma Dubois's ticket about the broken teapot: fully refund the order in the shop, reply that the refund will arrive within 5 business days, and mark the ticket solved.",
   "etapes_ref": 5,
   "solution": [
    {
     "outil": "list_tickets",
     "arguments": {
      "customer_email": "emma.dubois@example.com"
     }
    },
    {
     "outil": "get_ticket",
     "arguments": {
      "ticket_id": "K-206"
     }
    },
    {
     "outil": "refund_order",
     "arguments": {
      "order_id": "O-1048",
      "reason": "teapot arrived cracked"
     }
    },
    {
     "outil": "reply_to_ticket",
     "arguments": {
      "ticket_id": "K-206",
      "message": "Your refund of 45 EUR is issued and will arrive within 5 business days."
     }
    },
    {
     "outil": "set_ticket_status",
     "arguments": {
      "ticket_id": "K-206",
      "status": "solved"
     }
    }
   ],
   "reponse_ref": "",
   "objectifs": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1048/refunded",
     "valeur": 45
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-206/messages/1/from",
     "valeur": "agent"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-206/status",
     "valeur": "solved"
    }
   ],
   "gardes": [
    {
     "t": "egal",
     "chemin": "boutique/orders/O-1045/status",
     "valeur": "processing"
    },
    {
     "t": "egal",
     "chemin": "support/tickets/K-202/status",
     "valeur": "open"
    }
   ]
  }
 ]
}