Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Feature request: `/btw` side-channel for asking questions without interrupting an active run

Aberta
#894 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Domínio
cli

Direção de pesquisa

Start by locating the TUI input path and the state exposed for the active foreground run, including task/todo progress and background-agent status. Compare those surfaces with the existing Background panel and determine how a non-steering query could read an observational snapshot. Done means a user can ask about the active run without interrupting, queueing, cancelling, or changing its context.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Feature Description

Add a lightweight side-channel (for example /btw, a small secondary prompt, or an equivalent TUI panel) that lets the user ask a question while the main agent is actively running, without interrupting, steering, cancelling, or queueing a new turn into that run.

The key requirement is that this side conversation should be observational and non-destructive: the foreground task keeps running exactly as-is, while the user can ask things such as:

  • "What step are you on right now?"
  • "Which year/file are you processing?"
  • "What remains after the current step?"
  • "Are the background/sub-agents still running?"
  • "What was the last completed action?"

A response could be based on the current task/todo state, recent tool activity, active sub-agents/background jobs, and any already-written files. It should not inject the side question into the main model context unless the user explicitly chooses to do so.

Use Case

For long autonomous tasks, the current UX makes it hard to check progress without disturbing execution. For example, if Command Code is processing a large multi-year dataset or editing many files, I may want to know whether it has reached 2018, 2020, etc. while letting the main run continue uninterrupted.

Today the closest workarounds are:

  1. Open a second Command Code session in the same project and ask it to inspect the filesystem read-only.
  2. Use the Background panel for shell tasks.
  3. Poll sub-agent status where available.

These are useful but not equivalent. A second session has no direct view of the foreground run's internal task/todo state, and the Background panel is primarily about background work rather than the active foreground agent.

A /btw-style side-channel would make long-running sessions much easier to supervise without changing their behavior.

Possible UX

One possible design:

/btw what step are you on?

or a keyboard shortcut that opens a small temporary prompt/panel over the TUI.

The answer could show a compact snapshot such as:

Main run: active
Current task: Processing 2019 exam solutions
Last completed: 2018.md + 6 cropped images
Remaining: 2020-2023
Background agents: 2 running

Important semantics:

  • Does not interrupt or cancel the active run.
  • Does not become a steering message by default.
  • Does not alter the active run's context/todos.
  • Can inspect current run state and already-observable project state.
  • Optional action to "send this to the main run" if the user actually wants to steer it.
Additional Context

There are related issues around background-agent visibility (for example #874), but this request is specifically about a side conversation/status query for an active foreground run, rather than improving the telemetry of detached sub-agents.

This pattern is especially useful for long autonomous coding/data-processing tasks where users want supervision without interference.

Linguagem predominante
Sem dados de linguagem
Estrelas
4k
Forks
350
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CommandCodeAI/command-code

Todas as issues de CommandCodeAI/command-code

Issues semelhantes

Mais issues de CLI

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.