Repository navigation
fix(showcase): close 2 D5 fixture gaps + filter deprecated features from LGP view - #4744
Merged
Merged
Conversation
…rom gold-standard view Three fixes that follow up on PR #4743 to bring LGP closer to fully-green on the dashboard: 1. tool-rendering-reasoning-chain probe: was failing with `expected [data-testid="reasoning-block"] to mount within 30000ms`. Root cause: the demo's `<ReasoningBlock>` slot only mounts when a reasoning-role message lands in the transcript, which requires aimock to emit REASONING_MESSAGE_* events, which in turn requires the fixture's first-leg response to carry a `reasoning` field. The weather/Tokyo and SFO/JFK first-leg fixtures were missing it. Mirrors the convention documented in reasoning-display.json:2. Patched both source (harness/fixtures/d5/) and bundle (aimock/d5-all.json). 2. gen-ui-interrupt source fixture: the source fixture file was missing the resume-leg toolCallId entries that already existed in the bundle. Cosmetic mirror so re-bundling stays consistent. Same chip prompts + same toolCallIds as interrupt-headless.json (both probes share the same agent and aimock fixture set; the difference is the FRONTEND rendering — useInterrupt inline vs useHeadlessInterrupt separate-pane). 3. Dashboard gold-standard filter: 4 deprecated/legacy features (agentic-chat-reasoning, hitl, hitl-in-chat-booking, reasoning-default-render) used to render as X-marked rows in the LGP gold-standard dashboard view because LGP intentionally does NOT implement them — they were consolidated into the modern shape (reasoning-custom + reasoning-default; hitl-in-chat with useHumanInTheLoop). Other 17 integrations still serve those legacy demos, so we don't yank the features from feature-registry.json entirely. Instead: marked them `deprecated: true` and updated generate-registry.ts to skip emitting cells when a deprecated feature is unshipped for an integration. LGP cells: 43 → 39 (the 4 deprecated rows disappear). Other integrations: unchanged (audit trail preserved). Catalog total: 774 → 770. Tests: - 1588/1588 harness vitest passing - 19/19 generate-catalog + generate-registry tests passing (counts updated for the 4 dropped LGP cells + new deprecated- feature filter test) - validate-fixture-tool-surface clean (282 fixtures × 627 demos) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
tylerslaton
requested review from
jpr5,
marthakelly,
mme and
ranst91
as code owners
May 9, 2026 02:01
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.
|
tylerslaton
added a commit
that referenced
this pull request
May 9, 2026
Two related changes that bring the dashboard's gold-standard view in line with the desired naming convention and surface deprecated rows behind a toggle (instead of hiding them at catalog generation). ## Naming alignment Applied 28 renames in feature-registry.json + 20 in LGP manifest per the user-provided mapping. Highlights: - "Pre-Built CopilotChat" -> "Pre-Built: CopilotChat" - "Headless Chat (Simple/Complete)" -> "Headless UI: Simple/Complete" - "Multi-modal / File Uploads" -> "Attachements" (intentional spelling) - "Controlled Gen-UI (Display)" -> "Generative UI: useComponent" - "In-Chat HITL (use*)" -> "Human In/in the Loop: In-chat / Interrupts" - "Headless Interrupt" -> "Human in the Loop: Headless Interrupts" - "Declarative Generative UI (A2UI - *)" -> "Declarative UI: */* A2UI" - "Fully Open-Ended Generative UI" -> "Open Generative UI: Default" - "Tool Rendering ..." -> "Generative UI: Tool Rendering (...)" - "Tool Rendering + Reasoning Chain" -> "Generative UI: Rendering multiple tools" - "Agentic Generative UI ..." -> "Generative UI: Agent State" - "Frontend Tools (...)" -> "Frontend Tools: ..." - "Shared State (...)" -> "Shared State: ..." - "State Streaming" -> "Shared State: Streaming" - "Readonly State (Agent Context)" -> "Shared State: Frontend Context" - "BYOC Hashbrown <-> json-render" -- labels intentionally swapped per user instruction (demos were historically reversed; new labels reflect what they actually do). LGP manifest demos[].name updated to match feature-registry names so the dojo and dashboard surface the same human-readable label. ## Show Deprecated toggle (feature-grid.tsx) Added a checkbox in the matrix header -- default OFF -- that filters feature rows where `feature.deprecated === true`. Toggle ON shows all deprecated features across all integrations (audit trail); toggle OFF hides those rows entirely so the gold-standard view stays clean. Reverted the catalog-side filter from PR #4744 (which dropped LGP cells for deprecated features at catalog-generation time). Now the catalog emits cells uniformly for all (integration x feature) pairs, and visibility is controlled at the dashboard layer. Toggling on shows complete cross-integration data without missing-cell artifacts. Affects 4 features marked deprecated:true in feature-registry.json: agentic-chat-reasoning, hitl, hitl-in-chat-booking, reasoning-default-render. LGP cell count: back to 43 (38 wired + 1 stub + 4 unshipped). The 4 unshipped rows are hidden by default; toggle to surface them. Tests: 18/18 catalog tests + 1588/1588 harness vitest passing. validate-fixture-tool-surface clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
4 of 5 tasks
tylerslaton
added a commit
that referenced
this pull request
May 9, 2026
Two related changes that bring the dashboard's gold-standard view in line with the desired naming convention and surface deprecated rows behind a toggle (instead of hiding them at catalog generation). ## Naming alignment Applied 28 renames in feature-registry.json + 20 in LGP manifest per the user-provided mapping. Highlights: - "Pre-Built CopilotChat" -> "Pre-Built: CopilotChat" - "Headless Chat (Simple/Complete)" -> "Headless UI: Simple/Complete" - "Multi-modal / File Uploads" -> "Attachements" (intentional spelling) - "Controlled Gen-UI (Display)" -> "Generative UI: useComponent" - "In-Chat HITL (use*)" -> "Human In/in the Loop: In-chat / Interrupts" - "Headless Interrupt" -> "Human in the Loop: Headless Interrupts" - "Declarative Generative UI (A2UI - *)" -> "Declarative UI: */* A2UI" - "Fully Open-Ended Generative UI" -> "Open Generative UI: Default" - "Tool Rendering ..." -> "Generative UI: Tool Rendering (...)" - "Tool Rendering + Reasoning Chain" -> "Generative UI: Rendering multiple tools" - "Agentic Generative UI ..." -> "Generative UI: Agent State" - "Frontend Tools (...)" -> "Frontend Tools: ..." - "Shared State (...)" -> "Shared State: ..." - "State Streaming" -> "Shared State: Streaming" - "Readonly State (Agent Context)" -> "Shared State: Frontend Context" - "BYOC Hashbrown <-> json-render" -- labels intentionally swapped per user instruction (demos were historically reversed; new labels reflect what they actually do). LGP manifest demos[].name updated to match feature-registry names so the dojo and dashboard surface the same human-readable label. ## Show Deprecated toggle (feature-grid.tsx) Added a checkbox in the matrix header -- default OFF -- that filters feature rows where `feature.deprecated === true`. Toggle ON shows all deprecated features across all integrations (audit trail); toggle OFF hides those rows entirely so the gold-standard view stays clean. Reverted the catalog-side filter from PR #4744 (which dropped LGP cells for deprecated features at catalog-generation time). Now the catalog emits cells uniformly for all (integration x feature) pairs, and visibility is controlled at the dashboard layer. Toggling on shows complete cross-integration data without missing-cell artifacts. Affects 4 features marked deprecated:true in feature-registry.json: agentic-chat-reasoning, hitl, hitl-in-chat-booking, reasoning-default-render. LGP cell count: back to 43 (38 wired + 1 stub + 4 unshipped). The 4 unshipped rows are hidden by default; toggle to surface them. Tests: 18/18 catalog tests + 1588/1588 harness vitest passing. validate-fixture-tool-surface clean. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
tylerslaton
added a commit
that referenced
this pull request
May 9, 2026
Brings the dashboard's gold-standard view in line with the desired naming and surfaces deprecated rows behind a toggle (instead of dropping them at catalog generation). ## Summary - **28 renames in feature-registry.json + 20 in LGP `manifest.yaml`** — `name` and `demos[].name` aligned per the user-provided mapping. Same label everywhere so the dojo and dashboard agree. - **`Show deprecated` toggle in feature-grid.tsx** — checkbox in the matrix header, default OFF. Filters feature rows where `feature.deprecated === true`. Toggle ON surfaces all deprecated features across all integrations (audit trail); toggle OFF hides them so the gold-standard view stays clean. - **Reverted catalog-side filter from #4744** — the catalog now emits cells uniformly for all (integration × feature) pairs (back to 774 cells, 756 metadata.total_cells). Visibility is controlled at the dashboard layer. Toggling on shows complete cross-integration data without missing-cell artifacts. ## Naming highlights | Was | Now | |---|---| | Pre-Built CopilotChat | Pre-Built: CopilotChat | | Headless Chat (Simple/Complete) | Headless UI: Simple/Complete | | Multi-modal / File Uploads | Attachments | | Controlled Gen-UI (Display) | Generative UI: useComponent | | In-Chat HITL (useHumanInTheLoop / useInterrupt) | Human In the Loop: In-chat / Interrupts | | Headless Interrupt | Human in the Loop: Headless Interrupts | | Declarative Generative UI (A2UI — Dynamic / Fixed Schema) | Declarative UI: Dynamic / Fixed A2UI | | Fully Open-Ended Generative UI | Open Generative UI: Default | | Open-Ended Gen UI (Advanced ...) | Open Generative UI: Custom | | Tool Rendering (Default/Custom Catch-all/Specific) | Generative UI: Tool Rendering (...) | | Tool Rendering + Reasoning Chain | Generative UI: Rendering multiple tools | | Agentic Generative UI (...) | Generative UI: Agent State | | Frontend Tools (In-app / Async) | Frontend Tools: In-app Actions / Async | | In-App Human in the Loop (Frontend Tools + async HITL) | Human in the Loop: In-app | | Shared State (Read + Write / Recipe Editor) | Shared State: Read + Write / Read-only | | State Streaming | Shared State: Streaming | | Readonly State (Agent Context) | Shared State: Frontend Context | | BYOC Hashbrown / json-render | Declarative UI: Hashbrown / json-render | ## Deprecated toggle behavior 4 features marked `deprecated: true` in feature-registry.json: `agentic-chat-reasoning`, `hitl`, `hitl-in-chat-booking`, `reasoning-default-render`. - **OFF (default)**: rows hidden across the matrix - **ON**: rows render with normal cells. LGP shows N/A (unshipped) for the 4 since LGP doesn't declare them; other integrations show their actual probe state Header text shows `(N deprecated hidden)` when toggle is off. Toggle only renders when `deprecatedCount > 0`. ## Test plan - [x] `pnpm vitest run` in `showcase/scripts/__tests__/` → **18 / 18 passing** - [x] `pnpm vitest run` in `showcase/harness/` → **1588 / 1588 passing** - [x] `npx tsx showcase/scripts/validate-fixture-tool-surface.ts` → clean - [x] `npx tsx showcase/scripts/generate-registry.ts` → 18 integrations, 38 wired LGP, 774 cells - [ ] Verify the toggle on Vercel preview — it should appear in the matrix header, default unchecked, click expands rows by 4 (the 4 deprecated features rendering as new cells) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2 of 3 tasks
tylerslaton
added a commit
that referenced
this pull request
May 9, 2026
…-chain agent (#4747) ## Summary `tool-rendering-reasoning-chain` D5 probe has been **sustained red since it was added** (PR #4743) — every tick fails with `expected [data-testid="reasoning-block"] to mount within 30000ms`. Diagnostic dumps from prod confirmed the failure mode: - ✅ WeatherCard mounted (toolCalls fire correctly) - ✅ Assistant text "Tokyo is 22°C and partly cloudy" landed - ❌ Zero reasoning text — the `reasoningMessage` slot never received an event ## Root cause Comparing to the working `reasoning_agent.py` (which backs `reasoning-default` + `reasoning-custom`, both D5 green): | | `reasoning_agent.py` (works) | `tool_rendering_reasoning_chain_agent.py` (was broken) | |---|---|---| | `effort` | `"medium"` | `"low"` | | `summary` | `"detailed"` | `"auto"` | | tools | `[]` | `[get_weather, search_flights, get_stock_price, roll_dice]` | `summary: "auto"` lets the model decide whether to emit a reasoning summary. With tools present, the model frequently skips emission entirely — the chain-of-thought goes straight to the tool call without a summary step. That leaves `role: "reasoning"` messages off the wire, so the v2 `<ReasoningBlock>` slot never mounts. `summary: "detailed"` forces emission on every response. Bumping `effort` to `"medium"` to match the working agent. ## Test plan - [x] PR #4744 already added `reasoning` field to the aimock fixture for `weather in Tokyo` first leg — that part of the wire is fine - [x] Confirmed via prod diagnostic: the rest of the demo (tool rendering, assistant text) works - [ ] Post-merge: `tool-rendering-reasoning-chain` should flip green on the next e2e-deep tick ## Known follow-up (NOT in this PR) `gen-ui-agent` (Agent State) is intermittently flapping (~22% failure rate over recent ticks), with two distinct error modes ("no assistant response" and "agent-state-card never mounts"). Need to dig deeper to determine root cause — separate investigation. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Follow-up to #4743 to close the 2 remaining LGP D5 red cells and clean up the dashboard so it reflects the LGP gold standard.
Summary
tool-rendering-reasoning-chainprobe — addedreasoningfield to the weather/Tokyo + SFO/JFK first-leg fixtures so aimock emits REASONING_MESSAGE_* events; without them the v2<ReasoningBlock data-testid="reasoning-block">never mounted (mirrors the convention fromreasoning-display.json).gen-ui-interruptsource fixture with the bundle — source file was missing the resume-leg toolCallId entries that already exist ind5-all.json. Cosmetic correction so re-bundling stays consistent. Same toolCallIds asinterrupt-headless.json(both probes share the same agent + chip prompts).agentic-chat-reasoning,hitl,hitl-in-chat-booking,reasoning-default-render) used to render as X-marked rows for LGP because LGP intentionally doesn't implement them (consolidated into modern shape:reasoning-custom+reasoning-default,hitl-in-chatwithuseHumanInTheLoop). Other 17 integrations still serve those legacy demos so we don't yank the features entirely — instead marked themdeprecated: trueand updatedgenerate-registry.tsto skip cells where a deprecated feature is unshipped for an integration. LGP cells: 43 → 39 (the 4 X rows disappear). Other integrations: unchanged (audit trail preserved).Verification all 39 LGP demos render
Confirmed — every LGP
manifest.yamlfeature has a feature-registry entry and renders a cell. After this PR, the LGP-focused view shows exactly the 39 gold-standard demos — no missing demos, no spurious legacy X rows.Test plan
pnpm vitest runinshowcase/harness/→ 1588 / 1588 passingpnpm vitest runinshowcase/scripts/__tests__/→ 19 / 19 passing (newdeprecated features are emitted only for integrations that declare themtest added)npx tsx showcase/scripts/validate-fixture-tool-surface.ts→ clean (282 fixtures × 627 demos, no drift)npx tsx showcase/scripts/generate-registry.ts→ 18 integrations, 38 wired LGP features, 770 catalog cells (38 + 1 stub = 39 LGP)tool-rendering-reasoning-chainflips green on next e2e-deep tick. Confirm dashboard LGP view no longer shows X-marked rows for the 4 deprecated features.Known follow-ups (NOT in this PR)
gen-ui-interruptcell — still red on prod withpost-pick signal never landed within 30s. The bundle already had the right resume-leg fixture, so the failure is in the inlineuseInterruptresume flow rather than aimock matching. Same class as theauth.spec.tstest reame #5 framework regression. Both deserve a focused investigation rather than expanding this PR.🤖 Generated with Claude Code