sdk: a shared regression for 402-declared decimals across every entry point
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start from test/declared-decimals.test.ts (commit 26875a5) to see how a 402 that declares extra.decimals: 18 is checked against the pins through dryRun, createAgentPay and agentSafeGuard. Build the shared mock route with startMockServer from @deepfirstsearch/agent-pay/testing, then add one test each in integrations/ai-sdk, integrations/langchain, integrations/agentkit and integrations/mcp. Done means each CI job is green and every test asserts the same over_cap result with zero signatures.
索引モデルが issue の本文から書いたものです。
説明
test/declared-decimals.test.ts (added in 26875a5) checks that a 402 declaring extra.decimals: 18 can't make a large USDC amount slip past the pins, through dryRun, createAgentPay and agentSafeGuard. The same guarantee should also hold through the framework integrations, which are where most agents actually call us.
What: a small shared fixture (a mock route that declares its own decimals) reused by one test in each of integrations/ai-sdk, integrations/langchain, integrations/agentkit and integrations/mcp: the paid tool refuses the oversized amount and signs nothing.
Done when: each integration has the test, green in its CI job, and the assertion is the same across all four (over_cap / amount above the pin, zero signatures). Reuse startMockServer from @deepfirstsearch/agent-pay/testing; no new dependency.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepFirstHQ/deepfirstsearch のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
help wanted integration
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
help wanted integration
難易度 3/5 半日 初心者へのやさしさ 25/100
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
good first issue integration
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
DeepFirstHQ/deepfirstsearch の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
aws/agentcore-cli#2606 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
linagora/twake-mail-admin#301 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anomalyco/opencode#56038 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信