mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-07 05:56:41 +02:00
1829f60596
Four schemas for the OpenClaw dispatch protocol: - dispatch.schema.json (task dispatch with target_agent, source_signature) - completion.schema.json (session completion report with retry_count) - handoff.schema.json (cross-runtime context transfer with resume_prompt) - activity-entry.schema.json (weekly activity index entries) COMPATIBILITY.md defines breaking vs non-breaking changes so future contributors don't guess under pressure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
798 B
JSON
18 lines
798 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/garrytan/gstack/schemas/handoff.schema.json",
|
|
"title": "gstack Session Handoff",
|
|
"description": "Cross-runtime context transfer between gstack and an orchestrator (e.g., OpenClaw)",
|
|
"type": "object",
|
|
"required": ["from", "to", "project", "timestamp"],
|
|
"properties": {
|
|
"from": { "enum": ["gstack", "wintermute", "openclaw"] },
|
|
"to": { "enum": ["gstack", "wintermute", "openclaw"] },
|
|
"project": { "type": "string" },
|
|
"branch": { "type": "string" },
|
|
"timestamp": { "type": "string", "format": "date-time" },
|
|
"resume_prompt": { "type": "string", "maxLength": 4096, "description": "Exact prompt to resume session in the target runtime" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|