docs(plugins): align spine docs with frontmatter, naming, and schema clarifications

This commit is contained in:
Aine 2026-03-15 16:29:32 -06:00
parent 59bfbb0c55
commit a5c2cc04b8
7 changed files with 68 additions and 34 deletions

View File

@ -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`

View File

@ -1,12 +0,0 @@
# Plugin Health Schema (v1)
## Status enum
- `healthy`
- `degraded`
- `blocked`
## Required fields
- `status`
- `lastError` (nullable)
- `nextAction` (nullable)
- `updatedAt`

View File

@ -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

View File

@ -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

View File

@ -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`

View File

@ -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`

View File

@ -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