常驻用量

抄作业 / 警告 / Grok Bot

Shell Auto-review: npm/pnpm/yarn substring blocks before approval card

标题与摘要为原文,未翻译。

做了什么
Staff (Colin, 2026-09-07): “executable content could not be bound” can fire in a pre-check before any approval card when the command text contains npm/pnpm/yarn anywhere—including a full path like /workspace/.../bin/npm; until fixed, run PATH=/path/to/node/bin:$PATH npm ci (or npm install / npm run) as a single command with working_directory set—avoid absolute .../npm, npm -v alone, and && chains
场景
盯 PR / 仓库 社媒排期 写代码上线
资料完整度
  • 作者与原链接有
  • 做了什么有
  • 来源原文摘录有
  • 截图 / 媒体来源未提供
  • 步骤 / 章节来源未提供
  • 提示词 / 配置原文来源未提供
  • 结果 / 数字来源未提供
  • 风险提示有
  • 相关条目有

— 表示来源没有给出,本站不补写。

来源原文摘录
Where does the bug appear (feature/product)? • Cursor IDE • Cursor CLI • Background Agent (GitHub, Slack, Web, Linear) • BugBot • Somewhere else: Grok Bot Describe the Bug Shell Auto-review rejects with: Rejected: The executable content could not be bound to this review. Run the resolved script directly or provide an explicit working directory. Retry with request_smart_mode_approval=true + smart_mode_block_reason = the exact reject string returns the same reject. No user-visible Auto-review approval card appears. John has never seen an Auto-review card on this account. This blocks
展开全文 package-manager install Shell commands (npm path) on the shared Linux bot computer. Also reproduced while drafting this report (multi-line / python write rejected the same way). Update — allow-rule does not help: John added a manual Auto-review rule on iOS New Rule UI: …
RongleCat/awesome-grok-bot (GitHub) · 打开原文 ↗

摘自论坛首帖,照录原文,未翻译。

提示词

来源没有给出可直接复制的提示词原文。

怎么复制
  1. 读原文:forum.cursor.com ↗
  2. 把原文里的步骤/提示词整理成一条消息交给 Bot
  3. 先手动跑一次,再决定频率
风险与限制
  • 这是一条额度/故障反馈(警告),不是可复制的作业。
  • Staff (Colin, 2026-09-07): “executable content could not be bound” can fire in a pre-check before any approval card when the command text contains npm/pnpm/yarn anywhere—including a full path like /workspace/.../bin/npm; until fixed, run PATH=/path/to/node/bin:$PATH npm ci (or npm install / npm run) as a single command with working_directory set—avoid absolute .../npm, npm -v alone, and && chains with npm.
  • 作者的结果不保证能复现,以原帖为准
用量预估
用金属计算器估一下