II.
TestableClaim JSON
Structured · liveclaim-test:kradle-crd-kind-count-75
Kradle CRD inventory count is 75 json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "claim-test:kradle-crd-kind-count-75",
"_kind": "TestableClaim",
"_file": "domain/products/kradle-inventory-gap-map.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "Kradle CRD inventory count is 75",
"description": "Verifies the packages/kradle/charts/crds source files define exactly 75\nCustomResourceDefinition documents. This claim prevents stale Atlas prose\nfrom drifting behind the package resource model.\n",
"testStatus": "untested",
"testType": "unit",
"testCommand": "node -e \"const fs=require('fs'),yaml=require('yaml'),p='packages/kradle/charts/crds';let n=0;for(const f of fs.readdirSync(p).filter(x=>x.endsWith('.yaml'))){for(const d of yaml.parseAllDocuments(fs.readFileSync(p+'/'+f,'utf8'))){if(d.toJSON()?.kind==='CustomResourceDefinition')n++;}}process.exit(n===75?0:1)\"",
"category": "graph-integrity",
"priority": "high"
},
"outgoingEdges": [
{
"from": "claim-test:kradle-crd-kind-count-75",
"to": "platform:kradle",
"kind": "asserts_about"
},
{
"from": "claim-test:kradle-crd-kind-count-75",
"to": "topic:kradle-crd-inventory",
"kind": "asserts_about"
}
],
"incomingEdges": []
}