Include structured retry exhaustion accounting and correlation IDs in terminal failures
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start at the ACP provider failure boundary and the schema-v2 fatal record, then trace how subagent(...) flows through compose(background=true). Add deterministic coverage for attempts, delays, elapsed time, correlation, and sanitization; done means the parent receives typed terminal metadata without sensitive provider data.
索引モデルが issue の本文から書いたものです。
説明
Summary
Terminal provider failures do not expose a complete structured retry summary. Attempt count can appear in rendered text and fatal records already have session/event identity, but cumulative backoff and correlation data are not propagated together as typed exhaustion metadata to the failing tool boundary.
Split from #35 after the transient overload retry policy was fixed by #32.
Desired behavior
On retry exhaustion, provide a structured, sanitized summary containing:
- total attempts;
- cumulative backoff or sleep time;
- total elapsed retry time;
- final retry/exhaustion category; and
- session ID and event ID, or an equivalent stable correlation reference to the fatal record.
The parent should not need to parse a rendered error string or search ~/.kit/errors to correlate the tool failure with its fatal record. This issue is about terminal accounting; live progress belongs in a separate issue.
Suggested coverage
- Use deterministic time to verify attempts, cumulative delays, and elapsed time.
- Verify the parent-visible structured failure correlates with the schema-v2 fatal record.
- Cover
subagent(...)throughcompose(background=true). - Assert no provider body, credentials, private prompts, or customer identifiers are exposed.
Environment
- Originally observed with Kit
0.1.96onDarwin 25.6.0 arm64. - Confirmed as a remaining gap on Kit
0.1.105onDarwin 25.5.0 arm64. - Surface: ACP; provider route:
openai-subscription.
Related work
- #35
- #32
- 主要言語
- Rust
- スター
- 43
- フォーク
- 5
- 平均マージ
- 5時間 43分
- マージ済み PR(30日)
- 81
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
speakeasy-api/kit のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
speakeasy-api/kit#175 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
speakeasy-api/kit#165 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
speakeasy-api/kit#151 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
speakeasy-api/kit#149 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
speakeasy-api/kit#148 ·
メンテナーはふだん 1 日以内に返信
speakeasy-api/kit の issue をすべて見る
似ている issue
-
install.ps1: Windows PowerShell 5.1 aborts after a successful cosign verification (NativeCommandError on 'Verified OK')対応中かも @sly321-pixel が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ai_p2
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ClickHouse/ClickHouse#125522 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter served対応中かも @Mrun25 が今日担当しました。 オープンbug llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
BerriAI/litellm#46095 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
cline/mcp-marketplace#2942 ·