Skip to content

Commit bc81d0a

Browse files
nftpoetristteknium1
authored andcommitted
docs: sync stale /background references with the /bg + /btw split
74a95a3 promoted /bg and /btw to independent canonical commands and retired /background entirely (hermes_cli/commands.py's COMMAND_REGISTRY has no "background" command or alias). Three places still taught the old name: - skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md: the bundled hermes-agent skill's own slash-command reference — the skill's SKILL.md explicitly routes the model here for in-session command questions, so a model following it would emit the dead `/background <prompt>` and never learn /btw exists. - ui-tui/README.md: listed /btw as an alias of /background, which is simply wrong post-split (both are independent, alias-free commands). - tests/cli/test_cli_background_status_indicator.py: docstring/comments described the ▶ indicator by the retired command name. No behavior change; corrects documentation only.
1 parent 8142494 commit bc81d0a

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ it. New commands land often; `/help` in-session is always authoritative.
1818
/rollback [N] List/restore filesystem checkpoints
1919
/diff [mode] [--stat] Git changes in cwd (staged|all|session modes)
2020
/snapshot [sub] Create/restore Hermes config+state snapshots (CLI)
21-
/background (/bg) <p> Run prompt in background
21+
/bg <prompt> Run a prompt in a separate background session
22+
/btw <question> Ask a side question about the current conversation without interrupting it
2223
/queue (/q) <prompt> Queue prompt for next turn
2324
/steer <prompt> Inject a message after the next tool call
2425
/agents (/tasks) Show active agents and running tasks

‎tests/cli/test_cli_background_status_indicator.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
"""Tests for the /background indicator in the CLI status bar.
1+
"""Tests for the /bg indicator in the CLI status bar.
22
33
The classic prompt_toolkit status bar shows `▶ N` when N tasks launched via
4-
`/background` are still running. Source of truth is `self._background_tasks`
4+
`/bg` are still running. Source of truth is `self._background_tasks`
55
(a Dict[str, threading.Thread]); entries are removed in the task thread's
66
finally block, so len() reflects truly-running tasks.
77
"""
@@ -69,7 +69,7 @@ def test_fragments_omit_bg_segment_when_idle():
6969
# ── Background terminal-process indicator (⚙ N) ───────────────────────────
7070
# Source of truth is tools.process_registry.process_registry._running (a dict
7171
# of currently-running shell processes spawned by terminal(background=true)).
72-
# Distinct from /background tasks above: ▶ counts agent threads, ⚙ counts
72+
# Distinct from /bg tasks above: ▶ counts agent threads, ⚙ counts
7373
# shell processes. Both can be active simultaneously.
7474

7575

@@ -105,7 +105,7 @@ def _patch_process_registry(monkeypatch, count: int) -> None:
105105
# ── Background/async subagent indicator (⛓ N) ─────────────────────────────
106106
# Source of truth is tools.async_delegation.active_count() — the count of
107107
# delegate_task delegations (batch + background single) still in the
108-
# "running" state. Distinct from ▶ (/background agent threads) and ⚙ (shell
108+
# "running" state. Distinct from ▶ (/bg agent threads) and ⚙ (shell
109109
# processes); all three can be active at once.
110110

111111

‎ui-tui/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ The following commands are handled directly by the TUI client. Unrecognized comm
235235

236236
### Session (`session.ts`)
237237
`/model`, `/sessions` (aliases `/switch`, `/session`, `/resume`),
238-
`/background` (aliases `/bg`, `/btw`), `/image`, `/personality`,
238+
`/bg`, `/btw`, `/image`, `/personality`,
239239
`/compress`, `/branch` (alias `/fork`), `/voice`, `/skin`,
240240
`/indicator`, `/yolo`, `/reasoning`, `/fast`, `/busy`, `/verbose`, `/usage`
241241

0 commit comments

Comments
 (0)