// Seller sends artifact to evaluate
const response1 = await a2a.send({
message: {
messageId: crypto.randomUUID(),
role: "ROLE_USER",
parts: [{
data: {
skill: "calibrate_content",
input: {
idempotency_key: crypto.randomUUID(),
standards_id: "nike_brand_safety",
artifact: {
property_rid: "01916f3a-a1d3-7000-8000-000000000040",
artifact_id: "r_news_politics_123",
assets: [
{ type: "text", role: "title", content: "Political News Article" }
]
}
}
}
}]
}
});
// Response: verdict=fail with feature breakdown
// Seller tests a more explicitly balanced version in the same context.
const response2 = await a2a.send({
message: {
messageId: crypto.randomUUID(),
contextId: response1.contextId,
role: "ROLE_USER",
parts: [{
data: {
skill: "calibrate_content",
input: {
idempotency_key: crypto.randomUUID(),
standards_id: "nike_brand_safety",
artifact: {
property_rid: "01916f3a-a1d3-7000-8000-000000000040",
artifact_id: "r_news_balanced_124",
assets: [
{ type: "text", role: "title", content: "Balanced Political News Analysis" }
]
}
}
}
}]
}
});
// Verification agent still reports the policy boundary through typed output.
// Seller tries different artifact
const response3 = await a2a.send({
message: {
messageId: crypto.randomUUID(),
contextId: response1.contextId,
role: "ROLE_USER",
parts: [{
data: {
skill: "calibrate_content",
input: {
idempotency_key: crypto.randomUUID(),
standards_id: "nike_brand_safety",
artifact: {
property_rid: "01916f3a-a1d3-7000-8000-000000000040",
artifact_id: "r_running_tips_456",
assets: [
{ type: "text", role: "title", content: "Running Tips" }
]
}
}
}
}]
}
});
// Response: verdict=pass - now seller understands the boundaries