Arm synthetics

From CarlosCaPe/octorato · View interactive version

Arm synthetics is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Per-arm health check templates. Each arm defines a synthetics.yaml with endpoints to probe + expected responses + cron schedule. The skill ships the template + GH Action runner. Failures open issues IN THE ARM REPO (not the brain) to preserve octopus arm isolation. Use when onboarding a new arm or w

How to use this skill

Skill file

Brain Synthetics (observability surface 7)

This surface runs per-arm health monitoring: each arm gets its own synthetics config, its own GH Action runner, and alerts that stay in the arm's own repo. Arm isolation is preserved — the brain never sees one arm's failures bleed into another arm's monitoring surface.

When to use

Files this skill installs

Two templates live under ~/.claude/templates/arm-synthetics/:

  1. synthetics.yaml.template — copied into the arm at <arm>/synthetics.yaml. Operator edits the endpoints + expectations.
  2. synthetics.yml.workflow-template — copied into the arm at <arm>/.github/workflows/arm-synthetics.yml. Reads the yaml, runs the probes, opens an issue ON THE ARM REPO on failure.

A helper script ~/.claude/scripts/arm-synthetics-runner.py does the actual probing — sits in the brain so all arms share the same runner code without duplication.

Workflow when installing into a new arm

  1. From inside <arm>/ repo, run:

```

cp ~/.claude/templates/arm-synthetics/synthetics.yaml.template ./synthetics.yaml

mkdir -p .github/workflows

cp ~/.claude/templates/arm-synthetics/synthetics.yml.workflow-template .github/workflows/arm-synthetics.yml

```

  1. Edit synthetics.yaml: add endpoints, expected status codes, optional regex/JSON path on response.
  2. Commit + push to the arm repo. The GH Action picks up the cron schedule.

synthetics.yaml schema

arm: my-arm-slug           # arm slug; sourced into issue titles
schedule: "0 */6 * * *"    # cron (default every 6h)
probes:
  - name: site-home
    method: GET
    url: https://www.dataqbs.com/
    expect_status: 200
    expect_regex: '<title>dataqbs'   # optional
    timeout_seconds: 30
  - name: api-chat-health
    method: GET
    url: https://www.dataqbs.com/api/health
    expect_status: 200
    expect_json_path: '$.ok'        # optional, value must be truthy
    expect_json_value: true         # optional
    timeout_seconds: 15

Alerting (arm isolation rule)

AC coverage

Cross-references

Non-goals (per spec)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.