Skip to content

fix(showcase): close 2 D5 fixture gaps + filter deprecated features from LGP view - #4744

Merged
tylerslaton merged 2 commits into
mainfrom
tyler/lgp-d5-cleanup-and-2-fixes
May 9, 2026
Merged

tylerslaton merged 2 commits into
mainfrom
tyler/lgp-d5-cleanup-and-2-fixes

Conversation

@tylerslaton

Copy link
Copy Markdown
Contributor

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

  • Fix tool-rendering-reasoning-chain probe — added reasoning field 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 from reasoning-display.json).
  • Mirror gen-ui-interrupt source fixture with the bundle — source file was missing the resume-leg toolCallId entries that already exist in d5-all.json. Cosmetic correction so re-bundling stays consistent. Same toolCallIds as interrupt-headless.json (both probes share the same agent + chip prompts).
  • Filter deprecated features from LGP dashboard view — 4 legacy features (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-chat with useHumanInTheLoop). Other 17 integrations still serve those legacy demos so we don't yank the features entirely — instead marked them deprecated: true and updated generate-registry.ts to 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

user concern: "make sure we're not missing any demos in the new dashboard"

Confirmed — every LGP manifest.yaml feature 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.

Category LGP cells
Dev Ex 2 (cli-start, beautiful-chat)
Chat & UI 7
Platform 4 (auth, multimodal, voice, agent-config)
Controlled Generative UI 5
Declarative Generative UI 2
Open-Ended Generative UI 3
Operational Generative UI 5 (incl. tool-rendering-reasoning-chain)
Interactivity 3
Agent State 4 (incl. shared-state-read)
Multi-Agent 1
BYOC 2
Plus: interrupt-headless, headless-* variants 1
Total 39 ✓

Test plan

  • pnpm vitest run in showcase/harness/ → 1588 / 1588 passing
  • pnpm vitest run in showcase/scripts/__tests__/ → 19 / 19 passing (new deprecated features are emitted only for integrations that declare them test 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)
  • After merge: confirm tool-rendering-reasoning-chain flips 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-interrupt cell — still red on prod with post-pick signal never landed within 30s. The bundle already had the right resume-leg fixture, so the failure is in the inline useInterrupt resume flow rather than aimock matching. Same class as the auth.spec.ts test reame #5 framework regression. Both deserve a focused investigation rather than expanding this PR.

🤖 Generated with Claude Code

…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]>
@vercel

vercel Bot commented May 9, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
chat-with-your-data Ready Ready Preview, Comment May 9, 2026 2:11am
docs Ready Ready Preview, Comment May 9, 2026 2:11am
form-filling Ready Ready Preview, Comment May 9, 2026 2:11am
research-canvas Ready Ready Preview, Comment May 9, 2026 2:11am
travel Ready Ready Preview, Comment May 9, 2026 2:11am

Request Review

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

📣 Social Copy Generator

Generate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.

  • Generate social media copies

@tylerslaton
tylerslaton merged commit 7f50464 into main May 9, 2026
6 checks passed
@tylerslaton
tylerslaton deleted the tyler/lgp-d5-cleanup-and-2-fixes branch May 9, 2026 02:32
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
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)
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

5 active deployments
Preview – research-canvas — 80eb7a12 Deployed May 9, 2026 by vercel[bot]
Preview – travel — 80eb7a12 Deployed May 9, 2026 by vercel[bot]
Preview – docs — 80eb7a12 Deployed May 9, 2026 by vercel[bot]
Preview – form-filling — 80eb7a12 Deployed May 9, 2026 by vercel[bot]
Preview – chat-with-your-data — 80eb7a12 Deployed May 9, 2026 by vercel[bot]
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