name: agent-identity-assertion-parsing
description: Parse agent identity assertions into typed claims, verify the signature scheme and key material against a pinned trust list, and reject expired or unknown-key assertions.
metadata:
source: skills/12-data/agent-identity-assertion-parsing.md
category: 12-data
version: "v1"
Agent Identity Assertion Parsing
Description
Parse agent identity assertions into typed claims, verify the signature scheme and key material against a pinned trust list, and reject expired or unknown-key assertions. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.
When to Use
- An agent presents an identity assertion that a relying service must parse and verify.
- The outcome would change if inputs were stale, ambiguous, or incomplete.
- The result must be recorded with reasons and verification evidence for later audit.
Inputs
| Area |
Contract |
| Inputs |
agent identity assertion parsing task context, candidate data, and explicit acceptance criteria. |
| Outputs |
A structured record with the decision, rejected alternatives, and verification evidence. |
| Safety |
Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the goal, the constraints, and the boundary of what this procedure may change.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Execute the agent identity assertion parsing steps in a bounded, checkpointed way.
- Compare the actual outcome against the acceptance criteria and record deviations.
- On failure, apply the declared fallback path, and never widen permissions to recover.
- Emit a structured result with evidence and provenance for downstream consumers.
Outputs
| Area |
Contract |
| Primary |
A parsed identity record with issuer, scopes, and an accept or reject verdict with reason. |
| Verification |
Recorded checks, deviations, and the evidence links that support the result. |
| Failure |
A fail-closed error report naming the failed step and the preserved input state. |
Runnable Example
def parse_assertion(assertion, trusted_keys, now):
if assertion["issuer"] not in trusted_keys or now >= assertion["exp"]:
return None
return {"issuer": assertion["issuer"], "scopes": assertion["scopes"]}
trusted = {"agent-a": "k1"}
a = {"issuer": "agent-a", "sig": "k1|memory:read", "exp": 200, "scopes": ["memory:read"]}
assert parse_assertion(a, trusted, 100) is not None
assert parse_assertion(a, trusted, 300) is None
Failure Modes
- Acting outside the declared task boundary.
- Accepting an assertion signed by an unknown key.
- Letting an expired assertion through by comparing the wrong clock reading.
- Trusting scopes listed in the assertion without checking they were granted.
- Reporting success without checking the resulting state.
Security and Authority Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.
Evidence
- Agent identity assertion verification is documented in 2026 agentic identity guidance. (public signal)
- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.
Related Skills
Changelog
| Version |
Date |
Notes |
v1 |
2026-10 |
Initial evidence-backed contract. |
1---2name: agent-identity-assertion-parsing3description: Parse agent identity assertions into typed claims, verify the signature scheme and key material against a pinned trust list, and reject expired or unknown-key a4---5---6name: agent-identity-assertion-parsing7description: Parse agent identity assertions into typed claims, verify the signature scheme and key material against a pinned trust list, and reject expired or unknown-key assertions.8metadata:9 source: skills/12-data/agent-identity-assertion-parsing.md10 category: 12-data11 version: "v1"12---1314# Agent Identity Assertion Parsing1516## Description17Parse agent identity assertions into typed claims, verify the signature scheme and key material against a pinned trust list, and reject expired or unknown-key assertions. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.1819## When to Use20- An agent presents an identity assertion that a relying service must parse and verify.21- The outcome would change if inputs were stale, ambiguous, or incomplete.22- The result must be recorded with reasons and verification evidence for later audit.2324## Inputs25| Area | Contract |26|---|---|27| Inputs | agent identity assertion parsing task context, candidate data, and explicit acceptance criteria. |28| Outputs | A structured record with the decision, rejected alternatives, and verification evidence. |29| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |3031## Procedure321. Define the goal, the constraints, and the boundary of what this procedure may change.332. Inventory the available inputs and flag gaps or ambiguities that block progress.343. Execute the agent identity assertion parsing steps in a bounded, checkpointed way.354. Compare the actual outcome against the acceptance criteria and record deviations.365. On failure, apply the declared fallback path, and never widen permissions to recover.376. Emit a structured result with evidence and provenance for downstream consumers.3839## Outputs40| Area | Contract |41|---|---|42| Primary | A parsed identity record with issuer, scopes, and an accept or reject verdict with reason. |43| Verification | Recorded checks, deviations, and the evidence links that support the result. |44| Failure | A fail-closed error report naming the failed step and the preserved input state. |4546## Runnable Example47```python48def parse_assertion(assertion, trusted_keys, now):49 if assertion["issuer"] not in trusted_keys or now >= assertion["exp"]:50 return None51 return {"issuer": assertion["issuer"], "scopes": assertion["scopes"]}52trusted = {"agent-a": "k1"}53a = {"issuer": "agent-a", "sig": "k1|memory:read", "exp": 200, "scopes": ["memory:read"]}54assert parse_assertion(a, trusted, 100) is not None55assert parse_assertion(a, trusted, 300) is None56```5758## Failure Modes59- Acting outside the declared task boundary.60- Accepting an assertion signed by an unknown key.61- Letting an expired assertion through by comparing the wrong clock reading.62- Trusting scopes listed in the assertion without checking they were granted.63- Reporting success without checking the resulting state.6465## Security and Authority Boundary66This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.6768## Evidence69- Agent identity assertion verification is documented in 2026 agentic identity guidance. ([public signal](https://twilio.com/en-us/blog/insights/agentic-identity))70- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.7172## Related Skills73- [Delegation Chain Verification](../14-security/delegation-chain-verification.md)74- [Agent Traffic Metadata Enrichment](../08-multimodal/agent-traffic-metadata-enrichment.md)7576## Changelog77| Version | Date | Notes |78|---|---|---|79| `v1` | `2026-10` | Initial evidence-backed contract. |