Grant the sandbox's pr-refine check-broker probe a mutate-tracker token

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
85/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
json, shell
领域
security

调研方向

首先阅读 lane-grants.json 并找到 sandbox 行(1404052094);将其与现有 grant 结构进行比较,并保持 claude-code-plugins 行不变。在 mutate-tracker 添加 pr-refine → check-broker grant。重新运行案例 12 和 15,且每个案例都显示该 dispatch 的 token 签发和撤销,即表示完成。

由索引模型根据 Issue 内容生成。

描述

session-owned

Problem

azure-iac's broker re-verification cases 12 (key disable) and 15 (broker down) dispatch pr-pipeline-sandbox's pr-refine. Its default refine activity now runs nothing, so a 2026-11-27 case 12 run skipped all three dispatches and never reached the broker. The only activities that reach the broker (fix-marker, fix-docs) run a model.

pr-pipeline-sandbox#454 (merged) adds a no-model pr-refine activity, check-broker, which mints one token, reads the PR once and lets the write reusable revoke it. azure-iac#200 (merged) points both cases at it. The activity needs a grant in the sandbox row of the central lane-grants.json.

Owner decision

Asked as Q78 (2026-11-27, hub session): may the sandbox grant pr-refine → check-broker a token in lane-grants.json? Options (a) yes, at mutate-tracker (issues write, contents and pull requests read), one dispatch-only probe activity in the sandbox only; (b) no, run the cases through fix-marker at about 5 model runs per rerun. Recommendation (a).

Owner answer, verbatim: "go w/ recommendations".

mutate-tracker is the narrowest effect available: mutate-variable mints read-only, but live-config.test.mjs reserves it for publish-lane-level.

Done when

  • lane-grants.json's sandbox row (1404052094) grants pr-refine → check-broker at mutate-tracker; claude-code-plugins' own row is unchanged.
  • Cases 12 and 15 rerun and each shows a mint and a revoke for the check-broker dispatch.
主要语言
Shell
星标
22
派生
2
平均合并
2 小时 1 分钟
30 天内合并 PR
972

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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