📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
"title": "AAS verified offline catalog manifest v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "package", "packageVersion", "catalogDigest", "digestVersion", "metadataSchemaVersion", "skillCount", "assets"],
|
||||
"required": ["schemaVersion", "package", "packageVersion", "catalogDigest", "digestVersion", "catalogSchemaVersion", "skillCount", "assets"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"package": { "type": "string", "minLength": 1, "maxLength": 214 },
|
||||
"packageVersion": { "type": "string", "minLength": 1, "maxLength": 64 },
|
||||
"catalogDigest": { "$ref": "#/$defs/digest" },
|
||||
"digestVersion": { "const": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1, "maxLength": 64 },
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1, "maxLength": 64 },
|
||||
"skillCount": { "type": "integer", "minimum": 0 },
|
||||
"assets": {
|
||||
"type": "array",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:catalog-metadata:v1",
|
||||
"title": "AAS catalog skill metadata v1",
|
||||
"$id": "urn:agentic-awesome-skills:schema:catalog-entry:v2",
|
||||
"title": "AAS descriptive catalog entry v2",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "name", "description", "category", "tags", "triggers", "searchTokens", "recommendationTokens", "metadata", "untrustedContentPath", "untrustedContentRef"],
|
||||
"required": ["id", "name", "description", "category", "tags", "triggers", "searchTokens", "untrustedContentPath", "untrustedContentRef"],
|
||||
"properties": {
|
||||
"id": { "$ref": "#/$defs/id" },
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
@@ -13,30 +13,6 @@
|
||||
"tags": { "$ref": "#/$defs/strings" },
|
||||
"triggers": { "$ref": "#/$defs/strings" },
|
||||
"searchTokens": { "$ref": "#/$defs/strings" },
|
||||
"recommendationTokens": { "$ref": "#/$defs/strings" },
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["capabilities", "risk", "source", "license", "targets", "setup", "dependencies", "conflicts", "validation", "tests", "reviews"],
|
||||
"properties": {
|
||||
"capabilities": { "$ref": "#/$defs/judgment" },
|
||||
"risk": { "$ref": "#/$defs/judgment" },
|
||||
"source": { "$ref": "#/$defs/judgment" },
|
||||
"license": { "$ref": "#/$defs/judgment" },
|
||||
"targets": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["codex", "claude"],
|
||||
"properties": { "codex": { "$ref": "#/$defs/judgment" }, "claude": { "$ref": "#/$defs/judgment" } }
|
||||
},
|
||||
"setup": { "$ref": "#/$defs/judgment" },
|
||||
"dependencies": { "$ref": "#/$defs/judgment" },
|
||||
"conflicts": { "$ref": "#/$defs/judgment" },
|
||||
"validation": { "$ref": "#/$defs/judgment" },
|
||||
"tests": { "$ref": "#/$defs/judgment" },
|
||||
"reviews": { "$ref": "#/$defs/judgment" }
|
||||
}
|
||||
},
|
||||
"untrustedContentPath": { "type": ["string", "null"], "maxLength": 512 },
|
||||
"untrustedContentRef": {
|
||||
"type": "object",
|
||||
@@ -52,22 +28,6 @@
|
||||
},
|
||||
"$defs": {
|
||||
"id": { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[a-z0-9][a-z0-9._-]*(/[a-z0-9][a-z0-9._-]*)*$" },
|
||||
"strings": { "type": "array", "uniqueItems": true, "items": { "type": "string", "maxLength": 256 } },
|
||||
"evidence": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": { "pattern": "^[A-Za-z][A-Za-z0-9._-]*$" },
|
||||
"additionalProperties": true
|
||||
},
|
||||
"judgment": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status", "value", "evidence"],
|
||||
"properties": {
|
||||
"status": { "enum": ["known", "unknown", "notApplicable"] },
|
||||
"value": {},
|
||||
"evidence": { "type": "array", "maxItems": 64, "items": { "$ref": "#/$defs/evidence" } }
|
||||
}
|
||||
}
|
||||
"strings": { "type": "array", "uniqueItems": true, "items": { "type": "string", "maxLength": 256 } }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,15 +4,14 @@
|
||||
"title": "AAS stack doctor result v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "target", "findings", "recoveries"],
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "catalogSchemaVersion", "target", "findings", "recoveries"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"ok": { "const": true },
|
||||
"status": { "enum": ["healthy", "degraded", "recoveryRequired"] },
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 },
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"target": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:stack-plan:v1",
|
||||
"title": "AAS immutable single-target plan v1",
|
||||
"$id": "urn:agentic-awesome-skills:schema:stack-plan:v2",
|
||||
"title": "AAS immutable single-target plan v2",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "kind", "digest", "payload"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"schemaVersion": { "const": 2 },
|
||||
"kind": { "const": "aas.stack-plan" },
|
||||
"digest": { "$ref": "#/$defs/digest" },
|
||||
"payload": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "kind", "versions", "manifestDigest", "catalog", "runtime", "target", "installedState", "desiredSkills", "policy", "operations", "overrides", "stateCommit"],
|
||||
"required": ["schemaVersion", "kind", "versions", "manifestDigest", "catalog", "runtime", "target", "installedState", "desiredSkills", "profile", "operations", "overrides", "stateCommit"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"schemaVersion": { "const": 2 },
|
||||
"kind": { "const": "aas.stack-plan.payload" },
|
||||
"versions": { "$ref": "#/$defs/versions" },
|
||||
"manifestDigest": { "$ref": "#/$defs/digest" },
|
||||
@@ -23,7 +23,7 @@
|
||||
"target": { "$ref": "#/$defs/target" },
|
||||
"installedState": { "$ref": "#/$defs/installedState" },
|
||||
"desiredSkills": { "$ref": "#/$defs/ids" },
|
||||
"policy": { "$ref": "#/$defs/policy" },
|
||||
"profile": { "$ref": "#/$defs/profile" },
|
||||
"operations": { "type": "array", "maxItems": 256, "items": { "$ref": "#/$defs/operation" } },
|
||||
"overrides": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/override" } },
|
||||
"stateCommit": {
|
||||
@@ -46,12 +46,11 @@
|
||||
"versions": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion"],
|
||||
"required": ["protocolVersion", "coreVersion", "catalogSchemaVersion"],
|
||||
"properties": {
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 }
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
@@ -105,16 +104,19 @@
|
||||
"entries": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/installedEntry" } }
|
||||
}
|
||||
},
|
||||
"policy": {
|
||||
"profile": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["allowedRisk", "requireKnownSource", "allowManualSetup"],
|
||||
"required": ["goals", "languages", "frameworks", "constraints"],
|
||||
"properties": {
|
||||
"allowedRisk": { "type": "array", "minItems": 1, "maxItems": 5, "uniqueItems": true, "items": { "enum": ["none", "safe", "unknown", "critical", "offensive"] } },
|
||||
"requireKnownSource": { "type": "boolean" },
|
||||
"allowManualSetup": { "type": "boolean" }
|
||||
"goals": { "type": "array", "minItems": 1, "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 128 } },
|
||||
"projectType": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
"languages": { "$ref": "#/$defs/profileValues" },
|
||||
"frameworks": { "$ref": "#/$defs/profileValues" },
|
||||
"constraints": { "$ref": "#/$defs/profileValues" }
|
||||
}
|
||||
},
|
||||
"profileValues": { "type": "array", "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 128 } },
|
||||
"operation": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -131,12 +133,11 @@
|
||||
"override": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["kind", "skillId", "reasonCodes", "unknownFields"],
|
||||
"required": ["kind", "skillId", "reasonCodes"],
|
||||
"properties": {
|
||||
"kind": { "enum": ["discoveryCandidate", "managedDrift"] },
|
||||
"kind": { "const": "managedDrift" },
|
||||
"skillId": { "$ref": "#/$defs/id" },
|
||||
"reasonCodes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1 } },
|
||||
"unknownFields": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1 } }
|
||||
"reasonCodes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "minLength": 1 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:recommendation-input:v1",
|
||||
"title": "AAS recommendation input v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["intent", "targets", "profile", "criticalGoals", "nonCriticalGoals", "policy"],
|
||||
"properties": {
|
||||
"intent": { "enum": ["web-application-delivery", "api-backend-delivery", "test-qa-automation", "security-review-hardening", "deployment-devops", "agent-mcp-development"] },
|
||||
"targets": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 8,
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["host", "scope"],
|
||||
"properties": {
|
||||
"host": { "enum": ["codex", "claude"] },
|
||||
"scope": { "enum": ["project", "user"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"profile": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"projectType": { "type": "string", "maxLength": 2048 },
|
||||
"languages": { "$ref": "#/$defs/boundedStrings" },
|
||||
"frameworks": { "$ref": "#/$defs/boundedStrings" },
|
||||
"context": { "type": "string", "maxLength": 2048 },
|
||||
"constraints": { "$ref": "#/$defs/boundedStrings" },
|
||||
"request": { "type": "string", "maxLength": 2048 }
|
||||
}
|
||||
},
|
||||
"criticalGoals": { "$ref": "#/$defs/goals" },
|
||||
"nonCriticalGoals": { "type": "array", "maxItems": 32, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
|
||||
"minimumNonCriticalGoalCoverage": { "type": "number", "minimum": 0.8, "maximum": 1 },
|
||||
"maxSkills": { "type": "integer", "minimum": 1, "maximum": 12 },
|
||||
"policy": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["allowedRisk", "requireKnownSource", "allowManualSetup"],
|
||||
"properties": {
|
||||
"allowedRisk": { "type": "array", "minItems": 1, "maxItems": 5, "uniqueItems": true, "items": { "enum": ["none", "safe", "unknown", "critical", "offensive"] } },
|
||||
"requireKnownSource": { "type": "boolean" },
|
||||
"allowManualSetup": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"id": { "type": "string", "minLength": 1, "maxLength": 128 },
|
||||
"boundedStrings": { "type": "array", "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "maxLength": 256 } },
|
||||
"goals": { "type": "array", "minItems": 1, "maxItems": 32, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } }
|
||||
}
|
||||
}
|
||||
@@ -1,149 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:recommendation-output:v1",
|
||||
"title": "AAS deterministic recommendation output v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "catalog", "normalizedInput", "recommended", "discoveryCandidates", "candidateCounts", "proposedStack", "includedSkillIds", "coveredGoals", "uncoveredGoals", "goalCapabilityMatrix", "exclusions", "exclusionReasonCounts", "hardPolicyViolations", "discoveryPromotions", "unknown", "measures"],
|
||||
"properties": {
|
||||
"ok": { "const": true },
|
||||
"status": { "enum": ["complete", "partial", "insufficientCoverage"] },
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 },
|
||||
"catalog": { "$ref": "#/$defs/catalog" },
|
||||
"normalizedInput": { "type": "object" },
|
||||
"recommended": { "type": "array", "maxItems": 25, "items": { "$ref": "#/$defs/candidate" } },
|
||||
"discoveryCandidates": { "type": "array", "maxItems": 25, "items": { "$ref": "#/$defs/candidate" } },
|
||||
"candidateCounts": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["recommendedTotal", "recommendedReturned", "discoveryTotal", "discoveryReturned", "excludedTotal", "excludedReturned"],
|
||||
"properties": {
|
||||
"recommendedTotal": { "type": "integer", "minimum": 0 },
|
||||
"recommendedReturned": { "type": "integer", "minimum": 0, "maximum": 25 },
|
||||
"discoveryTotal": { "type": "integer", "minimum": 0 },
|
||||
"discoveryReturned": { "type": "integer", "minimum": 0, "maximum": 25 },
|
||||
"excludedTotal": { "type": "integer", "minimum": 0 },
|
||||
"excludedReturned": { "type": "integer", "minimum": 0, "maximum": 25 }
|
||||
}
|
||||
},
|
||||
"proposedStack": { "$ref": "#/$defs/ids" },
|
||||
"includedSkillIds": { "$ref": "#/$defs/ids" },
|
||||
"coveredGoals": { "$ref": "#/$defs/strings" },
|
||||
"uncoveredGoals": { "$ref": "#/$defs/strings" },
|
||||
"goalCapabilityMatrix": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["goal", "critical", "skillIds"],
|
||||
"properties": {
|
||||
"goal": { "type": "string" },
|
||||
"critical": { "type": "boolean" },
|
||||
"skillIds": { "$ref": "#/$defs/ids" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"exclusions": {
|
||||
"type": "array",
|
||||
"maxItems": 25,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "reasonCodes"],
|
||||
"properties": { "id": { "$ref": "#/$defs/id" }, "reasonCodes": { "$ref": "#/$defs/strings" } }
|
||||
}
|
||||
},
|
||||
"exclusionReasonCounts": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "type": "integer", "minimum": 1 }
|
||||
},
|
||||
"hardPolicyViolations": { "type": "array", "maxItems": 0 },
|
||||
"discoveryPromotions": { "type": "array", "items": { "type": "object" } },
|
||||
"unknown": { "$ref": "#/$defs/strings" },
|
||||
"measures": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["goalCoverage", "metadataCompleteness", "evidenceStrength"],
|
||||
"properties": {
|
||||
"goalCoverage": { "type": "integer", "minimum": 0, "maximum": 1000 },
|
||||
"metadataCompleteness": { "type": "integer", "minimum": 0, "maximum": 1000 },
|
||||
"evidenceStrength": { "type": "integer", "minimum": 0, "maximum": 1000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"id": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
"ids": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
|
||||
"strings": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
||||
"catalog": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["package", "version", "digest"],
|
||||
"properties": {
|
||||
"package": { "type": "string" },
|
||||
"version": { "type": "string" },
|
||||
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" }
|
||||
}
|
||||
},
|
||||
"candidate": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "factors", "totalScore", "coveredGoals", "eligibility", "evidenceRefs", "metadata"],
|
||||
"properties": {
|
||||
"id": { "$ref": "#/$defs/id" },
|
||||
"factors": { "type": "object", "additionalProperties": { "type": "integer" } },
|
||||
"totalScore": { "type": "integer" },
|
||||
"coveredGoals": { "$ref": "#/$defs/strings" },
|
||||
"evidenceRefs": {
|
||||
"type": "array",
|
||||
"maxItems": 8,
|
||||
"uniqueItems": true,
|
||||
"items": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" }
|
||||
},
|
||||
"eligibility": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["eligibleForRecommendation", "hardBlocked", "eligibilityReasonCodes", "evidenceLevel", "unknownFields", "targetCompatibility"],
|
||||
"properties": {
|
||||
"eligibleForRecommendation": { "type": "boolean" },
|
||||
"hardBlocked": { "type": "boolean" },
|
||||
"eligibilityReasonCodes": { "$ref": "#/$defs/strings" },
|
||||
"evidenceLevel": { "enum": ["evidence-backed", "incomplete"] },
|
||||
"unknownFields": { "$ref": "#/$defs/strings" },
|
||||
"targetCompatibility": { "enum": ["supported", "blocked", "unknown"] }
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["capabilities", "risk", "source", "setup", "targets", "dependencies", "conflicts", "validation", "tests", "reviews"],
|
||||
"properties": {
|
||||
"capabilities": { "$ref": "#/$defs/judgment" },
|
||||
"risk": { "$ref": "#/$defs/judgment" },
|
||||
"source": { "$ref": "#/$defs/judgment" },
|
||||
"setup": { "$ref": "#/$defs/judgment" },
|
||||
"targets": { "$ref": "#/$defs/judgment" },
|
||||
"dependencies": { "$ref": "#/$defs/judgment" },
|
||||
"conflicts": { "$ref": "#/$defs/judgment" },
|
||||
"validation": { "$ref": "#/$defs/judgment" },
|
||||
"tests": { "$ref": "#/$defs/judgment" },
|
||||
"reviews": { "$ref": "#/$defs/judgment" }
|
||||
}
|
||||
},
|
||||
"insertionReason": { "type": "object" }
|
||||
}
|
||||
},
|
||||
"judgment": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status", "value"],
|
||||
"properties": {
|
||||
"status": { "enum": ["known", "unknown", "notApplicable"] },
|
||||
"value": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -72,12 +72,11 @@
|
||||
"versions": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion"],
|
||||
"required": ["protocolVersion", "coreVersion", "catalogSchemaVersion"],
|
||||
"properties": {
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 }
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,15 +6,14 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "reasonCodes", "unknown", "details"],
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "catalogSchemaVersion", "reasonCodes", "unknown", "details"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"ok": { "const": true },
|
||||
"status": { "type": "string", "minLength": 1, "maxLength": 64 },
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 },
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"reasonCodes": { "$ref": "#/$defs/codes" },
|
||||
"unknown": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
||||
"details": { "type": "object" },
|
||||
@@ -24,15 +23,14 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "code", "category", "details"],
|
||||
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "catalogSchemaVersion", "code", "category", "details"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"ok": { "const": false },
|
||||
"status": { "const": "error" },
|
||||
"protocolVersion": { "type": "string", "minLength": 1 },
|
||||
"coreVersion": { "type": "string", "minLength": 1 },
|
||||
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"scorerVersion": { "type": "string", "minLength": 1 },
|
||||
"catalogSchemaVersion": { "type": "string", "minLength": 1 },
|
||||
"code": { "$ref": "#/$defs/code" },
|
||||
"category": { "enum": ["invalidInput", "incompatibleVersion", "integrity", "drift", "policy", "approval", "conflict", "recovery", "filesystem", "execution", "internal"] },
|
||||
"details": { "type": "object" },
|
||||
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:selection-evidence:v1",
|
||||
"title": "AAS agent-owned selection evidence v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "kind", "digest", "payload"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"kind": { "const": "aas.selection-evidence" },
|
||||
"digest": { "$ref": "#/$defs/digest" },
|
||||
"payload": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "kind", "project", "catalog", "manifestDigest", "dimensions", "capabilities", "selectedSkillIds", "processTrace"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"kind": { "const": "aas.selection-evidence.payload" },
|
||||
"project": { "$ref": "#/$defs/project" },
|
||||
"catalog": { "$ref": "#/$defs/catalog" },
|
||||
"manifestDigest": { "$ref": "#/$defs/digest" },
|
||||
"dimensions": {
|
||||
"type": "array",
|
||||
"minItems": 10,
|
||||
"maxItems": 10,
|
||||
"items": { "$ref": "#/$defs/dimension" }
|
||||
},
|
||||
"capabilities": {
|
||||
"type": "array",
|
||||
"maxItems": 256,
|
||||
"items": { "$ref": "#/$defs/capability" }
|
||||
},
|
||||
"selectedSkillIds": { "$ref": "#/$defs/skillIds" },
|
||||
"processTrace": { "$ref": "#/$defs/processTrace" },
|
||||
"client": { "$ref": "#/$defs/client" }
|
||||
}
|
||||
},
|
||||
"runtimeObservations": { "$ref": "#/$defs/runtimeObservations" }
|
||||
},
|
||||
"$defs": {
|
||||
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
|
||||
"id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-z0-9][a-z0-9._-]*(?:/[a-z0-9][a-z0-9._-]*)*$" },
|
||||
"skillIds": {
|
||||
"type": "array",
|
||||
"maxItems": 128,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/$defs/id" }
|
||||
},
|
||||
"project": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "fingerprint", "files"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"fingerprint": { "$ref": "#/$defs/digest" },
|
||||
"commit": { "type": "string", "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$" },
|
||||
"files": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 4096,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["path", "size", "sha256"],
|
||||
"properties": {
|
||||
"path": { "type": "string", "minLength": 1, "maxLength": 512 },
|
||||
"size": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
|
||||
"sha256": { "$ref": "#/$defs/digest" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["package", "version", "integrity"],
|
||||
"properties": {
|
||||
"package": { "type": "string", "minLength": 1, "maxLength": 214, "pattern": "^(?:@[a-z0-9][a-z0-9._-]*/)?[a-z0-9][a-z0-9._-]*$" },
|
||||
"version": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[0-9A-Za-z][0-9A-Za-z.+-]*$" },
|
||||
"integrity": { "$ref": "#/$defs/digest" }
|
||||
}
|
||||
},
|
||||
"dimension": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "status", "capabilityIds"],
|
||||
"properties": {
|
||||
"id": { "type": "string", "enum": ["architecture-runtime", "languages-frameworks", "domain-behavior", "data-storage", "external-integrations", "testing-quality", "security-privacy", "user-experience-accessibility", "deployment-operations", "maintenance-workflow"] },
|
||||
"status": { "type": "string", "enum": ["applicable", "not-applicable"] },
|
||||
"capabilityIds": {
|
||||
"type": "array",
|
||||
"maxItems": 256,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/$defs/capabilityId" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"evidenceRef": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["path", "sha256"],
|
||||
"properties": {
|
||||
"path": { "type": "string", "minLength": 1, "maxLength": 512 },
|
||||
"sha256": { "$ref": "#/$defs/digest" }
|
||||
}
|
||||
},
|
||||
"capability": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "dimensionId", "status", "evidence", "selectedSkillIds"],
|
||||
"properties": {
|
||||
"id": { "$ref": "#/$defs/capabilityId" },
|
||||
"dimensionId": { "type": "string", "enum": ["architecture-runtime", "languages-frameworks", "domain-behavior", "data-storage", "external-integrations", "testing-quality", "security-privacy", "user-experience-accessibility", "deployment-operations", "maintenance-workflow"] },
|
||||
"status": { "type": "string", "enum": ["covered", "catalog-gap", "not-applicable"] },
|
||||
"evidence": { "type": "array", "maxItems": 4096, "items": { "$ref": "#/$defs/evidenceRef" } },
|
||||
"selectedSkillIds": { "$ref": "#/$defs/skillIds" }
|
||||
}
|
||||
},
|
||||
"traceInput": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"inputValid": { "type": "boolean" },
|
||||
"query": { "type": "string", "maxLength": 256 },
|
||||
"cursor": { "type": "integer", "minimum": 0 },
|
||||
"limit": { "type": "integer", "minimum": 1, "maximum": 50 },
|
||||
"id": { "$ref": "#/$defs/id" },
|
||||
"includeContent": { "type": "boolean" },
|
||||
"skillIds": { "$ref": "#/$defs/skillIds" },
|
||||
"manifestDigest": { "$ref": "#/$defs/digest" }
|
||||
}
|
||||
},
|
||||
"traceOutput": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["ok"],
|
||||
"properties": {
|
||||
"ok": { "type": "boolean" },
|
||||
"status": { "type": "string", "minLength": 1, "maxLength": 64 },
|
||||
"code": { "type": "string", "pattern": "^AAS_[A-Z0-9_]{1,96}$" },
|
||||
"category": { "type": "string", "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$" },
|
||||
"returnedSkillIds": { "$ref": "#/$defs/skillIds" },
|
||||
"nextCursor": { "type": ["integer", "null"], "minimum": 0 },
|
||||
"totalMatches": { "type": "integer", "minimum": 0 },
|
||||
"openedSkillId": { "$ref": "#/$defs/id" },
|
||||
"manifestDigest": { "$ref": "#/$defs/digest" },
|
||||
"selectedSkillIds": { "$ref": "#/$defs/skillIds" }
|
||||
}
|
||||
},
|
||||
"traceCall": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sequence", "tool", "attempt", "input", "output", "canonicalInputBytes", "canonicalOutputBytes"],
|
||||
"properties": {
|
||||
"sequence": { "type": "integer", "minimum": 0 },
|
||||
"tool": { "type": "string", "enum": ["search_skills", "get_skill", "compose_stack", "inspect_stack"] },
|
||||
"attempt": { "type": "integer", "minimum": 1 },
|
||||
"retryOf": { "type": "integer", "minimum": 0 },
|
||||
"input": { "$ref": "#/$defs/traceInput" },
|
||||
"output": { "$ref": "#/$defs/traceOutput" },
|
||||
"canonicalInputBytes": { "type": "integer", "minimum": 0 },
|
||||
"canonicalOutputBytes": { "type": "integer", "minimum": 0 }
|
||||
}
|
||||
},
|
||||
"processTrace": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "calls"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"calls": { "type": "array", "maxItems": 512, "items": { "$ref": "#/$defs/traceCall" } }
|
||||
}
|
||||
},
|
||||
"client": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "version"],
|
||||
"properties": {
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 128 },
|
||||
"version": { "type": "string", "minLength": 1, "maxLength": 128 },
|
||||
"model": { "type": "string", "minLength": 1, "maxLength": 128 }
|
||||
}
|
||||
},
|
||||
"runtimeObservations": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "digestScope", "calls"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"digestScope": { "const": "excluded-from-evidence-digest" },
|
||||
"calls": {
|
||||
"type": "array",
|
||||
"maxItems": 512,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sequence", "durationMicros"],
|
||||
"properties": {
|
||||
"sequence": { "type": "integer", "minimum": 0 },
|
||||
"durationMicros": { "type": "integer", "minimum": 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"capabilityId": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-z0-9][a-z0-9-]{0,127}$" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:selection-input:v1",
|
||||
"title": "AAS agent-owned selection input v1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["profile", "skillIds"],
|
||||
"properties": {
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$" },
|
||||
"targets": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 8,
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["host", "scope"],
|
||||
"properties": {
|
||||
"host": { "enum": ["codex", "claude"] },
|
||||
"scope": { "enum": ["project", "user"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"profile": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["goals"],
|
||||
"properties": {
|
||||
"goals": { "$ref": "#/$defs/textArray" },
|
||||
"projectType": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
"languages": { "$ref": "#/$defs/optionalTextArray" },
|
||||
"frameworks": { "$ref": "#/$defs/optionalTextArray" },
|
||||
"constraints": { "$ref": "#/$defs/optionalTextArray" }
|
||||
}
|
||||
},
|
||||
"skillIds": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 128,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/$defs/id" }
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"id": { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[a-z0-9][a-z0-9._-]*(/[a-z0-9][a-z0-9._-]*)*$" },
|
||||
"textArray": { "type": "array", "minItems": 1, "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 256 } },
|
||||
"optionalTextArray": { "type": "array", "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 256 } }
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "urn:agentic-awesome-skills:schema:stack-manifest:v1",
|
||||
"title": "AAS stack manifest v1",
|
||||
"$id": "urn:agentic-awesome-skills:schema:stack-manifest:v2",
|
||||
"title": "AAS agent-owned stack manifest v2",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "name", "catalog", "targets", "intent", "policy", "skills"],
|
||||
"required": ["schemaVersion", "name", "catalog", "targets", "profile", "skills"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"schemaVersion": { "const": 2 },
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$" },
|
||||
"catalog": { "$ref": "#/$defs/catalogIdentity" },
|
||||
"targets": {
|
||||
@@ -16,21 +16,24 @@
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/$defs/target" }
|
||||
},
|
||||
"intent": {
|
||||
"profile": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["goals"],
|
||||
"required": ["goals", "languages", "frameworks", "constraints"],
|
||||
"properties": {
|
||||
"goals": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 32,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/$defs/id" }
|
||||
}
|
||||
"items": { "type": "string", "minLength": 1, "maxLength": 128 }
|
||||
},
|
||||
"projectType": { "type": "string", "minLength": 1, "maxLength": 256 },
|
||||
"languages": { "$ref": "#/$defs/profileValues" },
|
||||
"frameworks": { "$ref": "#/$defs/profileValues" },
|
||||
"constraints": { "$ref": "#/$defs/profileValues" }
|
||||
}
|
||||
},
|
||||
"policy": { "$ref": "#/$defs/policy" },
|
||||
"skills": {
|
||||
"type": "array",
|
||||
"maxItems": 128,
|
||||
@@ -64,21 +67,6 @@
|
||||
"scope": { "enum": ["project", "user"] }
|
||||
}
|
||||
},
|
||||
"policy": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["allowedRisk", "requireKnownSource", "allowManualSetup"],
|
||||
"properties": {
|
||||
"allowedRisk": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 5,
|
||||
"uniqueItems": true,
|
||||
"items": { "enum": ["none", "safe", "unknown", "critical", "offensive"] }
|
||||
},
|
||||
"requireKnownSource": { "type": "boolean" },
|
||||
"allowManualSetup": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
"profileValues": { "type": "array", "maxItems": 32, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 128 } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user