Skip to content

Post-1.3: TUI Alt+N should focus new session and use canonical session naming #77

@ebursztein

Description

@ebursztein

Goal

Have all the path to produce - as base name unless the user type one and offering the user on the shell and the UI to specifiy one if they want before confirming so naming is meaningful, compact and consistent

Summary

Manual TUI testing during the 1.3 release pass showed Alt+N creating a new session without an obvious focus shift, and the created session appeared as tmp-1 instead of the canonical profile-based/friendly session naming.

Observed

  • Pressing Alt+N created a new VM/session.
  • Focus either did not shift to the new session, or the focus change was not visible enough.
  • The new session was named tmp-1, which violates the desired uniform session naming model.

Expected

  • TUI Alt+N creates a new session with the same canonical naming used by the service/UI/CLI.
  • Focus moves to the newly-created session, or the UI gives an explicit creation result and selected-session state.
  • User-facing copy should consistently say sessions/profiles, not old tmp VM language.

Notes

  • Follow-up only; do not block 1.3 unless this prevents the final smoke path.
  • Check CLI, TUI, UI, service registry, and profile create route use the same naming/state enum.
  • Incompatible/defunct sessions should remain greyed with only valid actions.

Acceptance Criteria

  • New-session naming is uniform across CLI/TUI/UI/service.
  • Alt+N focus behavior is deterministic and covered by TUI tests.
  • No tmp-1 style user-facing name unless explicitly intended by a profile/session contract.
  • State enum prevents offering resume/start actions for non-resumable sessions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions