Skip to content

docs(a2ui): the introduction teaches through the running example - #1037

Merged
blove merged 3 commits into
mainfrom
blove/docs-example-first-a2ui
Sep 6, 2026
Merged

docs(a2ui): the introduction teaches through the running example#1037
blove merged 3 commits into
mainfrom
blove/docs-example-first-a2ui

Conversation

@blove

@blove blove commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

PR 7 of the example-first docs program (plan: docs/superpowers/plans/2026-09-06-docs-example-first-products.md, PR 7 row; spec: docs/superpowers/specs/2026-09-05-docs-example-first-content-design.md).

Page rewritten: a2ui/getting-started/introduction keeps its package-level sections (how it fits, what the package owns, message flow, relationship to chat and render, safe fallback posture, install) and gains the flight-booking demo walk: component schema, surface spec, v0.9 envelope wrapping, the form-authoring node, action routing, graph wiring, server, provider, and the <chat> catalog registration, as nine sequential <ExampleCode> blocks (six tight regions in an 849-line graph).

Walkthrough deleted: cockpit/ag-ui/a2ui/python/docs/guide.md; PENDING_PAGES drops the entry.

Example sources: comment-only #region markers in graph.py; deployments/ag-ui-dev/deps/a2ui/** regenerated (drift gate clean).

Facts settled (verified in libs/a2ui, libs/chat/src/lib/a2ui, the classifier, and the graph): the protocol requires only that createSurface precede everything and that a root component exist before paint; the component class nests inside the structured-output schema; the airport seed runs only on a true first turn; the package exports five tool groups; the old _bindings "known limitation" is obsolete (path refs are two-way markers resolved against the live store).

Verification: nx run-many -t test,lint green (website, cockpit-registry, cockpit-shell, scripts); generators no drift; prod build renders the page with 9 data-example-file blocks for 9 tags; nx e2e website green.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadplane Ignored Ignored Preview Sep 6, 2026 8:53am UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

blove and others added 3 commits September 6, 2026 01:52
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…-turn seed, tool-group count

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@blove
blove force-pushed the blove/docs-example-first-a2ui branch from da9dd8d to ff1f0e1 Compare September 6, 2026 08:53
@blove
blove enabled auto-merge (squash) September 6, 2026 08:53
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove merged commit 7327e3a into main Sep 6, 2026
32 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.

1 participant