Proposal: durable cA2A task submissions and safe retries
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Start by reading the current authenticated-response profile and its stated limits on deduplication and restart recovery, then review the upstream A2A safe-retries discussion at a2aproject/A2A#1942. The proposal calls for a threat model, contract document, persistent ledger, and official A2A SDK integration test; first agree the profile scope and holder-proof binding with maintainers. Done means an approved design and tests covering duplicate requests, conflicting content, and crash uncertainty.
索引モデルが issue の本文から書いたものです。
説明
Problem statement
I'm a first-time contributor interested in cA2A's A2A integration. If a caller sends a delegated task but loses the response, it may not know whether the callee executed it. Retrying can invoke the handler again. The current authenticated-response profile explicitly leaves request execution deduplication and restart recovery out of scope.
Proposed solution
I'd like to explore an opt-in durable-task profile that binds a stable intent ID and digest to the holder proof, then atomically stores the authorized intent and A2A Task ID before dispatch. A repeated valid request with the same principal and intent would return the existing Task ID without another handler invocation; the same ID with different content would be refused. A crash during execution would remain explicitly uncertain until reconciled, rather than being retried automatically.
I would start with a contract and threat-model document, then a small persistent ledger and an official A2A SDK integration test. I'm asking for scope and design feedback before coding. I'm also requesting a first-contributor vouch for @adityardesai if this is an appropriate area to work on. I used Codex to help draft this proposal, and will review and understand any change I submit.
Alternatives considered
- Reusing only record_id or the current response session: neither is a durable idempotency contract. The response session is intentionally one-use.
- Retrying every timed-out request: this can duplicate side effects.
- Defining a general A2A idempotency mechanism here: upstream A2A is discussing safe retries in a2aproject/A2A#1942. This proposal should align with that work.
Security/TEE impact
This changes the authorization boundary: the stable intent must be bound to the verified holder and all inputs the protected handler uses. The ledger must reserve atomically across workers and fail closed when unavailable. This proposal makes no new TEE or exactly-once external-effect claim.
Spec alignment
No trace-spec change is proposed in the first phase. A versioned cA2A extension/profile and holder-proof binding would need maintainer review. The official A2A Task and message-send semantics should remain intact.
- 主要言語
- Python
- スター
- 9
- フォーク
- 14
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 36
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agentrust-io/ca2a のほかの issue
-
transport.a2a_adapter / a2a_sdk / hardware_acceptance: unvalidated message/metadata types, empty parent_record_hash, unsafe float-to-int coercion, and duplicate JSON keys対応中かも @drk-ram が 5 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#286 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
challenge / trace_binding: boolean ttl_seconds/now/iat bypasses, unvalidated challenge secret/expiry_str, and empty credential_id in emit_dag対応中かも @drk-ram が 5 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
agentrust-io/ca2a#285 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ca2a_runtime.response: PendingResponse accepts boolean timeout, ResponseProducer.finish does not validate status/body invariants, and AuthenticatedPeerError drops error detail対応中かも @drk-ram が 5 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
agentrust-io/ca2a#284 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ca2a_verify.tdx / ca2a_verify.sev_snp: verify_tdx_quote does not check quote.version == 4 and verify_tdx_quote / verify_sev_snp_report do not validate expected digest lengths対応中かも @drk-ram が 5 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
agentrust-io/ca2a#283 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
tee.tpm / ca2a_verify.tpm: TpmQuote.parse ignores trailing bytes, _chain_from_leaf reads AIA URLs without a byte cap, and verify_tpm_report does not check report.platform対応中かも @drk-ram が 5 日前に担当しました。 オープンneeds-review:MEDIUM
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
agentrust-io/ca2a#282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
agentrust-io/ca2a の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagation対応中かも @muskan-creates352 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mllam/neural-lam#848 ·
メンテナーはふだん 2 日以内に返信
-
infra
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
fab-geocommuns/RNB-coeur#1166 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
deepspeedai/DeepSpeed#8951 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/context-ontology-accelerator#343 ·
メンテナーはふだん 1 日以内に返信