ado_gap_fit_analysis
WHEN: user asks whether a D365 requirement is standard, needs config, needs an extension, or is a full gap. Also triggered by gap analysis or fit/gap classification of a Work Item.
GAP / FIT CLASSIFIER -- Analyse a D365 F&O requirement (from an ADO Work Item OR plain text) and classify it as one of four verdicts: [OK] Standard Fit -- D365 covers this out-of-the-box, no dev needed [gear] Config Fit -- D365 has it but requires parameter / profile setup Extension Fit -- Standard process exists; a CoC/event-handler is enough [X] Gap -- No standard coverage; custom development required
For each requirement block the tool returns: -- Detected D365 domain (Settlement, PaymentJournal, DataImport, ...) -- Standard objects found in KB and their process step -- Existing extensions in the custom model (if D365_CUSTOM_MODEL_PATH is set) -- Effort estimate (hours) and a one-paragraph reasoning
Triggers: 'analyse the requirement', 'is this a gap or fit', 'gap analysis WI #N', 'standard or custom for WI #N', 'does D365 cover this'. [~] When a WI has already been analysed by ado_analyze_workitem in the same turn, pass the requirement text directly via requirementText -- do NOT re-fetch with workItemId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Optional: Azure DevOps project name. Falls back to DEVOPS_PROJECT env var. | |
| workItemId | No | Optional: Work Item ID to fetch the requirement from ADO (e.g. 6587). Leave empty to use requirementText. | |
| requirements | No | Optional: comma-separated list of requirement sentences to analyse individually (overrides WI + requirementText). | |
| requirementText | No | Optional: raw requirement text to analyse directly (when no WI ID is provided). |