Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Surface failed AI CLI calls from `generate_with_memory`

オープン
#101 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
ai, cli

調査の方向性

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 ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/RPG-ZeroRepo のほかの issue

microsoft/RPG-ZeroRepo の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。