Files
grok-bot 7c788bdbf1 feat: complete phases 2–4 (verified compaction through production)
Add verified compaction, memory backends (file/mem0/hybrid), OpenAI-
compatible agent, adaptive calibration, metrics export, HITL signals,
structured logging, cost model, memory backup/restore, A/B memory
experiments, namespaced multi-agent handoffs, and decision policy
plugins. Bump package to 0.4.0a1 with docs and full test suite.
2026-08-04 22:12:25 +02:00

106 lines
2.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://clm.dev/schemas/handoff_manifest.schema.json",
"title": "HandoffManifest",
"description": "Structured handoff manifest for CLM session transitions (Spec §5.5).",
"type": "object",
"additionalProperties": false,
"required": [
"goal",
"status",
"source_of_truth",
"changed_artifacts",
"commands_and_results",
"verified",
"not_verified",
"assumptions_risks",
"blockers",
"next_safe_action",
"memory_keys",
"token_snapshot",
"timestamp",
"decision_rationale"
],
"properties": {
"goal": {
"type": "string",
"minLength": 1,
"description": "Current task goal"
},
"status": {
"type": "string",
"enum": ["in_progress", "blocked", "partial_complete"],
"description": "Handoff status"
},
"source_of_truth": {
"type": "array",
"items": { "type": "string" },
"description": "Authoritative paths/sources"
},
"changed_artifacts": {
"type": "array",
"items": { "type": "string" },
"description": "Files/artifacts changed in this session"
},
"commands_and_results": {
"type": "array",
"items": { "type": "string" },
"description": "Significant commands and their results"
},
"verified": {
"type": "array",
"items": { "type": "string" },
"description": "Already verified claims/checks"
},
"not_verified": {
"type": "array",
"items": { "type": "string" },
"description": "Open / untested points"
},
"assumptions_risks": {
"type": "array",
"items": { "type": "string" },
"description": "Assumptions and risks"
},
"blockers": {
"type": "array",
"items": { "type": "string" },
"description": "Blockers"
},
"next_safe_action": {
"type": "string",
"minLength": 1,
"description": "Safe next action for the follow-on session"
},
"memory_keys": {
"type": "array",
"items": { "type": "string" },
"description": "MemoryStore keys for seed retrieval"
},
"token_snapshot": {
"type": "integer",
"minimum": 0,
"description": "Token count at handoff time"
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "ISO-8601 timestamp"
},
"decision_rationale": {
"type": "string",
"minLength": 1,
"description": "Rationale for the handoff decision"
},
"schema_version": {
"type": "string",
"minLength": 1,
"description": "Manifest schema version (default 1.1); optional on legacy reads"
},
"agent_id": {
"type": ["string", "null"],
"description": "Optional multi-agent identity that produced this handoff"
}
}
}