an implementable slice.
versioned schemas, deterministic policy reduction, scoped bundle issuance & receipts. small enough to inspect. explicit about what remains.
run one complete exchange.
import {
decideContextRequest,
issueScopedBundle,
writeReceipt,
} from './context-layer-reference.mjs';
const decision = decideContextRequest(request, policy);
const bundle = issueScopedBundle({
request,
decision,
claims,
issuer: 'did:example:alice',
});
const receipt = writeReceipt({
operation: 'bundle.issue',
request,
decision,
bundle,
});
the starter accepts a request & policy, reduces the requested selectors, issues an expiring bundle, then writes a payload-minimized receipt.
use the reviewed artifacts.
agent-aware application starter.
the AAA starter demonstrates agent-aware application structure. it does not claim Context Layer protocol conformance.
open the AAA starter ↗ open the Context Layer reference module ↓