Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[workshop-sync] workshop/08b-interpret-your-run.md: example log shows write going through wrong MCP server

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
github, markdown
领域
documentation

调研方向

打开 workshop/08b-interpret-your-run.md,找到“Read the live log”示例和配套的“fill in the template”练习。更新写入示例以展示 safeoutputs add_comment,并保持读取示例 github.list_issues 不变。检查两个部分对写入的描述是否一致。

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

描述

documentation

Workshop file reviewed

workshop/08b-interpret-your-run.md

Problem

The example agent log in the "Read the live log" section shows a comment-writing action going through the github MCP server:

🔧 Tool call: github.add_comment

This misrepresents how gh-aw workflows perform writes. Per the gh-aw architecture, GitHub write actions (adding comments, creating issues, etc.) are routed through the dedicated safeoutputs proxy/server, not through the read-oriented github MCP tool. The github server is used for read operations like github.list_issues (which is correctly shown earlier in the same example), but attributing the write to github.add_comment teaches an inaccurate mental model of the safe-outputs mechanism that the workshop explicitly links to and explains elsewhere (see Safe Outputs reference, which this same file links twice).

Current correct syntax / concept

Writes in gh-aw workflows go through the safeoutputs CLI/tool, e.g.:

safeoutputs add_comment --item_number 42 --body "..."

So the example log line should reflect a safeoutputs call, not a github call, for the comment-adding step.

Suggested fix

Update the example log (and the companion "fill in the template" exercise referencing it) to show:

🔧 Tool call:   safeoutputs add_comment

instead of:

🔧 Tool call:   github.add_comment

This keeps the rest of the example (github.list_issues for reads) unchanged, since reads via the github server remain correct.

Generated by 🔍 Workshop Sync Check · copilot · auto · 134.2 AIC · ⌖ 4.94 AIC · ⊞ 9.2K · ◷

  • expires on Oct 13, 2026, 9:10 AM UTC
主要语言
JavaScript
星标
55
派生
36
平均合并
2 天 8 小时
30 天内合并 PR
17

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

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

从这里开始

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

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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