{
  "$schema": "compatibility-matrix-entry-v1",
  "generatedAt": "2026-06-05T00:00:00.000Z",
  "scenario": "中间件兼容层",
  "scenarioId": 7,

  "clawVersion": "1.4.0",
  "baselineVersion": "v2",
  "schemaStatus": "compatible",
  "pipelineStatus": "pass",
  "gateDecision": "open",
  "compatibilityStatus": "supported",
  "knownRisks": [
    "兼容层文件 (memory/adapters/) 可能被 candidateCount 统计到，需更新扫描器排除规则",
    "etc/claw-migration.config 被 Pipeline 静默忽略",
    "Baseline v2 尚未生成，需要先运行 build-stable-baseline"
  ],
  "recommendedAction": "safe to release, update baseline to v2",

  "dataStructure": {
    "blocs": { "path": "memory/blocs/*.md", "count": 6, "fields": ["id", "title", "content"] },
    "cycles": { "path": "memory/cycles/*.md", "count": 7, "fields": ["date", "entries"] },
    "candidates": { "path": "memory/candidates/*.md", "count": 36, "fields": ["id", "contentHash", "type", "status"] },
    "adapters": { "path": "memory/adapters/", "count": 3, "fields": ["source", "target", "transform"] },
    "config": { "path": "etc/claw-migration.config", "count": 1, "format": "TOML" }
  },

  "baselineMetrics": {
    "blocCount": 6,
    "cycleCount": 7,
    "candidateCount": 36,
    "activeCandidateCount": 28,
    "archivedCandidateCount": 8
  },

  "deltaFromBaseline": {
    "blocCount": 0,
    "cycleCount": 0,
    "candidateCount": 0,
    "activeCandidateCount": 0,
    "archivedCandidateCount": 0
  },

  "pipelineChecks": {
    "rcChecklist": { "status": "pass", "blockers": 0, "warnings": 0 },
    "baselineCompare": { "status": "pass", "blockers": 0, "deltas": { "blocCount": 0, "cycleCount": 0, "candidateCount": 0, "activeCandidateCount": 0, "archivedCandidateCount": 0 } },
    "releaseGate": { "decision": "open", "blockers": 0 }
  }
}
