From 1df21440ff9a517b0cc0a48c450d2c3d10a91b32 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 19 May 2026 13:45:25 -0700 Subject: [PATCH] docs(cockpit-chat): document c-debug skip + add record scripts for surface caps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three Task #4 deferred caps handled: 1. c-debug — adds e2e/README.md explaining why aimock e2e is not applicable. The demo's purpose is to show the viewer composition (timeline, state inspector, diff viewer); it has no affordance, so the aimock helper that types into chat input + asserts on rendered bubbles can't drive it. Adding aimock coverage would require a demo-shape decision (compose chat-debug with chat, or add a sibling chat-input) — out of scope for this PR. 2. c-generative-ui — adds e2e/scripts/record-c-generative-ui.sh. Drives the two welcome-chip prompts ("Show me a dashboard of airline operations." and "Filter to only the cancelled flights.") through aimock --record mode, captures the tool_call + continuation turns into a fixtures/c-generative-ui.json. 3. c-a2ui — adds e2e/scripts/record-c-a2ui.sh. Same pattern, drives "I want to fly LAX to JFK" + "I want to fly SFO to SEA" through record mode, captures the inline A2UI envelope JSONL emissions. Both record scripts are adapted from cockpit/chat/interrupts/angular/ e2e/scripts/record-c-interrupts.sh, removing the interrupt-resume handshake (generative-ui and a2ui flows are single-run completions). Next step (separate follow-up PR): - Run OPENAI_API_KEY=sk-... bash