Skip to content

fix(mecatui): clarify session handoffs - #1657

Merged
jhrozek merged 1 commit into
mainfrom
fix/mecatui-terminology-1649
Sep 17, 2026
Merged

jhrozek merged 1 commit into
mainfrom
fix/mecatui-terminology-1649

Conversation

@danbarr

@danbarr danbarr commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Make worktree actions say they start a new session instead of moving the current session.
  • Give connect rows and confirmations concrete, truthful actions, including recovery and rejected-credential states.
  • Normalize generic command-palette descriptions to concise verb-object language.

Development stage

  • Plan / Interface — Bounded/Architectural behavioral and exact-interface contract; no implementation
  • Implementation — based on an approved, merged Plan / Interface PR
  • Combined — compact one-task Bounded/Architectural exception; no separate plan PR
  • Spike / Routine — acceptance-plan spine exempt; Spike evidence does not ship as-is

Contract linkage

  • Work classification: Routine
  • Classification rationale: Focused correction of existing UI labels and rendering tests; no public, runtime, persistence, or trust-boundary interface change.
  • Decision record: None — no durable architectural decision.
  • Human waiver of spine: No
  • Acceptance plan: N/A — Routine work tracked by mecatui: standardize interface terminology and action copy #1649.
  • Human decisions resolved and recorded: N/A — no open product or interface decision.
  • Plan / Interface PR: N/A
  • Approved commit baseline: N/A
  • Combined/exemption rationale: Routine work is acceptance-plan exempt.

Interface conformance

  • Behavior is unchanged. The copy now describes the existing transition and connect intents accurately.

Issue relationship

Closes #1649

Type of change

  • Behavioral/interface plan
  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation/process
  • Other (describe):

Test plan

Baseline checks

  • Acceptance-plan checker
  • Linting (task lint)
  • Offline test suite (task test)
  • Offline demo (go run ./cmd/mecademo)
  • Markdown changed: docs generation/link checks (task docs)
  • User docs/user-facing behavior changed: site build (task site:build)
  • Guarded engine API affected: compatibility check (task api:check)
  • Intentional engine API change: task api:update + engine/CHANGELOG.md
  • Landed plan: strict acceptance trace (task ac-trace-strict)
  • Final implementation review: /panel-review

Additional checks:

  • go test ./cmd/mecatui ./cmd/mecatui/ui
  • task build
  • git diff --check

The full offline suite is left to CI; focused tests exercise every changed TUI path. The panel reported eight important findings and one advisory across its independent axes; all were addressed before publication.

Changes

File Change
cmd/mecatui/ui/connect.go Resolve the selected action once and use it for behavior, hints, and confirmations.
cmd/mecatui/ui/worktrees.go State that selection creates a new session in the chosen worktree.
cmd/mecatui/ui/builtins.go Normalize generic palette descriptions.
Focused tests Cover saved/new/recovery/rejected connect states, worktree status, and palette language.

User-facing change

Action labels now say exactly what Enter will do. Worktree controls consistently explain that they start a new session, and rejected credentials never advertise an unavailable action.

Special notes for reviewers

Trust/memory commands and the help overlay remain in separate workstreams. A final edge-case review added coverage proving that users can still choose a new target after a saved credential is rejected.

Make worktree and connect actions describe their immediate outcome.

Co-Authored-By: Codex <[email protected]>

@jhrozek jhrozek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the PR. The terminology changes accurately describe the intended session handoffs, and I found no blocking issue for this copy-focused change.

@jhrozek
jhrozek merged commit f295b43 into main Sep 17, 2026
35 checks passed
@jhrozek
jhrozek deleted the fix/mecatui-terminology-1649 branch September 17, 2026 10:51
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks
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: standardize interface terminology and action copy

2 participants