Skip to content

[v6-p2] Card cockpit — five-card primary surface + browser journey proof (864 tests green)#49

Merged
CTlanston merged 4 commits into
mainfrom
claude/v6-p2-card-cockpit
Jun 11, 2026
Merged

[v6-p2] Card cockpit — five-card primary surface + browser journey proof (864 tests green)#49
CTlanston merged 4 commits into
mainfrom
claude/v6-p2-card-cockpit

Conversation

@CTlanston

Copy link
Copy Markdown
Owner

V6-P2 — card cockpit + browser proof

  • LoopCard.tsx: renders exactly the five GR#11 card types; next_step is the prominent first row; machine codes ONLY in data-* attributes (13 component tests incl. "blocker never shows raw codes").
  • Mounted as the cockpit's primary state surface; honest client-side UnderstandingCard during pre-mission clarify (nothing fabricated; noted as a small V6-P3 daemon follow-up).
  • 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.
  • WORKBOOK_v6 §0 → V6-P3; session log s_v6_0002.

Gates: typecheck ✅ lint ✅ test 864 passed / 0 failed / 6 skipped (+13).

https://claude.ai/code/session_01AgdV9SKZZP6JbyTBo2gAWZ


Generated by Claude Code

claude added 4 commits June 11, 2026 01:47
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
@CTlanston CTlanston marked this pull request as ready for review June 11, 2026 02:00
@CTlanston CTlanston merged commit 8f8d172 into main Jun 11, 2026
4 checks passed
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.

2 participants