From 7bf6667d6c8a8de4c4ca44a77d45239a8bd211f0 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 31 May 2026 10:37:15 +0100 Subject: [PATCH] docs: update crabbox skill cache-volume guidance --- .agents/skills/crabbox/SKILL.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.agents/skills/crabbox/SKILL.md b/.agents/skills/crabbox/SKILL.md index 9996aad0747..8ad98e7dedf 100644 --- a/.agents/skills/crabbox/SKILL.md +++ b/.agents/skills/crabbox/SKILL.md @@ -223,6 +223,21 @@ Read the JSON summary and the Testbox line. Useful fields: - Actions run URL/id from the Testbox output - `exitCode` +Use provider-backed cache volumes only for rebuildable caches, not secrets or +checkout state. On Blacksmith, Crabbox forwards them as sticky disks: + +```sh +node scripts/crabbox-wrapper.mjs run \ + --provider blacksmith-testbox \ + --cache-volume pnpm-store=openclaw-node24-pnpm-lock:/tmp/openclaw-pnpm-store \ + --timing-json \ + -- \ + corepack pnpm check:changed +``` + +The selected provider must advertise cache-volume support. If not, omit +`--cache-volume` and rely on kept-lease caches. + `blacksmith testbox list` may hide hydrating or ready boxes. Use: ```sh @@ -590,7 +605,8 @@ Crabbox Blacksmith backend delegates setup to: The hydration workflow owns checkout, Node/pnpm setup, dependency install, secrets, ready marker, and keepalive. Crabbox owns dispatch, sync, SSH command -execution, timing, logs/results, and cleanup. +execution, timing, logs/results, cleanup, and cache-volume requests. Blacksmith +implements cache volumes as sticky disks. Minimal Blacksmith-backed Crabbox run, from repo root: @@ -685,6 +701,7 @@ crabbox events --json crabbox logs crabbox results crabbox cache stats --id +crabbox cache volumes crabbox ssh --id blacksmith testbox list ```