The crabbox: check verb for OpenCharly — probe the Crabbox
CLI and its optional local coordinator, served out-of-process (verb:crabbox).
This plugin is a standalone Go module the charly loader host-builds and serves
over go-plugin gRPC (LocalTransport), so an authored crabbox: step dispatches
through the provider registry exactly like a built-in.
| Capability | Surface |
|---|---|
verb:crabbox |
the declarative crabbox: check step |
Four method classes, all read-only with respect to leases:
- In-venue CLI — credential-free —
version(crabbox --version),providers,describe(crabbox providers describe <name> --json),config,doctor. Run thecrabboxbinary inside the venue over the reverse channel. - In-venue CLI — containerd gate —
containerd-preflight. Runs the real probes a containerd lease needs (CLI provider, daemon,xt_multiport, lease image) and returns a VISIBLE SKIP naming the exact absent dependency instead of a mock or a false pass. - In-venue CLI — broker-backed —
leases,usage,events,logs. Require a priorcrabbox loginin the venue. - Coordinator HTTP probe —
health(/v1/health),ready(/v1/ready), issued from the charly host against the resolved coordinator endpoint.
No method creates, mutates, or releases a lease; the preflight's only write is a
nerdctl pull proving the configured lease image exists in a registry.
It is not a re-skin of the generic command: / http: verbs: it adds ENDPOINT
RESOLUTION (cc.ResolveEndpoint turns the in-venue coordinator port into a
host-reachable address, so one authored step works unchanged against a pod's
published port and a VM's forwarded one) and DOMAIN SEMANTICS (methods map to the
CLI's real surface and return real verdicts, with json_path: to assert one
field; the CLI methods run where the binary is installed, which http: cannot
reach).
Compose the plugin candy in a box or check bed's candy: list:
- '@github.com/opencharly/plugin-crabbox/candy/plugin-crabbox:<tag>'Then author the verb in a plan (scalar sugar shown):
- check: the in-venue crabbox CLI answers with a version (a commit or a release)
crabbox: version
stdout:
- matches: "([0-9]+\\.[0-9]+\\.[0-9]+|[0-9a-f]{7,40})"
eventually: 60s
retry_interval: 5s
- check: the containerd provider is described by the CLI itself
crabbox:
method: describe
provider: containerd
json_path: provider.canonical
stdout:
- contains: "containerd"
- check: the containerd lease's dependencies are present, or a visible SKIP names the missing one
crabbox:
method: containerd-preflight
provider: containerd
containerd:
runtime: crun
image: ghcr.io/opencharly/pod-crabbox:2026.293.1655Install the CLI itself with the crabbox candy
(opencharly/layer-crabbox) — it
BUILDS the pinned opencharly/crabbox commit so the containerd provider is
present, which no openclaw/crabbox release carries — select the provider with
its crabbox-containerd-config candy, and install the coordinator with the
crabbox-coordinator candy (opencharly/pod-crabbox-coordinator).
candy/plugin-crabbox/— the plugin module:plugin.go(the provider +NewProvider()/NewMeta()),provider.go(theInvokeverdict path),methods.go(the method dispatch),schema/crabbox.cue(the self-contained#CrabboxInput),params/cue_types_gen.go,plugin_test.go,cmd/serve/main.go.candy/plugin-crabbox/charly.yml— theplugin-crabbox:candy entity plus the embeddedcrabbox-skill:skill entity..agents/skills/crabbox/SKILL.md— the owning skill (projected into the marketplace as/charly-check:crabbox).box/check-crabbox-pod/— the minimal POD witness (the CLI + the verb).box/check-crabbox-containerd-e2e/— the disposable VM bed for a containerd lease: containerd in the guest, the CLI in the venue, and the preflight that names the dependency still blocking the mutating cycle.charly.yml— the root project manifest (discover: candy+discover: box)..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.
- Owning skill:
/charly-check:crabbox— thecrabbox:check verb reference, declared by this candy's embeddedcrabbox-skill:skill entity (familycheck). /charly-check:check— the declarative check-step surface the verb is authored through.opencharly/charly— the charly CLI.