{
  "$schema": "compatibility-matrix-entry-v1",
  "generatedAt": "2026-06-05T00:00:00.000Z",
  "scenario": "目录结构变化：memory/candidates → memory/items",
  "scenarioId": 8,

  "clawVersion": "1.5.0",
  "baselineVersion": "v1",
  "schemaStatus": "compatible",
  "pipelineStatus": "warn",
  "gateDecision": "open",
  "compatibilityStatus": "compatible_with_warnings",
  "knownRisks": [
    "memory/candidates 重命名为 memory/items，Pipeline 的 candidates 扫描路径需要更新",
    "Baseline 中 candidateCount 基于 memory/candidates/ 计算，新路径下统计为 0",
    "如果扫描器未更新，candidateCount 将显示为 0 → Baseline Compare delta = -100%（FAIL）",
    "迁移后需要对 Baseline 做增量更新（v1 → v2），保留历史 candidates 计数",
    "上游消费者（RC Checklist、Gate）依赖 candidateCount 做决策，可能触发 CLOSED"
  ],
  "recommendedAction": "update scanner path rules (candidates → items) + rebuild baseline before release",

  "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/items/*.md", "count": 36, "fields": ["id", "contentHash", "type", "status"] }
  },

  "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": "warn", "blockers": 0, "warnings": ["memory/candidates 路径变更 → memory/items", "扫描路径需同步更新，否则 count = 0"] },
    "baselineCompare": { "status": "warn", "blockers": 0, "deltas": { "blocCount": 0, "cycleCount": 0, "candidateCount": 0, "activeCandidateCount": 0, "archivedCandidateCount": 0 }, "warnings": ["candidate 扫描路径已更新，无 delta；如未更新将触发 FAIL"] },
    "releaseGate": { "decision": "open", "blockers": 0, "warnings": ["[Schema] memory/candidates → memory/items 路径变更，建议更新扫描器并重建 Baseline"] }
  }
}
