mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-07-21 02:05:45 +00:00
* feat(skills): add skill review quality gate * fix(skills): skip review eval fixtures in CI * fix(skills): ignore review eval fixtures in bundled scans * fix(skill-review): harden review gate boundaries * fix(skills): address skill review gate feedback
50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://deerflow.dev/contracts/skill_review/package_snapshot.v1.schema.json",
|
|
"title": "DeerFlow Skill Package Snapshot v1",
|
|
"type": "object",
|
|
"required": ["schema_version", "subject", "limits", "files", "truncated", "reader_errors"],
|
|
"properties": {
|
|
"schema_version": { "const": "deerflow.skill-package-snapshot.v1" },
|
|
"subject": {
|
|
"type": "object",
|
|
"required": ["source", "display_ref"],
|
|
"properties": {
|
|
"source": { "type": "string" },
|
|
"category": { "type": ["string", "null"] },
|
|
"name_hint": { "type": ["string", "null"] },
|
|
"display_ref": { "type": "string" }
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"limits": {
|
|
"type": "object",
|
|
"required": ["max_files", "max_file_bytes", "max_total_bytes"],
|
|
"properties": {
|
|
"max_files": { "type": "integer", "minimum": 1 },
|
|
"max_file_bytes": { "type": "integer", "minimum": 1 },
|
|
"max_total_bytes": { "type": "integer", "minimum": 1 }
|
|
}
|
|
},
|
|
"files": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["path", "kind", "size", "sha256"],
|
|
"properties": {
|
|
"path": { "type": "string" },
|
|
"kind": { "enum": ["text", "binary", "symlink"] },
|
|
"size": { "type": "integer", "minimum": 0 },
|
|
"sha256": { "type": "string" },
|
|
"content": { "type": ["string", "null"] },
|
|
"target": { "type": "string" }
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"truncated": { "type": "boolean" },
|
|
"reader_errors": { "type": "array", "items": { "type": "object" } }
|
|
},
|
|
"additionalProperties": true
|
|
}
|