[v6-p2] Card cockpit — five-card primary surface + browser journey proof (864 tests green)#49
Merged
Merged
Conversation
Pins GR#11 for the cockpit UI: each of the five card types renders with data-card-type, every card shows next_step prominently, the blocker card shows human_explanation, and machine codes never appear as visible text (data-* attributes only). https://claude.ai/code/session_01AgdV9SKZZP6JbyTBo2gAWZ
…ckpit's primary state card - New apps/dashboard/src/pages/cockpit/LoopCard.tsx renders exactly the five GR#11 card types from overview.operatorView.card: calm bilingual text, next_step always prominent (cockpit-loop-card-next-step), machine codes exposed only via data-* attributes (data-card-type / data-user-state / data-machine-stage / data-hold-code / data-pr-gate-code). - Mounted above the chat in Cockpit.tsx; before a mission exists an honest client-side UnderstandingCard keeps the same mental model (no fabricated machine state, holds keep their banner). All existing testids unchanged. https://claude.ai/code/session_01AgdV9SKZZP6JbyTBo2gAWZ
…ry step + passing evidence scripts/operator-cockpit-user-e2e.ts now additionally asserts at each journey step that cockpit-loop-card is present with the EXPECTED data-card-type (understanding during clarify, plan at roadmap_ready, progress during execution, blocker at the Draft PR gate), that next_step is readable without logs, and that machine codes never leak into the card's visible text. All pre-existing assertions kept. Evidence (both PASS, real chromium): - evidence/browser-cockpit-user-e2e/2026-06-11T01-52-49-157Z/ (7/7 steps) - evidence/browser-cockpit-quality/2026-06-11T01-53-12-152Z/ https://claude.ai/code/session_01AgdV9SKZZP6JbyTBo2gAWZ
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.
V6-P2 — card cockpit + browser proof
LoopCard.tsx: renders exactly the five GR#11 card types;next_stepis the prominent first row; machine codes ONLY in data-* attributes (13 component tests incl. "blocker never shows raw codes").operator-cockpit-user-e2e.ts: every journey step now asserts the EXPECTED card type (understanding→plan→progress→blocker) + visible next_step without logs. 7/7 PASS in real chromium, evidence committed:evidence/browser-cockpit-user-e2e/2026-06-11T01-52-49-157Z/+ fresh quality-smoke pass.Gates: typecheck ✅ lint ✅ test 864 passed / 0 failed / 6 skipped (+13).
https://claude.ai/code/session_01AgdV9SKZZP6JbyTBo2gAWZ
Generated by Claude Code