AZURE DEVOPS ONLY -- Fetch a Work Item and assemble ALL technical context needed for D365 F&O expert analysis. [~] PRIORITY TRIGGER: 'analyse le workitem', 'analyse la tâche', 'analyse le FDD/RDD/CR/IDD', 'read the work item', 'check the bug', 'look at ticket', 'review task', '#1234', 'WI#', 'WI ', 'item #'. NEVER for: labels (@SYS/@TRX/@FIN), X++ code lookup, AOT objects -- use search_labels / search_d365_code instead.
## WHAT THIS TOOL RETURNS
Raw structured context only -- NOT a finished analysis. The tool returns:
1. Work item metadata (title, description, repro steps, acceptance criteria, comments)
2. D365 standard KB object details: fields, methods, code snippets for every matched object
3. Custom code on disk (Aprolis extension): existing CoC methods, extension bodies
4. Chain of Command / relation graph for all impacted objects
## YOUR JOB AS COPILOT AFTER CALLING THIS TOOL
You MUST synthesize the raw context into a precise developer-ready analysis IN FRENCH.
Write it in a professional tone, as if authored by a senior D365 consultant -- no emojis, no icons.
The analysis must contain these sections:
1. **Compréhension du besoin** -- résume ce que le client demande en 2-3 phrases claires
2. **Analyse technique** -- identifie la cause racine en croisant le besoin + les objets KB + le code custom
3. **Instructions de développement** -- liste ordonnée et précise : quel objet, quelle méthode, quoi modifier
- Si une extension custom existe sur disque -> pointer exactement quelle méthode à modifier
- Si pas d'extension -> indiquer quel CoC créer, sur quel objet standard, quelle méthode
4. **Estimation** -- chiffrage en heures/jours selon la complexité détectée
5. **Commentaire ADO** -- Texte markdown sans icônes, prêt à poster sur le WI analysé UNIQUEMENT.
IMPORTANT: never post (never call ado_post_comment) on any linked/related work item -- only on the analyzed WI.
Requires DEVOPS_ORG_URL + DEVOPS_PAT env vars.