Repository navigation
feat(mecatui): bound worktree picker and move it to a modal surface - #2279
Merged
Merged
Conversation
Contributor
Author
Implementation plan
/worktrees bounded surface planSlug: Scope and decisions
Tasks
Acceptance and verification intentions
No unresolved design questions. Gate results and review findings belong in the run record and PR description, not this plan. |
Preserve snapshot-on-open filtering, explicit confirmation, and create-first handoff while bounding list geometry and owning discovery in the surface. Co-authored-by: Mecatl <noreply@mecatl.dev>
Remove routine picker, mouse, navigation, and duplicate editing guidance while retaining non-obvious shortcuts and platform caveats. Co-authored-by: Mecatl <noreply@mecatl.dev>
Preserve each caller’s supported moves, binding precedence, filter typing, and wheel guards while consolidating repeated input translation. Co-authored-by: Mecatl <noreply@mecatl.dev>
jbeda
force-pushed
the
impl/2172-worktrees-surface
branch
from
October 16, 2026 00:14
637c5f4 to
833d6df
Compare
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Convert
/worktreesto a bounded modal surface, based on the merged temp-runtime fix (#2278).bounded.ListandpresentListRowfor wrapped selection, stable selector-backed filtering, navigation/resize reveal, and wheel scrolling independent of selection.The picker remains a snapshot fetched once per open, as agreed. It does not add live inventory refresh or a stable-ID API. Selection preservation during filtering/reconciliation applies to unchanged selectors; identity across selector rotation after branch/HEAD changes is deferred. This is unrelated to session reattachment or placement persistence.
No temp-storage, server/protocol, schedule, active conversation scrolling, or prompt-editing changes. Confirmation is moved/fitted without changing its choices.
Closes #2172. Related to #1742 and #2237.
Validation
task linttask testandtask test:race(system temporary storage)task docsandtask site:buildgo run ./cmd/mecademo— tool call, permission ask/approval, and final result.git diff --checkFull suites initially encountered Unix-socket path-length failures in two newer upstream startup-compatibility fixtures, which explicitly override
XDG_RUNTIME_DIRwith a nestedt.TempDir(). Both complete suites passed with shorter system temporary storage; no tests were skipped and those unrelated fixtures were not changed.Panel review passed across Spec, Standards, Test adequacy, and Domain (security, architecture, library reuse, duplication). Test findings were fixed and incrementally re-reviewed; the selector-refresh scope finding was resolved by the agreed snapshot-on-open decision. The navigation follow-up received its own incremental panel review and routed regression-test recheck, with no remaining findings; full test/race/lint/demo gates were rerun for the refactor.
Implementation plan
Full plan and agreed scope, archived as a verified PR comment.