mirror of https://github.com/openclaw/openclaw.git
docs(plugins): align spine docs with frontmatter, naming, and schema clarifications
This commit is contained in:
parent
59bfbb0c55
commit
a5c2cc04b8
|
|
@ -1,13 +0,0 @@
|
|||
# Resumable Handoff Packet (v1)
|
||||
|
||||
## Purpose
|
||||
Allow model/agent/plugin swap mid-run without continuity loss.
|
||||
|
||||
## Core fields
|
||||
- `runId`
|
||||
- `goalId`
|
||||
- `currentStep`
|
||||
- `acceptance`
|
||||
- `artifacts[]`
|
||||
- `status`
|
||||
- `updatedAt`
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
# Plugin Health Schema (v1)
|
||||
|
||||
## Status enum
|
||||
- `healthy`
|
||||
- `degraded`
|
||||
- `blocked`
|
||||
|
||||
## Required fields
|
||||
- `status`
|
||||
- `lastError` (nullable)
|
||||
- `nextAction` (nullable)
|
||||
- `updatedAt`
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# Retry + Dead-letter Policy (v1)
|
||||
|
||||
## Retry
|
||||
- Bounded retries only (no infinite loops)
|
||||
- Explicit retry count + backoff
|
||||
|
||||
## Dead-letter
|
||||
- Failed items after max retries move to dead-letter queue
|
||||
- Must include failure reason + next operator action
|
||||
|
|
@ -1,3 +1,11 @@
|
|||
---
|
||||
summary: "Plugin execution spine contract: propose → approve(if risky) → execute → verify."
|
||||
read_when:
|
||||
- You are designing plugin execution flows
|
||||
- You need a shared safety/approval contract
|
||||
title: "Plugin Execution Spine Contract"
|
||||
---
|
||||
|
||||
# Plugin Execution Spine Contract (v1)
|
||||
|
||||
## Flow
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
summary: "Resumable handoff packet schema to preserve continuity across model/agent/plugin swaps."
|
||||
read_when:
|
||||
- You are implementing resumable handoffs
|
||||
- You need run continuity across worker/model changes
|
||||
title: "Resumable Handoff Packet Schema (v1)"
|
||||
---
|
||||
|
||||
# Resumable Handoff Packet (v1)
|
||||
|
||||
## Purpose
|
||||
Allow model/agent/plugin swap mid-run without continuity loss.
|
||||
|
||||
## Core fields
|
||||
- `runId`
|
||||
- `goalId`
|
||||
- `currentStep`
|
||||
- `acceptance` — approval record from the `approve` gate (null if not required)
|
||||
- `artifacts[]`
|
||||
- `status`
|
||||
- `updatedAt`
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
summary: "Standard plugin health schema for operator visibility and recovery handoffs."
|
||||
read_when:
|
||||
- You are exposing plugin runtime health
|
||||
- You need a consistent healthy/degraded/blocked status model
|
||||
title: "Plugin Health Schema"
|
||||
---
|
||||
|
||||
# Plugin Health Schema (v1)
|
||||
|
||||
## Status enum
|
||||
- `healthy`
|
||||
- `degraded`
|
||||
- `blocked`
|
||||
|
||||
## Required fields
|
||||
- `status`
|
||||
- `lastError` (nullable)
|
||||
- `nextAction` (nullable)
|
||||
- `updatedAt`
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
summary: "Plugin-scoped bounded retry and dead-letter policy to prevent silent task loss."
|
||||
read_when:
|
||||
- You are implementing plugin retry behavior
|
||||
- You need dead-letter handling for failed plugin tasks
|
||||
title: "Retry + Dead-letter Policy"
|
||||
---
|
||||
|
||||
# Retry + Dead-letter Policy (v1)
|
||||
|
||||
Related: [Core retry policy](/concepts/retry)
|
||||
|
||||
## Retry
|
||||
- Bounded retries only (no infinite loops)
|
||||
- Explicit retry count + backoff
|
||||
|
||||
## Dead-letter
|
||||
- Failed items after max retries move to dead-letter queue
|
||||
- Must include failure reason + next operator action
|
||||
Loading…
Reference in New Issue