Mission Completion
When the agent believes the mission is done, it POSTs a completion interaction to the PS's interaction_endpoint with a Markdown summary. The PS presents the summary to the user. The user either ACCEPTS — the PS terminates the mission and returns 200 OK — or responds with follow-up questions via clarification, keeping the mission active. See §1285 (Mission Completion) and §1098 (Interaction Endpoint).
Agent signs the request with its agent token via Signature-Key: sig=jwt.
type="completion" and summary is a Markdown string (§1113).
mission binds the completion to the mission by approver + s256 (§1114).
AAuth-Capabilities is NOT sent on PS endpoints (§1731).
PS returns 202 + Location because user acceptance requires human interaction (§1179).
Step 1: POST /interaction {type=completion, summary, mission}
Description (Markdown)
# Analyze Q2 Customer Feedback Read customer feedback records and produce a summary report with sentiment analysis and key themes.
Structured Fields
Approved Tools
Read customer feedback records
Write the summary report to the shared drive
PS Capabilities
application/json
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQ…
sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed2…
sig=:MDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDAxMDA…
{
"type": "completion",
"summary": "# Q2 Feedback Analysis Complete\n\nRead 1,247 feedback records across April–June and produced `q2-feedback-summary.pdf` on the shared drive.\n\n**Headline numbers:** avg rating 4.2 ⭐ · 68% positive · 22% neutral · 10% negative.\n\n**Top three themes:** (1) onboarding flow friction, (2) billing page clarity, (3) requests for dark mode.",
"mission": {
"approver": "https://ps.example",
"s256": "R9kNpXeErMQ1Jvk_vxYUp3YEdggmvUhksWtjXtcmnh0"
}
}Covered Components
Signature Base
Signature-Key Header
sig=jwt;jwt="eyJhbGciOiJFZERTQSIsImtpZCI6ImFnZW50LWtleS0xIiwidHlwIjoiYWEtYWdlbnQrand0In0…"
Signature-Input Header
sig=("@method" "@authority" "@path" "signature-key");created=1700000000;alg="ed25519"
{"alg":"EdDSA","kid":"agent-key-1","typ"?:"aa-agent+jwt"}{"iss"?:"https://agent.example","sub"?:"aauth:local@agent.example","dwk"?:"aauth-agent.json","jti"?:"a6ae301d-1dc7-4b75-8f8b-5612197664a7","cnf"?:{"jwk"?:},"iat"?:1776222894,"exp"?:1776226494,"ps"?:"https://ps.example"}