docs:clarify-crabbox-skill-inspection
This commit is contained in:
parent
45f9b48fbf
commit
819640fbf7
@ -80,6 +80,39 @@ crabbox usage --scope org
|
||||
CRABBOX_LIVE=1 CRABBOX_LIVE_REPO=/path/to/openclaw scripts/live-smoke.sh
|
||||
```
|
||||
|
||||
## Run Inspection Workflow
|
||||
|
||||
Use the CLI for durable run inspection; do not expect extra OpenClaw plugin
|
||||
tools for this surface.
|
||||
|
||||
Find recent runs:
|
||||
|
||||
```sh
|
||||
crabbox history --limit 20
|
||||
crabbox history --lease <id-or-slug> --limit 20
|
||||
```
|
||||
|
||||
Follow an active run:
|
||||
|
||||
```sh
|
||||
crabbox attach <run_id>
|
||||
crabbox attach <run_id> --after <seq>
|
||||
```
|
||||
|
||||
Page through recorded events:
|
||||
|
||||
```sh
|
||||
crabbox events <run_id> --after <seq> --limit 100
|
||||
crabbox events <run_id> --json
|
||||
```
|
||||
|
||||
Inspect completed output and structured test summaries:
|
||||
|
||||
```sh
|
||||
crabbox logs <run_id>
|
||||
crabbox results <run_id>
|
||||
```
|
||||
|
||||
Use `--debug` on `run` when measuring sync timing.
|
||||
Use `--timing-json` on `warmup`, `actions hydrate`, and `run` when a stable
|
||||
machine-readable timing record is needed.
|
||||
|
||||
@ -81,7 +81,7 @@ For the full mental model, see [How Crabbox Works](docs/how-it-works.md). For th
|
||||
- **Cost guardrails.** Per-lease and monthly spend caps. Live pricing from EC2 Spot history or Hetzner server-type prices, with static fallbacks. `crabbox usage` summarizes spend by user, org, provider, and type.
|
||||
- **GitHub Actions hydration.** `crabbox actions hydrate` registers a leased box as an ephemeral Actions runner, so the repo's own workflow installs runtimes, services, and secrets. Crabbox does not parse Actions YAML.
|
||||
- **Hardened coordinator auth.** GitHub browser login, owner-scoped leases, admin-only routes, optional GitHub team allowlists, Cloudflare Access JWT verification, and service-token support keep normal use and operator automation separate.
|
||||
- **OpenClaw plugin.** The repo root is a native OpenClaw plugin. Agents drive Crabbox through `crabbox_run`, `crabbox_warmup`, `crabbox_status`, `crabbox_list`, and `crabbox_stop` instead of shelling out.
|
||||
- **OpenClaw plugin.** The repo root is a native OpenClaw plugin for box lifecycle operations: `crabbox_run`, `crabbox_warmup`, `crabbox_status`, `crabbox_list`, and `crabbox_stop`. Run inspection stays in the CLI and Crabbox skill.
|
||||
- **Operator surface.** `doctor`, `init`, `status`, `inspect`, `list`, `usage`, `history`, `logs`, `results`, `cache`, `admin`, `cleanup`, plus `--json` output where it matters.
|
||||
|
||||
## Machine classes
|
||||
@ -153,6 +153,8 @@ The repo root is a native OpenClaw plugin package. Once installed, it exposes Cr
|
||||
|
||||
The plugin shells out to the configured `crabbox` binary, so local config, broker login, repo claims, and sync behavior stay owned by the CLI. Set `plugins.entries.crabbox.config.binary` if `crabbox` is not on `PATH`.
|
||||
|
||||
Durable run inspection is intentionally CLI/skill-led instead of additional plugin tools: use `crabbox history`, `crabbox events --after --limit`, `crabbox attach`, `crabbox logs`, `crabbox results`, and `crabbox usage` from a shell-capable agent.
|
||||
|
||||
## Development
|
||||
|
||||
```sh
|
||||
|
||||
@ -70,6 +70,8 @@ The repository root is also a native OpenClaw plugin package. Once installed in
|
||||
|
||||
The plugin shells out to the configured `crabbox` binary with argv arrays, so local Crabbox config, broker login, repo claims, and sync behavior stay owned by the CLI. Configure `plugins.entries.crabbox.config.binary` if the binary is not on `PATH`.
|
||||
|
||||
Run history and inspection are intentionally handled by the Crabbox CLI and repo skill, not extra plugin tools. Use `crabbox history`, `crabbox events --after --limit`, `crabbox attach`, `crabbox logs`, `crabbox results`, and `crabbox usage` from a shell-capable agent.
|
||||
|
||||
## Where to read next
|
||||
|
||||
Pick whichever matches your intent:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user