🎉 init: 小龙的工作空间
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "废弃版本",
|
||||
"scenarioId": 6,
|
||||
|
||||
"clawVersion": "0.1.0",
|
||||
"baselineVersion": "",
|
||||
"schemaStatus": "deprecated",
|
||||
"pipelineStatus": "unknown",
|
||||
"gateDecision": "unknown",
|
||||
"compatibilityStatus": "unsupported",
|
||||
"knownRisks": [
|
||||
"使用旧目录结构 legacy-memory/,不在当前文件扫描路径中",
|
||||
"无法运行 Baseline Compare",
|
||||
"无法运行 Release Pipeline",
|
||||
"遗留数据无迁移工具"
|
||||
],
|
||||
"recommendedAction": "migrate to Claw 1.0.x+ directory structure",
|
||||
|
||||
"dataStructure": {
|
||||
"blocs": { "path": "legacy-memory/blocs/", "count": 4, "fields": ["id", "title", "content"], "note": "旧格式,字段名不同" },
|
||||
"cycles": { "path": "legacy-memory/cycles/", "count": 5, "fields": ["id", "date", "notes"], "note": "旧格式,无结构化 entries" },
|
||||
"candidates": { "path": "legacy-memory/candidates/", "count": 20, "fields": ["id", "text", "score"], "note": "旧格式,无 contentHash/type" }
|
||||
},
|
||||
|
||||
"baselineMetrics": {
|
||||
"blocCount": null,
|
||||
"cycleCount": null,
|
||||
"candidateCount": null,
|
||||
"activeCandidateCount": null,
|
||||
"archivedCandidateCount": null
|
||||
},
|
||||
|
||||
"deltaFromBaseline": {
|
||||
"blocCount": null,
|
||||
"cycleCount": null,
|
||||
"candidateCount": null,
|
||||
"activeCandidateCount": null,
|
||||
"archivedCandidateCount": null
|
||||
},
|
||||
|
||||
"pipelineChecks": {
|
||||
"rcChecklist": { "status": "unknown", "blockers": ["旧路径不在扫描范围"], "warnings": [] },
|
||||
"baselineCompare": { "status": "unknown", "blockers": ["无 Baseline 数据"], "warnings": [] },
|
||||
"releaseGate": { "decision": "unknown", "blockers": ["无法运行 Release Pipeline"], "warnings": [] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "当前兼容版本",
|
||||
"scenarioId": 1,
|
||||
|
||||
"clawVersion": "1.0.0",
|
||||
"baselineVersion": "v1",
|
||||
"schemaStatus": "compatible",
|
||||
"pipelineStatus": "pass",
|
||||
"gateDecision": "open",
|
||||
"compatibilityStatus": "supported",
|
||||
"knownRisks": [],
|
||||
"recommendedAction": "safe to 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/candidates/*.md", "count": 36, "fields": ["id", "contentHash", "type", "status"] }
|
||||
},
|
||||
|
||||
"baselineMetrics": {
|
||||
"blocCount": 6,
|
||||
"cycleCount": 7,
|
||||
"candidateCount": 36,
|
||||
"activeCandidateCount": 28,
|
||||
"archivedCandidateCount": 8
|
||||
},
|
||||
|
||||
"pipelineChecks": {
|
||||
"rcChecklist": { "status": "pass", "blockers": 0, "warnings": 0 },
|
||||
"baselineCompare": { "status": "pass", "deltas": {}, "blockers": 0 },
|
||||
"releaseGate": { "decision": "open", "blockers": 0 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "缺失关键目录:memory/candidates 不存在",
|
||||
"scenarioId": 9,
|
||||
|
||||
"clawVersion": "1.0.0",
|
||||
"baselineVersion": "v1",
|
||||
"schemaStatus": "breaking",
|
||||
"pipelineStatus": "fail",
|
||||
"gateDecision": "closed",
|
||||
"compatibilityStatus": "migration_required",
|
||||
"knownRisks": [
|
||||
"memory/candidates 目录缺失,candidateCount = 0",
|
||||
"Baseline Compare candidateCount delta = -36 (-100%),超过 FAIL 阈值",
|
||||
"Release Gate 自动 CLOSED — 无法通过门禁",
|
||||
"无法生成 Release Candidate Report — 关键指标缺失",
|
||||
"可能是误删除或初始化未完成,需人工确认"
|
||||
],
|
||||
"recommendedAction": "restore memory/candidates/ from backup or re-run init-candidates.sh",
|
||||
|
||||
"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": 0, "fields": [], "note": "目录不存在或为空" }
|
||||
},
|
||||
|
||||
"baselineMetrics": {
|
||||
"blocCount": 6,
|
||||
"cycleCount": 7,
|
||||
"candidateCount": 0,
|
||||
"activeCandidateCount": 0,
|
||||
"archivedCandidateCount": 0
|
||||
},
|
||||
|
||||
"deltaFromBaseline": {
|
||||
"blocCount": 0,
|
||||
"cycleCount": 0,
|
||||
"candidateCount": -36,
|
||||
"activeCandidateCount": -28,
|
||||
"archivedCandidateCount": -8
|
||||
},
|
||||
|
||||
"pipelineChecks": {
|
||||
"rcChecklist": { "status": "fail", "blockers": ["关键目录 memory/candidates 缺失,candidateCount = 0"], "warnings": [] },
|
||||
"baselineCompare": { "status": "fail", "blockers": ["candidateCount delta = -100% (>50%), activeCandidateCount delta = -100%, archivedCandidateCount delta = -100%"], "warnings": [] },
|
||||
"releaseGate": { "decision": "closed", "blockers": ["[Schema] memory/candidates 缺失 — 关键目录不可用", "[Checklist] 目录缺失,无法验证关键指标", "[Baseline] candidateCount delta = -100%, Gate CLOSED"] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "小版本兼容变化:新增字段",
|
||||
"scenarioId": 2,
|
||||
|
||||
"clawVersion": "1.1.0",
|
||||
"baselineVersion": "v1",
|
||||
"schemaStatus": "compatible",
|
||||
"pipelineStatus": "pass",
|
||||
"gateDecision": "open",
|
||||
"compatibilityStatus": "supported",
|
||||
"knownRisks": [
|
||||
"新字段被上游消费者忽略,无影响",
|
||||
"新增字段不会改变聚合计数"
|
||||
],
|
||||
"recommendedAction": "safe to release",
|
||||
|
||||
"dataStructure": {
|
||||
"blocs": { "path": "memory/blocs/*.md", "count": 6, "fields": ["id", "title", "content", "metadata.priority"] },
|
||||
"cycles": { "path": "memory/cycles/*.md", "count": 7, "fields": ["date", "entries", "cycle.duration"] },
|
||||
"candidates": { "path": "memory/candidates/*.md", "count": 36, "fields": ["id", "contentHash", "type", "status", "candidate.tags"] }
|
||||
},
|
||||
|
||||
"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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "字段重命名",
|
||||
"scenarioId": 3,
|
||||
|
||||
"clawVersion": "1.2.0",
|
||||
"baselineVersion": "v1",
|
||||
"schemaStatus": "compatible",
|
||||
"pipelineStatus": "pass",
|
||||
"gateDecision": "open",
|
||||
"compatibilityStatus": "supported",
|
||||
"knownRisks": [
|
||||
"bloc.id → bloc.blocId:上游消费者需要同步字段名",
|
||||
"cycle.id → cycle.cycleId:Baseline 聚合不受影响",
|
||||
"candidate.contentHash → candidate.hash:影响深拷贝一致性比对"
|
||||
],
|
||||
"recommendedAction": "safe to release, notify consumers",
|
||||
|
||||
"dataStructure": {
|
||||
"blocs": { "path": "memory/blocs/*.md", "count": 6, "fields": ["blocId", "title", "content"] },
|
||||
"cycles": { "path": "memory/cycles/*.md", "count": 7, "fields": ["cycleId", "date", "entries"] },
|
||||
"candidates": { "path": "memory/candidates/*.md", "count": 36, "fields": ["id", "hash", "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": "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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "新增目录",
|
||||
"scenarioId": 4,
|
||||
|
||||
"clawVersion": "1.3.0",
|
||||
"baselineVersion": "v1",
|
||||
"schemaStatus": "compatible",
|
||||
"pipelineStatus": "pass",
|
||||
"gateDecision": "open",
|
||||
"compatibilityStatus": "supported",
|
||||
"knownRisks": [
|
||||
"candidateCount 从 36 → 46 (+28%) 超过 WARN 阈值 (20%),可能触发 Baseline Compare WARN",
|
||||
"activeCandidateCount 从 28 → 36 (+29%) 超过 WARN 阈值",
|
||||
"新增 memory/files/ 目录未被 Baseline 覆盖,需要更新 Baseline 版本到 v2"
|
||||
],
|
||||
"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": 46, "fields": ["id", "contentHash", "type", "status"] },
|
||||
"files": { "path": "memory/files/*.md", "count": 10, "fields": ["id", "filename", "size", "mimeType"] }
|
||||
},
|
||||
|
||||
"baselineMetrics": {
|
||||
"blocCount": 6,
|
||||
"cycleCount": 7,
|
||||
"candidateCount": 46,
|
||||
"activeCandidateCount": 36,
|
||||
"archivedCandidateCount": 10
|
||||
},
|
||||
|
||||
"deltaFromBaseline": {
|
||||
"blocCount": 0,
|
||||
"cycleCount": 0,
|
||||
"candidateCount": 10,
|
||||
"activeCandidateCount": 8,
|
||||
"archivedCandidateCount": 2
|
||||
},
|
||||
|
||||
"pipelineChecks": {
|
||||
"rcChecklist": { "status": "pass", "blockers": 0, "warnings": 0 },
|
||||
"baselineCompare": { "status": "warn", "blockers": 0, "warnings": ["candidateCount +28%, activeCandidateCount +29% exceed WARN threshold"] },
|
||||
"releaseGate": { "decision": "open", "blockers": 0, "warnings": ["[Baseline] candidateCount 增加 28%,超过警示阈值 20%"] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$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 }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$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"] }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "compatibility-matrix-entry-v1",
|
||||
"generatedAt": "2026-06-05T00:00:00.000Z",
|
||||
"scenario": "不兼容 Schema 变更:Markdown → JSON 格式变化",
|
||||
"scenarioId": 5,
|
||||
|
||||
"clawVersion": "2.0.0",
|
||||
"baselineVersion": "",
|
||||
"schemaStatus": "breaking",
|
||||
"pipelineStatus": "fail",
|
||||
"gateDecision": "closed",
|
||||
"compatibilityStatus": "unsupported",
|
||||
"knownRisks": [
|
||||
"文件格式从 Markdown (.md) 变更为 JSON (.json),文件扫描器无法解析 Markdown 解析器",
|
||||
"Baseline Compare delta > 50%,Gate 自动 CLOSED",
|
||||
"所有既有 Pipeline 检查项均报 FAIL",
|
||||
"需要同步更新 Baseline 版本和文件扫描逻辑",
|
||||
"迁移后需验证 JSON Schema 与数据结构一致性"
|
||||
],
|
||||
"recommendedAction": "update baseline scanner (add JSON parser) + rebuild baseline before release",
|
||||
|
||||
"dataStructure": {
|
||||
"blocs": { "path": "memory/blocs/*.json", "count": 0, "fields": [], "note": "格式变更:.md → .json,当前扫描器无法识别" },
|
||||
"cycles": { "path": "memory/cycles/*.json", "count": 0, "fields": [], "note": "格式变更:.md → .json" },
|
||||
"candidates": { "path": "memory/candidates/*.json", "count": 0, "fields": [], "note": "格式变更:.md → .json" }
|
||||
},
|
||||
|
||||
"baselineMetrics": {
|
||||
"blocCount": 0,
|
||||
"cycleCount": 0,
|
||||
"candidateCount": 0,
|
||||
"activeCandidateCount": 0,
|
||||
"archivedCandidateCount": 0
|
||||
},
|
||||
|
||||
"deltaFromBaseline": {
|
||||
"blocCount": -6,
|
||||
"cycleCount": -7,
|
||||
"candidateCount": -36,
|
||||
"activeCandidateCount": -28,
|
||||
"archivedCandidateCount": -8
|
||||
},
|
||||
|
||||
"pipelineChecks": {
|
||||
"rcChecklist": { "status": "fail", "blockers": ["文件格式变更:.md → .json", "扫描器无法解析 JSON 格式"], "warnings": [] },
|
||||
"baselineCompare": { "status": "fail", "blockers": ["所有指标 delta > 50%", "文件计数归零 → 格式不兼容"], "warnings": [] },
|
||||
"releaseGate": { "decision": "closed", "blockers": ["Schema breaking change — 文件格式变更导致指标严重偏离基线", "[Checklist] 文件格式变更,建议迁移适配器", "[Baseline] Baseline Compare FAIL — 全部指标缺失"] }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user