Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng Phù hợp với người mới
#4,496 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, markdown
Lĩnh vực
documentation

Hướng nghiên cứu

Mở workshop/08b-interpret-your-run.md và tìm ví dụ “Read the live log” cùng bài tập đi kèm “fill in the template”. Cập nhật ví dụ ghi để hiển thị safeoutputs add_comment, giữ nguyên ví dụ đọc github.list_issues. Kiểm tra để bảo đảm cả hai phần mô tả thao tác ghi nhất quán.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
53
Fork
35
Merge trung bình
12 giờ 58 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/gh-aw-workshop

Tất cả issue của githubnext/gh-aw-workshop

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.