pstack reflect: give each parallel reviewer its own scratch subdirectory

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
領域
devtools

調査の方向性

skills/reflect/SKILL.md のステップ2から始めて、3つのレビュアーが起動される箇所を確認し、現在それぞれのプロンプトがscratchの場所を指定していないことを確認してください。次に、一般的なケースについての注記がある poteto-mode の Subagents セクションを確認してください。完了条件は、各レビュアーのプロンプトが <scratch>/reflect-<lens>/ のような自分専用のサブディレクトリにのみ書き込むよう指示していること、そしてステップ3のシンセサイザーがそれらのパスから読み込むことです。テストは指定されていないため、修正後のプロンプトを読んでパスが一貫しているかを確認してください。

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

説明

Problem

skills/reflect/SKILL.md step 2 spawns three reviewers in parallel, and step 3 spawns a synthesizer. Nothing in the prompts tells each reviewer where to write intermediate files. In Claude Code, they share the session scratchpad. During one run, a reviewer wrote digest.txt there, and another reviewer overwrote the same file name while the first was still reading it. The first reviewer then read a file in a different format.

The same risk applies to any skill that fans out parallel subagents (for example, swarm lanes or poteto-mode delegates that write logs such as preview.log).

Suggested change

In skills/reflect/SKILL.md step 2, pass each reviewer a dedicated subdirectory (for example <scratch>/reflect-<lens>/) and tell it to write only there. A one-line note in the poteto-mode Subagents section would cover the general case.

Environment

pstack 0.15.36, Claude Code.

主要言語
TypeScript
スター
14.9k
フォーク
1.5k
平均マージ
3時間 15分
マージ済み PR(30日)
148

環境構築

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

はじめの一歩

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

cursor/plugins のほかの issue

cursor/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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