---
name: caveman-manage
description: Use when reviewing, starting, approving, canceling or rolling back a Caveman Cloud experiment: reads evidence, recommends one action, never executes it.
---
# Manage eval-gated experiments
## What this does
Inspects a Caveman Cloud experiment's lifecycle state and results, then reports one supported recommendation or block. Every lifecycle change is treated as a production control action. The current agent MCP is intentionally read-only because control-api does not yet enforce a complete lifecycle transition table and evidence gate atomically.
## When to use
When asked to start, approve, cancel, promote or roll back a Caveman experiment, or to review, inspect, explain or recommend on one.
## How to run it
### Non-negotiable gates
1. A request to review, inspect, explain, or recommend authorizes reads only.
2. Never approve an experiment whose results are pending, whose required guardrails are absent, or whose evidence reports a breach.
3. Never convert experiment lift into `verified_savings`. Only active real traffic plus provider-causal, provider-complete ledger evidence can do that.
4. Never supply an organization id. Project and tenant scope come from the logged-in Caveman identity and server RBAC.
5. Never execute a lifecycle mutation, even after user approval. Exact `<action>:<experiment_id>` strings are agent-generatable and are not proof of human intent.
6. Unknown states and server errors fail closed. Report the exact `cave_snake_code`.
### Step 1: Load project and experiment
Prefer MCP:
text
caveman_context {}
caveman_experiment_get {"action":"get","experiment_id":"{experiment_id}"}
caveman_experiment_get {"action":"results","experiment_id":"{experiment_id}"}
Use `{"action":"list"}` when the user has not named an id.
CLI fallback:
bash
caveman cloud experiments list
caveman cloud experiments show {experiment_id}
caveman cloud experiments results {experiment_id}
Stop if login, project, experiment, or results are unavailable.
### Step 2: Evaluate evidence
Report: current lifecycle state and safety class; control and candidate sample sizes; quality or eval result; latency, error, cost, retry, drop and escalation guardrails when present; evidence cost; rollback or hold reason; whether the result is pending, failed, promotable, or active. Absence is not a pass. If a required field is absent, state `evidence incomplete` and do not propose approval.
### Step 3: Propose one action
Allowed actions:
- `start`: only from a startable draft or queued state with configured graders.
- `approve`: only with complete passing evidence and a safety class the current role may approve.
- `cancel`: stop a non-active experiment the user no longer wants.
- `rollback`: revert an active or harmful change through the server's linked policy path. Current deployments may reject this with `cave_not_implemented`; never describe that response as a rollback.
text
Proposed action: approve experiment {experiment_id}
Reason: candidate passed quality and every configured guardrail.
Execution: blocked until server-authoritative lifecycle and evidence gates ship.
Do not treat generic statements such as "manage it" or "do what is best" as mutation approval.
### Step 4: Block unsafe execution
Do not emit or run an executable lifecycle command. Explain that the server does not yet enforce every evidence/state transition atomically, so CLI and MCP agent surfaces expose experiment reads only.
### Step 5: Re-read after external operator action
If the operator says they executed a command, read detail and results again. Report server-observed post-state, audit or result response, and any policy-delivery status. Never infer success from operator intent alone.
## Output
One recommendation or block, then this close:
text
Action: <action> <experiment-id>
Before: <state>
Server response: <status and cave_snake_code if any>
After: <re-read state>
Basis: experiment evidence only. Verified savings unchanged unless the signed ledger independently records active, provider-causal real-traffic savings.
Credit: Based on public content by JuliusBrussee, packaged by Orbit.