Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Safe Outputs Conformance] MCE-001: add_comment tool description lacks explicit CONSTRAINTS/IMPORTANT disclosure wording

オープン 初心者向け
#71,061 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, go
領域
devtools

調査の方向性

pkg/workflow/js/safe_outputs_tools.json の add_comment ツールの説明と、scripts/check-safe-outputs-conformance.sh の MCE-001 チェックを読みます。既存の制限の文言と WRITE-ONCE の指針を維持しながら、必要な CONSTRAINTS または IMPORTANT の開示を追加します。bash scripts/check-safe-outputs-conformance.sh を実行します。完了とは、MCE-001 に合格し、既存の制限チェックがそのまま維持されていることを意味します。

索引モデルが issue の本文から書いたものです。

説明

automated conformance safe-outputs
Conformance Check Failure

Check ID: MCE-001
Severity: MEDIUM
Category: Specification (Section 8.3 MCE2)

Problem Description

Per spec Section 8.3 MCE2, the add_comment MCP tool description MUST surface its enforcement constraints, including an explicit CONSTRAINTS/IMPORTANT-style disclosure. The current description in pkg/workflow/js/safe_outputs_tools.json (around line 531) already documents the numeric limits (524288 char input limit, 10 mentions, configured max-links, 65536-char published comment limit) but opens with WRITE-ONCE: do NOT probe this tool... rather than a CONSTRAINTS: or IMPORTANT labeled block, so the keyword check fails even though the limits themselves are present.

Affected Components
  • Files: pkg/workflow/js/safe_outputs_tools.json (add_comment tool description, line ~531)
  • Check: scripts/check-safe-outputs-conformance.sh function check_mce_constraint_disclosure (MCE-001)
<b>Current vs Expected Behavior</b>
Current Behavior

Description text: WRITE-ONCE: do NOT probe this tool with empty or placeholder arguments. If not ready to post a real comment, call noop. ... Input is limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50). Oversized agent content is automatically replaced by notices to fit the complete 65536-character published comment. ...

Expected Behavior

The description should include a clearly labeled constraints block (containing the literal word CONSTRAINTS or phrasing like IMPORTANT constraint) so agents and tooling can reliably locate the enforcement limits, per Requirement MCE2.

Remediation Steps
  1. Edit the add_comment entry in pkg/workflow/js/safe_outputs_tools.json (line ~531) to add an explicit CONSTRAINTS: prefix (or IMPORTANT constraint: phrasing) ahead of the existing limit disclosures, e.g. prepend CONSTRAINTS: input limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50); ... while keeping the existing WRITE-ONCE guidance intact.
  2. Keep all currently-passing sub-checks intact (65536 char limit, 10 mention limit, max-links default 50 phrasing) when rewording.
  3. Regenerate/recompile any workflows that embed this tool definition if required by make recompile.
Verification

After remediation, verify the fix by running:

bash scripts/check-safe-outputs-conformance.sh

MCE-001 should pass without errors.

References
  • Safe Outputs Specification: docs/src/content/docs/specs/safe-outputs-specification.md
  • Conformance Checker: scripts/check-safe-outputs-conformance.sh
  • Run: §39729823556
  • Date: 2026-10-22

Generated by ✅ Daily Safe Outputs Conformance Checker · claude · agent · 132.9 AIC · ⌖ 0.552 AIC · ⊞ 5.4K · ◷

  • expires on Oct 22, 2026, 9:54 PM UTC-08:00
主要言語
Go
スター
5.4k
フォーク
596
平均マージ
3時間 41分
マージ済み PR(30日)
829

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/gh-aw のほかの issue

github/gh-aw の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。