55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"id": "plugin-lifecycle",
|
|
"surface": "plugin-lifecycle",
|
|
"title": "OpenClaw Plugin Lifecycle",
|
|
"objective": "Exercise plugin list, update, install/remove-ready paths, runtime dependency diagnostics, restart behavior, and registry consistency.",
|
|
"tags": [
|
|
"plugins",
|
|
"runtime-deps",
|
|
"gateway",
|
|
"restart"
|
|
],
|
|
"thresholds": {
|
|
"pluginsListMs": 10000,
|
|
"pluginUpdateDryRunMs": 20000,
|
|
"restartReadyMs": 30000
|
|
},
|
|
"phases": [
|
|
{
|
|
"id": "baseline",
|
|
"title": "Plugin Baseline",
|
|
"intent": "Inspect plugin state immediately after gateway startup.",
|
|
"commands": [
|
|
"ocm start {env} {startSelector} --json",
|
|
"ocm @{env} -- plugins list",
|
|
"ocm @{env} -- plugins update --all --dry-run"
|
|
],
|
|
"evidence": [
|
|
"plugin list",
|
|
"update dry-run",
|
|
"runtime dependency errors"
|
|
],
|
|
"healthScope": "readiness"
|
|
},
|
|
{
|
|
"id": "restart",
|
|
"title": "Restart After Plugin Inspection",
|
|
"intent": "Verify plugin state survives gateway restart and does not create missing dependency errors.",
|
|
"commands": [
|
|
"ocm service restart {env}",
|
|
"ocm service status {env} --json",
|
|
"ocm logs {env} --tail 250 --raw"
|
|
],
|
|
"evidence": [
|
|
"restart status",
|
|
"logs",
|
|
"missing dependency scan"
|
|
],
|
|
"healthScope": "readiness"
|
|
}
|
|
],
|
|
"proves": [
|
|
"baseline"
|
|
]
|
|
}
|