📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-07-18 00:02:59 +00:00
parent 82f7c6e56a
commit 47ce7f78dc
1446 changed files with 141041 additions and 6442 deletions
@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:catalog-manifest:v1",
"title": "AAS verified offline catalog manifest v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "package", "packageVersion", "catalogDigest", "digestVersion", "metadataSchemaVersion", "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 },
"skillCount": { "type": "integer", "minimum": 0 },
"assets": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["path", "size", "sha256"],
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^(data/[a-z0-9._/-]+|tools/lib/aas-v1/[a-z0-9._/-]+)$"
},
"size": { "type": "integer", "minimum": 0 },
"sha256": { "$ref": "#/$defs/digest" }
}
}
}
},
"$defs": { "digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" } }
}
@@ -0,0 +1,73 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:catalog-metadata:v1",
"title": "AAS catalog skill metadata v1",
"type": "object",
"additionalProperties": false,
"required": ["id", "name", "description", "category", "tags", "triggers", "searchTokens", "recommendationTokens", "metadata", "untrustedContentPath", "untrustedContentRef"],
"properties": {
"id": { "$ref": "#/$defs/id" },
"name": { "type": "string", "minLength": 1, "maxLength": 256 },
"description": { "type": "string", "maxLength": 8192 },
"category": { "type": "string", "minLength": 1, "maxLength": 128 },
"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",
"additionalProperties": false,
"required": ["assetPath", "offset", "length", "sha256"],
"properties": {
"assetPath": { "type": "string", "minLength": 1, "maxLength": 512 },
"offset": { "type": "integer", "minimum": 0 },
"length": { "type": "integer", "minimum": 1 },
"sha256": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" }
}
}
},
"$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" } }
}
}
}
}
@@ -0,0 +1,60 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:doctor-result:v1",
"title": "AAS stack doctor result v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "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 },
"target": {
"type": "object",
"additionalProperties": false,
"required": ["host", "scope", "identityDigest"],
"properties": {
"host": { "enum": ["codex", "claude"] },
"scope": { "enum": ["project", "user"] },
"identityDigest": { "$ref": "#/$defs/digest" }
}
},
"findings": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["code", "category", "severity", "details"],
"properties": {
"code": { "$ref": "#/$defs/code" },
"category": { "type": "string", "minLength": 1 },
"severity": { "enum": ["info", "warning", "error"] },
"details": { "type": "object" }
}
}
},
"recoveries": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["recoveryId", "allowedActions", "journalDigest", "planDigest"],
"properties": {
"recoveryId": { "type": "string", "pattern": "^recovery-[a-f0-9]{32,64}$" },
"allowedActions": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": ["rollback", "cleanup"] } },
"journalDigest": { "$ref": "#/$defs/digest" },
"planDigest": { "$ref": "#/$defs/digest" },
"bootstrapOnly": { "type": "boolean" }
}
}
}
},
"$defs": {
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
"code": { "type": "string", "pattern": "^AAS_[A-Z0-9_]+$" }
}
}
@@ -0,0 +1,24 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:transaction-journal-record:v1",
"title": "AAS crash-safe transaction journal record v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "recoveryId", "sequence", "event", "planDigest", "targetIdentityDigest", "details", "previousRecordDigest", "recordDigest"],
"properties": {
"schemaVersion": { "const": 1 },
"recoveryId": { "type": "string", "pattern": "^recovery-[a-f0-9]{32,64}$" },
"sequence": { "type": "integer", "minimum": 0 },
"event": { "enum": ["started", "layoutDirectoryCreated", "mutationIntent", "mutationDone", "mutationObserved", "staged", "backupMoved", "destinationPromoted", "destinationRemoved", "managedStateCommitted", "committed", "recoveryStarted", "rollbackStarted", "rollbackCompleted", "cleanupCompleted", "failed"] },
"planDigest": { "$ref": "#/$defs/digest" },
"targetIdentityDigest": { "$ref": "#/$defs/digest" },
"details": {
"type": "object",
"propertyNames": { "pattern": "^[A-Za-z][A-Za-z0-9._-]*$" },
"additionalProperties": { "type": ["string", "number", "boolean", "null"] }
},
"previousRecordDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }] },
"recordDigest": { "$ref": "#/$defs/digest" }
},
"$defs": { "digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" } }
}
@@ -0,0 +1,53 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:managed-state:v1",
"title": "AAS internal managed state v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "target", "catalog", "entries", "completedPlanDigests", "stateDigest"],
"properties": {
"schemaVersion": { "const": 1 },
"target": {
"type": "object",
"additionalProperties": false,
"required": ["host", "scope", "adapterVersion", "identityDigest"],
"properties": {
"host": { "enum": ["codex", "claude"] },
"scope": { "enum": ["project", "user"] },
"adapterVersion": { "type": "string", "minLength": 1 },
"identityDigest": { "$ref": "#/$defs/digest" }
}
},
"catalog": {
"type": "object",
"additionalProperties": false,
"required": ["package", "version", "integrity"],
"properties": {
"package": { "type": "string", "minLength": 1 },
"version": { "type": "string", "minLength": 1 },
"integrity": { "$ref": "#/$defs/digest" }
}
},
"entries": {
"type": "array",
"maxItems": 128,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["skillId", "treeDigest", "catalogIntegrity", "installedByPlanDigest"],
"properties": {
"skillId": { "$ref": "#/$defs/id" },
"treeDigest": { "$ref": "#/$defs/digest" },
"catalogIntegrity": { "$ref": "#/$defs/digest" },
"installedByPlanDigest": { "$ref": "#/$defs/digest" }
}
}
},
"completedPlanDigests": { "type": "array", "maxItems": 256, "uniqueItems": true, "items": { "$ref": "#/$defs/digest" } },
"stateDigest": { "$ref": "#/$defs/digest" }
},
"$defs": {
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
"id": { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[a-z0-9][a-z0-9._-]*(/[a-z0-9][a-z0-9._-]*)*$" }
}
}
@@ -0,0 +1,143 @@
{
"$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",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "kind", "digest", "payload"],
"properties": {
"schemaVersion": { "const": 1 },
"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"],
"properties": {
"schemaVersion": { "const": 1 },
"kind": { "const": "aas.stack-plan.payload" },
"versions": { "$ref": "#/$defs/versions" },
"manifestDigest": { "$ref": "#/$defs/digest" },
"catalog": { "$ref": "#/$defs/catalog" },
"runtime": { "$ref": "#/$defs/runtime" },
"target": { "$ref": "#/$defs/target" },
"installedState": { "$ref": "#/$defs/installedState" },
"desiredSkills": { "$ref": "#/$defs/ids" },
"policy": { "$ref": "#/$defs/policy" },
"operations": { "type": "array", "maxItems": 256, "items": { "$ref": "#/$defs/operation" } },
"overrides": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/override" } },
"stateCommit": {
"type": "object",
"additionalProperties": false,
"required": ["previousDigest", "nextDigest", "position"],
"properties": {
"previousDigest": { "$ref": "#/$defs/digest" },
"nextDigest": { "$ref": "#/$defs/digest" },
"position": { "const": "final" }
}
}
}
}
},
"$defs": {
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
"id": { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[a-z0-9][a-z0-9._-]*(/[a-z0-9][a-z0-9._-]*)*$" },
"ids": { "type": "array", "maxItems": 128, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
"versions": {
"type": "object",
"additionalProperties": false,
"required": ["protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion"],
"properties": {
"protocolVersion": { "type": "string", "minLength": 1 },
"coreVersion": { "type": "string", "minLength": 1 },
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
"scorerVersion": { "type": "string", "minLength": 1 }
}
},
"catalog": {
"type": "object",
"additionalProperties": false,
"required": ["package", "version", "integrity"],
"properties": {
"package": { "type": "string", "minLength": 1 },
"version": { "type": "string", "minLength": 1 },
"integrity": { "$ref": "#/$defs/digest" }
}
},
"runtime": {
"type": "object",
"additionalProperties": false,
"required": ["package", "version", "integrity", "closureDigest"],
"properties": {
"package": { "type": "string", "minLength": 1 },
"version": { "type": "string", "minLength": 1 },
"integrity": { "type": "string", "minLength": 1, "maxLength": 512 },
"closureDigest": { "$ref": "#/$defs/digest" }
}
},
"target": {
"type": "object",
"additionalProperties": false,
"required": ["host", "scope", "adapterVersion", "identityDigest"],
"properties": {
"host": { "enum": ["codex", "claude"] },
"scope": { "enum": ["project", "user"] },
"adapterVersion": { "type": "string", "minLength": 1, "maxLength": 64 },
"identityDigest": { "$ref": "#/$defs/digest" }
}
},
"installedEntry": {
"type": "object",
"additionalProperties": false,
"required": ["skillId", "treeDigest", "catalogIntegrity"],
"properties": {
"skillId": { "$ref": "#/$defs/id" },
"treeDigest": { "$ref": "#/$defs/digest" },
"catalogIntegrity": { "$ref": "#/$defs/digest" }
}
},
"installedState": {
"type": "object",
"additionalProperties": false,
"required": ["digest", "entries"],
"properties": {
"digest": { "$ref": "#/$defs/digest" },
"entries": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/installedEntry" } }
}
},
"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" }
}
},
"operation": {
"type": "object",
"additionalProperties": false,
"required": ["kind", "skillId", "sourceTreeDigest", "expectedTreeDigest", "resultTreeDigest", "backupRequired"],
"properties": {
"kind": { "enum": ["install", "replaceManaged", "removeManaged"] },
"skillId": { "$ref": "#/$defs/id" },
"sourceTreeDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }] },
"expectedTreeDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }] },
"resultTreeDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }] },
"backupRequired": { "type": "boolean" }
}
},
"override": {
"type": "object",
"additionalProperties": false,
"required": ["kind", "skillId", "reasonCodes", "unknownFields"],
"properties": {
"kind": { "enum": ["discoveryCandidate", "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 } }
}
}
}
}
@@ -0,0 +1,57 @@
{
"$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" } }
}
}
@@ -0,0 +1,149 @@
{
"$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": {}
}
}
}
}
@@ -0,0 +1,84 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:recovery-plan:v1",
"title": "AAS approved recovery plan v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "kind", "digest", "payload"],
"properties": {
"schemaVersion": { "const": 1 },
"kind": { "const": "aas.recovery-plan" },
"digest": { "$ref": "#/$defs/digest" },
"payload": {
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "kind", "versions", "recoveryId", "action", "bootstrapOnly", "planDigest", "journalDigest", "checkpoint", "targetIdentityDigest", "preconditions", "operations"],
"properties": {
"schemaVersion": { "const": 1 },
"kind": { "const": "aas.recovery-plan.payload" },
"versions": { "$ref": "#/$defs/versions" },
"recoveryId": { "type": "string", "pattern": "^recovery-[a-f0-9]{32,64}$" },
"action": { "enum": ["rollback", "cleanup"] },
"bootstrapOnly": { "type": "boolean" },
"planDigest": { "$ref": "#/$defs/digest" },
"journalDigest": { "$ref": "#/$defs/digest" },
"checkpoint": {
"oneOf": [
{ "type": "null" },
{
"type": "object",
"additionalProperties": false,
"required": ["recordCount", "recordsDigest", "validBytes", "validBytesDigest", "tornTailDigest"],
"properties": {
"recordCount": { "type": "integer", "minimum": 1 },
"recordsDigest": { "$ref": "#/$defs/digest" },
"validBytes": { "type": "integer", "minimum": 1 },
"validBytesDigest": { "$ref": "#/$defs/digest" },
"tornTailDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }] }
}
}
]
},
"targetIdentityDigest": { "$ref": "#/$defs/digest" },
"preconditions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["logicalId", "expectedDigest"],
"properties": {
"logicalId": { "type": "string", "minLength": 1, "maxLength": 256 },
"expectedDigest": { "$ref": "#/$defs/digest" }
}
}
},
"operations": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["kind", "logicalId"],
"properties": {
"kind": { "enum": ["restoreBackup", "removeStaged", "removeBackup", "removeBootstrapDirectory", "closeJournal", "restoreManagedState"] },
"logicalId": { "type": "string", "minLength": 1, "maxLength": 256 }
}
}
}
}
}
},
"$defs": {
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
"versions": {
"type": "object",
"additionalProperties": false,
"required": ["protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion"],
"properties": {
"protocolVersion": { "type": "string", "minLength": 1 },
"coreVersion": { "type": "string", "minLength": 1 },
"metadataSchemaVersion": { "type": "string", "minLength": 1 },
"scorerVersion": { "type": "string", "minLength": 1 }
}
}
}
}
@@ -0,0 +1,61 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:result-envelope:v1",
"title": "AAS structured result envelope v1",
"oneOf": [
{
"type": "object",
"additionalProperties": true,
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "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 },
"reasonCodes": { "$ref": "#/$defs/codes" },
"unknown": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
"details": { "type": "object" },
"message": { "type": "string" }
}
},
{
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "ok", "status", "protocolVersion", "coreVersion", "metadataSchemaVersion", "scorerVersion", "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 },
"code": { "$ref": "#/$defs/code" },
"category": { "enum": ["invalidInput", "incompatibleVersion", "integrity", "drift", "policy", "approval", "conflict", "recovery", "filesystem", "execution", "internal"] },
"details": { "type": "object" },
"remediation": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["action", "args"],
"properties": {
"action": { "type": "string", "pattern": "^[a-z][a-z0-9.-]+$" },
"args": { "type": "object" },
"text": { "type": "string" }
}
}
},
"correlationId": { "type": "string", "maxLength": 128 },
"message": { "type": "string" }
}
}
],
"$defs": {
"code": { "type": "string", "pattern": "^AAS_[A-Z0-9_]+$" },
"codes": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/code" } }
}
}
@@ -0,0 +1,84 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:agentic-awesome-skills:schema:stack-manifest:v1",
"title": "AAS stack manifest v1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "name", "catalog", "targets", "intent", "policy", "skills"],
"properties": {
"schemaVersion": { "const": 1 },
"name": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$" },
"catalog": { "$ref": "#/$defs/catalogIdentity" },
"targets": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"uniqueItems": true,
"items": { "$ref": "#/$defs/target" }
},
"intent": {
"type": "object",
"additionalProperties": false,
"required": ["goals"],
"properties": {
"goals": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"uniqueItems": true,
"items": { "$ref": "#/$defs/id" }
}
}
},
"policy": { "$ref": "#/$defs/policy" },
"skills": {
"type": "array",
"maxItems": 128,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["id"],
"properties": { "id": { "$ref": "#/$defs/id" } }
}
}
},
"$defs": {
"digest": { "type": "string", "pattern": "^sha256-[a-f0-9]{64}$" },
"id": { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[a-z0-9][a-z0-9._-]*(/[a-z0-9][a-z0-9._-]*)*$" },
"catalogIdentity": {
"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" }
}
},
"target": {
"type": "object",
"additionalProperties": false,
"required": ["host", "scope"],
"properties": {
"host": { "enum": ["codex", "claude"] },
"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" }
}
}
}
}