Skip to content

fix: bound unified Agents overlay to viewport - #1488

Merged
jbeda merged 13 commits into
mainfrom
impl/mecatui-unified-agents-overlay-fit
Sep 14, 2026
Merged

jbeda merged 13 commits into
mainfrom
impl/mecatui-unified-agents-overlay-fit

Conversation

@jbeda

@jbeda jbeda commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Implements the viewport-safe F6 unified Agents overlay contract and improves the readability of its three agent surfaces.

  • Uses unbordered ▶ selection across Subagents, Parallel, and Teams; active tabs retain ▸, and selected Parallel winners retain ▶ ★.
  • Adds physical-line-aware layout/windowing and reachable overflow navigation. Compact F6 presentation applies below 24 terminal rows; at normal terminal heights an unframed vp short fallback preserves active context and the esc action only when the reduced conversation viewport cannot fit essential card chrome.
  • Renders Subagents as a clipped identity line plus indented model/routing/status/usage details.
  • Renders focused Parallel branches as a clipped summary plus details, with a │ gutter that visibly nests every retained activity/tool line beneath its branch.
  • Renders Team members as three fixed, separately clipped lines: identity, work/role summary, and runtime metadata. Team context meters are ANSI-free before generic wrapping, so ANSI sanitization cannot leave CSI fragments in the roster.
  • Sanitizes Parallel join metadata and updates user-facing keybinding/TUI documentation.

Contract

  • Stage: Implementation
  • Plan / Interface PR: docs: plan unified Agents overlay fit #1447
  • Approved baseline: 7a90f184297b653c5db255160f2272426c633ba8
  • Amendment: operator explicitly waived the Split amendment flow and approved the terminal-height compact-mode correction plus the vp short fallback when a normal-height reduced conversation viewport cannot fit essential chrome.
  • ACs completed: AC1.1–AC1.4 and AC2.1–AC2.5.
  • Interfaces match approved contract: Yes.

Validation

  • task docs
  • task lint
  • task test
  • task site:build
  • task api:check
  • go run ./cmd/mecademo

task ac-trace-strict was explicitly waived because an unrelated tracked acceptance-plan status currently makes the repository-wide gate fail.

Closes #1446

@jbeda
jbeda force-pushed the impl/mecatui-unified-agents-overlay-fit branch from e639655 to a23e90f Compare September 14, 2026 22:00
@jbeda
jbeda merged commit 60567a0 into main Sep 14, 2026
35 checks passed
@jbeda
jbeda deleted the impl/mecatui-unified-agents-overlay-fit branch September 14, 2026 22:19
This was referenced Sep 15, 2026
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.

Mecatui unified Agents overlay selection and viewport fit

1 participant