II.
TestableClaim JSON
Structured · liveclaim:session-binding-via-pid
Session binding via PID json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "claim:session-binding-via-pid",
"_kind": "TestableClaim",
"_file": "domain/testable-claims/claims.yaml",
"_cluster": "domain",
"attributes": {
"displayName": "Session binding via PID",
"description": "Session binding resolves PID-scoped marker before env var fallback —\nthe runtime checks for a PID-specific marker file first, then falls\nback to BABYSITTER_SESSION_ID environment variable.\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(/ancestorPid/)?0:1)\"",
"category": "lifecycle",
"priority": "medium"
},
"outgoingEdges": [
{
"from": "claim:session-binding-via-pid",
"to": "domain:software-engineering",
"kind": "asserts_about"
}
],
"incomingEdges": [
{
"from": "experiment:sdk-lifecycle-claims",
"to": "claim:session-binding-via-pid",
"kind": "tests_claim"
}
]
}