Repository navigation
fix(showcase): D6 reds remediation on built-in-agent — testid backfill + PARITY_NOTES + aimock fixtures + STATE_DELTA wiring - #5413
Merged
Conversation
Backfills data-testid attributes to enable D6 cross-integration test coverage for the built-in-agent integration. Covers: - declarative-gen-ui renderers (5 testids) - headless-complete demo components (6 testids: assistant-bubble, user-bubble, weather-card, highlight-note, input-bar) - headless-simple page (3 testids) - gen-ui-agent page (3 testids including agent-step) - a2ui-fixed-schema definitions + renderers (chat-slots, auth flow) - new sign-in-card component for auth demo - gen-ui-interrupt cancel testid on time-picker-card - shared not-supported-banner component for hitl + shared-state-streaming NSF demos
…LGP-mirror components Extracts the inline subagents page DelegationCard into three reusable components that mirror the LGP integration layout, enabling D6 testid coverage: - subagent-activity-card.tsx: per-subagent activity panel - delegation-log.tsx: cumulative delegation event log - supervisor-activity-banner.tsx: supervisor-level status banner The subagents page now composes these components instead of inlining the markup, with data-testid hooks for D6 selectors.
…ive fixtures for built-in-agent D6 Two aimock fixture updates to unblock built-in-agent D6 verification: - gen-ui-a2ui-fixed.json: new fixture so display_flight pill routes the Card mount through the a2ui-fixed-schema renderer host - gen-ui-declarative.json: reshaped to the built-in-agent two-call sequence with the flat catalog shape the BIA route emits
…ATE_DELTA stream Adds the set_steps tool definition to state-tools and wires it through the tanstack factory so the gen-ui-agent demo emits STATE_DELTA events on its agent-plan stream the same way the LGP integration does.
…id-frontend-tool-roundtrip + known issues Documentation companion to the BIA D6 readiness work: - PARITY_NOTES.md: tracks built-in-agent feature parity vs LGP + a 'Known Issues' section documenting 3 D6 demos that remain red due to downstream renderer/state gaps in @copilotkit/react-core (a2ui renderer host doesn't mount Card; STATE_DELTA → useAgent state-subscription gap; declarative-gen-ui renderer host shares the same class). All three require fixes outside this PR's scope. - feature-registry.json: adds threadid-frontend-tool-roundtrip feature entry covering the new gen-ui-agent STATE_DELTA wiring.
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
June 12, 2026 12:03
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
Production Digest-Pinning Audit12 of 41 service(s) not digest-pinned.
Run 2026-06-12 05:12:56 PDT — 12 finding(s). |
…d-tool-roundtrip feature add
2 tasks done
jpr5
added a commit
that referenced
this pull request
Jun 12, 2026
…TA op:add (#5421) ## Summary Small followups to PR #5413 (BIA D6 readiness, merged 2026-06-12). - **`PARITY_NOTES.md` NSF naming**: corrected `hitl` (which is supported in BIA via Strategy-B `useFrontendTool`) to call out the actual NSF-quarantined demos `gen-ui-interrupt` and `shared-state-streaming` per the manifest. PR #5413's NSF banner commit (`3585c33b8`) mounted the banners on the correct demos. - **Sub-Agents TODO removed**: post-merge staging dashboard showed sub-agents RED; diagnose confirmed code on `5e828aed9` is correct (local `--direct` D6 PASSES). The staging RED was stale dashboard image / fixture cache, not code. PARITY_NOTES no longer claims sub-agents is a known-issue. - **gen-ui-agent STATE_DELTA op fix**: BIA's `set_steps` tool emission used RFC-6902 `op: "replace"` on path `/steps`, but the agent's initial state is `{}` and `fast-json-patch` rejects unresolvable paths in strict mode (`@ag-ui/[email protected]` swallows the throw with `console.warn`). Changing to `op: "add"` creates the path on first emission and idempotently overwrites on subsequent calls. Single-line fix in `tanstack-factory.ts`. ## Out-of-scope (tracked separately) - **a2ui-fixed-schema + declarative-gen-ui** (PR #5413 documented known-issues): root cause is in `@copilotkit/runtime/v2` v2-stack pipeline OR `@ag-ui/[email protected]` JSON.parse gap — one upstream fix likely unblocks both. Diagnose reports at `/tmp/cr/bia-rxr-diagnose/{a2ui-fixed-schema,declarative-gen-ui}.md`. Needs separate packages PR. - **tool-rendering port + headless-complete missing components**: BIA needs StockCard, ChartCard, `get_revenue_chart` server tool, UI primitives. Separate component-port PR. - **shadcn catchall**: product/design call pending (escalate to PM). ## Test plan - [x] Local `--direct` D6 verify on `gen-ui-agent` after the JSON-Patch op fix - [x] CI green on PR
3 tasks done
jpr5
added a commit
that referenced
this pull request
Jun 15, 2026
… + headless-complete + LGP-canonical naming (#5427) ## Summary BIA D6 component port (#4 from PR #5413 followup list). Companion to PR #5407 (claude-sdk-python), PR #5413 (initial BIA D6), PR #5421 (BIA D6 small follow-ups). Brings BIA closer to LGP gold-standard parity. ### What's in - **tool-rendering**: 5 LGP-mirrored companion components (`weather-card`, `flight-list-card`, `stock-card`, `d20-card`, `custom-catchall-renderer`) + extracted `tool-renderers.tsx` wiring. **D6 GREEN.** - **headless-complete**: 2 new components (`stock-card`, `chart-card`) + `get_revenue_chart` server tool + LGP-aligned 4 pill suggestions + `data-message-role` on bubble cascade + `get_weather` tool name fix in tool-renderers. Turns 1 (weather) + 2 (stock) GREEN. - **roll_dice → roll_d20 rename** across BIA backend + reasoning-chain references (LGP canonical naming). - **aimock fixtures**: BIA-namespaced `tool-rendering.json` updated + `tool-rendering-reasoning-chain.json` realigned to the rename. - **PARITY_NOTES**: documents the server-tool reprompt loop architectural gap blocking turns 3+4 of headless-complete. ### Known issue (documented in PARITY_NOTES.md, out-of-PR-scope) headless-complete turns 3 (highlight_note) and 4 (revenue_chart) RED due to BIA's TanStack multi-turn server-tool reprompt cycle + aimock userMessage-keyed fixtures looping until timeout. Three remediation options identified — all require changes outside this PR's scope (BIA agent architecture / aimock matcher precedence / fixture matcher gating). ### Test plan - [x] Local `--direct` D6 on tool-rendering: GREEN (2.8s) - [x] Local `--direct` D6 on headless-complete: turns 1+2 GREEN, turns 3+4 RED (documented) - [x] CI green on PR
This branch was successfully deployed
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.
Scope
Built-in-agent integration D6 readiness pass — companion to PR #5407 (merged) which fixed the claude-sdk-python integration. This PR follows the same PARITY_NOTES pattern.
What changed
sign-in-cardcomponent), chat-slots welcome, gen-ui-interrupt cancel.not-supported-bannerfor NSF demos (hitl, shared-state-streaming); subagents extraction into LGP-mirror components (subagent-activity-card,delegation-log,supervisor-activity-banner).gen-ui-a2ui-fixed.json(new — routesdisplay_flightpill through the Card mount);gen-ui-declarative.json(reshaped to BIA's two-call sequence + flat catalog shape).set_stepstool registered instate-toolsand wired throughtanstack-factorysogen-ui-agentemitsSTATE_DELTAevents on its agent-plan stream.threadid-frontend-tool-roundtripfeature entry.D6 verify status
packages/react-core, outside this PR's scope — seePARITY_NOTES.md"Known Issues"):useAgentstate-subscription gap prevents the React side from observing the delta.Verify reports:
/tmp/cr/verify-5425/d6-direct-v2-REPORT.md.Builds on
PR #5407's PARITY_NOTES pattern for documenting integration-vs-LGP gaps with downstream-tracked known issues.