Skip to content

Add reference for A2A metadata and extensions - #658

Merged
Rachael-Graham merged 5 commits into
kagent-dev:mainfrom
Stevenjin8:metadata
Nov 6, 2026
Merged

Rachael-Graham merged 5 commits into
kagent-dev:mainfrom
Stevenjin8:metadata

Conversation

@Stevenjin8

Copy link
Copy Markdown
Contributor

No description provided.

@sebbycorp
sebbycorp self-requested a review November 2, 2026 14:27
@Stevenjin8

Copy link
Copy Markdown
Contributor Author

@sebbycorp can you approve CI

@Stevenjin8

Copy link
Copy Markdown
Contributor Author

@EItanya if you want to take a look for correctness/what we want to promise. I tried to make it fairly low commitment

@iplay88keys iplay88keys left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI-generated review. I reviewed the findings before posting.

The gateway removes only timeline-position and task-created-at from caller requests. A caller can send other kagent.dev/a2a/* keys on a message, and the gateway stores them. Can we add one sentence that tells clients not to trust these keys on user messages?

The PR changes 23 lastmod dates in public/sitemap.xml. Can we remove that file from this PR?

@iplay88keys

Copy link
Copy Markdown

🤖 AI-generated comment. I reviewed it before posting.

Thanks for the updates. The part-type and usage changes look good. Three open points from my earlier review:

  1. The usage section no longer points to the token-usage extension. Can we add one sentence that tells clients to use the extension for task totals?
  2. A caller can send kagent.dev/a2a/* keys on a message, and the gateway stores them. The gateway removes only timeline-position and task-created-at. Can we add one sentence that tells clients not to trust the other keys on user messages?
  3. The PR still changes 23 lastmod dates in public/sitemap.xml. Can we remove that file from this PR?

@Stevenjin8

Copy link
Copy Markdown
Contributor Author

🤖 AI-generated comment. I reviewed it before posting.

Thanks for the updates. The part-type and usage changes look good. Three open points from my earlier review:

1. The `usage` section no longer points to the token-usage extension. Can we add one sentence that tells clients to use the extension for task totals?

2. A caller can send `kagent.dev/a2a/*` keys on a message, and the gateway stores them. The gateway removes only `timeline-position` and `task-created-at`. Can we add one sentence that tells clients not to trust the other keys on user messages?

3. The PR still changes 23 `lastmod` dates in `public/sitemap.xml`. Can we remove that file from this PR?

1 and 3 are valid. I think 2 isn't worth mentioning since this metadata doesn't make any sense on a user message and I think might just confuse readers. I plan on merging this on Friday.

Signed-off-by: Steven Jin <steven.jin@solo.io>
Signed-off-by: Steven Jin <steven.jin@solo.io>
Signed-off-by: Steven Jin <steven.jin@solo.io>
Signed-off-by: Steven Jin <steven.jin@solo.io>
Signed-off-by: Steven Jin <steven.jin@solo.io>
@Rachael-Graham
Rachael-Graham merged commit 8abb662 into kagent-dev:main Nov 6, 2026
3 of 4 checks passed
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.

4 participants