Skip to content

Commit 0bf85cc

Browse files
authored
feat(run-obol-stack): update for Obol Stack v0.16.0 and refrewshed dv-pod (#21)
* feat(run-obol-stack): update for Obol Stack v0.15.0 * feat(run-obol-stack): install with curl -fsSL ... | bash * feat: add autoresearch, autoresearch-worker and autoresearch-coordinator Moved from obol-stack's embedded Hermes skills and made standalone: CLAUDE_SKILL_DIR paths, bundled worker Dockerfile, built-in signer client. * feat: add distributed-validators skill Moved from the obol stack's built-in set; installable into an Obol Stack agent with 'obol agent skills add distributed-validators'. * feat(run-obol-stack): route DV-in-the-Stack work and gate on node sync Drop the 'not for running a DV' exclusion: add the end-to-end path (sync, dvpod, create-cluster-invitation, Hermes stewardship), what 'synced' means and how to check it, sizing, in-cluster endpoints and the opt-in MEV flag. Fix the nonexistent obol.stack/ethereum-<id> routes. * fix(create-cluster-invitation): correct --publish and DKG facts, add routes --publish signs T&C and the definition off-chain with a throwaway creator key (charon v1.11 cmd/createdkg.go); no wallet or gas. The ENR key is not a DKG output. Replace dead deploy-obol-ovm/splits skill references and stale docs links. Add the Launchpad vs direct-definition decision tree, a charon minor-version gate and the handoff contract to dvpod. * docs(run-obol-stack): use obol network status/list and --mev as shipped Gate on the network status verdict, read installed nodes from network list, and tie charon.builderApi to whether the node runs mev-boost. * feat(dv-steward): Hermes stewardship of the Stack's own DV node New opt-in skill (obol agent skills add dv-steward) rather than growing distributed-validators: that skill is the public Obol API, this one reads the local EL/CL, dv-pods, status ConfigMaps and Prometheus. Checks with thresholds, [SILENT] cron recipe, Telegram allowlist requirement and strict read-only escalation rules. Cross-link from distributed-validators. * feat(dvpod-monitoring,test-a-dv-cluster): Obol Stack variants health.sh runs through obol kubectl/helm with OBOL=1 and falls back to the Stack Prometheus (scoped to the release) when the release uses a ServiceMonitor. Use the dv-pod container name and pass the dv-pod's key and lock paths to charon alpha test; fix stale docs links. * test(evals): DV-in-the-Stack eval cases claude plugin eval cases for the Launchpad route (sync gate, pinned version, explicit network, pod ENR handoff, version gate, no deposit before verification), the direct-definition route and Hermes stewardship setup. * fix(dvpod-monitoring): bundled Prometheus is <fullname>-prometheus Charts 0.21+ renamed the bundled Prometheus Service; health.sh prefers it and falls back to the old name. Narrow obol kubectl allowed-tools to the non-Secret resources. * feat(dvpod): chart 0.22 modes and Obol Stack flow Add obol-stack.md (obol helm/kubectl, chart+sidecar availability gate, sync gate, MEV/builderApi, the chart's obol-stack values example, statusReaders for Hermes, Launchpad and direct-definition installs). Document mode, dkg.definition.*, dkg.runner and the ENR/status ConfigMaps; read ENR and DKG phase without Secrets. Fix drift: charon v1.11.0 and sidecar v1.1.0, placeholder beacon default and publicnode fallback, no prysm acceptTermsOfUse, per-release ENR Secrets, lock/ lockHash/keystore values, container dv-pod, explicit network in every example, <fullname>-prometheus, and the sidecar never signing. Detect releases by chart, not release name. * chore: release 1.10.0 with DV-in-the-Stack skills Bump the plugin minor version, list dv-steward and the Stack DV flow in the README, document the evals, and cover pre-0.22 charts in dv-steward. * docs(dvpod): the beacon node defaults to the Stack's ethereum-<network> Chart 0.22 derives it from network, and the first Stack deployment of a network is named after it; set it only for a petname id. * docs: no MEV-boost in the Obol Stack The Stack builds blocks locally until Gloas and uses in-protocol builder bids after it, so dv-pods there keep charon.builderApi false. Drops the --mev guidance and the dv-steward mev-boost check. * docs(run-obol-stack): ethereumjs is no longer an execution client option * fix(dvpod): sidecar image tag is 1.1.0, not v1.1.0 * chore: release 1.8.0, the next version after main's 1.7.0
1 parent 07c579e commit 0bf85cc

45 files changed

Lines changed: 4083 additions & 948 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.

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "obol",
33
"description": "Skills for running decentralised infrastructure and agents with Obol",
4-
"version": "1.7.0",
4+
"version": "1.8.0",
55
"author": {
66
"name": "Obol"
77
}

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.env
2-
__pycache__/
2+
__pycache__/evals/results/

‎README.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,17 @@ Claude picks the right skill from your request, or you can call one directly wit
8181
| --- | --- | --- |
8282
| [`create-cluster-invitation`](skills/create-cluster-invitation/SKILL.md) | Create a DV cluster invitation and coordinate the DKG | Docker (`charon` image), or the Obol SDK |
8383
| [`test-a-dv-cluster`](skills/test-a-dv-cluster/SKILL.md) | Run `charon alpha test` suites against a node or cluster | A running Charon, or Docker |
84-
| [`dvpod`](skills/dvpod/SKILL.md) | Deploy, upgrade, back up, and troubleshoot a DV on Kubernetes | `kubectl`, `helm`, a beacon node |
84+
| [`dvpod`](skills/dvpod/SKILL.md) | Deploy, upgrade, back up, and troubleshoot a DV on Kubernetes or in the Obol Stack (Launchpad or direct-definition routes) | `kubectl`, `helm` (or `obol`), a synced beacon node |
8585
| [`dvpod-monitoring`](skills/dvpod-monitoring/SKILL.md) | Query a deployed DVpod's metrics and logs (read-only) | `kubectl`, `helm` |
8686
| [`obol-monitoring`](skills/obol-monitoring/SKILL.md) | Triage cluster health and duty failures in Obol's hosted Grafana | Python 3.6+, `OBOL_GRAFANA_API_TOKEN` |
87-
| [`run-obol-stack`](skills/run-obol-stack/SKILL.md) | Install, operate, and sell paid agent services from the Obol Stack | Docker, a model provider |
87+
| [`run-obol-stack`](skills/run-obol-stack/SKILL.md) | Install, operate, and sell paid agent services from the Obol Stack; sync a node and run your part of a DV in it | Docker, a model provider |
88+
| [`autoresearch`](skills/autoresearch/SKILL.md) | Run autoresearch GPU experiments and publish/sell the best checkpoint | GPU, Python 3, `uv`, `ollama`; `obol` to sell |
89+
| [`autoresearch-worker`](skills/autoresearch-worker/SKILL.md) | Sell GPU time as a paid autoresearch experiment worker | GPU host, Python 3 + `uv` or Docker, Obol Stack |
90+
| [`autoresearch-coordinator`](skills/autoresearch-coordinator/SKILL.md) | Discover paid GPU workers via ERC-8004 and run experiments across them | Python 3; Obol Stack agent wallet to pay |
91+
| [`distributed-validators`](skills/distributed-validators/SKILL.md) | Check DV cluster health, validator performance, operators and exits via the Obol API (read-only) | `curl` |
92+
| [`dv-steward`](skills/dv-steward/SKILL.md) | Let the Obol Stack's Hermes agent watch your local node and dv-pods on a schedule and alert you (read-only) | Obol Stack, Hermes |
93+
94+
`distributed-validators` and `dv-steward` are written for the Obol Stack's Hermes agent: `obol agent skills add dv-steward distributed-validators`. They work as Claude Code plugin skills too.
8895

8996
Try, for example:
9097

@@ -93,6 +100,7 @@ Help me create a 4-operator DV cluster on Hoodi with my friends, inviting them b
93100
Run the Charon test suites against my node and tell me if anything needs fixing before activation.
94101
Give me a health snapshot of my DVpod and explain any Charon errors from the last hour.
95102
Install the Obol Stack on this machine and help me sell my first paid agent service.
103+
Sync hoodi in my Obol Stack, install a dv-pod for my operator address, and join my group's Launchpad invite.
96104
```
97105

98106
> [!WARNING]
@@ -111,6 +119,10 @@ skills/
111119
└── ...
112120
```
113121

122+
## Evals
123+
124+
`evals/` holds `claude plugin eval` cases (`prompt.md` + `graders/*.md`) for the DV-in-the-Stack flows. Run them locally with `claude plugin eval . --runs 1` (uses your own Claude credentials; results land in `evals/results/`, which is git-ignored).
125+
114126
## Releasing
115127

116128
Users install the plugin from the release tag that `.claude-plugin/marketplace.json` points at (`"ref": "v<version>"`), not from `main`. Merging changes to `main` ships nothing; moving that `ref` is the release. `main` requires linear history, so tags are always cut from `main` after merge:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
type: llm
3+
weight: 2
4+
---
5+
6+
After the definition exists, each operator's dv-pod is (re)configured with `mode=definition` and exactly one of `dkg.definition.configHash` (from `--publish`), `dkg.definition.url`, or `dkg.definition.configMap`; no operator address is required for this mode. The DKG then runs automatically in the pods when all four are online at the same time.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
type: llm
3+
weight: 1
4+
---
5+
6+
If `--publish` is discussed, the response does NOT claim it needs an on-chain transaction, gas, or the creator's own wallet (charon generates a throwaway creator key and signs Obol's terms off-chain). The response also requires all four operators to run the same charon minor version as the image used for `create dkg`.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
type: llm
3+
weight: 2
4+
---
5+
6+
The response chooses the direct-definition route: ENR mode. Each operator first installs a dv-pod (with `network=hoodi`, a pinned chart `--version`, via `obol helm`) and shares the pod's public ENR from its `<fullname>-enr` ConfigMap; the creator then runs `charon create dkg --network hoodi --num-validators 1 --withdrawal-addresses 0x111… --fee-recipient-addresses 0x111… --operator-enrs <4 ENRs>` (via a pinned `obolnetwork/charon:vX.Y.Z` image, not `latest`). It must not route them through the Launchpad or ask for operator addresses as the identity.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
type: llm
3+
weight: 2
4+
---
5+
6+
The response requires human verification of the resulting cluster-lock (operator ENRs, withdrawal and fee-recipient 0x111…, threshold, network/fork version) and a test/health check before any 32 ETH deposit, states the agent could have made a mistake, and never asks for or reads key shares, ENR private keys or Kubernetes Secrets.

‎evals/dv-stack-direct/prompt.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
max_turns: 15
3+
allowed_tools: [Read, Glob, Grep, Skill]
4+
tags: [dv, obol-stack]
5+
---
6+
7+
Four of us each run the Obol Stack with a synced hoodi node. We don't want to use the Launchpad at all. I'm the one creating the 4-operator cluster (1 validator; withdrawal and fee recipient 0x1111111111111111111111111111111111111111). Each of us will run a dv-pod. Walk me through the whole thing, commands included, without running anything.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
type: llm
3+
weight: 2
4+
---
5+
6+
The plan reads the dv-pod's own public ENR (from the `<fullname>-enr` ConfigMap or the chart's output — not from a Secret's private key, and not a newly generated ENR from `charon create enr` on the laptop) and tells the user to open the hoodi Launchpad link with the wallet for 0xabc…abc, paste exactly that pod ENR, and sign. It makes clear that the human signs on the Launchpad (the pod/sidecar never signs or "auto-accepts"), and that the DKG then runs automatically once every operator has signed, with all operators' pods online.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
type: llm
3+
weight: 2
4+
---
5+
6+
The dv-pod install command:
7+
- uses the Stack's tools (`obol helm …` / `obol kubectl …`), not plain `helm`/`kubectl` against the user's default kubeconfig;
8+
- pins the chart with an explicit `--version` (e.g. 0.22.0), not "latest";
9+
- sets `network=hoodi` explicitly (never relies on the chart's mainnet default);
10+
- sets `charon.operatorAddress=0xabc0000000000000000000000000000000000abc` exactly as given and `mode=launchpad` (or the Launchpad mode via the Stack example values);
11+
- points `charon.beaconNodeEndpoints` at the in-cluster beacon `http://ethereum-beacon.ethereum-<id>.svc.cluster.local:5052`.
12+
All five are required to pass.

0 commit comments

Comments
 (0)