docs(cockpit-render): aimock e2e not applicable + per-cap port alignment#483
Merged
Conversation
Investigation: the 6 render capability demos (spec-rendering, element-rendering, state-management, registry, repeat-loops, computed-functions) don't fit the aimock e2e pattern. - No <chat-input>: render demos use a spec picker with hardcoded sample specs from app/specs.ts. - No LLM backend wiring at the UI: python backends exist for the LangGraph manifest, but the Angular demo uses an in-process StreamingSimulator instead. - No chat-message bubbles: renders via <render-spec>/<render-element> primitives from @ngaf/render directly. Tried scaffolding via the generator + recording fixtures via the generic recorder — both succeeded mechanically, but the resulting e2e specs would have no chat-input to drive. Adding aimock coverage would require a demo-shape change (give each render demo a chat surface that feeds specs through an LLM). What this PR ships: - `cockpit/render/README.md` — single README documenting the gap (same pattern as cockpit/chat/debug/angular/e2e/README.md). - Registry: adds pythonPort fields to all 6 render caps (5401-5406) for structural consistency with chat/langgraph caps. Even without aimock coverage, the per-cap port convention is correct. - proxy.conf.json: aligns each render cap's proxy with its new pythonPort. Currently no /api calls hit it (StreamingSimulator bypasses), but the wiring is consistent for future use. Out of scope: - Render-specific e2e harness (visual diffs, scrubbing). Separate cycle if desired. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3 tasks
blove
added a commit
that referenced
this pull request
May 20, 2026
Final product line. Brings cockpit aimock coverage to 24 of 32 caps (75%). All 6 deep-agents caps use composed <chat>, same shape as the langgraph caps: - da-planning, da-filesystem, da-subagents, da-memory, da-skills, da-sandboxes. Fixtures recorded via scripts/record-aimock-cap.sh; specs send "Hello" and assert the assistant bubble renders (smoke-level end-to-end coverage per cap). Registry + proxy changes: adds pythonPort to all 6 deep-agents caps (5310-5315) and aligns proxy.conf.json with the new ports. Same convention chat and langgraph caps follow. Coverage after this PR + #483 (render gap doc) merging: - Chat: 10/11 + c-debug documented = 11/11 handled. - Langgraph: 8/8. - Deep-agents: 6/6. - Render: 0/6 (aimock not applicable; documented in #483). - ag-ui-streaming: 0/1 (no Python backend by design). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Investigation outcome for the render product line. The 6 render capability demos don't fit the aimock e2e pattern because they don't use a chat surface — they're streaming-visualization demos driven by an in-process `StreamingSimulator` over hardcoded sample specs.
What this PR ships
What was tried
Coverage after this PR
Out of scope
Test plan
🤖 Generated with Claude Code