pstack: interrogate asks the user, which worker.md forbids for delegates that reach it

未關閉 適合新手
#1,272 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@jayssSmm 已經在處理了。

開始於 2026年11月18日。

  • #1278 來自 @jayssSmm —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
74/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
typescript

研究方向

閱讀 pstack/skills/interrogate/SKILL.md,尤其是 Frame 和 Output 部分,並同時閱讀 pstack/skills/poteto-mode/worker.md。新增指引,讓 delegate 選擇最可能的意圖,並在 Intent 輸出中將其說明為假設;當 delegate 有明確的方法遵循這兩個 skills,且無須詢問使用者時,即完成。Issue 未指定測試或其他檔案。

由索引模型根據 Issue 內容生成。

描述

Problem

worker.md forbids a delegate from asking a person anything, but interrogate tells whoever runs it to ask the user. A delegate can reach interrogate, so it gets both instructions at once.

  • pstack/skills/poteto-mode/worker.md:7: "Never call a tool that shows a person a question. Make any choice you can undo, then say what you chose and why."
  • pstack/skills/interrogate/SKILL.md:13 (Frame): "State the intent with the in-your-own-words skill, from the user's message, the commits, and the PR description. Ask the user when the intent is unclear."

How a delegate reaches it

  • poteto-mode/SKILL.md requires every started agent to read worker.md first.
  • playbooks/autopilot-full.md step 2 has each PR owner, a delegate, build its PR.
  • playbooks/feature.md step 7 says "If the design is contested, interrogate before shipping."
  • The poteto-mode trigger "Contested design → interrogate" also applies to any poteto-agent delegate, since that delegate reads poteto-mode/SKILL.md.

When the intent is unclear, the owner either calls a question tool, which breaks worker.md, or stops with no rule for what to do instead. worker.md says a kickoff overrides it only "in so many words", and a skill's text is not the kickoff.

Suggested fix

Give the Frame step a delegate branch that follows worker.md's "make the choice, then say why" rule. For example:

Ask the user when the intent is unclear. A delegate, which never stops to ask, picks the likeliest intent and states it as an assumption in the output.

The Output section's Intent line then carries that assumption, so the coordinator can see it and correct it.

Seen on main at pstack 0.15.43.

主要語言
TypeScript
星號
16.3k
分支
1.7k
平均合併
3 小時 35 分鐘
30 天內合併 PR
104

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

cursor/plugins 的其他 Issue

查看 cursor/plugins 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。