II.
TestableClaim JSON
Structured · liveclaim:run-create-generates-ulid
run:create generates ULID json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "claim:run-create-generates-ulid",
"_kind": "TestableClaim",
"_file": "domain/testable-claims/claims.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "run:create generates ULID",
"description": "run:create generates a unique ULID for each run — the generated run ID\nis a valid ULID that sorts chronologically and is unique across\nconcurrent invocations.\n",
"testStatus": "passing",
"testType": "unit",
"testCommand": "node -e \"const fs=require('fs'),p=require('path');function walk(d){let r=[];try{for(const e of fs.readdirSync(d,{withFileTypes:true})){const f=p.join(d,e.name);if(e.isDirectory()&&e.name!=='node_modules')r=r.concat(walk(f));else if(e.name.endsWith('.ts'))r.push(f)}}catch{}return r}const files=walk('packages/babysitter-sdk/src');const content=files.map(f=>fs.readFileSync(f,'utf8')).join('');process.exit(content.match(/ulid|ULID|monotonicFactory/)?0:1)\"",
"category": "api-contract",
"priority": "high"
},
"outgoingEdges": [
{
"from": "claim:run-create-generates-ulid",
"to": "domain:software-engineering",
"kind": "asserts_about"
}
],
"incomingEdges": [
{
"from": "experiment:sdk-lifecycle-claims",
"to": "claim:run-create-generates-ulid",
"kind": "tests_claim"
}
]
}