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

--update runbook: graph.json backup instruction comes after the diff that needs it, so the graph diff never runs

オープン 初心者向け
#4,539 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@sunildivakar96-cpu がすでに取り組んでいます。

2026年10月18日 から。

  • #4540 @sunildivakar96-cpu による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

references/update.md にある 14 個の分割プラットフォーム向け runbook と、issue で挙げられている aider および devin のモノリスを調べる。Step 4 の merge、graph diff、backup、cleanup の指示の順序を追い、merge の前に backup を実行し、backup がない場合に明確なメッセージを追加する。各 runbook でこれらの手順が正しく機能する順序で示され、backup がないことが黙って見過ごされない状態になれば完了。

索引モデルが issue の本文から書いたものです。

説明

Version: 0.9.92 (v8 at 86c57be); also present in 0.9.91. All 14 split-platform references/update.md runbooks, plus the aider and devin monoliths.

Problem

The --update runbook ends with a "show the graph diff" block that runs after Step 4. It compares graphify-out/.graphify_old.json, a backup of the pre-update graph.json, with the merged extraction. The instruction that creates that backup sits after the diff block, at the end of the section:

After Step 4, show the graph diff:
  ...diff block reads .graphify_old.json...
Before the merge step, save the old graph: `cp graphify-out/graph.json graphify-out/.graphify_old.json`
Clean up after: `rm -f graphify-out/.graphify_old.json`

An agent that follows the runbook from top to bottom reaches the backup sentence only after Step 4 has rewritten graph.json. By then it's too late:

  • If the agent never takes the backup, the diff block's if old_data: has no else, so the diff prints nothing at all. The user gets no diff and no sign that one was skipped.
  • If it takes the backup on reaching the sentence, the "old" graph is already the new one, and the diff reports no changes.

Repro

  1. Build a graph, change a code file, and run /graphify . --update, following references/update.md in order.
  2. After Step 4 the diff block runs before any .graphify_old.json exists, and it prints nothing.

Expected

The backup is taken before the merge, and the diff block says so when the backup is missing instead of skipping silently.

主要言語
Python
スター
124k
フォーク
11.9k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Graphify-Labs/graphify のほかの issue

Graphify-Labs/graphify の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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