8000 Restore the /thinking slash command or remove its stale docs and dead handler · Issue #803 · huggingface/tau · GitHub
[go: up one dir, main page]

Skip to content

Restore the /thinking slash command or remove its stale docs and dead handler #803

Open

Description

@Tensinoko1

Summary

Tau currently has no /thinking or /think slash command, but:

  • the implementation _thinking_command() is still present in src/tau_coding/commands.py,
  • the user guide still tells users to use /think,
  • Pi now exposes /thinking.

This looks like the command was removed during the Pi-alignment cleanup before Pi added its own command, and Tau never re-aligned.

Current behavior

  • tau_coding.commands.create_default_command_registry() does not register a thinking command.
  • /session still reports the active thinking mode.
  • Shift+Tab cycles it and -t/--thinking sets the startup level.
  • website/content/guides/context.md:118,126 says selecting a level via /think is possible.
  • dev-notes/startup-thinking-level-fallback.md:37 says the same.
  • website/content/reference/slash-commands.md:62 correctly says thinking is keyboard-driven, not a slash command, so docs conflict.
  • _thinking_command() at src/tau_coding/commands.py:707 is dead code.
  • tests/test_tui_autocomplete.py:395 still exercises /thinking h but expects no completions.

History

  • aa2e711 (2026-06-18, "Add thinking mode controls") added /thinking.
  • Issue Review and prune Tau slash commands to mirror Pi #95 / PR [codex] Align slash commands with Pi #98 ("Align slash commands with Pi", merged 2026-06-19) intentionally removed /thinking along with /help, /status, /skills, /resources, and /context. The phase-15 design note documents this.
  • 6fe3cba (2026-07-18) introduced /think references in the context guide and a dev note; /think has never existed in the registry.
  • Pi added /thinking in badlogic/pi-mono@496185f on 2026-08-19 (feat(coding-agent): /thinking command).
  • Tau has not restored it since.

Why this matters

Users see /think in the official guide, but it is passed through as a normal prompt because unregistered slash input is intentionally not consumed. The dead handler and outdated tests make it unclear whether the omission is intentional.

Proposed fix

Preferred: register the existing _thinking_command as /thinking [level] again, matching current Pi:

  • usage="/thinking [level]"
  • reuse _thinking_command
  • keep strict validation against session.available_thinking_levels
  • add command/autocomplete tests and document /thinking alongside Shift+Tab and --thinking
  • remove or update the /think references

Alternative: if Tau deliberately wants no slash command, remove _thinking_command() and the stale /think docs/tests so the keyboard-only behavior is unambiguous.

Environment

  • Tau commit: 7bf732a (release 0.4.11)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0