Skip to content

webui: new-session modal can create a different harness than the one selected #315

Description

@edwin-zvs

Summary

The webui + New Session modal can submit with a harness different from the one selected. When the #newSessionHarness <select> value is changed without the form picking it up, Create falls back to the first option (antigravity) and silently creates that session — with no title and (for antigravity) no PTY/input support, so it just sits idle.

Notes

  • Observed while driving the modal programmatically; a human using the native dropdown may not hit it, but the modal does not echo/validate the chosen harness before creating.
  • Result was a stray, capability-limited session that was easy to miss.

Suggested fix

Bind Create to the live <select> value (or validate + echo "Creating a zarvis session…"), and guard against creating non-interactive harnesses without feedback.

Found during an isolated dogfood run (creating a zarvis session via the webui).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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