Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Safe Outputs Conformance] MCE-001: add_comment tool description missing explicit "50 link" limit phrase

Aperta Adatta ai principianti
#69,860 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
84/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
tooling

Direzione di ricerca

Inizia dalla descrizione di add_comment in pkg/workflow/js/safe_outputs_tools.json e verifica se viene generata da un modello sorgente Go, come suggerisce l’issue. Aggiorna la descrizione sorgente affinché dica “maximum 50 links”, poi esegui bash scripts/check-safe-outputs-conformance.sh; il lavoro è completato quando MCE-001 passa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

automated conformance medium-priority safe-outputs
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-level description for add_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
  1. In pkg/workflow/js/safe_outputs_tools.json, reword the add_comment tool description's link-limit clause to include an explicit "maximum 50 links" (or equivalent "50 link" phrasing) alongside the existing max-links explanation.
  2. 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.
  3. 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
Lingua principale
Go
Stelle
5.4k
Fork
584
Merge medio
3h 20m
PR unite (30g)
830

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-aw

Tutte le issue di github/gh-aw

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.