rename choom flag --continue to --resume to match the claude flag it maps to (mara review)
This commit is contained in:
parent
4e7a9b93d9
commit
2f43077e31
3 changed files with 36 additions and 35 deletions
|
|
@ -379,7 +379,7 @@ Generate the federation peer-config block for THIS hive — the nix a peer opera
|
|||
|
||||
Open an interactive Claude session inside an agent container.
|
||||
|
||||
Runs claude as the agent user from its state dir with the harness's settings / MCP / system prompt. Bare `choom <name>` is a fresh session; `--continue <session-id>` rejoins a prior one. Never collides with the harness's live session. Requires root + a running container. See `docs/tools/hivectl.md` (Choom) for details.
|
||||
Runs claude as the agent user from its state dir with the harness's settings / MCP / system prompt. Bare `choom <name>` is a fresh session; `--resume <session-id>` rejoins a prior one. Never collides with the harness's live session. Requires root + a running container. See `docs/tools/hivectl.md` (Choom) for details.
|
||||
|
||||
**Usage:** `hivectl choom [OPTIONS] <NAME>`
|
||||
|
||||
|
|
@ -389,7 +389,7 @@ Runs claude as the agent user from its state dir with the harness's settings / M
|
|||
|
||||
###### **Options:**
|
||||
|
||||
* `--continue <SESSION>` — Resume a prior claude session by its session id, passed through as `claude --resume <value>` (claude's own `--continue` takes no value — it resumes the cwd's latest session, which is the harness's, so choom never uses it). Omit for a fresh blank session. A value is required when the flag is given
|
||||
* `--resume <SESSION>` — Resume a prior claude session by its session id, passed through as `claude --resume <value>` (claude's `--continue` takes no value — it resumes the cwd's latest session, which is the harness's, so choom never uses it; this flag matches the claude flag it maps to). Omit for a fresh blank session. A value is required when the flag is given
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -127,20 +127,21 @@ running claude from the agent's state dir. Requires root (same as all
|
|||
`machinectl shell` operations).
|
||||
|
||||
```bash
|
||||
hivectl choom iris # fresh blank Claude session in iris's container
|
||||
hivectl choom iris --continue <session-id> # rejoin a prior session by id
|
||||
hivectl choom iris # fresh blank Claude session in iris's container
|
||||
hivectl choom iris --resume <session-id> # rejoin a prior session by id
|
||||
```
|
||||
|
||||
Bare `choom` starts a fresh blank session. `--continue <value>` maps to
|
||||
`claude --resume <value>` to rejoin a prior session by its session id.
|
||||
(It is deliberately NOT passed as `claude --continue <value>` — claude's
|
||||
own `--continue` is a bare flag that takes no argument and resumes the
|
||||
cwd's *latest* session, i.e. the harness's; a value after it would be
|
||||
consumed as the first prompt, silently poking the live harness session.)
|
||||
A value is required when the flag is given. Either way choom never
|
||||
collides with the harness's live session in the same project dir: the
|
||||
harness pins its own id via `--resume`, so a blank choom session is
|
||||
invisible to it. The container must be running.
|
||||
Bare `choom` starts a fresh blank session. `--resume <value>` passes
|
||||
through as `claude --resume <value>` to rejoin a prior session by its
|
||||
session id — the flag name deliberately matches the claude flag it maps
|
||||
to. (choom never uses claude's `--continue`: that's a bare flag that
|
||||
takes no argument and resumes the cwd's *latest* session, i.e. the
|
||||
harness's; a value after it would be consumed as the first prompt,
|
||||
silently poking the live harness session.) A value is required when the
|
||||
flag is given. Either way choom never collides with the harness's live
|
||||
session in the same project dir: the harness pins its own id via
|
||||
`--resume`, so a blank choom session is invisible to it. The container
|
||||
must be running.
|
||||
|
||||
choom reproduces the harness's own claude invocation so the operator
|
||||
lands in a faithful copy of the agent's environment:
|
||||
|
|
|
|||
Loading…
Reference in a new issue