Repository navigation
Improve Personal Assistant guidance for native Gen UI - #1764
Closed
contextablemark wants to merge 8 commits into
Closed
contextablemark wants to merge 8 commits into
contextablemark wants to merge 8 commits into
Conversation
contextablemark
marked this pull request as ready for review
November 17, 2026 19:32
contextablemark
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 17, 2026 19:32
9 tasks done
davidmckayv
added a commit
that referenced
this pull request
Dec 3, 2026
Builds on #1764 by @contextablemark. The native generative UI guidance goes into every run's AG-UI context whenever the run advertises the native catalog, built-in or connected Bot alike; the HTML design guide is scoped to HTML.
Contributor
|
Brought in as #2831 (credited to @contextablemark), re-done on current main so the guidance reaches every Bot offered the native catalog, not only the built-in Personal Assistant. Closing as superseded. Thanks Mark. |
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.
What this changes
Personal Assistant currently receives HTML iframe design instructions even when drawing with the native A2UI catalog. Those instructions describe iframe CSS and grayscale charts, which can misdirect native answers.
Add reusable guidance for choosing useful interfaces, binding controls to live results, drawing labeled native charts, checking facts and operation results, and keeping simple answers in prose. Deliver it through the existing per-run Bot-facts middleware, using the starter package identity and an advertised native catalog. Explicitly scope the retained iframe instructions to HTML on those runs. Other Bots and runs without native Gen UI retain their existing context.
This uses the existing catalog and renderers.
Where it runs
Boundary and audit
Changelog
Proof
Same prompt with guidance off and on
I sent this exact message to Personal Assistant in two fresh conversations. I ran the base version first, with the PR guidance off, then ran the PR version with the guidance on. Both runs used GPT-6.1 Terra at Low, the same server, and the same native catalog. The PR guidance was the only change to the run configuration.
The base run delegated the request and left a task card in the conversation. The PR run drew native Friday, Saturday, and Sunday tabs directly in the reply. I switched to each day and verified its contents.
What Open thread shows
In the guidance-off run, Open thread opens a separate conversation containing the instructions Personal Assistant handed to the delegated task. The task card says Done, but the result inside the thread is marked
[blocked]. The reply says it couldn’t place the controls in the conversation, and the thread shows no interactive day tabs.This is one observed pair. A separate, longer itinerary prompt was delegated in both versions.
Independent review found no actionable issues. Scoped Biome formatting/lint, app typecheck and full production build passed. Relevant and adjacent suites: 102 passed, 2 existing opt-in browser tests skipped, 0 failed.
Real browser checks against the published local server with GPT-6.1 Terra/Low: