Skip to content

Commit 330ba1f

Browse files
committed
refactor: move canvas to plugin surfaces
1 parent c6e6b31 commit 330ba1f

1,044 files changed

Lines changed: 11519 additions & 81270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/crabbox/SKILL.md

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -229,21 +229,6 @@ Raw Blacksmith footguns:
229229
- Treat `blacksmith testbox list` as cleanup diagnostics, not a shared reusable
230230
queue.
231231

232-
Blacksmith queue/outage mode:
233-
234-
```sh
235-
blacksmith --version
236-
blacksmith testbox list --all
237-
blacksmith testbox status --id <tbx_id>
238-
```
239-
240-
If the CLI can list/status boxes but new warmups stay `queued` with no IP or
241-
Actions run URL after a couple of minutes, treat it as Blacksmith provider,
242-
org-limit, billing, or queue pressure. Stop the queued ids you created and do
243-
not warm more boxes into the same stalled queue. Check the Blacksmith dashboard,
244-
billing, and org limits out-of-band, then use Owned Cloud Fallback below for
245-
maintainer proof.
246-
247232
Escalate to owned AWS/Hetzner only when Blacksmith is down, quota-limited,
248233
missing the needed environment, or owned capacity is the explicit goal. Use the
249234
Owned Cloud Fallback section below.
@@ -277,9 +262,6 @@ Important Blacksmith footguns:
277262

278263
- Always run from repo root. The CLI syncs the current directory.
279264
- Raw commit SHAs are not reliable `warmup --ref` refs; use a branch or tag.
280-
- If `blacksmith testbox list --all` works but warmups stay `queued`, this is
281-
not a Crabbox bug. Stop the queued ids and switch to owned AWS/Hetzner instead
282-
of retrying.
283265
- If auth is missing and browser auth is acceptable:
284266

285267
```sh
@@ -291,45 +273,8 @@ blacksmith auth login --non-interactive --organization openclaw
291273
Use AWS/Hetzner only when Blacksmith is down, quota-limited, missing the needed
292274
environment, or owned capacity is explicitly the goal.
293275

294-
When AWS capacity is under pressure, do not start with `class=beast`.
295-
`beast` begins at 48xlarge instances and can burn 192 vCPU quota per request.
296-
OpenClaw's owned-cloud default is `standard`; escalate to `fast`, then `large`,
297-
and only use `beast` when the work is explicitly CPU-bound and the smaller class
298-
already failed the goal.
299-
Keep capacity hints enabled so brokered AWS leases print selected region/market,
300-
quota pressure, Spot fallback, and high-pressure class warnings. The OpenClaw
301-
repo config sets `capacity.hints: true`; use `CRABBOX_CAPACITY_HINTS=0` only
302-
when debugging hint rendering itself.
303-
304-
Use `beast` only for exceptional lanes:
305-
306-
- full-suite or all-plugin Docker matrices where wall time is dominated by CPU,
307-
not dependency install or network;
308-
- release/blocker validation where a maintainer explicitly asks for the largest
309-
owned AWS class;
310-
- performance profiling where the point is to compare high-core behavior.
311-
312-
Do not use `beast` for `pnpm check:changed`, focused tests, docs-only work,
313-
ordinary lint/typecheck, small E2E repros, or Blacksmith outage triage. Those
314-
should use `standard` first and `fast` only when the extra cores materially help.
315-
316-
Preferred AWS pressure-relief flow:
317-
318-
```sh
319-
CRABBOX_CAPACITY_REGIONS=eu-west-1,eu-west-2,eu-central-1,us-east-1,us-west-2 \
320-
pnpm crabbox:warmup -- --provider aws --class standard --market on-demand --idle-timeout 90m
321-
pnpm crabbox:hydrate -- --id <cbx_id-or-slug>
322-
pnpm crabbox:run -- --id <cbx_id-or-slug> --timing-json --shell -- "env NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_TEST_PROJECTS_PARALLEL=6 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 pnpm check:changed"
323-
pnpm crabbox:stop -- <cbx_id-or-slug>
324-
```
325-
326-
Use `--market spot` only when testing Spot behavior or saving cost matters more
327-
than launch reliability. Use `--market on-demand` when diagnosing quota/capacity
328-
because it removes Spot market churn from the failure.
329-
330276
```sh
331-
CRABBOX_CAPACITY_REGIONS=eu-west-1,eu-west-2,eu-central-1,us-east-1,us-west-2 \
332-
pnpm crabbox:warmup -- --provider aws --class fast --market on-demand --idle-timeout 90m
277+
pnpm crabbox:warmup -- --provider aws --class beast --market on-demand --idle-timeout 90m
333278
pnpm crabbox:hydrate -- --id <cbx_id-or-slug>
334279
pnpm crabbox:run -- --id <cbx_id-or-slug> --timing-json --shell -- "env NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_TEST_PROJECTS_PARALLEL=6 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 pnpm test:changed"
335280
pnpm crabbox:stop -- <cbx_id-or-slug>

.crabbox.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
profile: openclaw-check
22
provider: aws
3-
class: standard
3+
class: beast
44
capacity:
55
market: spot
66
strategy: most-available
77
fallback: on-demand-after-120s
8-
hints: true
98
regions:
109
- eu-west-1
11-
- eu-west-2
12-
- eu-central-1
13-
- us-east-1
14-
- us-west-2
1510
actions:
1611
workflow: .github/workflows/crabbox-hydrate.yml
1712
job: hydrate

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If this PR fixes a plugin beta-release blocker, title it `fix(<plugin-id>): beta
3737

3838
## Real behavior proof (required for external PRs)
3939

40-
External contributors must show after-fix evidence from a real OpenClaw setup. Unit tests, mocks, lint, typechecks, snapshots, and CI are supplemental only. Screenshots are encouraged even for CLI, console, text, or log changes; terminal screenshots and copied live output count. Be mindful of private information like IP addresses, API keys, phone numbers, non-public endpoints, or other private details when providing evidence.
40+
External contributors must show after-fix evidence from a real OpenClaw setup. Unit tests, mocks, lint, typechecks, snapshots, and CI are supplemental only. Screenshots are encouraged even for CLI, console, text, or log changes; terminal screenshots and copied live output count.
4141

4242
- Behavior or issue addressed:
4343
- Real environment tested:

0 commit comments

Comments
 (0)