Repository navigation
Description
Goal
Track remaining mecatui overlays that should move to the shared surface contract. This complements #1742, which tracks convergence on the bounded scrolling and selection controls.
Desired boundary
A migrated surface owns its open-lifetime interaction state, rendering, geometry-derived view caches, and validation of asynchronous results. The root Model owns modal lifetime, placement, frame-scoped pointer mapping, and effects that change root-owned state. A surface requests a root-owned effect through a narrow intent rather than requiring generic parent routing to inspect its concrete type.
The current contributor rules live in docs/tui.md. Keep enduring conventions there rather than adding migration plans or completed-work records to docs/drafts/.
Scope
- Inventory overlays that still keep open-lifetime state or interaction routing on
Model. - Create focused migration issues only where moving to
surfaceimproves ownership and simplifies generic routing. - Preserve behavior while migrating: one active modal, parent-owned placement and pointer mapping, surface-owned input and asynchronous result handling, and safe zero-offer behavior.
- Keep
boundedadoption decisions in mecatui: track remaining bounded browsing adoption #1742; coordinate when a surface migration also needs a bounded control.
Tracked migrations (2026-11-18)
-
/effort— mecatui: bound /effort picker at constrained terminal heights #2170 closed; bounded picker on the shared surface contract. -
/worktrees— mecatui: bound /worktrees picker #2172 closed by PR feat(mecatui): bound worktree picker and move it to a modal surface #2279; state, geometry, result ownership, and navigation moved onto the shared surface contract. -
/schedule— mecatui: bound /schedule inventory and fire-history browsing #2173 closed by PR feat(mecatui): bound schedule browsing on the shared surface #2398; conversation-filling inventory → runs → details browser, persistent creation form, owned asynchronous results, and transcript Back preserving the originating history and active chat. Root effects use narrow intents; reusable conventions are indocs/tui.md. -
/reflections— mecatui: migrate /reflections proposal browsing to bounded controls #2174 closed by PR feat(mecatui): move reflections browsing onto bounded surfaces #2595; bounded proposal list and detail viewport on the shared surface contract. -
/connect— mecatui: evaluate bounded /connect target picker #2176 closed by PR feat(mecatui): modernize /connect with a bounded surface #2617; saved-target browsing, pinned confirmation, geometry, and asynchronous-result validation belong to the shared surface. Normal startup and authentication-recovery entry points share construction; the root retains restart effects and existing authentication policy. - MCP resource/prompt flows — mecatui: evaluate bounded MCP resource and prompt pickers #2175 closed by PR feat(mecatui): bound MCP resource and prompt browsers #2763; bounded inventories/preview and explicit-action required arguments now retain picker/request/view and editor-focus ownership. Root prompt insertion uses a narrow synchronous intent. This strengthened the existing MCP surface rather than introducing a new abstraction.
-
/mcp/ Ctrl+O status and inventory — mecatui: modernize bounded /mcp status and inventory UI #2768: evaluate remaining UI geometry, presentation, and surface interaction using existing direct/broker contracts. MCP already implementssurface; this is UI-only evaluation, not a new abstraction migration or Expose session MCP inventory consistently in direct and broker modes #1699 API convergence. The resource/prompt flows completed in PR feat(mecatui): bound MCP resource and prompt browsers #2763 do not complete this panel. - Finish the inventory of other legacy overlays and link focused migration issues or explicit retain decisions. This is not an exhaustive inventory yet; bounded-only children in mecatui: track remaining bounded browsing adoption #1742 do not automatically imply a surface migration.
Shared consistency guidance belongs in docs/tui.md, not in migration status records. #555 tracks the original abstraction; its stack proposal is superseded by the implemented one-active-modal contract.
Out of scope
- A surface stack, compositor migration, or a generic live dependency-refresh framework.
- Moving root-owned session, startup, persistence, or cross-view state into a surface.
- Rewriting overlays that already have a clear and sufficient ownership boundary.
Completion
Close this issue when the remaining overlays have been evaluated and each has either a focused migration issue or a documented reason to remain outside the surface contract.
Activity