[Safe Outputs Conformance] MCE-001: add_comment tool description missing explicit "50 link" limit phrase
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
- 84/100
Hướng nghiên cứu
Bắt đầu với mô tả add_comment trong pkg/workflow/js/safe_outputs_tools.json và kiểm tra xem nó có được tạo từ mẫu nguồn Go như issue đề xuất hay không. Cập nhật mô tả nguồn để ghi “maximum 50 links”, sau đó chạy bash scripts/check-safe-outputs-conformance.sh; hoàn tất khi MCE-001 đạt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Conformance Check Failure
Check ID: MCE-001
Severity: MEDIUM
Category: MCP Constraint Enforcement (Section 8.3 MCE2)
Problem Description
The safe-outputs conformance checker's MCE-001 check requires the add_comment tool description in pkg/workflow/js/safe_outputs_tools.json to literally contain the phrase "50 link" so agents can see the link-count ceiling at a glance. The current description discloses the same constraint using different wording — "the configured max-links URL occurrences in agent content (default: 50; generated footer and metadata links excluded)" — so the limit is present but not in the exact phrasing the check (and by extension, a quick-scanning agent) expects.
Affected Components
- Files:
pkg/workflow/js/safe_outputs_tools.json(tool-leveldescriptionforadd_comment, ~line 525) - Checker:
scripts/check-safe-outputs-conformance.sh(MCE-001,check_mce_constraint_disclosure)
<b>🔍 Current vs Expected Behavior</b>
Current Behavior
The add_comment description states the link ceiling as "the configured max-links URL occurrences in agent content (default: 50; ...)" — functionally correct but not literally matching the 50 link substring the checker greps for.
Expected Behavior
Per spec Section 8.3 MCE2, add_comment MUST surface its 65536-character, 10-mention, and 50-link constraints in its tool description in agent-legible terms. The description should state the link limit as something like "maximum 50 links" so both the automated check and a skimming agent recognize it unambiguously.
Remediation Steps
- In
pkg/workflow/js/safe_outputs_tools.json, reword theadd_commenttool description's link-limit clause to include an explicit "maximum 50 links" (or equivalent "50 link" phrasing) alongside the existing max-links explanation. - Check whether this description is generated from a Go source template rather than hand-edited JSON, and make the change at the source if so, then regenerate.
- Re-run the conformance checker to confirm MCE-001 passes.
Verification
After remediation, verify the fix by running:
bash scripts/check-safe-outputs-conformance.sh
The check 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: §39101480539
Generated by ✅ Daily Safe Outputs Conformance Checker · claude · agent · 59 AIC · ⌖ 0.818 AIC · ⊞ 5.3K · ◷
- expires on Oct 18, 2026, 9:48 PM UTC-08:00
- Ngôn ngữ chính
- Go
- Star
- 5.4k
- Fork
- 596
- Merge trung bình
- 3 giờ 24 phút
- Pull request đã merge (30 ngày)
- 824
Chuẩn bị môi trường
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.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/gh-aw
-
automation models
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-research
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows automation aw-essential cookie
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
automated conformance safe-outputs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
automated conformance safe-outputs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Mend: dependency security vulnerability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kube-tarian/sigrun#202 ·
-
question raised-by:verifier
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
medici-finance/assay#4013 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TestRegistry_ConcurrentMixedOperations fetches from the network and can hang the short suiteĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
tsukumogami/tsuku#2775 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày