Skip to content

UX: let the user choose MAWS's tool groups (artifacts, documents, dashboards, auxiliary) and the ask tool #421

Done

Description

@SSFSKIM

What

Let the user choose which of MAWS's own tool groups a MAWS-launched session gets, and which ask tool it uses. The owner's proposal of 2026-10-31, for the UX wave after P5:

  • Work tools. Artifacts, documents and dashboards can be switched off, for example for a coding session that will never make a deliverable. The owner's example: MAWS_WORK_MODE=0 hides the artifact and document tools, with documents and dashboards each selectable.
  • The ask tool. QUESTION_TOOL_MAWS=0 uses mcp__sminos__AskUserQuestion in place of mcp__maws__ask.
  • Auxiliary tools. AUXILLARY_TOOL=0 removes send_file and show_pane.

The env var names above are the owner's sketch. Where the choice is set is the first decision at pickup (below).

The groups, from today's 18 maws tools

  • Artifacts (the core): artifact_create, artifact_list, artifact_read, artifact_search, artifact_describe_type, artifact_publish, artifact_upload_asset, artifact_list_assets, artifact_screenshot, artifact_export.
  • Documents (editing and review): artifact_edit, artifact_comments, artifact_reply, artifact_resolve. Presentations, designs and dashboards reach the comment tools through the same thread wrappers (src/engine-host/tool-server/tools.ts), so the cut needs checking against them.
  • Dashboards: artifact_dataset.
  • Auxiliary: send_file, show_pane.
  • Ask: ask.

Documents and dashboards need the core (create, read, publish), so they are sub-switches of Artifacts.

Shape (the owner's direction of 2026-10-31)

  1. Per session, at the composer. A Tools control on the new-session composer, with checkboxes and one choice:
    • Enable: Artifacts, Documents, Dashboards, Auxiliary. Documents and Dashboards are disabled while Artifacts is off.
    • Question: Default (the engine's AskUserQuestion, or sminos's where its mod runs) or MAWS.
  2. A global default in Settings › Engine, beside the launch profile (plugins and hooks, src/shared/engine/launch-profile.ts). The composer starts from it.
  3. The choice belongs to the session's launch spec.
    • Resume and fork keep the session's own set, not whatever the global default is now.
    • Changing it after the start applies at a relaunch of the session (a resume with the new set), unless the tools/list_changed probe below shows a live change works.
    • The session's set shows read-only where its launch details show.
  4. Sessions started without the composer take the global default: a remote spawn (session.spawn), an agent's sminos.spawn, and a scheduled launch. session.spawn can carry the set as an optional field later.
  5. No process env vars as the main surface. MAWS starts from launchd, which doesn't see a shell's exports, and the engine's environment is built from an allowlist that drops MAWS_*. An env override for scripted launches is optional.
  6. How a group is removed: at the source. The engine host builds each session's maws tool list from the launch spec, so tools/list and the server's instructions paragraph both leave out the switched-off groups. --disallowedTools would leave the instructions naming tools the session can't call.
  7. Question set to Default.
    • MAWS stops passing --disallowedTools AskUserQuestion --allowedTools mcp__maws__ask and lists no ask.
    • The session then has the built-in, or mcp__sminos__AskUserQuestion where the sminos mod runs (it needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1; it registers only when the built-in is present).
    • MAWS already draws both as cards (ASK_MOD_TOOLS, src/renderer/src/transcript/model/classify.ts).
    • The to-human supplement's ask line (ASK_HERE, src/shared/owner/contract.ts) must follow the choice.

Unknowns to probe before building (no spend: the B4 stub)

  • The sminos ask in a lane B session. Its async answer reaches the session through the mod, but under MAWS_LANE=B the sminos bridge is observe-only. Check that an async answer given in MAWS, from the desk and from the phone, arrives as the message the tool promises.
  • Whether a mod-registered tool is deferred under tool search (this bears on UX: load the ask tool up front and defer every artifact and document tool #420).
  • Whether the engine honours tools/list_changed from an SDK server. If it does, a switch could apply to a running session; if not, it applies from the next launch.

Acceptance

  1. Each switch, off, removes exactly its group from tools/list and from the server's instructions, and a session with Artifacts off has no artifact_* tool and no artifact text in its context.
  2. Ask set to the engine's: no --disallowedTools AskUserQuestion on the launch line, no maws ask in tools/list, and the engine's ask (built-in, or sminos's where its mod runs) raises a card that MAWS answers, blocking and async.
  3. The defaults leave today's sessions unchanged.
  4. The composer offers the four switches and the Question choice, starting from the Settings › Engine default; a resumed or forked session keeps its own set.

Related

Sminos-Session: engine-integration-questions#2e33425f (MAWS on macbook)

Activity

  1. added
    enhancement
    status:deferred
    priority:P3
    on Oct 31, 2026
  2. added
    status:ready-for-architect
    and removed
    status:deferred
    on Nov 23, 2026
  3. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-architect: owner asked to work it 2026-11-23

  4. added
    status:in-design
    and removed
    status:ready-for-architect
    on Nov 23, 2026
  5. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-design: ux-wave designing with #420; #848 retires send_file

  6. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [answers] Owner, 2026-11-23: (1) Work #421 now, together with #420. (2) Question 'Default' means the engine's built-in AskUserQuestion for now; once #600 lands it becomes sminos's question where its mod runs. (3) MAWS's ask is non-blocking by default, matching sminos's. (4) #848 retires send_file, so Auxiliary holds only show_pane.

  7. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    Plan written and adversarially reviewed: docs/doperpowers/plans/2026-11-23-tool-choice.md on ux-wave/tool-choice @1c4a85999 (with #420). Probes (no spend, engine 2.1.330): an SDK tool's alwaysLoad holds under tool search; tools/list_changed is honoured only in part (a tool whole in the request stays, instructions never re-read), so a session's set is fixed at its start; the built-in AskUserQuestion flows through MAWS's existing can_use_tool path. Decided by ux-wave within the owner's answers: set fixed at start (resume keeps, fork inherits); blocking becomes a required argument whose description steers to false (same behaviour as a false default, without per-session description machinery); Documents keeps the ticket's cut (also covers dashboard block edits and comments); the default is per machine. Build waits for #848 to land (shared files).

  8. added
    status:in-progress
    and removed
    status:in-design
    on Nov 23, 2026
  9. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Building from the tool-choice plan (revision 3 plus the owner's submenu choice), with #420, on one branch; #848 landed.

  10. added
    status:in-review
    and removed
    status:in-progress
    on Nov 24, 2026
  11. removed
    status:in-review
    on Nov 24, 2026
  12. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: landed on master 4ddfdd0 (squash of PR #860)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions