Skip to content

[SOA] Add opt-in Business Skills capability - #13977

Draft
Qasim (qasimikram) wants to merge 33 commits into
mainfrom
private/split-soa-inst-exp
Draft

Qasim (qasimikram) wants to merge 33 commits into
mainfrom
private/split-soa-inst-exp

Conversation

@qasimikram

@qasimikram Qasim (qasimikram) commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

What & why

Add an optional Business Skills capability to Sales Order Agent (SOA). Instead of keeping every sales procedure in one large agent instruction, SOA can use configuration-aware main instructions together with discoverable, reusable business skills.

This is a new capability, not only an instruction split. Users can enable it independently for each agent through Use Business Skills in Configure Sales Order Agent. The setting is off by default, including for existing agents.

Capability and architecture

  • Add the setup switch and an activation notification explaining the instruction change, with an Open Business Skills link.
  • Persist the per-agent choice and expose it through the agent's Business IQ runtime opt-in interface. When off, use the self-contained standard instructions and disable this agent's Business Skills tools.
  • Keep availability/CTP configuration, authorization, document and message reviews, customer acceptance, recipients, signatures, and completion boundaries in the main instructions. Skills describe the business procedures without interpreting SOA configuration.
  • Register packaged Markdown skills through the System Application Business Skills API. The heading provides the title, the opening paragraph provides the discovery description, and the file provides the full instructions.
  • Match existing skills by SOA app ownership and stable resource ID, not title. Refresh metadata in place and advance content versions only when instructions change.
  • Create or refresh and activate packaged skills when applying setup with Business Skills enabled, including when the agent itself is disabled. Existing periodic instruction synchronization during email retrieval also refreshes them.
  • Keep shared, tenant-wide skill records active when one agent switches the capability off; other agents may still use them. Enabling again refreshes and activates the packaged skills.
  • Check organization-wide Azure OpenAI privacy approval when enabling the capability. An authorized administrator can set that approval; otherwise activation requires administrator intervention. Add the Business IQ dependency and mode telemetry.

Packaged skills

  1. Resolve Requested Items - search, item/variant matching, customer clarification, and contextual availability evidence.
  2. Resolve Contact or Customer - select the eligible buyer.
  3. Create or Update Sales Quote - create/open a quote, populate its header, and add, change, or remove requested lines.
  4. Handle Quote Inventory Warnings - correct shipment dates, reusing earlier calculations only when current-line context matches.
  5. Send Sales Quote for Customer Confirmation - use current quote data and a fresh PDF, request acceptance, and retain message state.
  6. Convert Quote to Sales Order - convert and verify the resulting order without sending a confirmation.
  7. Send Sales Order Confirmation - independently prepare and send the current order and PDF.
  8. Apply Customer Communication Standards - formal, localized HTML messages and readable line tables.

The procedures retain document/message identifiers and completed progress to avoid duplicate creation, conversion, or sending. SOA-specific attachment intake remains in the main instructions, and skills use natural-language page names rather than numeric page references.

Other changes in the current diff

  • Align standard and skill-based item guidance with explicit variant metadata and contextual Item Availability search results. Missing availability fields do not by themselves imply insufficient stock.
  • Change item-search, item-selector, and attachment-extraction deployment selection from GPT56 Ceres to GPT55 Chat.
  • Disable image-attachment acceptance and update the bundled sample order document.
  • Add purchase-document edit permission to SOA - Edit and expose Salesperson Code on the agent's Sales Quote page customization.
  • Ignore workspace-managed .github/skills/ content.

These changes are included in the current PR and should be reviewed separately from the opt-in Business Skills workflow; the model, attachment, and permission changes are not gated by that switch.

How I validated this

  • Development-time source checks covered prompt JSON, skill metadata and identities, current API contracts, notification wiring, and whitespace.
  • An inspected local quote-flow runtime capture advertised all eight skills and recorded five successful loads: item resolution, buyer resolution, quote creation/update, quote confirmation, and communication standards.
  • No automated test files are added in the current diff. Build/analyzer results and full scenario validation are not asserted here and remain to be documented by the author.

Risk & compatibility

The standard instruction mode remains the default. Business Skills mode retains the existing SOA workflow settings and review/acceptance boundaries, but introduces a Business IQ dependency even when the option is off. Skills are tenant-wide, not company-scoped, and disabling the option does not deactivate or delete shared skills.

Review the additional model, image-attachment, and permission changes above for effects on standard mode as well.

Linked work

No approved issue or Azure DevOps work item is currently linked. Add the required reference before merge.

@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Team: SCM GitHub request for SCM area labels Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Could not find a linked work item. Please link one in either of these ways: (1) link an ADO work item using the pattern 'AB#' followed by the work item number - you may use the 'Fixes' keyword to automatically resolve it when the pull request is merged, e.g. 'Fixes AB#1234'; or (2) link a GitHub issue of type 'Task' using the pattern 'Fixes #' followed by the issue number, e.g. 'Fixes #1234'.

@qasimikram Qasim (qasimikram) changed the title Split SOA Instructions [SOA] Add opt-in Business Skills capability Nov 25, 2026

This branch was previously deployed

1 inactive (outdated) deployment
triage — 6ecd2b7f Deployed Nov 11, 2026 by qasimikram via Classify team ownership #10811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Team: SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants