Skip to content

Commit fe8962e

Browse files
OriNachumclaude
andauthored
docs: surface the turn-on/turn-off lifecycle and list fleet write verbs (v0.31.1) (#67)
The on/off lifecycle was real but under-documented. `lobes serve`/`stop` and `lobes fleet up`/`down` bring the single-model and fleet lanes up and down, but: - The Mutation-safety *prose* in `lobes learn` and CLAUDE.md listed only `switch`, `serve`, `stop`, `init`, `tunnel` — omitting `fleet up`/`fleet down`, which are equally dry-run-by-default write verbs (the `--json` payload already listed them, and a test pins that). Aligned the prose to match. - CLAUDE.md described the lifecycle only implicitly (verb names in a tree). Added an explicit "Lifecycle (turn on / off)" note mapping serve/stop and fleet up/down to compose up/down, including the `stop` = `compose down` (removes containers, not a pause) caveat. Docs/wording only — no behavior change. Tests and lint green. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 66bf9ba commit fe8962e

5 files changed

Lines changed: 24 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project are documented here. The format is based on
44
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
55
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.31.1] - 2026-06-27
8+
9+
### Changed
10+
11+
- Mutation-safety prose in `lobes learn` and CLAUDE.md now lists the `fleet up` / `fleet down` write verbs (was only in the `--json` payload).
12+
- CLAUDE.md documents the turn-on/turn-off lifecycle explicitly (`serve`/`stop` and `fleet up`/`down`) instead of leaving it implicit in the verb names.
13+
714
## [0.31.0] - 2026-06-26
815

916
### Added

CLAUDE.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,18 @@ lobes/ # Python package (pip install lobes-cli)
8888
└── logs.py tunnel.py whoami.py learn.py explain.py overview.py doctor.py cli.py
8989
```
9090

91-
**Mutation safety:** write verbs (`switch`, `serve`, `stop`, `init`, `tunnel`) default to
92-
**dry-run**; require `--apply` to commit. Agents call CLIs in loops, so
93-
safe-by-default is mandatory. The read-only verbs (`status`, `assess`,
94-
`benchmark`, `logs`, `overview`, `whoami`, `explain`, `doctor`) never change the world.
91+
**Lifecycle (turn on / off):** `lobes serve` (alias `start`) brings the
92+
single-model server **up** (`docker compose up -d`, then waits for `/health`);
93+
`lobes stop` takes it **down** (`docker compose down` — it *removes* the
94+
containers, not a pause). The fleet lane mirrors this: `lobes fleet up`
95+
(`up -d --build`) / `lobes fleet down`. `lobes switch <model>` is a down+up with a
96+
model swap. `lobes status` / `lobes fleet status` observe without mutating.
97+
98+
**Mutation safety:** write verbs (`switch`, `serve`, `stop`, `init`, `fleet up`,
99+
`fleet down`, `tunnel`) default to **dry-run**; require `--apply` to commit. Agents
100+
call CLIs in loops, so safe-by-default is mandatory. The read-only verbs (`status`,
101+
`assess`, `benchmark`, `logs`, `overview`, `whoami`, `explain`, `doctor`) never
102+
change the world.
95103

96104
## Build / test / publish
97105

lobes/cli/_commands/learn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
Mutation safety
5151
---------------
5252
Write verbs default to DRY RUN and require --apply to commit: `switch`, `serve`,
53-
`stop`, `init`, `tunnel`. Agents call CLIs in loops, so safe-by-default is mandatory. The
54-
read-only verbs (`status`, `assess`, `benchmark`, `overview`, `whoami`,
55-
`explain`, `doctor`) never change the world.
53+
`stop`, `init`, `fleet up`, `fleet down`, `tunnel`. Agents call CLIs in loops, so
54+
safe-by-default is mandatory. The read-only verbs (`status`, `assess`, `benchmark`,
55+
`overview`, `whoami`, `explain`, `doctor`) never change the world.
5656
5757
Models: supported vs. warm
5858
--------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "lobes-cli"
3-
version = "0.31.0"
3+
version = "0.31.1"
44
description = "lobes — run, assess, and switch the local vLLM model."
55
readme = "README.md"
66
license = "Apache-2.0"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)