Skip to content

docs(spec): fix missing contextId in streaming example - #2083

Open
juanferrub wants to merge 2 commits into
a2aproject:mainfrom
juanferrub:agent/fix-streaming-contextid-example
Open

docs(spec): fix missing contextId in streaming example#2083
juanferrub wants to merge 2 commits into
a2aproject:mainfrom
juanferrub:agent/fix-streaming-contextid-example

Conversation

@juanferrub

Copy link
Copy Markdown
Contributor

What changed

  • add contextId to the streaming task example in section 6.2
  • keep the SSE example aligned with the documented event/task shape

Why

The streaming example omitted contextId even though the spec requires it for task/event continuity. This makes the example easy to copy incorrectly.

Root cause

The prose and field definitions were updated, but the SSE example in docs/specification.md was left behind.

Validation

  • ran bash scripts/sort_spelling.sh
  • ran npx markdownlint-cli 'docs/**/*.md' --config '.github/linters/.markdownlint.json' --fix
  • ran git diff --check

Fixes #1683

@juanferrub juanferrub changed the title docs: fix missing contextId in streaming example docs(spec): fix missing contextId in streaming example Jul 29, 2026
@juanferrub
juanferrub marked this pull request as ready for review July 29, 2026 08:33
@juanferrub
juanferrub requested a review from a team as a code owner July 29, 2026 08:33
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.

[Bug]: The contextId field is not returned in the SSE response stream example in section 6.2. Streaming Task Execution.

1 participant