Skip to content

Add artifactId to A2A documentation examples#249

Merged
bokelley merged 3 commits into
mainfrom
a2a-artifact-ids
Nov 22, 2025
Merged

Add artifactId to A2A documentation examples#249
bokelley merged 3 commits into
mainfrom
a2a-artifact-ids

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Incorporates PR #231 fixes for A2A protocol compliance. Adds missing artifactId fields to artifact examples and corrects request structure issues (field names, message wrapper, config location).

Why this matters: A2A examples now correctly match the official specification, enabling developers to use copy-paste examples that actually work.

Test plan

  • ✅ Schema validation: 7/7 passed
  • ✅ Example validation: 7/7 passed
  • ✅ Extension fields: 20/20 passed
  • ✅ TypeScript compilation: Success

All tests pass with no breaking changes.

bokelley and others added 3 commits November 22, 2025 15:55
Fix A2A protocol compliance issues in documentation by adding missing
artifactId fields and correcting request structure.

**Changes:**
- Add artifactId to all 11 A2A artifact examples across 8 files
- Fix skill invocation: use 'parameters' not 'input' (3 instances)
- Fix message structure: wrap in message.parts[] envelope (5 instances)
- Fix webhook config: move to configuration.pushNotificationConfig (2 instances)

**Why this matters:**
- artifactId is part of A2A protocol for artifact identification/versioning
- Correct field names ensure examples work when developers copy them
- Proper message structure matches A2A specification

**Files modified:**
- docs/media-buy/advanced-topics/orchestrator-design.mdx
- docs/media-buy/task-reference/create_media_buy.mdx
- docs/media-buy/task-reference/provide_performance_feedback.mdx
- docs/protocols/a2a-guide.mdx
- docs/protocols/envelope-examples.mdx
- docs/protocols/getting-started.mdx
- docs/protocols/protocol-comparison.mdx
- docs/signals/tasks/activate_signal.mdx
- docs/signals/tasks/get_signals.mdx

Incorporates fixes from PR #231 by @EmmaLouise2018.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Resolved conflicts by accepting refactored create_media_buy.mdx from main.
The new version focuses on testable code examples and removes redundant
A2A-specific examples (those details are now in dedicated A2A guide docs).

Kept our artifactId additions in other A2A documentation files.
@bokelley bokelley merged commit e7dadc0 into main Nov 22, 2025
6 checks passed
bmilekic pushed a commit to bmilekic/adcp that referenced this pull request Dec 5, 2025
* Add artifactId to A2A documentation examples

Fix A2A protocol compliance issues in documentation by adding missing
artifactId fields and correcting request structure.

**Changes:**
- Add artifactId to all 11 A2A artifact examples across 8 files
- Fix skill invocation: use 'parameters' not 'input' (3 instances)
- Fix message structure: wrap in message.parts[] envelope (5 instances)
- Fix webhook config: move to configuration.pushNotificationConfig (2 instances)

**Why this matters:**
- artifactId is part of A2A protocol for artifact identification/versioning
- Correct field names ensure examples work when developers copy them
- Proper message structure matches A2A specification

**Files modified:**
- docs/media-buy/advanced-topics/orchestrator-design.mdx
- docs/media-buy/task-reference/create_media_buy.mdx
- docs/media-buy/task-reference/provide_performance_feedback.mdx
- docs/protocols/a2a-guide.mdx
- docs/protocols/envelope-examples.mdx
- docs/protocols/getting-started.mdx
- docs/protocols/protocol-comparison.mdx
- docs/signals/tasks/activate_signal.mdx
- docs/signals/tasks/get_signals.mdx

Incorporates fixes from PR adcontextprotocol#231 by @EmmaLouise2018.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add changeset for A2A artifactId documentation fixes

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant