stacklok / stacklok/mecatl

mecatui: audit missed dynamic card-row width paths

Open
#1,145 0 comments 0 reactions 1 assignee View on GitHub

@jbeda is already working on this.

Since Sep 5, 2026.

tui
Dominant language
Go
Stars
152
Forks
16
Avg merge
14h 48m
Merged PRs (30d)
536

Description

Problem

Several dynamic mecatui card paths remain structurally outside the card-layout correction and may overflow at narrow widths or long server-derived values:

  • MCP status/error rows
  • User Model metadata labels plus wrapped values
  • Dream field labels plus wrapped values
  • Reflection trigger rows

Follow-up

For each path, first add a concrete narrow-width regression that demonstrates the failure. Where confirmed, derive the effective body width, reserve any label/prefix width, sanitize and trim display-only trailing whitespace, wrap raw content before styling, and retain source content/intentional whitespace. Do not apply a broad mechanical migration or alter normal-width rendering without a reproducing test.

Context

Identified during PR #1105 panel review. This is deliberately separate from the reviewed tool/delegation card corrections.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.