feat: support multi-tool ReAct agents in test-case translation
メンテナーはふだん 4 日以内に返信
@dhl123 がすでに取り組んでいます。
2026年9月10日 から。
評価
この issue はまだ評価されていません。
説明
Summary
For ReAct agents (e.g., employee hub), the current /extract_tool_call endpoint only returns the first tool call from a single LLM inference. This causes false mismatches — a prompt targeting update_passport gets classified as get_passport because the agent's first step is a lookup before the mutation.
This PR adds a react agent mode that:
- Calls /chat (full agent execution) instead of /extract_tool_call
- Returns all tool calls made during the ReAct loop
- Uses the last tool call as the target tool name
- Snapshots and restores user-declared protected resources (DB files) between each test case to prevent state pollution
Plan
- Add env config — AGENT_MODE (simple|react) and PROTECTED_RESOURCES (comma-separated file paths relative to TARGET_AGENT_PATH)
- Modify /chat response in employee agent — return tool_calls: [{name, args}, ...] alongside the text response
- Add run_extract_tool_args_react() in extract_tool_args.py — snapshot resources → call /chat → take last tool call → restore resources → same comparison logic
- Wire up in CLI — read new env vars, dispatch to react or simple path
- 主要言語
- Python
- スター
- 17
- フォーク
- 6
- 平均マージ
- 4日 31分
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IBM/smith のほかの issue
-
security
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
メンテナーはふだん 4 日以内に返信
-
feat: Support tool scoped security guidance analysis再び着手できるかも @iamsreec が 46 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
メンテナーはふだん 4 日以内に返信
-
feat: Provenance tracking between requirements, test cases, and policy blocks再び着手できるかも @iamsreec が 51 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
メンテナーはふだん 4 日以内に返信
-
feat: Organize subskills as graphs再び着手できるかも @dhl123 が 51 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
メンテナーはふだん 4 日以内に返信
-
feat: add vector-based retrieval for threat catalog loading 0.1.3再び着手できるかも @iamsreec が 51 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
メンテナーはふだん 4 日以内に返信
似ている issue
-
SslLibrary crashes with unhandled OSError: port/proto not found on non-standard SSL ports対応中かも @himanchalkaushale が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
OWASP/Nettacker#1884 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A-connection-core C-enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
aws-samples/sample-per-model-bedrock#869 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fzn0x/watchtower#17 ·