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
887 B
JSON
18 lines
887 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://github.com/garrytan/gstack/schemas/activity-entry.schema.json",
|
|
"title": "gstack Activity Entry",
|
|
"description": "Single entry in the weekly activity index (activity-YYYY-WNN.jsonl)",
|
|
"type": "object",
|
|
"required": ["ts", "project", "skill", "duration"],
|
|
"properties": {
|
|
"ts": { "type": "string", "format": "date-time" },
|
|
"project": { "type": "string" },
|
|
"skill": { "type": "string" },
|
|
"artifacts": { "type": "array", "items": { "type": "string" }, "description": "References to produced artifacts (e.g., pr:47, review-log.jsonl, learnings:3)" },
|
|
"duration": { "type": "integer", "description": "Session duration in seconds" },
|
|
"dispatch": { "type": "string", "description": "Orchestrator identity if this was a dispatched session" }
|
|
},
|
|
"additionalProperties": false
|
|
}
|