Files
skills/docs/requirements/090-task-card-identity.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 b0ee62dd0b docs(requirements): 085 to 094 hub UX round and release card hotfix
085 calm Match deck, 086 motion language, 087 clock readout, 088 grouped
prune dialog without the 50-task cap, 089 one-row task toolbar, 090 card
state colour and avatar, 091 limits dragged on the chart (replaces 084
decisions 1 and 2), 092 release card repairs (hotfix), 093 stale requests
in Stream and Tasks, 094 hub cards bound to their Claude dialog.

🎯 Fix: 95 %
💥 Break: 1 %
💸 Tokens: -
⏱️ Velocity: -
🛡️ Security: 100 %
🏆 Score: 94
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:50:55 +00:00

2.3 KiB

090 - Task Card State Colour and Owner Avatar

User Story

As the operator, I want each task card's colour to mean exactly one state and to carry its agent's avatar, so that I see whose card it is and how it stands without reading it.

Decisions (operator-confirmed 2026-11-27; do not re-litigate)

  1. Border = state (operator): the whole card border carries the state colour, one colour per meaning: green running, amber waits on the operator, blue queued or waiting for a grant, red blocked or failed, grey dashed stale, muted ended. Chips stay neutral. Rejected: a left stripe.
  2. Soft glow (operator): a slight, shiny glow in the border colour fades around the card; on running cards it beats with the heartbeat of 086.
  3. Avatar (operator): every kanban card shows its owner agent's avatar top left, the same avatar the agents page uses; a card without an owner shows a neutral placeholder.
  4. Legend: the board's info button lists the colours with their meaning.

Approach

flowchart TD
    subgraph P["🧭 0 · Preparation"]
        P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
        P2 -- "✏️ corrections" --> P1
    end
    P2 -- "🤖 yes" --> A1
    subgraph A["🎨 A · Card identity"]
        A1["🎨 State to border colour, one map"] --> A2["✨ Glow"]
        A2 --> A3["🧑 Avatar on every card"]
        A3 --> A4{"🧪 Unit and E2E green?"}
        A4 -- "🔴 no: fix" --> A1
        A4 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
        AF -- "✏️ changes" --> A1
    end
    AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]

Acceptance Criteria

Colour

  • One map from state to colour exists; every card's border colour comes from it.
  • No two states share a border colour; a running card and a stale card never look alike.
  • The info legend lists every entry of the map.

Avatar

  • Every kanban card holds an avatar image of its owner or the placeholder.

Tests

  • Unit:
    • The state map is total over the register's states (node).
  • Integration:
    • n/a: no server change.
  • E2E:
    • tests/e2e/test_task_card_identity_e2e.py: one card per state with its colour, glow and avatar, screenshots.