Repository navigation
A2A: let callers poll tasks returned by SendMessage - #202
harshsaver wants to merge 3 commits into
Conversation
Implement GetTask on the A2A ingress handler using the existing publication authorization, version checks, and a new principal-scoped history read that pairs each correlated Bus request with its agent reply. Unknown and other-principal tasks report task-not-found; revoked credentials and disabled publications stay denied. Documents the state/history mapping and bounds in the A2A guide and shows polling in the client example.
…task lookup Update spec/0.1 to describe the task read, drop the test-only A2ATask lookup in favour of A2ATaskHistory, remove unused history timestamps, and correct the GetTask client example. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
🤖 Agentbox PR audit: small fixes applied, then ready to mergeWhat this PR changes
Full audit (Claude (fable, xhigh) × Codex (gpt-6-astra, xhigh), 2 turns, commit e57da46)PR audit: #202 — A2A: let callers poll tasks returned by SendMessageHead: d7e168c Sign-off
Decisionfix — the polling path works as intended; update the stale public spec and remove the duplicate lookup, with the small documentation and unused-field fixes below. What changes (plain language)
FindingsBlocking
Non-blockingIn the fix plan (same lines are already being touched):
Not in the fix plan (optional follow-ups):
Checked and found correct:
Fix planLine numbers refer to the reviewed head. These are proposed changes for the fix phase; no tracked source files were changed during this audit.
After applying, run Message to the developern/a Questions for Harshn/a Verification
Audit log
Fixes applied by the audit
Final checks (run once, after both agents agreed)Reviewed fixed commit e57da46 on Linux arm64 with Go 1.27 and Node 24. Automated review by Harsh's agentbox: two AI reviewers audited this PR against the project ruleset and agreed on it. |
|
Verified the audit fix at head |
Implements GetTask on the A2A ingress handler using the existing publication authorization, A2A-Version checks, and a new principal-scoped history read (Store/Runtime A2ATaskHistory) that pairs each correlated Bus request with its agent reply.
Mapping and bounds (documented in docs/architecture/a2a-bridge.md):
Isolation: unknown and other-principal tasks report task-not-found; revoked credentials and disabled publications stay denied via the same in-transaction fencing as acceptance.
Tests (existing harness, bus package):
Streaming, task listing, cancellation, push notifications, and new content types stay out of scope.
Fixes #189