8000 MC: surface a distinct indicator when a card block fails to parse, instead of silent plain-bubble downgrade · Issue #185 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

MC: surface a distinct indicator when a card block fails to parse, instead of silent plain-bubble downgrade #185

Open

Description

@simon-inkie

Original-derived Linear description

Flagged by coordinator, 2026-08-21 (fast-follow, not urgent).

Current behaviour: when a message block's decision-id/action-id metadata region fails to parse as YAML, MC's card parser (app/lib/blocks/{schema.ts,model.ts,parse.ts}) falls back to rendering it as a plain text bubble. No error surfaces anywhere in MC. This fallback is deliberate and load-bearing - it's the fix for the 2026-06-11 incident where a single malformed decision-card header 500'd all of Mission Control ("tolerate on read, degrade gracefully, never let a single bad record throw"). Do not regress that.

The gap: tolerate-on-read means the sender's intended card silently becomes prose. Neither the sender nor the reader has any signal that a card was meant to render there and didn't. coordinator has already shipped the sender-side half of the fix - inbox reply now validates card metadata and refuses to send on a parse failure, so new malformed cards should mostly stop happening. This ticket is the remaining ingest-side layer: still tolerate-on-read (never throw), but show a distinct "malformed card" indicator in the UI instead of a plain bubble indistinguishable from an ordinary message.

Scope: detect the parse failure in the existing tolerate-on-read path and render a visibly-different state (e.g. a small malformed-card chip/badge on the bubble) rather than changing the parse/fallback logic itself.

Priority: Low. Sender-side validation already closes most of the practical risk; this is defence in depth / observability polish, not a live bug.

Origin

Migrated from Linear: INK-813. Original detail is retained apart from the disclosed privacy and rendering edits.

Current scope and qualifications

The account above is historical, not a fresh claim that every described defect still exists. Current Linear state: Backlog. Prior source review: open; remaining checks or work:

  • Propagate safe parse-failure indicator to bubble renderer without throwing.

Publication transfers tracking only. Original implementation/approval/freeze and acceptance gates remain; no live deployment, configuration, external messaging or provider spending is authorised.

Transfer edits

  • Historical people/fleet prose is aliased; permitted source links and code/path references remain.
  • Linear rich embeds and public punctuation are normalised where present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    deck-uiDeck web UIenhancementNew feature or requestminor-tweakA small improvement to existing behaviour

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0