Repository navigation
fix(showcase): D6 reds remediation — manifest NSF + hygiene (14 integrations) + claude-sdk-python testid/hook fixes (+16 component testids) - #5407
Merged
Conversation
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
June 12, 2026 07:18
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 03:26:31 PDT — 12 finding(s). |
Closed
4 of 5 tasks
…ration manifests Annotates 14 integration manifests with d6_not_supported_features entries and aligns d6_supported_features with what each backend actually implements, so the D6 fleet probe only enumerates demos that the backend can serve.
…ok + V2 CopilotKit import Replaces useLangGraphInterrupt with useInterrupt (LangGraph-specific hook not exported from the V2 React core) and switches the CopilotKit provider import to @copilotkit/react-core/v2 so the demo mounts under the V2 runtime that the D6 probe drives.
…k-python D6 probes Adds the missing gen-ui-a2ui-fixed aimock fixture and reshapes the declarative-gen-ui fixture so the claude-sdk-python D6 probes have deterministic LLM replay for both gen-ui demos.
…robe Adds the chart-card renderer and wires it into the headless-complete tool-renderers map so the D6 probe for the headless-revenue-chart feature can mount and assert against a real chart component.
… + demo bugfixes + V2 import for gen-ui-interrupt Backfills the data-testid markers the D6 probes assert against across the auth, headless-simple, headless-complete, a2ui-fixed-schema, declarative-gen-ui, and gen-ui-interrupt demos; aligns the python a2ui_fixed agent + a2ui definitions/renderers with the canonical LGP shapes; and switches the gen-ui-interrupt CopilotKit provider import to @copilotkit/react-core/v2 so the demo mounts under the V2 runtime that the D6 probe drives.
…essage testids
Adds inline comments next to the data-testid="headless-message-{user,assistant}"
markers in assistant-bubble.tsx, user-bubble.tsx, and headless-simple/page.tsx
explaining that the testids intentionally repeat once per message — mirroring
the canonical LGP implementation — and that role discrimination for the D6
conversation-runner is via data-message-role, not unique testids.
jpr5
force-pushed
the
fix/manifest-nsf-additions
branch
from
June 12, 2026 10:26
78257fe to
dad8ff0
Compare
jpr5
added a commit
that referenced
this pull request
Jun 12, 2026
…l + PARITY_NOTES + aimock fixtures + STATE_DELTA wiring (#5413) ## 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 - **~28 testids backfilled across 13 demos**: declarative-gen-ui renderers, headless-complete (assistant-bubble, user-bubble, weather-card, highlight-note, input-bar), headless-simple, gen-ui-agent, a2ui-fixed-schema (definitions + renderers), auth (new `sign-in-card` component), chat-slots welcome, gen-ui-interrupt cancel. - **New components**: shared `not-supported-banner` for NSF demos (hitl, shared-state-streaming); subagents extraction into LGP-mirror components (`subagent-activity-card`, `delegation-log`, `supervisor-activity-banner`). - **2 aimock fixtures**: `gen-ui-a2ui-fixed.json` (new — routes `display_flight` pill through the Card mount); `gen-ui-declarative.json` (reshaped to BIA's two-call sequence + flat catalog shape). - **1 backend wire-up**: `set_steps` tool registered in `state-tools` and wired through `tanstack-factory` so `gen-ui-agent` emits `STATE_DELTA` events on its agent-plan stream. - **PARITY_NOTES.md**: tracks BIA-vs-LGP feature parity + a Known Issues section. - **feature-registry.json**: adds `threadid-frontend-tool-roundtrip` feature entry. ## D6 verify status - **3 GREEN**: auth, chat-slots, subagents. - **1 expected-NSF**: gen-ui-interrupt (cancel testid verified). - **3 still RED with documented downstream root causes** (all require fixes in `packages/react-core`, outside this PR's scope — see `PARITY_NOTES.md` "Known Issues"): - a2ui-fixed-schema: renderer host doesn't mount Card. - gen-ui-agent: STATE_DELTA stream emits, but `useAgent` state-subscription gap prevents the React side from observing the delta. - declarative-gen-ui: same renderer-host class as a2ui-fixed-schema. - **2 additional reds are pre-existing harness issues NOT introduced here**: headless-complete aimock fixture, headless-simple chip-text drift. 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.
jpr5
added a commit
that referenced
this pull request
Jun 12, 2026
…llamaindex (#5412) ## Summary Content-red dashboard remediation across CopilotKit showcase integrations (spring-ai, ag2, claude-sdk-typescript, llamaindex). Aligns aimock fixtures (d4 and d6) with real backend output shapes, ports A2UI v0.9 declarative legs, quarantines unsupported features as NSF with the canonical d5-feature-mapping literals, adds route aliases the harness expects, and fixes backend bugs in the per-family agent stacks. ## Verification (local `bin/showcase test <family> --d6` baseline-vs-branch comparison) **13 dashboard cells go from RED on `main` to GREEN on this branch:** | Family | Cells fixed | |--------|-------------| | spring-ai | auth, gen-ui-open, gen-ui-open-advanced, headless-simple, subagents, tool-rendering-custom-catchall | | ag2 | gen-ui-a2ui-fixed, gen-ui-agent, tool-rendering | | claude-sdk-typescript | beautiful-chat-search-flights, gen-ui-a2ui-fixed, gen-ui-agent, tool-rendering | | built-in-agent | headless-simple ✓ (verified — was the targeted A20 fix) | **Zero regressions on spring-ai, claude-sdk-typescript.** Pre-existing reds unchanged. ##⚠️ Known regression — DOCUMENTED, not yet fixed - **ag2 / `mcp-apps`**: was GREEN on `main`, RED on this branch. Per-pill snapshot confirms (`/tmp/cr/baseline-ag2-pills.json` vs `/tmp/cr/ag2-final-pills.json`). Harness signature: `assistant did not respond within 30000ms (turns_completed=0)` → "Run ended without emitting a terminal event". Root cause not localized; suspect interaction between R7-A1 (`http.disconnect` synthesis dropped from request-context middleware) and the mcp-apps SSE shutdown path, but the middleware fix was deliberate ASGI semantics correction and reverting it re-opens the SSE-abort it was meant to address. Possible remediations (for follow-up): 1. Investigate the mcp-apps `/api/copilotkit-mcp-apps` SSE close sequence under R7-A1's "always await real disconnect" semantics. If the inner FastAPI app holds the channel waiting for a real disconnect, the harness may time out before uvicorn signals it. 2. Re-evaluate R7-A1: emit a synthetic disconnect ONCE per request, but ONLY in response to a specific signal (e.g. `more_body=False` for the inner app's final receive), not unconditionally. This regression was caught BY the verification gate, NOT bypassed. Documented here so reviewers can decide ship-as-is + follow-up vs hold-for-fix. ## Pipeline summary - 8 cr-loop review rounds, 1000+ findings deduped per round - 5 fix cycles (R1: 24 items; R2: 10 R2-A regressions + 5 in-diff bucket-(a); R3: 7 items; R5: 3 items; R7: 4 items; R9: 1 byoc demo cleanup) - Procedure 3 bucket-(c) promotion audit: 0 PROMOTE_TO_A - Rebased onto `origin/main` (203-commit gap caught at pre-push) - `pre-push-quality` clean: formatter (oxfmt + ruff) green, lint green, typecheck green, tests green, build green, docker build green (`showcase-spring-ai:prepush-test` 3.62GB), actionlint green on new workflow - Local `bin/showcase test --d6` verification per the user's hard gate — 5 families verified + baseline comparison ## Coordinated work Coordinated via `coordinate` channel with peer session `dashboard-cell-fixes` (PR #5407, merged: D6 manifest cleanup + claude-sdk-python testid backfill, 13 manifests excluding ag2 + spring-ai). Manifests ag2 + spring-ai are this PR's territory; non-overlap confirmed. ## Test plan — what improved Per-family local `bin/showcase test <family> --d6` baseline-on-main vs branch (per-pill PocketBase snapshots in `/tmp/cr/{baseline,our}-*-pills.json`). The change attributable to this PR: | Family | Δ on D6 dashboard | Cells flipped red → green | |--------|-------------------|----------------------------| | **spring-ai** | **+6** | `auth`, `gen-ui-open`, `gen-ui-open-advanced`, `headless-simple`, `subagents`, `tool-rendering-custom-catchall` | | **ag2** | **+2 net** (+3 fixed, −1 regression) | fixed: `gen-ui-a2ui-fixed`, `gen-ui-agent`, `tool-rendering` · regression: `mcp-apps` (see⚠️ above) · also: dangling `byoc` declarative-* demos removed from manifest | | **claude-sdk-typescript** | **+4** | `beautiful-chat-search-flights`, `gen-ui-a2ui-fixed`, `gen-ui-agent`, `tool-rendering` | | **llamaindex** | **+1** | `gen-ui-agent` (R1-A4 target) — `shared-state-write` confirmed green | | **built-in-agent** | **+1** | `headless-simple` (A20 targeted fix) | **Net dashboard impact: 13 cells red → green, 1 regression (ag2/`mcp-apps`) = +12 net.** What landed per family (commit per concern, in stack order): - **`975d5d80b` spring-ai** — manifest NSF reasoning canon (closes spring-ai's reasoning-default-render + agentic-chat-reasoning + tool-rendering-reasoning-chain pills against AG-UI Java SDK's missing `REASONING_MESSAGE_*` union) + Jackson `@Primary` ObjectMapper bean-race fix (deterministic JSON wire shape) + `RunErrorEvent` mixin renaming `error` → `message` for AG-UI core wire compatibility + error-banner pattern across mcp-apps routes + Java tool JSON hardening + `.ag-ui-sha` centralized pin source + new `test_unit-spring-ai.yml` workflow + Dockerfile explicit `git fetch origin $SHA` guard. → fixes the 6 spring-ai cells above by closing the wire-shape gap between spring-ai and the harness. - **`2b0ce1065` ag2** — manifest NSF reasoning canon + new ASGI middleware `_request_context.py` with `_latest_user_message` `ContextVar` (unblocks per-request user-message threading the harness asserts on) + async OpenAI client + tool serialization fix + R9-A2 manifest cleanup of stale declarative-* demos. → fixes the 3 ag2 cells. - **`4e79e3bd1` claude-sdk-typescript** — per-content-block array refactor for text/thinking/tool_use replay order on Anthropic `/v1/messages` shape (the core fix) + per-block `randomUUID` + reasoning route + alias coherence. → fixes the 4 cst cells by aligning Anthropic content-block sequencing with the harness's strict replay-order check. - **`5fd4028b4` llamaindex** — `gen-ui` + beautiful-chat agent updates + mcp-apps + copilotkit route alias coherence + demo-files assets. → fixes `gen-ui-agent`. - **`aec5b82ed` per-integration adjacencies** — `@ts-expect-error` swaps + agno comment + built-in-agent `headless-simple` UUID fallback + error banner across agno/crewai-crews/langroid/mastra/pydantic-ai/strands mcp-apps routes. → fixes built-in-agent `headless-simple`; prevents banner-render regressions across 6 other families. - **`a02cfb7a7` aimock** — d4 broad-matcher narrowing + d6 per-family content-shape alignment + chunkSize emoji surrogate-pair guard + threadid context gates. → the fixture realignment that makes all the above backend fixes verifiable end-to-end through the harness. - **`1f5b90095` Validate Showcase fix** — `KNOWN_SHADOW_CEILING` 123 → 128 in `aimock-fixtures.test.ts` (the d6 content-shape alignment adds tracked, runtime-disambiguated substring overlaps; this is the test author's documented escape hatch — see the comment around the constant). Quality gates run: - [x] `pre-push-quality` — oxfmt+ruff, lint, typecheck, tests, monorepo build, `docker build` on `showcase-spring-ai:prepush-test` (3.62 GB image), actionlint on the new CI workflow — all green - [x] CI: 43/43 green on `1f5b90095` (Validate Showcase needed attempt 2; `generate-registry.test.ts:211` is a known sentinel-cleanup flake unrelated to this PR's diff) **Decision needed**: ship-as-is and roll `ag2/mcp-apps` regression into the consolidated follow-up PR (alongside the bucket-(c)/(d) deferred items in `## Follow-up` below), OR hold this PR and fix `mcp-apps` in-PR first. Two candidate remediations are described in the⚠️ block above. ## Upstream gaps (flagged, not in scope) - AG-UI Java SDK lacks `REASONING_MESSAGE_*` typed event union — spring-ai uses raw-JSON workaround in `ReasoningController` (manifest declares `reasoning-default-render` + `agentic-chat-reasoning` + `tool-rendering-reasoning-chain` NSF accordingly) - aimock has no `customEvents` key — blocks headless-interrupt D6 replay (interrupt-headless red across all families) - llama-index `ag-ui` lacks `REASONING_MESSAGE_*` ingestion gap — manifest declares accordingly - ag2 image-content rejection — multimodal pill red across ag2 (Python ValueError in agent.py); separate from this PR ## Follow-up A consolidated follow-up handoff file documents the deferred bucket-(c)/(d) items (R2-D1 stack-leak hardening sweep across 11 routes, R2-D2 customEvents, R2-D3 @copilotkit/runtime agents-generic, R2-D4 mcp.excalidraw.com default URL, R3 misc adjacencies, etc.) for a single consolidated follow-up PR per the "minimize PRs by aggregating related work" directive.
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.
Summary
D6 reds remediation across the staging dashboard. Consolidates manifest-level NSF/hygiene fixes for 13 integrations with two targeted claude-sdk-python fixes that surfaced during the per-integration audit.
What's in scope
Manifest cleanup (12-14 integrations touched):
not_supported_featuresentries forreasoning-default-render,agentic-chat-reasoning,tool-rendering-reasoning-chain, andinterrupt-headlessper backend capability (e.g. ms-agent-dotnet gets onlyinterrupt-headlesssince itsReasoningAgent.csnatively emits REASONING_MESSAGE_*; langgraph-fastapi natively supports both → no additions).shared-state-streamingand related entries that previously appeared in BOTHfeatures:ANDnot_supported_features:.shared-state-readandthreadid-frontend-tool-roundtriptofeatures:where the demo exists but wasn't declared. Note:threadid-frontend-tool-roundtripwas REVERTED — feature isn't registered inshowcase/shared/feature-registry.json; the registry needs the canonical entry before manifests can declare it. Tracked as follow-up.claude-sdk-python:
hitl/page.tsx: replaceduseLangGraphInterrupt(from@copilotkit/react-core) withuseInterrupt(from@copilotkit/react-core/v2) — wrong-framework import on a non-LG backend.gen-ui-interrupt: addeddata-testid="time-picker-cancel"to the cancel button.Out of scope (deferred / handled elsewhere)
fix/content-reds— those changes land via that PR."default"-agent pattern is INTENTIONAL architecture (documented in README + earliest port commit + uniform across 12+ routes); per-demo dimension comes fromsrc/lib/factory/*keyed off route URL. Track 1 (PARITY_NOTES.md doc) + Track 2 (testid-only backfill, separate PR) tracked as follow-ups.Validation
npm run validate-manifestspasses; all 15 affected manifests parse valid YAML.npx oxfmt --writeon changed files.Provenance
Driven by a per-integration parity audit (LGP canon, 17 red integrations, 11-slot CR fan-out, 39-demo canon enumerated; reports archived to /tmp/cr/audit/ during the investigation). Coordinated with parallel
fix/content-redssession via thecoordinateskill to avoid file-overlap with their ag2 + spring-ai manifest work and other deeper changes.Closes #5406 (claude-sdk-python testid/hook fixes — folded into this PR).
Additional fixes (folded in after re-audit)
Re-audit of the original claude-sdk-python audit revealed 16 ADD-EMITTER fixes the prior agent missed. All components existed; only
data-testidattributes were absent.auth-demo-error-message)a2ui-fixed-cardvia Card renderer override + matching definitions entry, mirroring LGP)Not added (genuinely missing components, deferred):
auth-sign-in-card,auth-sign-out-button,auth-profile-cardheadless-revenue-chart