name: a2a-conversation-context-continuity-memory
description: Carry conversation context across A2A task handoffs so remote agents resume with auditable continuity.
metadata:
source: skills/03-memory/a2a-conversation-context-continuity-memory.md
category: 03-memory
version: "v1"
A2a Conversation Context Continuity Memory
Description
Carry conversation context across A2A task handoffs so remote agents resume with auditable continuity. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.
When to Use
- A multi-turn conversation spans A2A task handoffs and the next agent must receive bounded context.
- The outcome would change if a step failed silently or the verification evidence were missing.
- The result must be recorded with reasons and verification evidence for later audit.
Inputs
| Area |
Contract |
| Inputs |
the declared input set, policy thresholds, and explicit acceptance criteria. |
| Outputs |
A structured record with the decision, rejected alternatives, and the 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.
- Extract the turn history required by the next task, bound it to the declared context budget, and record what was carried and what was dropped.
- 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 result record with the decision, the executed checks, and the verification evidence. |
| 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 carry_context(turns, budget):
carried = []
used = 0
for t in reversed(turns):
cost = len(t["text"].split())
if used + cost > budget:
break
carried.insert(0, t)
used += cost
return {"carried": carried, "dropped": len(turns) - len(carried)}
turns = [{"text": "earlier turn with several words"}, {"text": "latest turn"}]
assert carry_context(turns, 3)["dropped"] == 1
Failure Modes
- Context is forwarded without bounding and the remote agent exceeds its window.
- Dropped turns are not recorded and the receiving agent cannot tell what it missed.
- Sensitive earlier turns are forwarded to a remote agent outside the original trust boundary.
- Turn ordering is lost in serialization and the conversation resumes incoherently.
- The handoff assumes the remote agent kept its own memory and duplicates context on resume.
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
- The Agentic AI Foundation announcement records A2A joining AAIF as an open agentic stack project governed at the foundation (aaif.io, dated August 17, 2026) (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: a2a-conversation-context-continuity-memory3description: Carry conversation context across A2A task handoffs so remote agents resume with auditable continuity.4---5---6name: a2a-conversation-context-continuity-memory7description: Carry conversation context across A2A task handoffs so remote agents resume with auditable continuity.8metadata:9 source: skills/03-memory/a2a-conversation-context-continuity-memory.md10 category: 03-memory11 version: "v1"12---1314# A2a Conversation Context Continuity Memory1516## Description17Carry conversation context across A2A task handoffs so remote agents resume with auditable continuity. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.1819## When to Use20- A multi-turn conversation spans A2A task handoffs and the next agent must receive bounded context.21- The outcome would change if a step failed silently or the verification evidence were missing.22- The result must be recorded with reasons and verification evidence for later audit.2324## Inputs25| Area | Contract |26|---|---|27| Inputs | the declared input set, policy thresholds, and explicit acceptance criteria. |28| Outputs | A structured record with the decision, rejected alternatives, and the 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. Extract the turn history required by the next task, bound it to the declared context budget, and record what was carried and what was dropped.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 result record with the decision, the executed checks, and the verification evidence. |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 carry_context(turns, budget):49 carried = []50 used = 051 for t in reversed(turns):52 cost = len(t["text"].split())53 if used + cost > budget:54 break55 carried.insert(0, t)56 used += cost57 return {"carried": carried, "dropped": len(turns) - len(carried)}58turns = [{"text": "earlier turn with several words"}, {"text": "latest turn"}]59assert carry_context(turns, 3)["dropped"] == 160```6162## Failure Modes63- Context is forwarded without bounding and the remote agent exceeds its window.64- Dropped turns are not recorded and the receiving agent cannot tell what it missed.65- Sensitive earlier turns are forwarded to a remote agent outside the original trust boundary.66- Turn ordering is lost in serialization and the conversation resumes incoherently.67- The handoff assumes the remote agent kept its own memory and duplicates context on resume.6869## Security and Authority Boundary70This 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.7172## Evidence73- The Agentic AI Foundation announcement records A2A joining AAIF as an open agentic stack project governed at the foundation (aaif.io, dated August 17, 2026) ([public signal](https://aaif.io/blog/a2a-joins-aaif))74- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.7576## Related Skills77- [Dialogue State Tracking](../03-memory/dialogue-state-tracking.md)78- [Cross Session Persistence](../03-memory/cross-session-persistence.md)7980## Changelog81| Version | Date | Notes |82|---|---|---|83| `v1` | `2026-10` | Initial evidence-backed contract. |