Add agentic skill load fields - #2243
Merged
bisin-adobe merged 3 commits intoAug 31, 2026
Merged
Conversation
Prashanthi-Ram
approved these changes
Aug 26, 2026
sandersonb
pushed a commit
to sandersonb/xdm
that referenced
this pull request
Sep 1, 2026
Reconcile with adobe#2243 (merged), which added contextMode/errorReason/source to the now-deprecated nested agents[].skills[]: - Add xdm:errorReason to the top-level skills[] so the failure reason survives once the deprecated nested array is removed. - Generalize its scope to any skill failure ("Skill Error Reason" / "Reason the skill failed") rather than load-only, so failed (boolean flag) + errorReason (string detail) form a clean, non-redundant pair. Update the example to carry a general failure reason. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds three new optional properties to the agent skill object in the agentic event fieldgroup schema:
xdm:source,xdm:contextMode, andxdm:errorReason. These give more detail about how and where an agent's skill was loaded and why a load attempt failed. Additive only — no existing fields changed, removed, or renamed.Motivation
Support skill-load information for agentic experiences.
Changes
components/fieldgroups/agentic/agentic-event.schema.json— addedxdm:source,xdm:contextMode,xdm:errorReasoncomponents/fieldgroups/agentic/agentic-event.example.1.json— updated exampleValidation
npm test— 2413 passingnpm run lint— cleannpm run validate— zero new failures vsmasterbaselinenpm run incompatibility-check— cleanBreaking changes
None.