| name | spike-findings-openclaw-revenium |
| description | Implementation blueprint from spike experiments for adding optional NemoClaw/OpenShell support to the Revenium OpenClaw skill. Requirements, proven patterns, and verified knowledge. Auto-load during NemoClaw/OpenShell implementation work. |
## Project: openclaw-revenium
Adding optional NemoClaw / OpenShell support to the Revenium OpenClaw skill via a parallel
install path — deploying the budget-guardrail + metering skill into an OpenClaw agent running
under NemoClaw inside an OpenShell hardened sandbox, without disturbing the existing standalone
OpenClaw + Docker path. NemoClaw = orchestration/security layer (CLI nemoclaw); OpenShell = the
sandbox agents run inside.
Spike session wrapped: 2026-06-07. Validated live on Ubuntu host 34.224.27.67 (sandbox revenium-spike).
## Requirements (non-negotiable — every reference honors these)
- Parallel install path only — the existing standalone OpenClaw + Docker path must remain untouched.
- Target host must be Linux + Docker (macOS unsupported); detect + refuse off-Linux explicitly
(NemoClaw's installer graceful-skips on Darwin → false success).
- Build on NemoClaw's first-class CLI primitives (
skill install, policy-add, share mount, exec), not bespoke docker hacks.
- Inside the sandbox, OpenClaw config/state is
/sandbox/.openclaw/ (not ~/.openclaw/).
- Ship + apply a custom
revenium egress policy (api.revenium.ai) — not allowed by default.
- Metering runs host-side over a
share mount, not per-tick exec and not an in-sandbox cron.
- The per-turn guardrail directive needs an OpenClaw plugin hook —
skill install/AGENTS.md do not deliver it.
<findings_index>
Feature Areas
| Area | Reference | Key Finding |
|---|
| Install & bootstrap | references/install-and-bootstrap.md | Linux-only; non-interactive env-var install; run detached to avoid apt SIGTTIN; ~11 min |
| Sandbox egress policies | references/sandbox-egress-policies.md | Deny-by-default proxy; ship + policy-add a host-scoped revenium preset for api.revenium.ai |
| Revenium CLI & metering | references/revenium-cli-and-metering.md | No Linux brew bottle → tarball install; SSL_CERT_FILE=/etc/openshell-tls/ca-bundle.pem; loop host-side via share mount, NOT per-tick exec |
| Skill deploy & enforcement | references/skill-deploy-and-enforcement.md | skill install gives discovery only; per-turn directive needs a plugin before_prompt_build hook — mechanism proven (spike 006), author from openclaw plugins init |
Spike verdicts
| # | Spike | Verdict |
|---|
| 001 | nemoclaw-bootstrap | VALIDATED (Linux) / INVALIDATED (macOS) |
| 002 | openshell-egress | VALIDATED |
| 003 | revenium-cli-in-sandbox | VALIDATED |
| 004 | background-metering-loop | VALIDATED |
| 005 | skill-discovery-and-directives | PARTIAL (directive injection needs a plugin) |
| 006 | plugin-directive-injection | PARTIAL (plugin before_prompt_build mechanism proven viable; author from official scaffold) |
Source Files
Original spike source files (probe, policy YAMLs, tick scripts, READMEs) preserved in sources/.
</findings_index>
## Processed Spikes
- 001-nemoclaw-bootstrap
- 002-openshell-egress
- 003-revenium-cli-in-sandbox
- 004-background-metering-loop
- 005-skill-discovery-and-directives
- 006-plugin-directive-injection