db6f6f291b
- Regenerated SKILL_TEMPLATE.md for all three tool-builder bundles (stg-workspace-smoke, system-info-check, system-info-check-bash) — the previous versions had 8 leading spaces on every line because the renderer's textwrap.dedent didn't work against column-0 injected tables. Fixed on the MCP side; these are the corresponding refreshed outputs. - Gave system-info-check and system-info-check-bash distinct baseNames (`sys-info-py` and `sys-info-bash`). Both previously truncated to `system-info-che` under the default 15-char baseName rule and collided in workspace-builder — the two SLXs would have shared the same computed name so only one (or neither) ever showed up. - Also picks up the resource_path YAML-quoting change (single-quoted only when strictly required — no longer force-double-quoted). Co-authored-by: Cursor <cursoragent@cursor.com>
78 lines
2.2 KiB
Markdown
78 lines
2.2 KiB
Markdown
# System Info Check (Bash)
|
|
|
|
The runner should report hostname and disk space when queried.
|
|
|
|
**Bundle:** `system-info-check-bash` · **Task title:** `Run system info check (bash)` ·
|
|
**Runtime:** tool-builder (bash)
|
|
|
|
> **Review artifact:** See `raw_script.sh` in this directory
|
|
> for the decoded script content that reviewers and automated systems should
|
|
> inspect. Do **not** parse the base64-encoded `GEN_CMD` in the TaskSet template
|
|
> for review purposes — use this SKILL_TEMPLATE.md and the accompanying
|
|
> `raw_script.sh` file instead.
|
|
|
|
## When this SLX gets created
|
|
|
|
- **Platform:** `runwhen` — workspace-builder matches RunWhen platform resources
|
|
- **Resource types:** `workspace`
|
|
- **Match rules (plain English):**
|
|
- matches every resource (pattern `.+` on name)
|
|
- **Expected cardinality:** one SLX per matched resource, named `<qualifiers>-sys-info-bash`
|
|
- **Qualifiers:** `workspace`
|
|
|
|
## What this SLX does
|
|
|
|
The task runs a bash script via the shared `tool-builder` codebundle in
|
|
`rw-generic-codecollection`. The workspace-builder renders the TaskSet template with
|
|
a base64-encoded `GEN_CMD` at deploy time; the decoded script is available in
|
|
`raw_script.sh` in this directory for review.
|
|
|
|
### Environment variables
|
|
|
|
| Name | Value | Notes |
|
|
|---|---|---|
|
|
| _(none)_ | | |
|
|
|
|
### Secrets (names only — values live in RunWhen workspace secrets)
|
|
|
|
| Name | Required |
|
|
|---|---|
|
|
| _(none)_ | no |
|
|
|
|
### Runtime variables (user-supplied at run time)
|
|
|
|
| Name | Default | Description |
|
|
|---|---|---|
|
|
| _(none)_ | | |
|
|
|
|
## Operational metadata
|
|
|
|
- **Timeout:** 300s
|
|
- **Access:** `read-only` · **Data:** `config`
|
|
- **Owners:** shea@runwhen.com
|
|
|
|
## Provenance
|
|
|
|
- Generated by `runwhen-platform-mcp` `render_codecollection_skill` v0.0.0-dev
|
|
- Source workspace: `stg-test`
|
|
- Generated at: `2026-07-07T04:35:06Z`
|
|
|
|
## Deploying this codecollection
|
|
|
|
Add to your runwhen-local runner `workspaceInfo.yaml`:
|
|
|
|
```yaml
|
|
codeCollections:
|
|
- repoURL: https://<host>/<org>/<your-private-codecollection>.git
|
|
ref: main
|
|
```
|
|
|
|
Then reconcile (Flux example):
|
|
|
|
```bash
|
|
flux reconcile hr runwhen-local -n <runner-namespace> --with-source
|
|
```
|
|
|
|
> **Requires runwhen-local with `platform: runwhen` support** (RW-1355). Until that
|
|
> release lands, generation rules using `platform: runwhen` will not render SLXs.
|