Surface failed AI CLI calls from `generate_with_memory`
まだ誰も着手していません。
評価
調査の方向性
Start in CoderMind/scripts/common/llm_client.py at generate_with_memory and trace the retry-exhaustion path, then review the /cmind.encode flow in run_encode.py and refactor_tree.py. Reproduce the Claude-backend failure described in the issue; done means the final CLI exit code and concise stderr summary are surfaced after retries instead of an opaque None failure.
索引モデルが issue の本文から書いたものです。
説明
When the AI CLI exits nonzero or returns empty output, generate_with_memory catches the failure and returns None after retries (https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/common/llm_client.py#L469-L479, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/common/llm_client.py#L527-L528, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/common/llm_client.py#L594-L648). parse_solution_output(None) then raises 'NoneType' object has no attribute 'split' each functional-area iteration; the loop returns an empty plan and AssertionError: functional_areas must not be empty aborts before run_encode reaches its dependency-graph build/save steps, so no dependency graph is saved (https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/common/utils.py#L761-L776, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/rpg_encoder/refactor_tree.py#L516-L543, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/rpg_encoder/refactor_tree.py#L581-L585, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/rpg_encoder/refactor_tree.py#L769-L773, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/rpg_encoder/run_encode.py#L89-L92, https://github.com/microsoft/RPG-ZeroRepo/blob/f0947723cc07fe10fb0d6b14c8aa837847f57b0d/CoderMind/scripts/rpg_encoder/run_encode.py#L124-L135).
This reproduced with the Claude backend on a 7-file Python repo. The workspace had a .cmind/config.toml matching the documented cmind init --ai claude layout; cmind init itself was not run. The /cmind.encode command failed on all three functional-area requests. Please surface the final CLI exit code and a concise stderr summary when generate_with_memory exhausts its retries, rather than returning None and failing later. The open PR at https://github.com/microsoft/RPG-ZeroRepo/pull/99 touches llm_client.py, so maintainers could fold this in there.
This issue was AI-generated at the human operator's direction and reviewed by the operator before submission.
- 主要言語
- Python
- スター
- 553
- フォーク
- 42
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/RPG-ZeroRepo のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
microsoft/RPG-ZeroRepo#100 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/RPG-ZeroRepo#5 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
microsoft/RPG-ZeroRepo#3 · リアクション 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
microsoft/RPG-ZeroRepo#2 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
microsoft/RPG-ZeroRepo#1 · コメント 7 件 ·
microsoft/RPG-ZeroRepo の issue をすべて見る
似ている issue
-
Link Checker Reportオープンautomated issue report
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
RapidAI/RapidOCRDocs#119 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
btclib-org/btclib-node#1833 ·
メンテナーはふだん 1 日以内に返信
-
IRIS reader: no-data velocity bins (DB_VEL, DB_VELC) returned as 0.0 m/s instead of NaN対応中かも @syedhamidali が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
elodin-sys/elodin#890 ·
メンテナーはふだん 1 日以内に返信