pstack reflect: give each parallel reviewer its own scratch subdirectory

未关闭 适合新手
#1,154 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
领域
devtools

调研方向

从 skills/reflect/SKILL.md 第 2 步开始,那里会启动三个审查者,并检查它们的提示目前是否没有指明 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 分钟
30 天内合并 PR
148

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cursor/plugins 的其他 Issue

查看 cursor/plugins 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。