Appearance
sp ops
Phase: v2
When agents use this: SRE-style diagnostics — read-only by default; mutating ops require --confirm.
Synopsis
Operational endpoints under /vi/storage and /vi/schedule.
Subcommands
| Subcommand | Method | Path | Mutating |
|---|---|---|---|
storage overview | GET | /vi/storage/overview | No |
storage diagnostics | GET | /vi/storage/diagnostics | No |
storage monitor | GET | /vi/storage/monitor | No |
schedule monitor | GET | /vi/schedule/monitor | No |
storage compact | POST | /vi/storage/compact | Yes (--confirm) |
index rebuild | POST | /vi/forceRebuildIndexes | Yes (--confirm) |
Examples
bash
sp ops storage overview --json
sp ops storage compact --confirm --jsonAgent guidance
Agents should not run mutating ops unless the user explicitly requests maintenance. Default deny without --confirm.