🎉 init: 小龙的工作空间

This commit is contained in:
大海
2026-06-06 10:40:48 +08:00
commit a188ee1426
3201 changed files with 231817 additions and 0 deletions
@@ -0,0 +1 @@
# Archive: Deprecated
@@ -0,0 +1 @@
# Archive: Old Log 1
@@ -0,0 +1 @@
# Archive: Old Log 2
@@ -0,0 +1 @@
# Context: Core Memory
@@ -0,0 +1 @@
# Context: Projects
@@ -0,0 +1 @@
# Context: Settings
@@ -0,0 +1 @@
# Thread: Discussion 1
@@ -0,0 +1 @@
# Thread: Discussion 2
@@ -0,0 +1 @@
# Thread: Discussion 3
@@ -0,0 +1 @@
# Thread: Discussion 4
@@ -0,0 +1 @@
# Thread: Discussion 5
@@ -0,0 +1,41 @@
{
"description": "Degrading agent — health score dropping over 2 snapshots",
"snapshots": [
{
"timestamp": "2026-06-03T00:00:00.000Z",
"agents": {
"mock-staging": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-02T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-01T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
}
}
},
{
"timestamp": "2026-06-05T00:00:00.000Z",
"agents": {
"mock-staging": {
"status": "active",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-04T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 1,
"compatibilityFailures": 1
}
}
}
]
}
@@ -0,0 +1,41 @@
{
"description": "Healthy agent with improving trend — all indicators green, 2 snapshots showing improvement",
"snapshots": [
{
"timestamp": "2026-06-03T00:00:00.000Z",
"agents": {
"claw-prod": {
"status": "active",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"baselineVersion": "v3",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-02T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-06-01T00:00:00.000Z"}
],
"rollbacks": 1,
"compatibilityFailures": 1
}
}
},
{
"timestamp": "2026-06-05T00:00:00.000Z",
"agents": {
"claw-prod": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v4",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-04T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
}
}
}
]
}
@@ -0,0 +1,57 @@
{
"description": "Improving agent — recovering from degraded state over 3 snapshots",
"snapshots": [
{
"timestamp": "2026-06-01T00:00:00.000Z",
"agents": {
"recovery-agent": {
"status": "active",
"compatibilityStatus": "unsupported",
"certificationStatus": "not_ready",
"baselineVersion": "unknown",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-01T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-05-31T00:00:00.000Z"}
],
"rollbacks": 3,
"compatibilityFailures": 2
}
}
},
{
"timestamp": "2026-06-03T00:00:00.000Z",
"agents": {
"recovery-agent": {
"status": "active",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"baselineVersion": "v1",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-06-02T00:00:00.000Z"}
],
"rollbacks": 2,
"compatibilityFailures": 1
}
}
},
{
"timestamp": "2026-06-05T00:00:00.000Z",
"agents": {
"recovery-agent": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-04T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
}
}
}
]
}
@@ -0,0 +1,103 @@
{
"description": "Mixed fleet: healthy, degrading, unstable, and unknown agents",
"snapshots": [
{
"timestamp": "2026-06-03T00:00:00.000Z",
"agents": {
"claw-prod": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v4",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-02T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
},
"mock-staging": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
},
"old-claw-beta": {
"status": "unsupported",
"compatibilityStatus": "unsupported",
"certificationStatus": "not_ready",
"baselineVersion": "unknown",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 1,
"compatibilityFailures": 1
},
"unknown-sdk-v1": {
"status": "unsupported",
"compatibilityStatus": "unsupported",
"certificationStatus": "unknown",
"baselineVersion": "unknown",
"releaseHistory": [],
"rollbacks": 0,
"compatibilityFailures": 0
}
}
},
{
"timestamp": "2026-06-05T00:00:00.000Z",
"agents": {
"claw-prod": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v4",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-04T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 0,
"compatibilityFailures": 0
},
"mock-staging": {
"status": "active",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "success", "timestamp": "2026-06-04T00:00:00.000Z"}
],
"rollbacks": 1,
"compatibilityFailures": 1
},
"old-claw-beta": {
"status": "unsupported",
"compatibilityStatus": "unsupported",
"certificationStatus": "not_ready",
"baselineVersion": "unknown",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-05T00:00:00.000Z"}
],
"rollbacks": 2,
"compatibilityFailures": 2
},
"unknown-sdk-v1": {
"status": "unsupported",
"compatibilityStatus": "unsupported",
"certificationStatus": "unknown",
"baselineVersion": "unknown",
"releaseHistory": [],
"rollbacks": 0,
"compatibilityFailures": 0
}
}
}
]
}
@@ -0,0 +1,56 @@
{
"description": "Unstable agent — multiple rollbacks, compat failures, certification downgrades",
"snapshots": [
{
"timestamp": "2026-06-01T00:00:00.000Z",
"agents": {
"unstable-agent": {
"status": "active",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "success", "timestamp": "2026-06-01T00:00:00.000Z"}
],
"rollbacks": 1,
"compatibilityFailures": 1
}
}
},
{
"timestamp": "2026-06-03T00:00:00.000Z",
"agents": {
"unstable-agent": {
"status": "active",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"baselineVersion": "v2",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-03T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-06-02T00:00:00.000Z"}
],
"rollbacks": 2,
"compatibilityFailures": 2
}
}
},
{
"timestamp": "2026-06-05T00:00:00.000Z",
"agents": {
"unstable-agent": {
"status": "unsupported",
"compatibilityStatus": "unsupported",
"certificationStatus": "not_ready",
"baselineVersion": "unknown",
"releaseHistory": [
{"result": "failed", "timestamp": "2026-06-05T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-06-04T00:00:00.000Z"},
{"result": "failed", "timestamp": "2026-06-03T00:00:00.000Z"}
],
"rollbacks": 4,
"compatibilityFailures": 3
}
}
}
]
}
+29
View File
@@ -0,0 +1,29 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "old-claw-beta",
"agentType": "claw",
"displayName": "Old Claw Beta",
"status": "deprecated",
"owner": "team-memory",
"workspacePath": "legacy-memory/",
"adapter": "claw",
"baselineVersion": "v1",
"compatibilityStatus": "deprecated",
"lastCertifiedAt": "2025-06-01T00:00:00.000Z"
}
]
}
+29
View File
@@ -0,0 +1,29 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "claw-prod",
"agentType": "mock",
"displayName": "Claw Production Duplicate",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "mock",
"baselineVersion": "v1",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-01T00:00:00.000Z"
}
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"schemaVersion": "1.0",
"agents": []
}
@@ -0,0 +1,11 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-demo",
"displayName": "Claw Demo",
"status": "active",
"owner": "team-memory"
}
]
}
+53
View File
@@ -0,0 +1,53 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "mock-dev",
"agentType": "mock",
"displayName": "Mock Development Agent",
"status": "active",
"owner": "dev-team",
"workspacePath": "test/fixtures/agent-adapters/mock-agent",
"adapter": "mock",
"baselineVersion": "v1",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-03T00:00:00.000Z"
},
{
"agentId": "old-claw-beta",
"agentType": "claw",
"displayName": "Old Claw Beta",
"status": "deprecated",
"owner": "team-memory",
"workspacePath": "legacy-memory/",
"adapter": "claw",
"baselineVersion": "v1",
"compatibilityStatus": "deprecated",
"lastCertifiedAt": "2025-06-01T00:00:00.000Z"
},
{
"agentId": "unknown-sdk-v1",
"agentType": "unknown",
"displayName": "Unknown SDK Agent v1",
"status": "unsupported",
"owner": "external-team",
"workspacePath": "legacy-data/",
"adapter": "none",
"baselineVersion": "unknown",
"compatibilityStatus": "unsupported",
"lastCertifiedAt": "2025-12-01T00:00:00.000Z"
}
]
}
+17
View File
@@ -0,0 +1,17 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "unknown-sdk-v1",
"agentType": "unknown",
"displayName": "Unknown SDK Agent v1",
"status": "unsupported",
"owner": "external-team",
"workspacePath": "legacy-data/",
"adapter": "none",
"baselineVersion": "unknown",
"compatibilityStatus": "unsupported",
"lastCertifiedAt": "2025-12-01T00:00:00.000Z"
}
]
}
+17
View File
@@ -0,0 +1,17 @@
{
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
}
]
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
{
"description": "空 PRD — 用于测试错误处理",
"error": "EMPTY_INPUT",
"message": "请输入需求描述"
}
File diff suppressed because one or more lines are too long
+24
View File
@@ -0,0 +1,24 @@
{
"projectName": "UnknownApp",
"chineseName": "通用应用",
"domain": "generic",
"summary": "一个用户定制的应用。",
"features": [
{ "name": "核心功能", "description": "产品核心功能模块", "priority": "P0" }
],
"pages": [
{ "name": "首页", "route": "/home", "description": "应用首页" },
{ "name": "我的", "route": "/profile", "description": "用户中心" }
],
"apiRequirements": [
{ "method": "GET", "path": "/api/health", "description": "健康检查" },
{ "method": "POST", "path": "/api/users", "description": "用户注册" }
],
"techConstraints": {
"platforms": ["web"],
"recommendedStack": "任意",
"considerations": []
},
"extraFeatures": [],
"meta": {}
}
+1
View File
@@ -0,0 +1 @@
{"projectName":"NoteApp","chineseName":"笔记应用","domain":"note","matchConfidence":"high","summary":"一款支持多端同步、Markdown 编辑和标签管理的笔记应用。","personas":[{"name":"知识工作者","description":"需要记录灵感和整理知识的职场人","painPoints":["笔记分散多处","搜索困难","格式化繁琐"]}],"userStories":[{"id":"US-001","as":"知识工作者","want":"富文本/Markdown编辑器、实时保存","soThat":"解决痛点:笔记分散多处","priority":"P0"},{"id":"US-002","as":"知识工作者","want":"分类管理、多级文件夹","soThat":"解决痛点:笔记分散多处","priority":"P0"},{"id":"US-003","as":"知识工作者","want":"标题+内容全文检索","soThat":"解决痛点:笔记分散多处","priority":"P0"}],"mvpScope":{"description":"MVP 聚焦 笔记编辑、文件夹/标签、全文搜索,包含页面:笔记列表、笔记编辑、标签管理","features":["笔记编辑","文件夹/标签","全文搜索"],"pages":["笔记列表","笔记编辑","标签管理"],"estimatedWeeks":3},"features":[{"name":"笔记编辑","description":"富文本/Markdown编辑器、实时保存","priority":"P0"},{"name":"文件夹/标签","description":"分类管理、多级文件夹","priority":"P0"},{"name":"全文搜索","description":"标题+内容全文检索","priority":"P0"},{"name":"多端同步","description":"手机/PC/Web 实时同步","priority":"P1"},{"name":"协作分享","description":"分享链接、协作编辑","priority":"P2"}],"pages":[{"name":"笔记列表","route":"/notes","description":"文件夹导航、笔记列表、搜索"},{"name":"笔记编辑","route":"/note/:id","description":"编辑器页面"},{"name":"标签管理","route":"/tags","description":"标签列表、关联笔记"},{"name":"设置","route":"/settings","description":"主题、同步、账户"}],"apiRequirements":[{"method":"GET","path":"/api/notes","description":"笔记列表"},{"method":"POST","path":"/api/notes","description":"创建笔记"},{"method":"PUT","path":"/api/notes/:id","description":"更新笔记"},{"method":"DELETE","path":"/api/notes/:id","description":"删除笔记"},{"method":"GET","path":"/api/tags","description":"标签列表"}],"techConstraints":{"platforms":["mobile","web"],"recommendedStack":"React Native / Flutter(跨平台)","considerations":["建议跨平台框架减少开发成本"]},"extraFeatures":[],"devTasks":[{"id":"T-001","title":"项目脚手架搭建","description":"初始化 NoteApp 项目结构,配置构建工具和 CI/CD","phase":"Foundation","estimatedHours":8,"priority":"P0"},{"id":"T-002","title":"数据库设计与初始化","description":"设计数据模型,创建数据库迁移脚本","phase":"Foundation","estimatedHours":16,"priority":"P0"},{"id":"T-003","title":"页面开发:笔记列表","description":"开发 笔记列表 页面(/notes):文件夹导航、笔记列表、搜索","phase":"UI Development","estimatedHours":8,"priority":"P0"},{"id":"T-004","title":"页面开发:笔记编辑","description":"开发 笔记编辑 页面(/note/:id):编辑器页面","phase":"UI Development","estimatedHours":8,"priority":"P0"},{"id":"T-005","title":"页面开发:标签管理","description":"开发 标签管理 页面(/tags):标签列表、关联笔记","phase":"UI Development","estimatedHours":8,"priority":"P0"},{"id":"T-006","title":"页面开发:设置","description":"开发 设置 页面(/settings):主题、同步、账户","phase":"UI Development","estimatedHours":8,"priority":"P0"},{"id":"T-007","title":"API 开发:GET /api/notes","description":"笔记列表","phase":"Backend Development","estimatedHours":4,"priority":"P0"},{"id":"T-008","title":"API 开发:POST /api/notes","description":"创建笔记","phase":"Backend Development","estimatedHours":4,"priority":"P0"},{"id":"T-009","title":"API 开发:PUT /api/notes/:id","description":"更新笔记","phase":"Backend Development","estimatedHours":4,"priority":"P0"},{"id":"T-010","title":"API 开发:DELETE /api/notes/:id","description":"删除笔记","phase":"Backend Development","estimatedHours":4,"priority":"P0"},{"id":"T-011","title":"前后端联调","description":"前端页面与后端 API 集成联调","phase":"Integration","estimatedHours":16,"priority":"P0"},{"id":"T-012","title":"测试与修复","description":"功能测试、Bug 修复、性能优化","phase":"Testing","estimatedHours":24,"priority":"P1"}],"meta":{"generatedAt":"2026-06-04T22:53:57.117Z","inputLength":4,"domainMatchCount":1}}
@@ -0,0 +1,24 @@
{
"description": "Certification revoked alert — triggers create_incident and mark_high_risk",
"alerts": [
{
"alertId": "monitor-004",
"severity": "critical",
"agentId": "unknown-sdk-v1",
"reason": "certification_downgraded_to_not_ready",
"details": "Certification changed from production_ready to not_ready",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "CR-2",
"source": "continuous-monitoring"
}
],
"events": [
{
"eventType": "certification_revoked",
"agentId": "unknown-sdk-v1",
"timestamp": "2026-06-04T00:00:00.000Z",
"metadata": { "previousStatus": "production_ready" }
}
],
"configuration": {}
}
@@ -0,0 +1,24 @@
{
"description": "Compatibility failure alert — triggers raise_risk and downgrade_certification",
"alerts": [
{
"alertId": "monitor-001",
"severity": "critical",
"agentId": "claw-prod",
"reason": "compatibility_unsupported",
"details": "Compatibility status is unsupported",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "CR-3",
"source": "continuous-monitoring"
}
],
"events": [
{
"eventType": "compatibility_failed",
"agentId": "claw-prod",
"timestamp": "2026-06-04T00:00:00.000Z",
"metadata": { "previousStatus": "supported" }
}
],
"configuration": {}
}
@@ -0,0 +1,24 @@
{
"description": "Health degradation alert — triggers create_remediation_plan and increase_monitoring",
"alerts": [
{
"alertId": "monitor-002",
"severity": "high",
"agentId": "claw-staging",
"reason": "health_score_drop_high",
"details": "Health score dropped 18% (90 → 72)",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "HR-1",
"source": "continuous-monitoring"
}
],
"events": [
{
"eventType": "health_degraded",
"agentId": "claw-staging",
"timestamp": "2026-06-04T00:00:00.000Z",
"metadata": { "previousScore": 90, "currentScore": 72 }
}
],
"configuration": {}
}
@@ -0,0 +1,47 @@
{
"description": "Mixed severity input — critical, high, and warning alerts triggering different response levels",
"alerts": [
{
"alertId": "monitor-010",
"severity": "critical",
"agentId": "old-claw-beta",
"reason": "compatibility_unsupported",
"details": "Compatibility status is unsupported",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "CR-3",
"source": "continuous-monitoring"
},
{
"alertId": "monitor-011",
"severity": "high",
"agentId": "claw-staging",
"reason": "health_score_drop_high",
"details": "Health score dropped 18%",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "HR-1",
"source": "continuous-monitoring"
},
{
"alertId": "monitor-012",
"severity": "warning",
"agentId": "mock-staging",
"reason": "compatibility_warning",
"details": "Compatibility has warnings",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "WR-1",
"source": "continuous-monitoring"
},
{
"alertId": "monitor-013",
"severity": "high",
"agentId": "unstable-mock",
"reason": "rollback_spike",
"details": "Rollback count spiked from 1 to 4",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "HR-3",
"source": "continuous-monitoring"
}
],
"events": [],
"configuration": {}
}
@@ -0,0 +1,24 @@
{
"description": "Release failure alert — triggers raise_alert and flag_for_review",
"alerts": [
{
"alertId": "monitor-003",
"severity": "critical",
"agentId": "old-claw-beta",
"reason": "consecutive_release_failure",
"details": "3 consecutive release failures detected",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "CR-4",
"source": "continuous-monitoring"
}
],
"events": [
{
"eventType": "release_failed",
"agentId": "old-claw-beta",
"timestamp": "2026-06-04T00:00:00.000Z",
"metadata": { "failureCount": 3 }
}
],
"configuration": {}
}
@@ -0,0 +1,27 @@
{
"description": "Warning-only input — only warning alerts, should only generate recommendations, not auto-execute",
"alerts": [
{
"alertId": "monitor-020",
"severity": "warning",
"agentId": "claw-canary",
"reason": "certification_conditionally_ready",
"details": "Certification is conditionally ready",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "WR-2",
"source": "continuous-monitoring"
},
{
"alertId": "monitor-021",
"severity": "warning",
"agentId": "claw-canary",
"reason": "missing_fields",
"details": "Missing or unknown fields: releaseResult",
"timestamp": "2026-06-05T00:00:00.000Z",
"ruleId": "WR-3",
"source": "continuous-monitoring"
}
],
"events": [],
"configuration": {}
}
+110
View File
@@ -0,0 +1,110 @@
{
"generatedAt": "2026-06-04T20:00:31.447Z",
"chainLength": 2,
"steps": [
{
"from": "v1",
"to": "v2",
"growthMode": "normal",
"metrics": {
"blocCount": {
"from": 6,
"to": 6,
"delta": "0%",
"absolute": 0
},
"cycleCount": {
"from": 7,
"to": 7,
"delta": "0%",
"absolute": 0
},
"candidateCount": {
"from": 36,
"to": 38,
"delta": "+5.56%",
"absolute": 2
},
"activeCandidateCount": {
"from": 28,
"to": 30,
"delta": "+7.14%",
"absolute": 2
},
"archivedCandidateCount": {
"from": 8,
"to": 8,
"delta": "0%",
"absolute": 0
}
}
},
{
"from": "v2",
"to": "v3",
"growthMode": "moderate",
"metrics": {
"blocCount": {
"from": 6,
"to": 7,
"delta": "+16.67%",
"absolute": 1
},
"cycleCount": {
"from": 7,
"to": 9,
"delta": "+28.57%",
"absolute": 2
},
"candidateCount": {
"from": 38,
"to": 46,
"delta": "+21.05%",
"absolute": 8
},
"activeCandidateCount": {
"from": 30,
"to": 36,
"delta": "+20%",
"absolute": 6
},
"archivedCandidateCount": {
"from": 8,
"to": 10,
"delta": "+25%",
"absolute": 2
}
}
}
],
"thresholdEvaluation": [
{
"from": "v1",
"to": "v2",
"metrics": {
"blocCount": "✅ PASS",
"cycleCount": "✅ PASS",
"candidateCount": "✅ PASS",
"activeCandidateCount": "✅ PASS",
"archivedCandidateCount": "✅ PASS"
}
},
{
"from": "v2",
"to": "v3",
"metrics": {
"blocCount": "✅ PASS",
"cycleCount": "⚠️ WARN",
"candidateCount": "⚠️ WARN",
"activeCandidateCount": "✅ PASS",
"archivedCandidateCount": "⚠️ WARN"
}
}
],
"summary": {
"totalSteps": 2,
"passSteps": 1,
"warnSteps": 1,
"failSteps": 0
}
}
@@ -0,0 +1,259 @@
{
"generatedAt": "2026-06-04T19:58:33.249Z",
"thresholds": {
"warn": 20,
"fail": 50
},
"baselineVersions": [
"v1",
"v2",
"v3"
],
"deltaLevels": [
5,
10,
20,
30,
50,
70
],
"results": [
{
"baseline": "v1",
"deltaPct": 5,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v1",
"deltaPct": 10,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v1",
"deltaPct": 20,
"status": "warn",
"blockers": 0,
"warnings": 2,
"blockerDetails": [],
"warningDetails": [
"Active Candidate Count: baseline=28 → candidate=34 (增加 21.43%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=10 (增加 25%,超过警示阈值 20%)"
]
},
{
"baseline": "v1",
"deltaPct": 30,
"status": "warn",
"blockers": 0,
"warnings": 5,
"blockerDetails": [],
"warningDetails": [
"Bloc Count: baseline=6 → candidate=8 (增加 33.33%,超过警示阈值 20%)",
"Cycle Count: baseline=7 → candidate=9 (增加 28.57%,超过警示阈值 20%)",
"Candidate Count: baseline=36 → candidate=47 (增加 30.56%,超过警示阈值 20%)",
"Active Candidate Count: baseline=28 → candidate=36 (增加 28.57%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=10 (增加 25%,超过警示阈值 20%)"
]
},
{
"baseline": "v1",
"deltaPct": 50,
"status": "fail",
"blockers": 1,
"warnings": 4,
"blockerDetails": [
"Cycle Count: baseline=7 → candidate=11 (增加 57.14%,超过严重阈值 50%)"
],
"warningDetails": [
"Bloc Count: baseline=6 → candidate=9 (增加 50%,超过警示阈值 20%)",
"Candidate Count: baseline=36 → candidate=54 (增加 50%,超过警示阈值 20%)",
"Active Candidate Count: baseline=28 → candidate=42 (增加 50%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=12 (增加 50%,超过警示阈值 20%)"
]
},
{
"baseline": "v1",
"deltaPct": 70,
"status": "fail",
"blockers": 5,
"warnings": 0,
"blockerDetails": [
"Bloc Count: baseline=6 → candidate=10 (增加 66.67%,超过严重阈值 50%)",
"Cycle Count: baseline=7 → candidate=12 (增加 71.43%,超过严重阈值 50%)",
"Candidate Count: baseline=36 → candidate=61 (增加 69.44%,超过严重阈值 50%)",
"Active Candidate Count: baseline=28 → candidate=48 (增加 71.43%,超过严重阈值 50%)",
"Archived Candidate Count: baseline=8 → candidate=14 (增加 75%,超过严重阈值 50%)"
],
"warningDetails": []
},
{
"baseline": "v2",
"deltaPct": 5,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v2",
"deltaPct": 10,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v2",
"deltaPct": 20,
"status": "warn",
"blockers": 0,
"warnings": 2,
"blockerDetails": [],
"warningDetails": [
"Candidate Count: baseline=38 → candidate=46 (增加 21.05%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=10 (增加 25%,超过警示阈值 20%)"
]
},
{
"baseline": "v2",
"deltaPct": 30,
"status": "warn",
"blockers": 0,
"warnings": 5,
"blockerDetails": [],
"warningDetails": [
"Bloc Count: baseline=6 → candidate=8 (增加 33.33%,超过警示阈值 20%)",
"Cycle Count: baseline=7 → candidate=9 (增加 28.57%,超过警示阈值 20%)",
"Candidate Count: baseline=38 → candidate=49 (增加 28.95%,超过警示阈值 20%)",
"Active Candidate Count: baseline=30 → candidate=39 (增加 30%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=10 (增加 25%,超过警示阈值 20%)"
]
},
{
"baseline": "v2",
"deltaPct": 50,
"status": "fail",
"blockers": 1,
"warnings": 4,
"blockerDetails": [
"Cycle Count: baseline=7 → candidate=11 (增加 57.14%,超过严重阈值 50%)"
],
"warningDetails": [
"Bloc Count: baseline=6 → candidate=9 (增加 50%,超过警示阈值 20%)",
"Candidate Count: baseline=38 → candidate=57 (增加 50%,超过警示阈值 20%)",
"Active Candidate Count: baseline=30 → candidate=45 (增加 50%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=8 → candidate=12 (增加 50%,超过警示阈值 20%)"
]
},
{
"baseline": "v2",
"deltaPct": 70,
"status": "fail",
"blockers": 5,
"warnings": 0,
"blockerDetails": [
"Bloc Count: baseline=6 → candidate=10 (增加 66.67%,超过严重阈值 50%)",
"Cycle Count: baseline=7 → candidate=12 (增加 71.43%,超过严重阈值 50%)",
"Candidate Count: baseline=38 → candidate=65 (增加 71.05%,超过严重阈值 50%)",
"Active Candidate Count: baseline=30 → candidate=51 (增加 70%,超过严重阈值 50%)",
"Archived Candidate Count: baseline=8 → candidate=14 (增加 75%,超过严重阈值 50%)"
],
"warningDetails": []
},
{
"baseline": "v3",
"deltaPct": 5,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v3",
"deltaPct": 10,
"status": "pass",
"blockers": 0,
"warnings": 0,
"blockerDetails": [],
"warningDetails": []
},
{
"baseline": "v3",
"deltaPct": 20,
"status": "warn",
"blockers": 0,
"warnings": 1,
"blockerDetails": [],
"warningDetails": [
"Cycle Count: baseline=9 → candidate=11 (增加 22.22%,超过警示阈值 20%)"
]
},
{
"baseline": "v3",
"deltaPct": 30,
"status": "warn",
"blockers": 0,
"warnings": 5,
"blockerDetails": [],
"warningDetails": [
"Bloc Count: baseline=7 → candidate=9 (增加 28.57%,超过警示阈值 20%)",
"Cycle Count: baseline=9 → candidate=12 (增加 33.33%,超过警示阈值 20%)",
"Candidate Count: baseline=46 → candidate=60 (增加 30.43%,超过警示阈值 20%)",
"Active Candidate Count: baseline=36 → candidate=47 (增加 30.56%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=10 → candidate=13 (增加 30%,超过警示阈值 20%)"
]
},
{
"baseline": "v3",
"deltaPct": 50,
"status": "fail",
"blockers": 2,
"warnings": 3,
"blockerDetails": [
"Bloc Count: baseline=7 → candidate=11 (增加 57.14%,超过严重阈值 50%)",
"Cycle Count: baseline=9 → candidate=14 (增加 55.56%,超过严重阈值 50%)"
],
"warningDetails": [
"Candidate Count: baseline=46 → candidate=69 (增加 50%,超过警示阈值 20%)",
"Active Candidate Count: baseline=36 → candidate=54 (增加 50%,超过警示阈值 20%)",
"Archived Candidate Count: baseline=10 → candidate=15 (增加 50%,超过警示阈值 20%)"
]
},
{
"baseline": "v3",
"deltaPct": 70,
"status": "fail",
"blockers": 5,
"warnings": 0,
"blockerDetails": [
"Bloc Count: baseline=7 → candidate=12 (增加 71.43%,超过严重阈值 50%)",
"Cycle Count: baseline=9 → candidate=15 (增加 66.67%,超过严重阈值 50%)",
"Candidate Count: baseline=46 → candidate=78 (增加 69.57%,超过严重阈值 50%)",
"Active Candidate Count: baseline=36 → candidate=61 (增加 69.44%,超过严重阈值 50%)",
"Archived Candidate Count: baseline=10 → candidate=17 (增加 70%,超过严重阈值 50%)"
],
"warningDetails": []
}
],
"summary": {
"totalScenarios": 18,
"falsePositives": 0,
"falseNegatives": 0,
"thresholdBoundaryCorrect": {
"at20": true,
"at50": true
},
"conclusion": "✅ Thresholds are stable. No false positives or false negatives detected."
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"generatedAt": "2026-06-04T19:45:50.155Z",
"version": "v1",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 36,
"activeCandidateCount": 28,
"archivedCandidateCount": 8,
"details": {
"coreBlocFiles": 6,
"projectFiles": 5,
"registerFiles": 7,
"topLevelFiles": 8,
"dailyNoteFiles": 8
}
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"generatedAt": "2026-06-04T20:00:31.444Z",
"version": "v2",
"previousVersion": "v1",
"growthMode": "normal",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 38,
"activeCandidateCount": 30,
"archivedCandidateCount": 8
},
"details": {
"coreBlocFiles": 6,
"projectFiles": 5,
"registerFiles": 7,
"topLevelFiles": 8,
"dailyNoteFiles": 8,
"evolvedFrom": "v1",
"growthApplied": "日常记忆积累 (3-8%)"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"generatedAt": "2026-06-04T20:00:31.445Z",
"version": "v3",
"previousVersion": "v2",
"growthMode": "moderate",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 7,
"cycleCount": 9,
"candidateCount": 46,
"activeCandidateCount": 36,
"archivedCandidateCount": 10
}
}
+7
View File
@@ -0,0 +1,7 @@
{
"currentVersion": "v3",
"path": "/Users/a1234/.openclaw/workspace/test/fixtures/baseline-rotation/v3-baseline.json",
"updatedAt": "2026-06-04T00:00:00.000Z",
"previousVersion": "v2",
"rotationId": "rotation-001"
}
+8
View File
@@ -0,0 +1,8 @@
{
"keepLatest": 3,
"archiveOlderThan": 3,
"requireGateOpen": true,
"requireCompatibilitySupported": true,
"allowWarnings": false,
"dryRun": true
}
+19
View File
@@ -0,0 +1,19 @@
{
"generatedAt": "2026-06-04T19:45:50.155Z",
"version": "v1",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 36,
"activeCandidateCount": 28,
"archivedCandidateCount": 8,
"details": {
"coreBlocFiles": 6,
"projectFiles": 5,
"registerFiles": 7,
"topLevelFiles": 8,
"dailyNoteFiles": 8
}
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"generatedAt": "2026-06-04T20:00:31.444Z",
"version": "v2",
"previousVersion": "v1",
"growthMode": "normal",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 38,
"activeCandidateCount": 30,
"archivedCandidateCount": 8
},
"details": {
"coreBlocFiles": 6,
"projectFiles": 5,
"registerFiles": 7,
"topLevelFiles": 8,
"dailyNoteFiles": 8,
"evolvedFrom": "v1",
"growthApplied": "日常记忆积累 (3-8%)"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"generatedAt": "2026-06-04T20:00:31.445Z",
"version": "v3",
"previousVersion": "v2",
"growthMode": "moderate",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 7,
"cycleCount": 9,
"candidateCount": 46,
"activeCandidateCount": 36,
"archivedCandidateCount": 10
}
}
@@ -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.cycleIdBaseline 聚合不受影响",
"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/itemsPipeline 的 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 — 全部指标缺失"] }
}
}
@@ -0,0 +1,81 @@
{
"description": "Critical agent with severe health drop, certification downgrade, and unsupported compatibility — triggers multiple critical alerts",
"monitoringSnapshots": [
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-01T00:00:00.000Z",
"healthScore": 75,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "supported",
"stabilityScore": 80,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-02T00:00:00.000Z",
"healthScore": 60,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 65,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 0
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 35,
"riskLevel": "high",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 40,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 1
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 15,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 20,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 2,
"compatibilityFailures": 2,
"releaseFailures": 2
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 10,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 15,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 3,
"compatibilityFailures": 3,
"releaseFailures": 3
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,67 @@
{
"description": "Degrading agent with health declining over time — warnings accumulating, 4 snapshots showing steady decline",
"monitoringSnapshots": [
{
"agentId": "claw-staging",
"timestamp": "2026-06-01T00:00:00.000Z",
"healthScore": 88,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 95,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-02T00:00:00.000Z",
"healthScore": 78,
"riskLevel": "medium",
"certificationStatus": "production_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 85,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 1,
"releaseFailures": 0
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 65,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 70,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 1
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 52,
"riskLevel": "high",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 55,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 1,
"compatibilityFailures": 2,
"releaseFailures": 2
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,67 @@
{
"description": "Healthy agent with stable health over time — all indicators green, 4 snapshots showing consistent high scores",
"monitoringSnapshots": [
{
"agentId": "claw-prod",
"timestamp": "2026-06-01T00:00:00.000Z",
"healthScore": 95,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-prod",
"timestamp": "2026-06-02T00:00:00.000Z",
"healthScore": 97,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-prod",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 96,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-prod",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 98,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,35 @@
{
"description": "Agent with missing/unknown data fields — tests that missing fields are not assumed healthy",
"monitoringSnapshots": [
{
"agentId": "incomplete-sdk",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 85,
"riskLevel": "unknown",
"certificationStatus": "unknown",
"compatibilityStatus": "unknown",
"releaseResult": "unknown",
"rollbacks": 0,
"releaseFailures": 0,
"compatibilityFailures": 0
},
{
"agentId": "incomplete-sdk",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 82,
"riskLevel": "unknown",
"certificationStatus": "unknown",
"compatibilityStatus": "unknown",
"releaseResult": "unknown",
"rollbacks": 0,
"releaseFailures": 0,
"compatibilityFailures": 0
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,221 @@
{
"description": "Mixed fleet with 6 agents across healthy, degrading, critical, and recovery states — 3 snapshots over time",
"monitoringSnapshots": [
{
"agentId": "claw-prod",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 95,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 72,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 75,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 0
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 35,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 40,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 2,
"compatibilityFailures": 2,
"releaseFailures": 2
},
{
"agentId": "claw-canary",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 88,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 92,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "mock-staging",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 60,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 65,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 0
},
{
"agentId": "unknown-sdk-v1",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 20,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 25,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 3,
"compatibilityFailures": 2,
"releaseFailures": 2
},
{
"agentId": "claw-prod",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 96,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 65,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 68,
"status": "degrading",
"releaseResult": "failed",
"rollbacks": 1,
"compatibilityFailures": 1,
"releaseFailures": 1
},
{
"agentId": "old-claw-beta",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 30,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 35,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 3,
"compatibilityFailures": 3,
"releaseFailures": 3
},
{
"agentId": "claw-canary",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 90,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 94,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "mock-staging",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 55,
"riskLevel": "high",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 58,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 2,
"compatibilityFailures": 2,
"releaseFailures": 1
},
{
"agentId": "unknown-sdk-v1",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 15,
"riskLevel": "high",
"certificationStatus": "not_ready",
"compatibilityStatus": "unsupported",
"stabilityScore": 20,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 4,
"compatibilityFailures": 3,
"releaseFailures": 3
},
{
"agentId": "claw-prod",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 97,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 100,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "claw-staging",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 58,
"riskLevel": "high",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 60,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 2,
"compatibilityFailures": 2,
"releaseFailures": 2
},
{
"agentId": "claw-canary",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 92,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 96,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,81 @@
{
"description": "Agent with sudden rollback spike — stable for most history then abrupt increase in rollbacks",
"monitoringSnapshots": [
{
"agentId": "unstable-mock",
"timestamp": "2026-06-01T00:00:00.000Z",
"healthScore": 85,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 90,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "unstable-mock",
"timestamp": "2026-06-02T00:00:00.000Z",
"healthScore": 82,
"riskLevel": "low",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 88,
"status": "healthy",
"releaseResult": "success",
"rollbacks": 0,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "unstable-mock",
"timestamp": "2026-06-03T00:00:00.000Z",
"healthScore": 75,
"riskLevel": "medium",
"certificationStatus": "production_ready",
"compatibilityStatus": "supported",
"stabilityScore": 78,
"status": "degrading",
"releaseResult": "success",
"rollbacks": 1,
"compatibilityFailures": 0,
"releaseFailures": 0
},
{
"agentId": "unstable-mock",
"timestamp": "2026-06-04T00:00:00.000Z",
"healthScore": 55,
"riskLevel": "medium",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "supported",
"stabilityScore": 58,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 3,
"compatibilityFailures": 1,
"releaseFailures": 1
},
{
"agentId": "unstable-mock",
"timestamp": "2026-06-05T00:00:00.000Z",
"healthScore": 40,
"riskLevel": "high",
"certificationStatus": "conditionally_ready",
"compatibilityStatus": "compatible_with_warnings",
"stabilityScore": 42,
"status": "at_risk",
"releaseResult": "failed",
"rollbacks": 5,
"compatibilityFailures": 2,
"releaseFailures": 2
}
],
"configuration": {
"criticalHealthDropPercent": 30,
"highHealthDropPercent": 15,
"trendWindowSize": 3,
"consecutiveFailureThreshold": 3
}
}
@@ -0,0 +1,31 @@
{
"description": "All agents healthy — should certify as production_ready",
"healthReport": [
{
"agentId": "claw-prod",
"healthScore": 100,
"riskLevel": "low",
"scoreBreakdown": {"release":30,"compatibility":25,"certification":20,"baseline":15,"operations":10},
"stability": 100,
"status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "mock-dev",
"healthScore": 95,
"riskLevel": "low",
"scoreBreakdown": {"release":30,"compatibility":25,"certification":20,"baseline":15,"operations":5},
"stability": 90,
"status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
}
],
"riskReport": [
{"agentId":"claw-prod","riskLevel":"low","healthScore":100,"reasons":["all indicators healthy"]},
{"agentId":"mock-dev","riskLevel":"low","healthScore":95,"reasons":["all indicators healthy"]}
],
"trendReport": [
{"agentId":"claw-prod","trend":"stable","delta":0,"currentScore":100,"previousScore":100},
{"agentId":"mock-dev","trend":"stable","delta":0,"currentScore":95,"previousScore":95}
]
}
@@ -0,0 +1,41 @@
{
"description": "Conditionally ready fleet: meets ≥70% threshold but not ≥90%",
"healthReport": [
{
"agentId": "prod-a", "healthScore": 95, "riskLevel": "low",
"scoreBreakdown": {"release":30,"compatibility":25,"certification":20,"baseline":15,"operations":5},
"stability": 92, "status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "prod-b", "healthScore": 90, "riskLevel": "low",
"scoreBreakdown": {"release":30,"compatibility":25,"certification":20,"baseline":10,"operations":5},
"stability": 85, "status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "prod-c", "healthScore": 85, "riskLevel": "low",
"scoreBreakdown": {"release":25,"compatibility":25,"certification":20,"baseline":10,"operations":5},
"stability": 88, "status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "warn-d", "healthScore": 55, "riskLevel": "medium",
"scoreBreakdown": {"release":15,"compatibility":15,"certification":10,"baseline":10,"operations":5},
"stability": 70, "status": "degrading",
"lastUpdated": "2026-06-05T00:00:00.000Z"
}
],
"riskReport": [
{"agentId":"prod-a","riskLevel":"low","healthScore":95,"reasons":["all indicators healthy"]},
{"agentId":"prod-b","riskLevel":"low","healthScore":90,"reasons":["all indicators healthy"]},
{"agentId":"prod-c","riskLevel":"low","healthScore":85,"reasons":["all indicators healthy"]},
{"agentId":"warn-d","riskLevel":"medium","healthScore":55,"reasons":["compatibility has warnings","certification conditionally ready"]}
],
"trendReport": [
{"agentId":"prod-a","trend":"stable","delta":0,"currentScore":95,"previousScore":95},
{"agentId":"prod-b","trend":"stable","delta":0,"currentScore":90,"previousScore":90},
{"agentId":"prod-c","trend":"stable","delta":0,"currentScore":85,"previousScore":85},
{"agentId":"warn-d","trend":"degrading","delta":-15,"currentScore":55,"previousScore":65}
]
}
@@ -0,0 +1,27 @@
{
"description": "High risk fleet — most agents at high risk, should be not_ready",
"healthReport": [
{
"agentId": "unsupported-legacy",
"healthScore": 5, "riskLevel": "high",
"scoreBreakdown": {"release":0,"compatibility":0,"certification":0,"baseline":5,"operations":0},
"stability": 30, "status": "at_risk",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "failing-agent",
"healthScore": 15, "riskLevel": "high",
"scoreBreakdown": {"release":0,"compatibility":5,"certification":0,"baseline":5,"operations":5},
"stability": 40, "status": "degrading",
"lastUpdated": "2026-06-05T00:00:00.000Z"
}
],
"riskReport": [
{"agentId":"unsupported-legacy","riskLevel":"high","healthScore":5,"reasons":["agent unsupported","compatibility unsupported","3 release failures"]},
{"agentId":"failing-agent","riskLevel":"high","healthScore":15,"reasons":["certification not_ready","2 release failures","2 rollbacks"]}
],
"trendReport": [
{"agentId":"unsupported-legacy","trend":"degrading","delta":-80,"currentScore":5,"previousScore":25},
{"agentId":"failing-agent","trend":"degrading","delta":-70,"currentScore":15,"previousScore":50}
]
}
@@ -0,0 +1,36 @@
{
"description": "Mixed fleet: healthy, degrading, high risk agents — conditionally_ready",
"healthReport": [
{
"agentId": "claw-prod",
"healthScore": 100, "riskLevel": "low",
"scoreBreakdown": {"release":30,"compatibility":25,"certification":20,"baseline":15,"operations":10},
"stability": 100, "status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "mock-staging",
"healthScore": 65, "riskLevel": "medium",
"scoreBreakdown": {"release":20,"compatibility":15,"certification":10,"baseline":15,"operations":5},
"stability": 78, "status": "degrading",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "old-claw-beta",
"healthScore": 10, "riskLevel": "high",
"scoreBreakdown": {"release":0,"compatibility":0,"certification":0,"baseline":5,"operations":5},
"stability": 50, "status": "at_risk",
"lastUpdated": "2026-06-05T00:00:00.000Z"
}
],
"riskReport": [
{"agentId":"claw-prod","riskLevel":"low","healthScore":100,"reasons":["all indicators healthy"]},
{"agentId":"mock-staging","riskLevel":"medium","healthScore":65,"reasons":["compatibility has warnings","certification is conditionally ready"]},
{"agentId":"old-claw-beta","riskLevel":"high","healthScore":10,"reasons":["agent unsupported","compatibility unsupported","certification not_ready"]}
],
"trendReport": [
{"agentId":"claw-prod","trend":"stable","delta":0,"currentScore":100,"previousScore":100},
{"agentId":"mock-staging","trend":"degrading","delta":-35,"currentScore":65,"previousScore":100},
{"agentId":"old-claw-beta","trend":"degrading","delta":-50,"currentScore":10,"previousScore":20}
]
}
@@ -0,0 +1,25 @@
{
"description": "Not ready fleet: too many failing agents",
"healthReport": [
{
"agentId": "fail-1", "healthScore": 10, "riskLevel": "high",
"scoreBreakdown": {"release":0,"compatibility":0,"certification":0,"baseline":5,"operations":5},
"stability": 25, "status": "at_risk",
"lastUpdated": "2026-06-05T00:00:00.000Z"
},
{
"agentId": "ok-2", "healthScore": 80, "riskLevel": "low",
"scoreBreakdown": {"release":25,"compatibility":25,"certification":20,"baseline":5,"operations":5},
"stability": 75, "status": "healthy",
"lastUpdated": "2026-06-05T00:00:00.000Z"
}
],
"riskReport": [
{"agentId":"fail-1","riskLevel":"high","healthScore":10,"reasons":["agent unsupported","compatibility unsupported","4 release failures"]},
{"agentId":"ok-2","riskLevel":"low","healthScore":80,"reasons":["all indicators healthy"]}
],
"trendReport": [
{"agentId":"fail-1","trend":"degrading","delta":-50,"currentScore":10,"previousScore":20},
{"agentId":"ok-2","trend":"stable","delta":0,"currentScore":80,"previousScore":80}
]
}
+6
View File
@@ -0,0 +1,6 @@
{
"description": "Empty input — no alerts, no existing incidents",
"alerts": [],
"existingIncidents": [],
"configuration": {}
}
@@ -0,0 +1,14 @@
{
"description": "Existing incidents with various lifecycle states for state transition testing",
"alerts": [
{"alertId":"monitor-010","severity":"critical","agentId":"claw-prod","reason":"consecutive_release_failure","details":"4 failures","timestamp":"2026-06-05T00:00:00.000Z","source":"continuous-monitoring"}
],
"existingIncidents": [
{"incidentId":"inc-001","agentId":"claw-prod","severity":"critical","status":"open","source":"compatibility_unsupported","createdAt":"2026-06-03T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":null},
{"incidentId":"inc-002","agentId":"claw-prod","severity":"critical","status":"investigating","source":"health_score_drop_critical","createdAt":"2026-06-03T01:00:00.000Z","updatedAt":"2026-06-03T02:00:00.000Z","resolvedAt":null},
{"incidentId":"inc-003","agentId":"claw-prod","severity":"high","status":"recovering","source":"health_score_drop_high","createdAt":"2026-06-02T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":null,"recoveryProgress":60},
{"incidentId":"inc-004","agentId":"old-claw-beta","severity":"critical","status":"resolved","source":"compatibility_unsupported","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":"2026-06-03T00:00:00.000Z"},
{"incidentId":"inc-005","agentId":"old-claw-beta","severity":"high","status":"closed","source":"health_score_drop_high","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":"2026-06-04T00:00:00.000Z"}
],
"configuration": {}
}
@@ -0,0 +1,17 @@
{
"description": "Mixed fleet incidents for comprehensive report generation",
"alerts": [
{"alertId":"monitor-030","severity":"critical","agentId":"claw-prod","reason":"compatibility_unsupported","details":"Compat unsupported on prod","timestamp":"2026-06-05T00:00:00.000Z","source":"continuous-monitoring"},
{"alertId":"monitor-031","severity":"high","agentId":"mock-staging","reason":"health_score_drop_high","details":"Score dropped 20%","timestamp":"2026-06-05T01:00:00.000Z","source":"continuous-monitoring"}
],
"existingIncidents": [
{"incidentId":"inc-030","agentId":"claw-prod","severity":"critical","status":"open","source":"health_score_drop_critical","createdAt":"2026-06-04T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":null},
{"incidentId":"inc-031","agentId":"claw-staging","severity":"high","status":"recovering","source":"health_score_drop_high","createdAt":"2026-06-03T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":null,"recoveryProgress":60},
{"incidentId":"inc-032","agentId":"old-claw-beta","severity":"critical","status":"open","source":"consecutive_release_failure","createdAt":"2026-06-03T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":null},
{"incidentId":"inc-033","agentId":"old-claw-beta","severity":"critical","status":"resolved","source":"compatibility_unsupported","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-02T00:00:00.000Z","resolvedAt":"2026-06-02T00:00:00.000Z"},
{"incidentId":"inc-034","agentId":"old-claw-beta","severity":"high","status":"resolved","source":"health_score_drop_high","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":"2026-06-03T00:00:00.000Z"},
{"incidentId":"inc-035","agentId":"old-claw-beta","severity":"critical","status":"closed","source":"consecutive_release_failure","createdAt":"2026-05-30T00:00:00.000Z","updatedAt":"2026-06-01T00:00:00.000Z","resolvedAt":"2026-06-01T00:00:00.000Z"},
{"incidentId":"inc-036","agentId":"unknown-sdk-v1","severity":"critical","status":"open","source":"compatibility_unsupported","createdAt":"2026-06-02T00:00:00.000Z","updatedAt":"2026-06-02T00:00:00.000Z","resolvedAt":null}
],
"configuration": {}
}
@@ -0,0 +1,12 @@
{
"description": "Multiple critical incidents from monitoring alerts",
"alerts": [
{"alertId":"monitor-001","severity":"critical","agentId":"claw-prod","reason":"health_score_drop_critical","details":"Score dropped 35%","timestamp":"2026-06-04T00:00:00.000Z","source":"continuous-monitoring"},
{"alertId":"monitor-002","severity":"critical","agentId":"claw-prod","reason":"compatibility_unsupported","details":"Compat unsupported","timestamp":"2026-06-04T01:00:00.000Z","source":"continuous-monitoring"},
{"alertId":"monitor-003","severity":"critical","agentId":"old-claw-beta","reason":"consecutive_release_failure","details":"3 consecutive failures","timestamp":"2026-06-04T02:00:00.000Z","source":"continuous-monitoring"},
{"alertId":"monitor-004","severity":"critical","agentId":"unknown-sdk-v1","reason":"certification_downgraded_to_not_ready","details":"Cert downgraded","timestamp":"2026-06-04T03:00:00.000Z","source":"continuous-monitoring"},
{"alertId":"monitor-005","severity":"high","agentId":"claw-staging","reason":"health_score_drop_high","details":"Score dropped 18%","timestamp":"2026-06-04T04:00:00.000Z","source":"continuous-monitoring"}
],
"existingIncidents": [],
"configuration": {}
}
@@ -0,0 +1,12 @@
{
"description": "Recovery tracking test — incidents in recovering state with progress values",
"alerts": [],
"existingIncidents": [
{"incidentId":"inc-010","agentId":"claw-prod","severity":"critical","status":"recovering","source":"compatibility_unsupported","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":null,"recoveryProgress":30},
{"incidentId":"inc-011","agentId":"claw-staging","severity":"high","status":"recovering","source":"health_score_drop_high","createdAt":"2026-06-02T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":null,"recoveryProgress":75},
{"incidentId":"inc-012","agentId":"old-claw-beta","severity":"critical","status":"recovering","source":"consecutive_release_failure","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":null,"recoveryProgress":100},
{"incidentId":"inc-013","agentId":"unknown-sdk-v1","severity":"critical","status":"resolved","source":"compatibility_unsupported","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":"2026-06-04T00:00:00.000Z"},
{"incidentId":"inc-014","agentId":"unknown-sdk-v1","severity":"high","status":"resolved","source":"health_score_drop_high","createdAt":"2026-06-02T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":"2026-06-04T12:00:00.000Z"}
],
"configuration": {}
}
@@ -0,0 +1,14 @@
{
"description": "Agent with many incidents — triggers repeat offender detection (≥3 incidents per agent)",
"alerts": [
{"alertId":"monitor-020","severity":"critical","agentId":"old-claw-beta","reason":"compatibility_unsupported","details":"test","timestamp":"2026-06-05T00:00:00.000Z","source":"continuous-monitoring"}
],
"existingIncidents": [
{"incidentId":"inc-020","agentId":"old-claw-beta","severity":"critical","status":"open","source":"health_score_drop_critical","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-01T00:00:00.000Z","resolvedAt":null},
{"incidentId":"inc-021","agentId":"old-claw-beta","severity":"critical","status":"resolved","source":"consecutive_release_failure","createdAt":"2026-06-02T00:00:00.000Z","updatedAt":"2026-06-03T00:00:00.000Z","resolvedAt":"2026-06-03T00:00:00.000Z"},
{"incidentId":"inc-022","agentId":"old-claw-beta","severity":"high","status":"resolved","source":"health_score_drop_high","createdAt":"2026-06-03T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":"2026-06-04T00:00:00.000Z"},
{"incidentId":"inc-023","agentId":"claw-prod","severity":"critical","status":"resolved","source":"compatibility_unsupported","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-02T00:00:00.000Z","resolvedAt":"2026-06-02T00:00:00.000Z"},
{"incidentId":"inc-024","agentId":"claw-prod","severity":"high","status":"closed","source":"health_score_drop_high","createdAt":"2026-06-01T00:00:00.000Z","updatedAt":"2026-06-04T00:00:00.000Z","resolvedAt":"2026-06-04T00:00:00.000Z"}
],
"configuration": {}
}
@@ -0,0 +1,41 @@
{
"description": "All agents healthy — every agent is low risk",
"registry": {
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "mock-dev",
"agentType": "mock",
"displayName": "Mock Development",
"status": "active",
"owner": "dev-team",
"workspacePath": "test/fixtures/agent-adapters/mock-agent",
"adapter": "mock",
"baselineVersion": "v1",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-03T00:00:00.000Z"
}
]
},
"releaseHistory": [
{"releaseId":"rel-001","agentId":"claw-prod","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-04T00:00:00.000Z"},
{"releaseId":"rel-002","agentId":"claw-prod","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-03T00:00:00.000Z"},
{"releaseId":"rel-003","agentId":"mock-dev","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-02T00:00:00.000Z"}
],
"certifications": {
"claw-prod": {"status":"production_ready","governanceGrade":"A","governanceScore":100,"riskLevel":"medium","certifiedAt":"2026-06-04T00:00:00.000Z","baselineVersion":"v4"},
"mock-dev": {"status":"production_ready","governanceGrade":"A","governanceScore":95,"riskLevel":"low","certifiedAt":"2026-06-03T00:00:00.000Z","baselineVersion":"v1"}
}
}
@@ -0,0 +1,38 @@
{
"description": "Key data missing — certification and release history absent",
"registry": {
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "new-agent",
"agentType": "mock",
"displayName": "New Uncertified Agent",
"status": "active",
"owner": "dev-team",
"workspacePath": "test/fixtures/agent-adapters/mock-agent",
"adapter": "mock",
"baselineVersion": "",
"compatibilityStatus": "unknown",
"lastCertifiedAt": ""
}
]
},
"releaseHistory": [
{"releaseId":"rel-001","agentId":"claw-prod","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-04T00:00:00.000Z"}
],
"certifications": {
"claw-prod": {"status":"production_ready","governanceGrade":"A","governanceScore":100,"riskLevel":"low","certifiedAt":"2026-06-04T00:00:00.000Z","baselineVersion":"v4"}
}
}
@@ -0,0 +1,67 @@
{
"description": "Mixed risk: low, medium, high, unknown agents",
"registry": {
"schemaVersion": "1.0",
"agents": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"owner": "team-memory",
"workspacePath": "memory/",
"adapter": "claw",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"lastCertifiedAt": "2026-06-04T00:00:00.000Z"
},
{
"agentId": "mock-staging",
"agentType": "mock",
"displayName": "Mock Staging",
"status": "active",
"owner": "dev-team",
"workspacePath": "test/fixtures/agent-adapters/mock-agent",
"adapter": "mock",
"baselineVersion": "v1",
"compatibilityStatus": "compatible_with_warnings",
"lastCertifiedAt": "2026-06-01T00:00:00.000Z"
},
{
"agentId": "old-claw-beta",
"agentType": "claw",
"displayName": "Old Claw Beta",
"status": "unsupported",
"owner": "team-memory",
"workspacePath": "legacy-memory/",
"adapter": "claw",
"baselineVersion": "v1",
"compatibilityStatus": "unsupported",
"lastCertifiedAt": "2025-06-01T00:00:00.000Z"
},
{
"agentId": "unknown-sdk-v1",
"agentType": "unknown",
"displayName": "Unknown SDK Agent",
"status": "unsupported",
"owner": "external-team",
"workspacePath": "legacy-data/",
"adapter": "none",
"baselineVersion": "unknown",
"compatibilityStatus": "unsupported",
"lastCertifiedAt": "2025-12-01T00:00:00.000Z"
}
]
},
"releaseHistory": [
{"releaseId":"rel-001","agentId":"claw-prod","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-04T00:00:00.000Z"},
{"releaseId":"rel-002","agentId":"claw-prod","result":"success","gateDecision":"open","compatibilityStatus":"supported","timestamp":"2026-06-03T00:00:00.000Z"},
{"releaseId":"rel-003","agentId":"mock-staging","result":"success","gateDecision":"warn","compatibilityStatus":"compatible_with_warnings","timestamp":"2026-06-02T00:00:00.000Z"},
{"releaseId":"rel-004","agentId":"old-claw-beta","result":"failed","gateDecision":"closed","compatibilityStatus":"unsupported","timestamp":"2025-06-01T00:00:00.000Z"}
],
"certifications": {
"claw-prod": {"status":"production_ready","governanceGrade":"A","governanceScore":100,"riskLevel":"medium","certifiedAt":"2026-06-04T00:00:00.000Z","baselineVersion":"v4"},
"mock-staging": {"status":"conditionally_ready","governanceGrade":"B","governanceScore":75,"riskLevel":"medium","certifiedAt":"2026-06-01T00:00:00.000Z","baselineVersion":"v1"},
"old-claw-beta": {"status":"not_ready","governanceGrade":"F","governanceScore":20,"riskLevel":"high","certifiedAt":"2025-06-01T00:00:00.000Z","baselineVersion":"v1"}
}
}
@@ -0,0 +1,57 @@
{
"description": "Expected output for multi-agent dashboard with mixed risk",
"dashboard": [
{
"agentId": "claw-prod",
"agentType": "claw",
"displayName": "Claw Production",
"status": "active",
"baselineVersion": "v4",
"compatibilityStatus": "supported",
"certificationStatus": "production_ready",
"lastReleaseResult": "success",
"riskLevel": "low"
},
{
"agentId": "mock-staging",
"agentType": "mock",
"displayName": "Mock Staging",
"status": "active",
"baselineVersion": "v1",
"compatibilityStatus": "compatible_with_warnings",
"certificationStatus": "conditionally_ready",
"lastReleaseResult": "success",
"riskLevel": "medium"
},
{
"agentId": "old-claw-beta",
"agentType": "claw",
"displayName": "Old Claw Beta",
"status": "unsupported",
"baselineVersion": "v1",
"compatibilityStatus": "unsupported",
"certificationStatus": "not_ready",
"lastReleaseResult": "failed",
"riskLevel": "high"
},
{
"agentId": "unknown-sdk-v1",
"agentType": "unknown",
"displayName": "Unknown SDK Agent",
"status": "unsupported",
"baselineVersion": "unknown",
"compatibilityStatus": "unsupported",
"certificationStatus": "unknown",
"lastReleaseResult": "unknown",
"riskLevel": "high"
}
],
"summary": {
"totalAgents": 4,
"activeAgents": 2,
"productionReadyAgents": 1,
"unsupportedAgents": 2,
"highRiskAgents": 2,
"unknownRiskAgents": 0
}
}
@@ -0,0 +1,26 @@
{
"description": "Single unsupported agent — must be high risk",
"registry": {
"schemaVersion": "1.0",
"agents": [
{
"agentId": "unsupported-legacy",
"agentType": "unknown",
"displayName": "Unsupported Legacy Agent",
"status": "unsupported",
"owner": "external-team",
"workspacePath": "legacy-data/",
"adapter": "none",
"baselineVersion": "unknown",
"compatibilityStatus": "unsupported",
"lastCertifiedAt": "2025-01-01T00:00:00.000Z"
}
]
},
"releaseHistory": [
{"releaseId":"rel-001","agentId":"unsupported-legacy","result":"failed","gateDecision":"closed","compatibilityStatus":"unsupported","timestamp":"2025-01-01T00:00:00.000Z"}
],
"certifications": {
"unsupported-legacy": {"status":"not_ready","governanceGrade":"F","governanceScore":10,"riskLevel":"high","certifiedAt":"2025-01-01T00:00:00.000Z","baselineVersion":"unknown"}
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"name": "full-pass",
"description": "All governance components present and certified",
"state": {
"baselineRotationDir": "../baseline-rotation",
"compatMatrixDir": "../compatibility-matrix",
"releaseHistoryDir": "../../../release-history",
"baselineEvolutionDir": "../baseline-evolution",
"productionValidationDir": "../production-validation"
},
"expected": {
"coverageScore": 100,
"checklistPass": 6,
"grade": "A"
}
}
@@ -0,0 +1,16 @@
{
"name": "missing-baseline",
"description": "Baseline Rotation directory missing",
"state": {
"baselineRotationDir": "__missing__",
"compatMatrixDir": "../compatibility-matrix",
"releaseHistoryDir": "../../../release-history",
"baselineEvolutionDir": "../baseline-evolution",
"productionValidationDir": "../production-validation"
},
"expected": {
"coverageScore": 25,
"checklistPass": 4,
"grade": "C"
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"name": "missing-compat-matrix",
"description": "Compatibility Matrix directory missing",
"state": {
"baselineRotationDir": "../baseline-rotation",
"compatMatrixDir": "__missing__",
"releaseHistoryDir": "../../../release-history",
"baselineEvolutionDir": "../baseline-evolution",
"productionValidationDir": "../production-validation"
},
"expected": {
"coverageScore": 75,
"checklistPass": 5,
"grade": "B"
}
}
@@ -0,0 +1,16 @@
{
"name": "missing-dashboard",
"description": "Release History Dashboard files missing",
"state": {
"baselineRotationDir": "../baseline-rotation",
"compatMatrixDir": "../compatibility-matrix",
"releaseHistoryDir": "__missing__",
"baselineEvolutionDir": "../baseline-evolution",
"productionValidationDir": "../production-validation"
},
"expected": {
"coverageScore": 75,
"checklistPass": 5,
"grade": "B"
}
}
@@ -0,0 +1,11 @@
{
"generatedAt": "2026-06-04T19:46:49.006Z",
"version": "v1-candidate-001",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 37,
"activeCandidateCount": 29,
"archivedCandidateCount": 8
}
}
@@ -0,0 +1,19 @@
{
"generatedAt": "2026-06-04T19:45:50.155Z",
"version": "v1",
"workspace": "/Users/<user>/.openclaw/workspace",
"metrics": {
"blocCount": 6,
"cycleCount": 7,
"candidateCount": 36,
"activeCandidateCount": 28,
"archivedCandidateCount": 8,
"details": {
"coreBlocFiles": 6,
"projectFiles": 5,
"registerFiles": 7,
"topLevelFiles": 8,
"dailyNoteFiles": 8
}
}
}
@@ -0,0 +1,56 @@
# Active Memory Release Candidate Report
## Summary
| Field | Value |
|-------|-------|
| Status | ✅ **PASS** |
| Release Candidate | **YES** |
| Score | **100/100** |
## Checks
| Check | Result | Details |
|-------|--------|---------|
| ✅ Readiness Assessment | PASS | status=pass, safeToReplace=true, score=98 |
| ✅ Rollout Stage Policy | PASS | action=promote, stage=100%, confidence=100 |
| ✅ Rollback Report | PASS | recommendation=keep_enabled |
| ✅ Circuit Breaker | PASS | state=closed |
| ✅ Test Summary | PASS | total=229, failed=0, regressions=0 |
## Blockers
None
## Warnings
None
## Baseline Comparison
Status: ✅ **PASS**
| Metric | Baseline | Candidate | Delta | Δ% |
|--------|----------|-----------|-------|-----|
| Bloc Count | 6 | 6 | 0 | 0% |
| Cycle Count | 7 | 7 | 0 | 0% |
| Candidate Count | 36 | 37 | +1 | +2.78% |
| Active Candidate Count | 28 | 29 | +1 | +3.57% |
| Archived Candidate Count | 8 | 8 | 0 | 0% |
## Release Gate
Status: 🟢 **OPEN**
Can Release: **YES**
Summary: Release gate is OPEN. 1 warning(s) present.
**Gate Warnings:**
- ⚠️ 手动审批数据未提供(非强制,不影响)
## Recommendation
> 所有检查项通过。系统已满足 Release Candidate 条件,可以进入最终发布候选。
---
@@ -0,0 +1,168 @@
{
"generatedAt": "2026-06-04T19:46:49.008Z",
"baselineVersion": "v1",
"checklist": {
"status": "pass",
"confidence": 100,
"blockers": 0,
"warnings": 0
},
"baselineCompare": {
"status": "pass",
"blockers": [],
"warnings": [],
"changes": [
{
"metric": "blocCount",
"label": "Bloc Count",
"baseline": 6,
"candidate": 6,
"delta": 0,
"deltaPercent": 0
},
{
"metric": "cycleCount",
"label": "Cycle Count",
"baseline": 7,
"candidate": 7,
"delta": 0,
"deltaPercent": 0
},
{
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 37,
"delta": 1,
"deltaPercent": 2.78
},
{
"metric": "activeCandidateCount",
"label": "Active Candidate Count",
"baseline": 28,
"candidate": 29,
"delta": 1,
"deltaPercent": 3.57
},
{
"metric": "archivedCandidateCount",
"label": "Archived Candidate Count",
"baseline": 8,
"candidate": 8,
"delta": 0,
"deltaPercent": 0
}
]
},
"releaseGate": {
"status": "open",
"decision": "OPEN",
"canRelease": true,
"blockers": [],
"warnings": [
"手动审批数据未提供(非强制,不影响)"
],
"summary": "Release gate is OPEN. 1 warning(s) present."
},
"thresholdAnalysis": [
{
"deltaPct": 0,
"status": "pass",
"blockers": 0,
"warnings": 0,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 36,
"delta": 0,
"deltaPercent": 0
}
},
{
"deltaPct": 5,
"status": "pass",
"blockers": 0,
"warnings": 0,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 38,
"delta": 2,
"deltaPercent": 5.56
}
},
{
"deltaPct": 10,
"status": "pass",
"blockers": 0,
"warnings": 0,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 40,
"delta": 4,
"deltaPercent": 11.11
}
},
{
"deltaPct": 20,
"status": "warn",
"blockers": 0,
"warnings": 1,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 43,
"delta": 7,
"deltaPercent": 19.44
}
},
{
"deltaPct": 30,
"status": "warn",
"blockers": 0,
"warnings": 4,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 47,
"delta": 11,
"deltaPercent": 30.56
}
},
{
"deltaPct": 50,
"status": "fail",
"blockers": 1,
"warnings": 3,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 54,
"delta": 18,
"deltaPercent": 50
}
},
{
"deltaPct": 70,
"status": "fail",
"blockers": 4,
"warnings": 0,
"sampleChange": {
"metric": "candidateCount",
"label": "Candidate Count",
"baseline": 36,
"candidate": 61,
"delta": 25,
"deltaPercent": 69.44
}
}
],
"conclusion": "PASS — Release gate OPEN. First stable baseline validated."
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "电商小程序 — 带约束的需求",
"input": "做一个电商小程序,需要支持微信支付和物流追踪"
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "在线教育平台 — 一句话需求",
"input": "做一个在线教育平台"
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "空输入",
"input": ""
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "企业OA系统 — 详细需求",
"input": "做一个企业办公自动化系统,包含审批流、考勤打卡、部门管理"
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "带平台偏好",
"input": "做一个健身打卡 AppiOS 优先"
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "极简需求 — 两个词",
"input": "笔记应用"
}
+4
View File
@@ -0,0 +1,4 @@
{
"description": "宠物管理 App — 一句话需求",
"input": "做一个宠物管理 App"
}
+1
View File
@@ -0,0 +1 @@
[]
+110
View File
@@ -0,0 +1,110 @@
[
{
"releaseId": "release-001",
"timestamp": "2026-06-01T00:00:00.000Z",
"baselineVersion": "v1",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-001",
"result": "success"
},
{
"releaseId": "release-002",
"timestamp": "2026-06-02T00:00:00.000Z",
"baselineVersion": "v2",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-002",
"result": "success"
},
{
"releaseId": "release-003",
"timestamp": "2026-06-03T00:00:00.000Z",
"baselineVersion": "v3",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-003",
"result": "success"
},
{
"releaseId": "release-004",
"timestamp": "2026-06-04T00:00:00.000Z",
"baselineVersion": "v3",
"gateDecision": "closed",
"compatibilityStatus": "compatible_with_warnings",
"rotationId": null,
"result": "failed"
},
{
"releaseId": "release-005",
"timestamp": "2026-06-04T06:00:00.000Z",
"baselineVersion": "v3",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": null,
"result": "success"
},
{
"releaseId": "release-006",
"timestamp": "2026-06-05T00:00:00.000Z",
"baselineVersion": "v4",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-004",
"result": "success"
},
{
"releaseId": "release-007",
"timestamp": "2026-06-05T06:00:00.000Z",
"baselineVersion": "v4",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": null,
"result": "success"
},
{
"releaseId": "release-008",
"timestamp": "2026-06-05T12:00:00.000Z",
"baselineVersion": "v4",
"gateDecision": "closed",
"compatibilityStatus": "unsupported",
"rotationId": null,
"result": "failed"
},
{
"releaseId": "release-009",
"timestamp": "2026-06-06T00:00:00.000Z",
"baselineVersion": "v5",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-005",
"result": "success"
},
{
"releaseId": "release-010",
"timestamp": "2026-06-07T00:00:00.000Z",
"baselineVersion": "v5",
"gateDecision": "open",
"compatibilityStatus": "compatible_with_warnings",
"rotationId": null,
"result": "success"
},
{
"releaseId": "release-011",
"timestamp": "2026-06-08T00:00:00.000Z",
"baselineVersion": "v4",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rollback-001",
"result": "success"
},
{
"releaseId": "release-012",
"timestamp": "2026-06-09T00:00:00.000Z",
"baselineVersion": "v6",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-006",
"result": "success"
}
]
+11
View File
@@ -0,0 +1,11 @@
[
{
"releaseId": "release-001",
"timestamp": "2026-06-05T00:00:00.000Z",
"baselineVersion": "v4",
"gateDecision": "open",
"compatibilityStatus": "supported",
"rotationId": "rotation-004",
"result": "success"
}
]
+16
View File
@@ -0,0 +1,16 @@
{
"baseline": {
"blocCount": 100,
"cycleCount": 10,
"candidateCount": 500,
"activeCandidateCount": 300,
"archivedCandidateCount": 200
},
"candidate": {
"blocCount": 160,
"cycleCount": 5,
"candidateCount": 800,
"activeCandidateCount": 550,
"archivedCandidateCount": 200
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"baseline": {
"blocCount": 100,
"cycleCount": 10,
"candidateCount": 500,
"activeCandidateCount": 300,
"archivedCandidateCount": 200
},
"candidate": {
"blocCount": 105,
"cycleCount": 10,
"candidateCount": 510,
"activeCandidateCount": 305,
"archivedCandidateCount": 200
}
}
+4
View File
@@ -0,0 +1,4 @@
{
"checklist": { "status": "fail", "blockers": ["readiness fail"], "warnings": [] },
"baselineCompare": { "status": "pass", "blockers": [], "warnings": [] }
}
+4
View File
@@ -0,0 +1,4 @@
{
"checklist": { "status": "pass", "blockers": [], "warnings": [] },
"baselineCompare": { "status": "pass", "blockers": [], "warnings": [] }
}
+7
View File
@@ -0,0 +1,7 @@
{
"readiness": { "status": "fail", "safeToReplace": false },
"rolloutStage": { "action": "rollback", "currentStage": 30 },
"rollbackReport": { "recommendation": "disable_replacement" },
"circuitBreaker": { "state": "open" },
"testSummary": { "total": 164, "failed": 5, "regressions": 2 }
}
+7
View File
@@ -0,0 +1,7 @@
{
"readiness": { "status": "pass", "safeToReplace": true, "score": 95 },
"rolloutStage": { "action": "promote", "currentStage": 100, "confidence": 90 },
"rollbackReport": { "recommendation": "keep_enabled" },
"circuitBreaker": { "state": "closed" },
"testSummary": { "total": 164, "failed": 0, "regressions": 0, "pass": 164 }
}

Some files were not shown because too many files have changed in this diff Show More